| 3028 |
mandeep.dh |
1 |
/**
|
| 3430 |
rajveer |
2 |
* Autogenerated by Thrift Compiler (0.7.0)
|
| 3028 |
mandeep.dh |
3 |
*
|
|
|
4 |
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
|
|
|
5 |
*/
|
|
|
6 |
package in.shop2020.crm;
|
|
|
7 |
|
|
|
8 |
import java.util.List;
|
|
|
9 |
import java.util.ArrayList;
|
|
|
10 |
import java.util.Map;
|
|
|
11 |
import java.util.HashMap;
|
|
|
12 |
import java.util.EnumMap;
|
|
|
13 |
import java.util.Set;
|
|
|
14 |
import java.util.HashSet;
|
|
|
15 |
import java.util.EnumSet;
|
|
|
16 |
import java.util.Collections;
|
|
|
17 |
import java.util.BitSet;
|
| 3430 |
rajveer |
18 |
import java.nio.ByteBuffer;
|
| 3028 |
mandeep.dh |
19 |
import java.util.Arrays;
|
|
|
20 |
import org.slf4j.Logger;
|
|
|
21 |
import org.slf4j.LoggerFactory;
|
|
|
22 |
|
| 3430 |
rajveer |
23 |
public class Activity implements org.apache.thrift.TBase<Activity, Activity._Fields>, java.io.Serializable, Cloneable {
|
|
|
24 |
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("Activity");
|
| 3028 |
mandeep.dh |
25 |
|
| 3430 |
rajveer |
26 |
private static final org.apache.thrift.protocol.TField ID_FIELD_DESC = new org.apache.thrift.protocol.TField("id", org.apache.thrift.protocol.TType.I64, (short)1);
|
|
|
27 |
private static final org.apache.thrift.protocol.TField DESCRIPTION_FIELD_DESC = new org.apache.thrift.protocol.TField("description", org.apache.thrift.protocol.TType.STRING, (short)2);
|
|
|
28 |
private static final org.apache.thrift.protocol.TField CREATION_TIMESTAMP_FIELD_DESC = new org.apache.thrift.protocol.TField("creationTimestamp", org.apache.thrift.protocol.TType.I64, (short)3);
|
|
|
29 |
private static final org.apache.thrift.protocol.TField TYPE_FIELD_DESC = new org.apache.thrift.protocol.TField("type", org.apache.thrift.protocol.TType.I32, (short)4);
|
|
|
30 |
private static final org.apache.thrift.protocol.TField CUSTOMER_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("customerId", org.apache.thrift.protocol.TType.I64, (short)5);
|
|
|
31 |
private static final org.apache.thrift.protocol.TField CREATOR_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("creatorId", org.apache.thrift.protocol.TType.I64, (short)6);
|
|
|
32 |
private static final org.apache.thrift.protocol.TField USER_EMAIL_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("userEmailId", org.apache.thrift.protocol.TType.I64, (short)7);
|
|
|
33 |
private static final org.apache.thrift.protocol.TField TICKET_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("ticketId", org.apache.thrift.protocol.TType.I64, (short)8);
|
|
|
34 |
private static final org.apache.thrift.protocol.TField TICKET_PRIORITY_FIELD_DESC = new org.apache.thrift.protocol.TField("ticketPriority", org.apache.thrift.protocol.TType.I32, (short)9);
|
|
|
35 |
private static final org.apache.thrift.protocol.TField TICKET_ASSIGNEE_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("ticketAssigneeId", org.apache.thrift.protocol.TType.I64, (short)10);
|
|
|
36 |
private static final org.apache.thrift.protocol.TField TICKET_STATUS_FIELD_DESC = new org.apache.thrift.protocol.TField("ticketStatus", org.apache.thrift.protocol.TType.I32, (short)11);
|
|
|
37 |
private static final org.apache.thrift.protocol.TField TICKET_CATEGORY_FIELD_DESC = new org.apache.thrift.protocol.TField("ticketCategory", org.apache.thrift.protocol.TType.I32, (short)12);
|
|
|
38 |
private static final org.apache.thrift.protocol.TField TICKET_DESCRIPTION_FIELD_DESC = new org.apache.thrift.protocol.TField("ticketDescription", org.apache.thrift.protocol.TType.STRING, (short)13);
|
|
|
39 |
private static final org.apache.thrift.protocol.TField IS_READ_FIELD_DESC = new org.apache.thrift.protocol.TField("isRead", org.apache.thrift.protocol.TType.BOOL, (short)14);
|
|
|
40 |
private static final org.apache.thrift.protocol.TField CUSTOMER_MOBILE_NUMBER_FIELD_DESC = new org.apache.thrift.protocol.TField("customerMobileNumber", org.apache.thrift.protocol.TType.STRING, (short)15);
|
|
|
41 |
private static final org.apache.thrift.protocol.TField CUSTOMER_EMAIL_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("customerEmailId", org.apache.thrift.protocol.TType.STRING, (short)16);
|
|
|
42 |
private static final org.apache.thrift.protocol.TField CUSTOMER_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("customerName", org.apache.thrift.protocol.TType.STRING, (short)17);
|
| 3028 |
mandeep.dh |
43 |
|
| 3430 |
rajveer |
44 |
private long id; // required
|
|
|
45 |
private String description; // required
|
|
|
46 |
private long creationTimestamp; // required
|
|
|
47 |
private ActivityType type; // required
|
|
|
48 |
private long customerId; // required
|
|
|
49 |
private long creatorId; // required
|
|
|
50 |
private long userEmailId; // required
|
|
|
51 |
private long ticketId; // required
|
|
|
52 |
private TicketPriority ticketPriority; // required
|
|
|
53 |
private long ticketAssigneeId; // required
|
|
|
54 |
private TicketStatus ticketStatus; // required
|
|
|
55 |
private TicketCategory ticketCategory; // required
|
|
|
56 |
private String ticketDescription; // required
|
|
|
57 |
private boolean isRead; // required
|
|
|
58 |
private String customerMobileNumber; // required
|
|
|
59 |
private String customerEmailId; // required
|
|
|
60 |
private String customerName; // required
|
| 3028 |
mandeep.dh |
61 |
|
|
|
62 |
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
|
| 3430 |
rajveer |
63 |
public enum _Fields implements org.apache.thrift.TFieldIdEnum {
|
| 3028 |
mandeep.dh |
64 |
ID((short)1, "id"),
|
|
|
65 |
DESCRIPTION((short)2, "description"),
|
| 3106 |
mandeep.dh |
66 |
CREATION_TIMESTAMP((short)3, "creationTimestamp"),
|
| 3028 |
mandeep.dh |
67 |
/**
|
|
|
68 |
*
|
| 3106 |
mandeep.dh |
69 |
* @see ActivityType
|
| 3028 |
mandeep.dh |
70 |
*/
|
| 3106 |
mandeep.dh |
71 |
TYPE((short)4, "type"),
|
| 3028 |
mandeep.dh |
72 |
CUSTOMER_ID((short)5, "customerId"),
|
| 3390 |
mandeep.dh |
73 |
CREATOR_ID((short)6, "creatorId"),
|
|
|
74 |
USER_EMAIL_ID((short)7, "userEmailId"),
|
|
|
75 |
TICKET_ID((short)8, "ticketId"),
|
| 3028 |
mandeep.dh |
76 |
/**
|
|
|
77 |
*
|
|
|
78 |
* @see TicketPriority
|
|
|
79 |
*/
|
| 3390 |
mandeep.dh |
80 |
TICKET_PRIORITY((short)9, "ticketPriority"),
|
|
|
81 |
TICKET_ASSIGNEE_ID((short)10, "ticketAssigneeId"),
|
| 3028 |
mandeep.dh |
82 |
/**
|
|
|
83 |
*
|
|
|
84 |
* @see TicketStatus
|
|
|
85 |
*/
|
| 3390 |
mandeep.dh |
86 |
TICKET_STATUS((short)11, "ticketStatus"),
|
| 3028 |
mandeep.dh |
87 |
/**
|
|
|
88 |
*
|
|
|
89 |
* @see TicketCategory
|
|
|
90 |
*/
|
| 3390 |
mandeep.dh |
91 |
TICKET_CATEGORY((short)12, "ticketCategory"),
|
|
|
92 |
TICKET_DESCRIPTION((short)13, "ticketDescription"),
|
|
|
93 |
IS_READ((short)14, "isRead"),
|
|
|
94 |
CUSTOMER_MOBILE_NUMBER((short)15, "customerMobileNumber"),
|
|
|
95 |
CUSTOMER_EMAIL_ID((short)16, "customerEmailId"),
|
| 3546 |
mandeep.dh |
96 |
CUSTOMER_NAME((short)17, "customerName");
|
| 3028 |
mandeep.dh |
97 |
|
|
|
98 |
private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
|
|
|
99 |
|
|
|
100 |
static {
|
|
|
101 |
for (_Fields field : EnumSet.allOf(_Fields.class)) {
|
|
|
102 |
byName.put(field.getFieldName(), field);
|
|
|
103 |
}
|
|
|
104 |
}
|
|
|
105 |
|
|
|
106 |
/**
|
|
|
107 |
* Find the _Fields constant that matches fieldId, or null if its not found.
|
|
|
108 |
*/
|
|
|
109 |
public static _Fields findByThriftId(int fieldId) {
|
| 3430 |
rajveer |
110 |
switch(fieldId) {
|
|
|
111 |
case 1: // ID
|
|
|
112 |
return ID;
|
|
|
113 |
case 2: // DESCRIPTION
|
|
|
114 |
return DESCRIPTION;
|
|
|
115 |
case 3: // CREATION_TIMESTAMP
|
|
|
116 |
return CREATION_TIMESTAMP;
|
|
|
117 |
case 4: // TYPE
|
|
|
118 |
return TYPE;
|
|
|
119 |
case 5: // CUSTOMER_ID
|
|
|
120 |
return CUSTOMER_ID;
|
|
|
121 |
case 6: // CREATOR_ID
|
|
|
122 |
return CREATOR_ID;
|
|
|
123 |
case 7: // USER_EMAIL_ID
|
|
|
124 |
return USER_EMAIL_ID;
|
|
|
125 |
case 8: // TICKET_ID
|
|
|
126 |
return TICKET_ID;
|
|
|
127 |
case 9: // TICKET_PRIORITY
|
|
|
128 |
return TICKET_PRIORITY;
|
|
|
129 |
case 10: // TICKET_ASSIGNEE_ID
|
|
|
130 |
return TICKET_ASSIGNEE_ID;
|
|
|
131 |
case 11: // TICKET_STATUS
|
|
|
132 |
return TICKET_STATUS;
|
|
|
133 |
case 12: // TICKET_CATEGORY
|
|
|
134 |
return TICKET_CATEGORY;
|
|
|
135 |
case 13: // TICKET_DESCRIPTION
|
|
|
136 |
return TICKET_DESCRIPTION;
|
|
|
137 |
case 14: // IS_READ
|
|
|
138 |
return IS_READ;
|
|
|
139 |
case 15: // CUSTOMER_MOBILE_NUMBER
|
|
|
140 |
return CUSTOMER_MOBILE_NUMBER;
|
|
|
141 |
case 16: // CUSTOMER_EMAIL_ID
|
|
|
142 |
return CUSTOMER_EMAIL_ID;
|
|
|
143 |
case 17: // CUSTOMER_NAME
|
|
|
144 |
return CUSTOMER_NAME;
|
|
|
145 |
default:
|
|
|
146 |
return null;
|
|
|
147 |
}
|
| 3028 |
mandeep.dh |
148 |
}
|
|
|
149 |
|
|
|
150 |
/**
|
|
|
151 |
* Find the _Fields constant that matches fieldId, throwing an exception
|
|
|
152 |
* if it is not found.
|
|
|
153 |
*/
|
|
|
154 |
public static _Fields findByThriftIdOrThrow(int fieldId) {
|
|
|
155 |
_Fields fields = findByThriftId(fieldId);
|
|
|
156 |
if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
|
|
|
157 |
return fields;
|
|
|
158 |
}
|
|
|
159 |
|
|
|
160 |
/**
|
|
|
161 |
* Find the _Fields constant that matches name, or null if its not found.
|
|
|
162 |
*/
|
|
|
163 |
public static _Fields findByName(String name) {
|
|
|
164 |
return byName.get(name);
|
|
|
165 |
}
|
|
|
166 |
|
|
|
167 |
private final short _thriftId;
|
|
|
168 |
private final String _fieldName;
|
|
|
169 |
|
|
|
170 |
_Fields(short thriftId, String fieldName) {
|
|
|
171 |
_thriftId = thriftId;
|
|
|
172 |
_fieldName = fieldName;
|
|
|
173 |
}
|
|
|
174 |
|
|
|
175 |
public short getThriftFieldId() {
|
|
|
176 |
return _thriftId;
|
|
|
177 |
}
|
|
|
178 |
|
|
|
179 |
public String getFieldName() {
|
|
|
180 |
return _fieldName;
|
|
|
181 |
}
|
|
|
182 |
}
|
|
|
183 |
|
|
|
184 |
// isset id assignments
|
|
|
185 |
private static final int __ID_ISSET_ID = 0;
|
| 3106 |
mandeep.dh |
186 |
private static final int __CREATIONTIMESTAMP_ISSET_ID = 1;
|
| 3028 |
mandeep.dh |
187 |
private static final int __CUSTOMERID_ISSET_ID = 2;
|
|
|
188 |
private static final int __CREATORID_ISSET_ID = 3;
|
| 3390 |
mandeep.dh |
189 |
private static final int __USEREMAILID_ISSET_ID = 4;
|
| 3206 |
mandeep.dh |
190 |
private static final int __TICKETID_ISSET_ID = 5;
|
|
|
191 |
private static final int __TICKETASSIGNEEID_ISSET_ID = 6;
|
| 3390 |
mandeep.dh |
192 |
private static final int __ISREAD_ISSET_ID = 7;
|
|
|
193 |
private BitSet __isset_bit_vector = new BitSet(8);
|
| 3028 |
mandeep.dh |
194 |
|
| 3430 |
rajveer |
195 |
public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
|
| 3028 |
mandeep.dh |
196 |
static {
|
| 3430 |
rajveer |
197 |
Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
|
|
|
198 |
tmpMap.put(_Fields.ID, new org.apache.thrift.meta_data.FieldMetaData("id", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
|
|
199 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
|
|
200 |
tmpMap.put(_Fields.DESCRIPTION, new org.apache.thrift.meta_data.FieldMetaData("description", org.apache.thrift.TFieldRequirementType.OPTIONAL,
|
|
|
201 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
|
|
|
202 |
tmpMap.put(_Fields.CREATION_TIMESTAMP, new org.apache.thrift.meta_data.FieldMetaData("creationTimestamp", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
|
|
203 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
|
|
204 |
tmpMap.put(_Fields.TYPE, new org.apache.thrift.meta_data.FieldMetaData("type", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
|
|
205 |
new org.apache.thrift.meta_data.EnumMetaData(org.apache.thrift.protocol.TType.ENUM, ActivityType.class)));
|
|
|
206 |
tmpMap.put(_Fields.CUSTOMER_ID, new org.apache.thrift.meta_data.FieldMetaData("customerId", org.apache.thrift.TFieldRequirementType.OPTIONAL,
|
|
|
207 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
|
|
208 |
tmpMap.put(_Fields.CREATOR_ID, new org.apache.thrift.meta_data.FieldMetaData("creatorId", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
|
|
209 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
|
|
210 |
tmpMap.put(_Fields.USER_EMAIL_ID, new org.apache.thrift.meta_data.FieldMetaData("userEmailId", org.apache.thrift.TFieldRequirementType.OPTIONAL,
|
|
|
211 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
|
|
212 |
tmpMap.put(_Fields.TICKET_ID, new org.apache.thrift.meta_data.FieldMetaData("ticketId", org.apache.thrift.TFieldRequirementType.OPTIONAL,
|
|
|
213 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
|
|
214 |
tmpMap.put(_Fields.TICKET_PRIORITY, new org.apache.thrift.meta_data.FieldMetaData("ticketPriority", org.apache.thrift.TFieldRequirementType.OPTIONAL,
|
|
|
215 |
new org.apache.thrift.meta_data.EnumMetaData(org.apache.thrift.protocol.TType.ENUM, TicketPriority.class)));
|
|
|
216 |
tmpMap.put(_Fields.TICKET_ASSIGNEE_ID, new org.apache.thrift.meta_data.FieldMetaData("ticketAssigneeId", org.apache.thrift.TFieldRequirementType.OPTIONAL,
|
|
|
217 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
|
|
218 |
tmpMap.put(_Fields.TICKET_STATUS, new org.apache.thrift.meta_data.FieldMetaData("ticketStatus", org.apache.thrift.TFieldRequirementType.OPTIONAL,
|
|
|
219 |
new org.apache.thrift.meta_data.EnumMetaData(org.apache.thrift.protocol.TType.ENUM, TicketStatus.class)));
|
|
|
220 |
tmpMap.put(_Fields.TICKET_CATEGORY, new org.apache.thrift.meta_data.FieldMetaData("ticketCategory", org.apache.thrift.TFieldRequirementType.OPTIONAL,
|
|
|
221 |
new org.apache.thrift.meta_data.EnumMetaData(org.apache.thrift.protocol.TType.ENUM, TicketCategory.class)));
|
|
|
222 |
tmpMap.put(_Fields.TICKET_DESCRIPTION, new org.apache.thrift.meta_data.FieldMetaData("ticketDescription", org.apache.thrift.TFieldRequirementType.OPTIONAL,
|
|
|
223 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
|
|
|
224 |
tmpMap.put(_Fields.IS_READ, new org.apache.thrift.meta_data.FieldMetaData("isRead", org.apache.thrift.TFieldRequirementType.OPTIONAL,
|
|
|
225 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
|
|
|
226 |
tmpMap.put(_Fields.CUSTOMER_MOBILE_NUMBER, new org.apache.thrift.meta_data.FieldMetaData("customerMobileNumber", org.apache.thrift.TFieldRequirementType.OPTIONAL,
|
|
|
227 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
|
|
|
228 |
tmpMap.put(_Fields.CUSTOMER_EMAIL_ID, new org.apache.thrift.meta_data.FieldMetaData("customerEmailId", org.apache.thrift.TFieldRequirementType.OPTIONAL,
|
|
|
229 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
|
|
|
230 |
tmpMap.put(_Fields.CUSTOMER_NAME, new org.apache.thrift.meta_data.FieldMetaData("customerName", org.apache.thrift.TFieldRequirementType.OPTIONAL,
|
|
|
231 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
|
|
|
232 |
metaDataMap = Collections.unmodifiableMap(tmpMap);
|
|
|
233 |
org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(Activity.class, metaDataMap);
|
| 3028 |
mandeep.dh |
234 |
}
|
|
|
235 |
|
|
|
236 |
public Activity() {
|
|
|
237 |
}
|
|
|
238 |
|
|
|
239 |
public Activity(
|
|
|
240 |
long id,
|
| 3106 |
mandeep.dh |
241 |
long creationTimestamp,
|
|
|
242 |
ActivityType type,
|
| 3168 |
mandeep.dh |
243 |
long creatorId)
|
| 3028 |
mandeep.dh |
244 |
{
|
|
|
245 |
this();
|
|
|
246 |
this.id = id;
|
|
|
247 |
setIdIsSet(true);
|
| 3106 |
mandeep.dh |
248 |
this.creationTimestamp = creationTimestamp;
|
|
|
249 |
setCreationTimestampIsSet(true);
|
|
|
250 |
this.type = type;
|
| 3028 |
mandeep.dh |
251 |
this.creatorId = creatorId;
|
|
|
252 |
setCreatorIdIsSet(true);
|
|
|
253 |
}
|
|
|
254 |
|
|
|
255 |
/**
|
|
|
256 |
* Performs a deep copy on <i>other</i>.
|
|
|
257 |
*/
|
|
|
258 |
public Activity(Activity other) {
|
|
|
259 |
__isset_bit_vector.clear();
|
|
|
260 |
__isset_bit_vector.or(other.__isset_bit_vector);
|
|
|
261 |
this.id = other.id;
|
|
|
262 |
if (other.isSetDescription()) {
|
|
|
263 |
this.description = other.description;
|
|
|
264 |
}
|
| 3106 |
mandeep.dh |
265 |
this.creationTimestamp = other.creationTimestamp;
|
|
|
266 |
if (other.isSetType()) {
|
|
|
267 |
this.type = other.type;
|
| 3028 |
mandeep.dh |
268 |
}
|
|
|
269 |
this.customerId = other.customerId;
|
|
|
270 |
this.creatorId = other.creatorId;
|
| 3390 |
mandeep.dh |
271 |
this.userEmailId = other.userEmailId;
|
| 3028 |
mandeep.dh |
272 |
this.ticketId = other.ticketId;
|
|
|
273 |
if (other.isSetTicketPriority()) {
|
|
|
274 |
this.ticketPriority = other.ticketPriority;
|
|
|
275 |
}
|
|
|
276 |
this.ticketAssigneeId = other.ticketAssigneeId;
|
|
|
277 |
if (other.isSetTicketStatus()) {
|
|
|
278 |
this.ticketStatus = other.ticketStatus;
|
|
|
279 |
}
|
|
|
280 |
if (other.isSetTicketCategory()) {
|
|
|
281 |
this.ticketCategory = other.ticketCategory;
|
|
|
282 |
}
|
| 3106 |
mandeep.dh |
283 |
if (other.isSetTicketDescription()) {
|
|
|
284 |
this.ticketDescription = other.ticketDescription;
|
|
|
285 |
}
|
| 3390 |
mandeep.dh |
286 |
this.isRead = other.isRead;
|
|
|
287 |
if (other.isSetCustomerMobileNumber()) {
|
|
|
288 |
this.customerMobileNumber = other.customerMobileNumber;
|
|
|
289 |
}
|
|
|
290 |
if (other.isSetCustomerEmailId()) {
|
|
|
291 |
this.customerEmailId = other.customerEmailId;
|
|
|
292 |
}
|
|
|
293 |
if (other.isSetCustomerName()) {
|
|
|
294 |
this.customerName = other.customerName;
|
|
|
295 |
}
|
| 3028 |
mandeep.dh |
296 |
}
|
|
|
297 |
|
|
|
298 |
public Activity deepCopy() {
|
|
|
299 |
return new Activity(this);
|
|
|
300 |
}
|
|
|
301 |
|
| 3430 |
rajveer |
302 |
@Override
|
|
|
303 |
public void clear() {
|
|
|
304 |
setIdIsSet(false);
|
|
|
305 |
this.id = 0;
|
|
|
306 |
this.description = null;
|
|
|
307 |
setCreationTimestampIsSet(false);
|
|
|
308 |
this.creationTimestamp = 0;
|
|
|
309 |
this.type = null;
|
|
|
310 |
setCustomerIdIsSet(false);
|
|
|
311 |
this.customerId = 0;
|
|
|
312 |
setCreatorIdIsSet(false);
|
|
|
313 |
this.creatorId = 0;
|
|
|
314 |
setUserEmailIdIsSet(false);
|
|
|
315 |
this.userEmailId = 0;
|
|
|
316 |
setTicketIdIsSet(false);
|
|
|
317 |
this.ticketId = 0;
|
|
|
318 |
this.ticketPriority = null;
|
|
|
319 |
setTicketAssigneeIdIsSet(false);
|
|
|
320 |
this.ticketAssigneeId = 0;
|
|
|
321 |
this.ticketStatus = null;
|
|
|
322 |
this.ticketCategory = null;
|
|
|
323 |
this.ticketDescription = null;
|
|
|
324 |
setIsReadIsSet(false);
|
|
|
325 |
this.isRead = false;
|
|
|
326 |
this.customerMobileNumber = null;
|
|
|
327 |
this.customerEmailId = null;
|
|
|
328 |
this.customerName = null;
|
| 3028 |
mandeep.dh |
329 |
}
|
|
|
330 |
|
|
|
331 |
public long getId() {
|
|
|
332 |
return this.id;
|
|
|
333 |
}
|
|
|
334 |
|
| 3430 |
rajveer |
335 |
public void setId(long id) {
|
| 3028 |
mandeep.dh |
336 |
this.id = id;
|
|
|
337 |
setIdIsSet(true);
|
|
|
338 |
}
|
|
|
339 |
|
|
|
340 |
public void unsetId() {
|
|
|
341 |
__isset_bit_vector.clear(__ID_ISSET_ID);
|
|
|
342 |
}
|
|
|
343 |
|
| 3430 |
rajveer |
344 |
/** Returns true if field id is set (has been assigned a value) and false otherwise */
|
| 3028 |
mandeep.dh |
345 |
public boolean isSetId() {
|
|
|
346 |
return __isset_bit_vector.get(__ID_ISSET_ID);
|
|
|
347 |
}
|
|
|
348 |
|
|
|
349 |
public void setIdIsSet(boolean value) {
|
|
|
350 |
__isset_bit_vector.set(__ID_ISSET_ID, value);
|
|
|
351 |
}
|
|
|
352 |
|
|
|
353 |
public String getDescription() {
|
|
|
354 |
return this.description;
|
|
|
355 |
}
|
|
|
356 |
|
| 3430 |
rajveer |
357 |
public void setDescription(String description) {
|
| 3028 |
mandeep.dh |
358 |
this.description = description;
|
|
|
359 |
}
|
|
|
360 |
|
|
|
361 |
public void unsetDescription() {
|
|
|
362 |
this.description = null;
|
|
|
363 |
}
|
|
|
364 |
|
| 3430 |
rajveer |
365 |
/** Returns true if field description is set (has been assigned a value) and false otherwise */
|
| 3028 |
mandeep.dh |
366 |
public boolean isSetDescription() {
|
|
|
367 |
return this.description != null;
|
|
|
368 |
}
|
|
|
369 |
|
|
|
370 |
public void setDescriptionIsSet(boolean value) {
|
|
|
371 |
if (!value) {
|
|
|
372 |
this.description = null;
|
|
|
373 |
}
|
|
|
374 |
}
|
|
|
375 |
|
| 3106 |
mandeep.dh |
376 |
public long getCreationTimestamp() {
|
|
|
377 |
return this.creationTimestamp;
|
| 3028 |
mandeep.dh |
378 |
}
|
|
|
379 |
|
| 3430 |
rajveer |
380 |
public void setCreationTimestamp(long creationTimestamp) {
|
| 3106 |
mandeep.dh |
381 |
this.creationTimestamp = creationTimestamp;
|
|
|
382 |
setCreationTimestampIsSet(true);
|
| 3028 |
mandeep.dh |
383 |
}
|
|
|
384 |
|
| 3106 |
mandeep.dh |
385 |
public void unsetCreationTimestamp() {
|
|
|
386 |
__isset_bit_vector.clear(__CREATIONTIMESTAMP_ISSET_ID);
|
| 3028 |
mandeep.dh |
387 |
}
|
|
|
388 |
|
| 3430 |
rajveer |
389 |
/** Returns true if field creationTimestamp is set (has been assigned a value) and false otherwise */
|
| 3106 |
mandeep.dh |
390 |
public boolean isSetCreationTimestamp() {
|
|
|
391 |
return __isset_bit_vector.get(__CREATIONTIMESTAMP_ISSET_ID);
|
| 3028 |
mandeep.dh |
392 |
}
|
|
|
393 |
|
| 3106 |
mandeep.dh |
394 |
public void setCreationTimestampIsSet(boolean value) {
|
|
|
395 |
__isset_bit_vector.set(__CREATIONTIMESTAMP_ISSET_ID, value);
|
| 3028 |
mandeep.dh |
396 |
}
|
|
|
397 |
|
|
|
398 |
/**
|
|
|
399 |
*
|
| 3106 |
mandeep.dh |
400 |
* @see ActivityType
|
| 3028 |
mandeep.dh |
401 |
*/
|
| 3106 |
mandeep.dh |
402 |
public ActivityType getType() {
|
|
|
403 |
return this.type;
|
| 3028 |
mandeep.dh |
404 |
}
|
|
|
405 |
|
|
|
406 |
/**
|
|
|
407 |
*
|
| 3106 |
mandeep.dh |
408 |
* @see ActivityType
|
| 3028 |
mandeep.dh |
409 |
*/
|
| 3430 |
rajveer |
410 |
public void setType(ActivityType type) {
|
| 3106 |
mandeep.dh |
411 |
this.type = type;
|
| 3028 |
mandeep.dh |
412 |
}
|
|
|
413 |
|
| 3106 |
mandeep.dh |
414 |
public void unsetType() {
|
|
|
415 |
this.type = null;
|
| 3028 |
mandeep.dh |
416 |
}
|
|
|
417 |
|
| 3430 |
rajveer |
418 |
/** Returns true if field type is set (has been assigned a value) and false otherwise */
|
| 3106 |
mandeep.dh |
419 |
public boolean isSetType() {
|
|
|
420 |
return this.type != null;
|
| 3028 |
mandeep.dh |
421 |
}
|
|
|
422 |
|
| 3106 |
mandeep.dh |
423 |
public void setTypeIsSet(boolean value) {
|
| 3028 |
mandeep.dh |
424 |
if (!value) {
|
| 3106 |
mandeep.dh |
425 |
this.type = null;
|
| 3028 |
mandeep.dh |
426 |
}
|
|
|
427 |
}
|
|
|
428 |
|
|
|
429 |
public long getCustomerId() {
|
|
|
430 |
return this.customerId;
|
|
|
431 |
}
|
|
|
432 |
|
| 3430 |
rajveer |
433 |
public void setCustomerId(long customerId) {
|
| 3028 |
mandeep.dh |
434 |
this.customerId = customerId;
|
|
|
435 |
setCustomerIdIsSet(true);
|
|
|
436 |
}
|
|
|
437 |
|
|
|
438 |
public void unsetCustomerId() {
|
|
|
439 |
__isset_bit_vector.clear(__CUSTOMERID_ISSET_ID);
|
|
|
440 |
}
|
|
|
441 |
|
| 3430 |
rajveer |
442 |
/** Returns true if field customerId is set (has been assigned a value) and false otherwise */
|
| 3028 |
mandeep.dh |
443 |
public boolean isSetCustomerId() {
|
|
|
444 |
return __isset_bit_vector.get(__CUSTOMERID_ISSET_ID);
|
|
|
445 |
}
|
|
|
446 |
|
|
|
447 |
public void setCustomerIdIsSet(boolean value) {
|
|
|
448 |
__isset_bit_vector.set(__CUSTOMERID_ISSET_ID, value);
|
|
|
449 |
}
|
|
|
450 |
|
|
|
451 |
public long getCreatorId() {
|
|
|
452 |
return this.creatorId;
|
|
|
453 |
}
|
|
|
454 |
|
| 3430 |
rajveer |
455 |
public void setCreatorId(long creatorId) {
|
| 3028 |
mandeep.dh |
456 |
this.creatorId = creatorId;
|
|
|
457 |
setCreatorIdIsSet(true);
|
|
|
458 |
}
|
|
|
459 |
|
|
|
460 |
public void unsetCreatorId() {
|
|
|
461 |
__isset_bit_vector.clear(__CREATORID_ISSET_ID);
|
|
|
462 |
}
|
|
|
463 |
|
| 3430 |
rajveer |
464 |
/** Returns true if field creatorId is set (has been assigned a value) and false otherwise */
|
| 3028 |
mandeep.dh |
465 |
public boolean isSetCreatorId() {
|
|
|
466 |
return __isset_bit_vector.get(__CREATORID_ISSET_ID);
|
|
|
467 |
}
|
|
|
468 |
|
|
|
469 |
public void setCreatorIdIsSet(boolean value) {
|
|
|
470 |
__isset_bit_vector.set(__CREATORID_ISSET_ID, value);
|
|
|
471 |
}
|
|
|
472 |
|
| 3390 |
mandeep.dh |
473 |
public long getUserEmailId() {
|
|
|
474 |
return this.userEmailId;
|
| 3206 |
mandeep.dh |
475 |
}
|
|
|
476 |
|
| 3430 |
rajveer |
477 |
public void setUserEmailId(long userEmailId) {
|
| 3390 |
mandeep.dh |
478 |
this.userEmailId = userEmailId;
|
|
|
479 |
setUserEmailIdIsSet(true);
|
| 3206 |
mandeep.dh |
480 |
}
|
|
|
481 |
|
| 3390 |
mandeep.dh |
482 |
public void unsetUserEmailId() {
|
|
|
483 |
__isset_bit_vector.clear(__USEREMAILID_ISSET_ID);
|
| 3206 |
mandeep.dh |
484 |
}
|
|
|
485 |
|
| 3430 |
rajveer |
486 |
/** Returns true if field userEmailId is set (has been assigned a value) and false otherwise */
|
| 3390 |
mandeep.dh |
487 |
public boolean isSetUserEmailId() {
|
|
|
488 |
return __isset_bit_vector.get(__USEREMAILID_ISSET_ID);
|
| 3206 |
mandeep.dh |
489 |
}
|
|
|
490 |
|
| 3390 |
mandeep.dh |
491 |
public void setUserEmailIdIsSet(boolean value) {
|
|
|
492 |
__isset_bit_vector.set(__USEREMAILID_ISSET_ID, value);
|
| 3206 |
mandeep.dh |
493 |
}
|
|
|
494 |
|
| 3028 |
mandeep.dh |
495 |
public long getTicketId() {
|
|
|
496 |
return this.ticketId;
|
|
|
497 |
}
|
|
|
498 |
|
| 3430 |
rajveer |
499 |
public void setTicketId(long ticketId) {
|
| 3028 |
mandeep.dh |
500 |
this.ticketId = ticketId;
|
|
|
501 |
setTicketIdIsSet(true);
|
|
|
502 |
}
|
|
|
503 |
|
|
|
504 |
public void unsetTicketId() {
|
|
|
505 |
__isset_bit_vector.clear(__TICKETID_ISSET_ID);
|
|
|
506 |
}
|
|
|
507 |
|
| 3430 |
rajveer |
508 |
/** Returns true if field ticketId is set (has been assigned a value) and false otherwise */
|
| 3028 |
mandeep.dh |
509 |
public boolean isSetTicketId() {
|
|
|
510 |
return __isset_bit_vector.get(__TICKETID_ISSET_ID);
|
|
|
511 |
}
|
|
|
512 |
|
|
|
513 |
public void setTicketIdIsSet(boolean value) {
|
|
|
514 |
__isset_bit_vector.set(__TICKETID_ISSET_ID, value);
|
|
|
515 |
}
|
|
|
516 |
|
|
|
517 |
/**
|
|
|
518 |
*
|
|
|
519 |
* @see TicketPriority
|
|
|
520 |
*/
|
|
|
521 |
public TicketPriority getTicketPriority() {
|
|
|
522 |
return this.ticketPriority;
|
|
|
523 |
}
|
|
|
524 |
|
|
|
525 |
/**
|
|
|
526 |
*
|
|
|
527 |
* @see TicketPriority
|
|
|
528 |
*/
|
| 3430 |
rajveer |
529 |
public void setTicketPriority(TicketPriority ticketPriority) {
|
| 3028 |
mandeep.dh |
530 |
this.ticketPriority = ticketPriority;
|
|
|
531 |
}
|
|
|
532 |
|
|
|
533 |
public void unsetTicketPriority() {
|
|
|
534 |
this.ticketPriority = null;
|
|
|
535 |
}
|
|
|
536 |
|
| 3430 |
rajveer |
537 |
/** Returns true if field ticketPriority is set (has been assigned a value) and false otherwise */
|
| 3028 |
mandeep.dh |
538 |
public boolean isSetTicketPriority() {
|
|
|
539 |
return this.ticketPriority != null;
|
|
|
540 |
}
|
|
|
541 |
|
|
|
542 |
public void setTicketPriorityIsSet(boolean value) {
|
|
|
543 |
if (!value) {
|
|
|
544 |
this.ticketPriority = null;
|
|
|
545 |
}
|
|
|
546 |
}
|
|
|
547 |
|
|
|
548 |
public long getTicketAssigneeId() {
|
|
|
549 |
return this.ticketAssigneeId;
|
|
|
550 |
}
|
|
|
551 |
|
| 3430 |
rajveer |
552 |
public void setTicketAssigneeId(long ticketAssigneeId) {
|
| 3028 |
mandeep.dh |
553 |
this.ticketAssigneeId = ticketAssigneeId;
|
|
|
554 |
setTicketAssigneeIdIsSet(true);
|
|
|
555 |
}
|
|
|
556 |
|
|
|
557 |
public void unsetTicketAssigneeId() {
|
|
|
558 |
__isset_bit_vector.clear(__TICKETASSIGNEEID_ISSET_ID);
|
|
|
559 |
}
|
|
|
560 |
|
| 3430 |
rajveer |
561 |
/** Returns true if field ticketAssigneeId is set (has been assigned a value) and false otherwise */
|
| 3028 |
mandeep.dh |
562 |
public boolean isSetTicketAssigneeId() {
|
|
|
563 |
return __isset_bit_vector.get(__TICKETASSIGNEEID_ISSET_ID);
|
|
|
564 |
}
|
|
|
565 |
|
|
|
566 |
public void setTicketAssigneeIdIsSet(boolean value) {
|
|
|
567 |
__isset_bit_vector.set(__TICKETASSIGNEEID_ISSET_ID, value);
|
|
|
568 |
}
|
|
|
569 |
|
|
|
570 |
/**
|
|
|
571 |
*
|
|
|
572 |
* @see TicketStatus
|
|
|
573 |
*/
|
|
|
574 |
public TicketStatus getTicketStatus() {
|
|
|
575 |
return this.ticketStatus;
|
|
|
576 |
}
|
|
|
577 |
|
|
|
578 |
/**
|
|
|
579 |
*
|
|
|
580 |
* @see TicketStatus
|
|
|
581 |
*/
|
| 3430 |
rajveer |
582 |
public void setTicketStatus(TicketStatus ticketStatus) {
|
| 3028 |
mandeep.dh |
583 |
this.ticketStatus = ticketStatus;
|
|
|
584 |
}
|
|
|
585 |
|
|
|
586 |
public void unsetTicketStatus() {
|
|
|
587 |
this.ticketStatus = null;
|
|
|
588 |
}
|
|
|
589 |
|
| 3430 |
rajveer |
590 |
/** Returns true if field ticketStatus is set (has been assigned a value) and false otherwise */
|
| 3028 |
mandeep.dh |
591 |
public boolean isSetTicketStatus() {
|
|
|
592 |
return this.ticketStatus != null;
|
|
|
593 |
}
|
|
|
594 |
|
|
|
595 |
public void setTicketStatusIsSet(boolean value) {
|
|
|
596 |
if (!value) {
|
|
|
597 |
this.ticketStatus = null;
|
|
|
598 |
}
|
|
|
599 |
}
|
|
|
600 |
|
|
|
601 |
/**
|
|
|
602 |
*
|
|
|
603 |
* @see TicketCategory
|
|
|
604 |
*/
|
|
|
605 |
public TicketCategory getTicketCategory() {
|
|
|
606 |
return this.ticketCategory;
|
|
|
607 |
}
|
|
|
608 |
|
|
|
609 |
/**
|
|
|
610 |
*
|
|
|
611 |
* @see TicketCategory
|
|
|
612 |
*/
|
| 3430 |
rajveer |
613 |
public void setTicketCategory(TicketCategory ticketCategory) {
|
| 3028 |
mandeep.dh |
614 |
this.ticketCategory = ticketCategory;
|
|
|
615 |
}
|
|
|
616 |
|
|
|
617 |
public void unsetTicketCategory() {
|
|
|
618 |
this.ticketCategory = null;
|
|
|
619 |
}
|
|
|
620 |
|
| 3430 |
rajveer |
621 |
/** Returns true if field ticketCategory is set (has been assigned a value) and false otherwise */
|
| 3028 |
mandeep.dh |
622 |
public boolean isSetTicketCategory() {
|
|
|
623 |
return this.ticketCategory != null;
|
|
|
624 |
}
|
|
|
625 |
|
|
|
626 |
public void setTicketCategoryIsSet(boolean value) {
|
|
|
627 |
if (!value) {
|
|
|
628 |
this.ticketCategory = null;
|
|
|
629 |
}
|
|
|
630 |
}
|
|
|
631 |
|
| 3106 |
mandeep.dh |
632 |
public String getTicketDescription() {
|
|
|
633 |
return this.ticketDescription;
|
|
|
634 |
}
|
|
|
635 |
|
| 3430 |
rajveer |
636 |
public void setTicketDescription(String ticketDescription) {
|
| 3106 |
mandeep.dh |
637 |
this.ticketDescription = ticketDescription;
|
|
|
638 |
}
|
|
|
639 |
|
|
|
640 |
public void unsetTicketDescription() {
|
|
|
641 |
this.ticketDescription = null;
|
|
|
642 |
}
|
|
|
643 |
|
| 3430 |
rajveer |
644 |
/** Returns true if field ticketDescription is set (has been assigned a value) and false otherwise */
|
| 3106 |
mandeep.dh |
645 |
public boolean isSetTicketDescription() {
|
|
|
646 |
return this.ticketDescription != null;
|
|
|
647 |
}
|
|
|
648 |
|
|
|
649 |
public void setTicketDescriptionIsSet(boolean value) {
|
|
|
650 |
if (!value) {
|
|
|
651 |
this.ticketDescription = null;
|
|
|
652 |
}
|
|
|
653 |
}
|
|
|
654 |
|
| 3390 |
mandeep.dh |
655 |
public boolean isIsRead() {
|
|
|
656 |
return this.isRead;
|
|
|
657 |
}
|
|
|
658 |
|
| 3430 |
rajveer |
659 |
public void setIsRead(boolean isRead) {
|
| 3390 |
mandeep.dh |
660 |
this.isRead = isRead;
|
|
|
661 |
setIsReadIsSet(true);
|
|
|
662 |
}
|
|
|
663 |
|
|
|
664 |
public void unsetIsRead() {
|
|
|
665 |
__isset_bit_vector.clear(__ISREAD_ISSET_ID);
|
|
|
666 |
}
|
|
|
667 |
|
| 3430 |
rajveer |
668 |
/** Returns true if field isRead is set (has been assigned a value) and false otherwise */
|
| 3390 |
mandeep.dh |
669 |
public boolean isSetIsRead() {
|
|
|
670 |
return __isset_bit_vector.get(__ISREAD_ISSET_ID);
|
|
|
671 |
}
|
|
|
672 |
|
|
|
673 |
public void setIsReadIsSet(boolean value) {
|
|
|
674 |
__isset_bit_vector.set(__ISREAD_ISSET_ID, value);
|
|
|
675 |
}
|
|
|
676 |
|
|
|
677 |
public String getCustomerMobileNumber() {
|
|
|
678 |
return this.customerMobileNumber;
|
|
|
679 |
}
|
|
|
680 |
|
| 3430 |
rajveer |
681 |
public void setCustomerMobileNumber(String customerMobileNumber) {
|
| 3390 |
mandeep.dh |
682 |
this.customerMobileNumber = customerMobileNumber;
|
|
|
683 |
}
|
|
|
684 |
|
|
|
685 |
public void unsetCustomerMobileNumber() {
|
|
|
686 |
this.customerMobileNumber = null;
|
|
|
687 |
}
|
|
|
688 |
|
| 3430 |
rajveer |
689 |
/** Returns true if field customerMobileNumber is set (has been assigned a value) and false otherwise */
|
| 3390 |
mandeep.dh |
690 |
public boolean isSetCustomerMobileNumber() {
|
|
|
691 |
return this.customerMobileNumber != null;
|
|
|
692 |
}
|
|
|
693 |
|
|
|
694 |
public void setCustomerMobileNumberIsSet(boolean value) {
|
|
|
695 |
if (!value) {
|
|
|
696 |
this.customerMobileNumber = null;
|
|
|
697 |
}
|
|
|
698 |
}
|
|
|
699 |
|
|
|
700 |
public String getCustomerEmailId() {
|
|
|
701 |
return this.customerEmailId;
|
|
|
702 |
}
|
|
|
703 |
|
| 3430 |
rajveer |
704 |
public void setCustomerEmailId(String customerEmailId) {
|
| 3390 |
mandeep.dh |
705 |
this.customerEmailId = customerEmailId;
|
|
|
706 |
}
|
|
|
707 |
|
|
|
708 |
public void unsetCustomerEmailId() {
|
|
|
709 |
this.customerEmailId = null;
|
|
|
710 |
}
|
|
|
711 |
|
| 3430 |
rajveer |
712 |
/** Returns true if field customerEmailId is set (has been assigned a value) and false otherwise */
|
| 3390 |
mandeep.dh |
713 |
public boolean isSetCustomerEmailId() {
|
|
|
714 |
return this.customerEmailId != null;
|
|
|
715 |
}
|
|
|
716 |
|
|
|
717 |
public void setCustomerEmailIdIsSet(boolean value) {
|
|
|
718 |
if (!value) {
|
|
|
719 |
this.customerEmailId = null;
|
|
|
720 |
}
|
|
|
721 |
}
|
|
|
722 |
|
|
|
723 |
public String getCustomerName() {
|
|
|
724 |
return this.customerName;
|
|
|
725 |
}
|
|
|
726 |
|
| 3430 |
rajveer |
727 |
public void setCustomerName(String customerName) {
|
| 3390 |
mandeep.dh |
728 |
this.customerName = customerName;
|
|
|
729 |
}
|
|
|
730 |
|
|
|
731 |
public void unsetCustomerName() {
|
|
|
732 |
this.customerName = null;
|
|
|
733 |
}
|
|
|
734 |
|
| 3430 |
rajveer |
735 |
/** Returns true if field customerName is set (has been assigned a value) and false otherwise */
|
| 3390 |
mandeep.dh |
736 |
public boolean isSetCustomerName() {
|
|
|
737 |
return this.customerName != null;
|
|
|
738 |
}
|
|
|
739 |
|
|
|
740 |
public void setCustomerNameIsSet(boolean value) {
|
|
|
741 |
if (!value) {
|
|
|
742 |
this.customerName = null;
|
|
|
743 |
}
|
|
|
744 |
}
|
|
|
745 |
|
| 3028 |
mandeep.dh |
746 |
public void setFieldValue(_Fields field, Object value) {
|
|
|
747 |
switch (field) {
|
|
|
748 |
case ID:
|
|
|
749 |
if (value == null) {
|
|
|
750 |
unsetId();
|
|
|
751 |
} else {
|
|
|
752 |
setId((Long)value);
|
|
|
753 |
}
|
|
|
754 |
break;
|
|
|
755 |
|
|
|
756 |
case DESCRIPTION:
|
|
|
757 |
if (value == null) {
|
|
|
758 |
unsetDescription();
|
|
|
759 |
} else {
|
|
|
760 |
setDescription((String)value);
|
|
|
761 |
}
|
|
|
762 |
break;
|
|
|
763 |
|
| 3106 |
mandeep.dh |
764 |
case CREATION_TIMESTAMP:
|
| 3028 |
mandeep.dh |
765 |
if (value == null) {
|
| 3106 |
mandeep.dh |
766 |
unsetCreationTimestamp();
|
| 3028 |
mandeep.dh |
767 |
} else {
|
| 3106 |
mandeep.dh |
768 |
setCreationTimestamp((Long)value);
|
| 3028 |
mandeep.dh |
769 |
}
|
|
|
770 |
break;
|
|
|
771 |
|
| 3106 |
mandeep.dh |
772 |
case TYPE:
|
| 3028 |
mandeep.dh |
773 |
if (value == null) {
|
| 3106 |
mandeep.dh |
774 |
unsetType();
|
| 3028 |
mandeep.dh |
775 |
} else {
|
| 3106 |
mandeep.dh |
776 |
setType((ActivityType)value);
|
| 3028 |
mandeep.dh |
777 |
}
|
|
|
778 |
break;
|
|
|
779 |
|
|
|
780 |
case CUSTOMER_ID:
|
|
|
781 |
if (value == null) {
|
|
|
782 |
unsetCustomerId();
|
|
|
783 |
} else {
|
|
|
784 |
setCustomerId((Long)value);
|
|
|
785 |
}
|
|
|
786 |
break;
|
|
|
787 |
|
|
|
788 |
case CREATOR_ID:
|
|
|
789 |
if (value == null) {
|
|
|
790 |
unsetCreatorId();
|
|
|
791 |
} else {
|
|
|
792 |
setCreatorId((Long)value);
|
|
|
793 |
}
|
|
|
794 |
break;
|
|
|
795 |
|
| 3390 |
mandeep.dh |
796 |
case USER_EMAIL_ID:
|
| 3206 |
mandeep.dh |
797 |
if (value == null) {
|
| 3390 |
mandeep.dh |
798 |
unsetUserEmailId();
|
| 3206 |
mandeep.dh |
799 |
} else {
|
| 3390 |
mandeep.dh |
800 |
setUserEmailId((Long)value);
|
| 3206 |
mandeep.dh |
801 |
}
|
|
|
802 |
break;
|
|
|
803 |
|
| 3028 |
mandeep.dh |
804 |
case TICKET_ID:
|
|
|
805 |
if (value == null) {
|
|
|
806 |
unsetTicketId();
|
|
|
807 |
} else {
|
|
|
808 |
setTicketId((Long)value);
|
|
|
809 |
}
|
|
|
810 |
break;
|
|
|
811 |
|
|
|
812 |
case TICKET_PRIORITY:
|
|
|
813 |
if (value == null) {
|
|
|
814 |
unsetTicketPriority();
|
|
|
815 |
} else {
|
|
|
816 |
setTicketPriority((TicketPriority)value);
|
|
|
817 |
}
|
|
|
818 |
break;
|
|
|
819 |
|
|
|
820 |
case TICKET_ASSIGNEE_ID:
|
|
|
821 |
if (value == null) {
|
|
|
822 |
unsetTicketAssigneeId();
|
|
|
823 |
} else {
|
|
|
824 |
setTicketAssigneeId((Long)value);
|
|
|
825 |
}
|
|
|
826 |
break;
|
|
|
827 |
|
|
|
828 |
case TICKET_STATUS:
|
|
|
829 |
if (value == null) {
|
|
|
830 |
unsetTicketStatus();
|
|
|
831 |
} else {
|
|
|
832 |
setTicketStatus((TicketStatus)value);
|
|
|
833 |
}
|
|
|
834 |
break;
|
|
|
835 |
|
|
|
836 |
case TICKET_CATEGORY:
|
|
|
837 |
if (value == null) {
|
|
|
838 |
unsetTicketCategory();
|
|
|
839 |
} else {
|
|
|
840 |
setTicketCategory((TicketCategory)value);
|
|
|
841 |
}
|
|
|
842 |
break;
|
|
|
843 |
|
| 3106 |
mandeep.dh |
844 |
case TICKET_DESCRIPTION:
|
|
|
845 |
if (value == null) {
|
|
|
846 |
unsetTicketDescription();
|
|
|
847 |
} else {
|
|
|
848 |
setTicketDescription((String)value);
|
|
|
849 |
}
|
|
|
850 |
break;
|
|
|
851 |
|
| 3390 |
mandeep.dh |
852 |
case IS_READ:
|
|
|
853 |
if (value == null) {
|
|
|
854 |
unsetIsRead();
|
|
|
855 |
} else {
|
|
|
856 |
setIsRead((Boolean)value);
|
|
|
857 |
}
|
|
|
858 |
break;
|
|
|
859 |
|
|
|
860 |
case CUSTOMER_MOBILE_NUMBER:
|
|
|
861 |
if (value == null) {
|
|
|
862 |
unsetCustomerMobileNumber();
|
|
|
863 |
} else {
|
|
|
864 |
setCustomerMobileNumber((String)value);
|
|
|
865 |
}
|
|
|
866 |
break;
|
|
|
867 |
|
|
|
868 |
case CUSTOMER_EMAIL_ID:
|
|
|
869 |
if (value == null) {
|
|
|
870 |
unsetCustomerEmailId();
|
|
|
871 |
} else {
|
|
|
872 |
setCustomerEmailId((String)value);
|
|
|
873 |
}
|
|
|
874 |
break;
|
|
|
875 |
|
|
|
876 |
case CUSTOMER_NAME:
|
|
|
877 |
if (value == null) {
|
|
|
878 |
unsetCustomerName();
|
|
|
879 |
} else {
|
|
|
880 |
setCustomerName((String)value);
|
|
|
881 |
}
|
|
|
882 |
break;
|
|
|
883 |
|
| 3028 |
mandeep.dh |
884 |
}
|
|
|
885 |
}
|
|
|
886 |
|
|
|
887 |
public Object getFieldValue(_Fields field) {
|
|
|
888 |
switch (field) {
|
|
|
889 |
case ID:
|
| 3430 |
rajveer |
890 |
return Long.valueOf(getId());
|
| 3028 |
mandeep.dh |
891 |
|
|
|
892 |
case DESCRIPTION:
|
|
|
893 |
return getDescription();
|
|
|
894 |
|
| 3106 |
mandeep.dh |
895 |
case CREATION_TIMESTAMP:
|
| 3430 |
rajveer |
896 |
return Long.valueOf(getCreationTimestamp());
|
| 3028 |
mandeep.dh |
897 |
|
| 3106 |
mandeep.dh |
898 |
case TYPE:
|
|
|
899 |
return getType();
|
| 3028 |
mandeep.dh |
900 |
|
|
|
901 |
case CUSTOMER_ID:
|
| 3430 |
rajveer |
902 |
return Long.valueOf(getCustomerId());
|
| 3028 |
mandeep.dh |
903 |
|
|
|
904 |
case CREATOR_ID:
|
| 3430 |
rajveer |
905 |
return Long.valueOf(getCreatorId());
|
| 3028 |
mandeep.dh |
906 |
|
| 3390 |
mandeep.dh |
907 |
case USER_EMAIL_ID:
|
| 3430 |
rajveer |
908 |
return Long.valueOf(getUserEmailId());
|
| 3206 |
mandeep.dh |
909 |
|
| 3028 |
mandeep.dh |
910 |
case TICKET_ID:
|
| 3430 |
rajveer |
911 |
return Long.valueOf(getTicketId());
|
| 3028 |
mandeep.dh |
912 |
|
|
|
913 |
case TICKET_PRIORITY:
|
|
|
914 |
return getTicketPriority();
|
|
|
915 |
|
|
|
916 |
case TICKET_ASSIGNEE_ID:
|
| 3430 |
rajveer |
917 |
return Long.valueOf(getTicketAssigneeId());
|
| 3028 |
mandeep.dh |
918 |
|
|
|
919 |
case TICKET_STATUS:
|
|
|
920 |
return getTicketStatus();
|
|
|
921 |
|
|
|
922 |
case TICKET_CATEGORY:
|
|
|
923 |
return getTicketCategory();
|
|
|
924 |
|
| 3106 |
mandeep.dh |
925 |
case TICKET_DESCRIPTION:
|
|
|
926 |
return getTicketDescription();
|
|
|
927 |
|
| 3390 |
mandeep.dh |
928 |
case IS_READ:
|
| 3430 |
rajveer |
929 |
return Boolean.valueOf(isIsRead());
|
| 3390 |
mandeep.dh |
930 |
|
|
|
931 |
case CUSTOMER_MOBILE_NUMBER:
|
|
|
932 |
return getCustomerMobileNumber();
|
|
|
933 |
|
|
|
934 |
case CUSTOMER_EMAIL_ID:
|
|
|
935 |
return getCustomerEmailId();
|
|
|
936 |
|
|
|
937 |
case CUSTOMER_NAME:
|
|
|
938 |
return getCustomerName();
|
|
|
939 |
|
| 3028 |
mandeep.dh |
940 |
}
|
|
|
941 |
throw new IllegalStateException();
|
|
|
942 |
}
|
|
|
943 |
|
| 3430 |
rajveer |
944 |
/** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
|
|
|
945 |
public boolean isSet(_Fields field) {
|
|
|
946 |
if (field == null) {
|
|
|
947 |
throw new IllegalArgumentException();
|
|
|
948 |
}
|
| 3028 |
mandeep.dh |
949 |
|
|
|
950 |
switch (field) {
|
|
|
951 |
case ID:
|
|
|
952 |
return isSetId();
|
|
|
953 |
case DESCRIPTION:
|
|
|
954 |
return isSetDescription();
|
| 3106 |
mandeep.dh |
955 |
case CREATION_TIMESTAMP:
|
|
|
956 |
return isSetCreationTimestamp();
|
|
|
957 |
case TYPE:
|
|
|
958 |
return isSetType();
|
| 3028 |
mandeep.dh |
959 |
case CUSTOMER_ID:
|
|
|
960 |
return isSetCustomerId();
|
|
|
961 |
case CREATOR_ID:
|
|
|
962 |
return isSetCreatorId();
|
| 3390 |
mandeep.dh |
963 |
case USER_EMAIL_ID:
|
|
|
964 |
return isSetUserEmailId();
|
| 3028 |
mandeep.dh |
965 |
case TICKET_ID:
|
|
|
966 |
return isSetTicketId();
|
|
|
967 |
case TICKET_PRIORITY:
|
|
|
968 |
return isSetTicketPriority();
|
|
|
969 |
case TICKET_ASSIGNEE_ID:
|
|
|
970 |
return isSetTicketAssigneeId();
|
|
|
971 |
case TICKET_STATUS:
|
|
|
972 |
return isSetTicketStatus();
|
|
|
973 |
case TICKET_CATEGORY:
|
|
|
974 |
return isSetTicketCategory();
|
| 3106 |
mandeep.dh |
975 |
case TICKET_DESCRIPTION:
|
|
|
976 |
return isSetTicketDescription();
|
| 3390 |
mandeep.dh |
977 |
case IS_READ:
|
|
|
978 |
return isSetIsRead();
|
|
|
979 |
case CUSTOMER_MOBILE_NUMBER:
|
|
|
980 |
return isSetCustomerMobileNumber();
|
|
|
981 |
case CUSTOMER_EMAIL_ID:
|
|
|
982 |
return isSetCustomerEmailId();
|
|
|
983 |
case CUSTOMER_NAME:
|
|
|
984 |
return isSetCustomerName();
|
| 3028 |
mandeep.dh |
985 |
}
|
|
|
986 |
throw new IllegalStateException();
|
|
|
987 |
}
|
|
|
988 |
|
|
|
989 |
@Override
|
|
|
990 |
public boolean equals(Object that) {
|
|
|
991 |
if (that == null)
|
|
|
992 |
return false;
|
|
|
993 |
if (that instanceof Activity)
|
|
|
994 |
return this.equals((Activity)that);
|
|
|
995 |
return false;
|
|
|
996 |
}
|
|
|
997 |
|
|
|
998 |
public boolean equals(Activity that) {
|
|
|
999 |
if (that == null)
|
|
|
1000 |
return false;
|
|
|
1001 |
|
|
|
1002 |
boolean this_present_id = true;
|
|
|
1003 |
boolean that_present_id = true;
|
|
|
1004 |
if (this_present_id || that_present_id) {
|
|
|
1005 |
if (!(this_present_id && that_present_id))
|
|
|
1006 |
return false;
|
|
|
1007 |
if (this.id != that.id)
|
|
|
1008 |
return false;
|
|
|
1009 |
}
|
|
|
1010 |
|
|
|
1011 |
boolean this_present_description = true && this.isSetDescription();
|
|
|
1012 |
boolean that_present_description = true && that.isSetDescription();
|
|
|
1013 |
if (this_present_description || that_present_description) {
|
|
|
1014 |
if (!(this_present_description && that_present_description))
|
|
|
1015 |
return false;
|
|
|
1016 |
if (!this.description.equals(that.description))
|
|
|
1017 |
return false;
|
|
|
1018 |
}
|
|
|
1019 |
|
| 3106 |
mandeep.dh |
1020 |
boolean this_present_creationTimestamp = true;
|
|
|
1021 |
boolean that_present_creationTimestamp = true;
|
|
|
1022 |
if (this_present_creationTimestamp || that_present_creationTimestamp) {
|
|
|
1023 |
if (!(this_present_creationTimestamp && that_present_creationTimestamp))
|
| 3028 |
mandeep.dh |
1024 |
return false;
|
| 3106 |
mandeep.dh |
1025 |
if (this.creationTimestamp != that.creationTimestamp)
|
| 3028 |
mandeep.dh |
1026 |
return false;
|
|
|
1027 |
}
|
|
|
1028 |
|
| 3106 |
mandeep.dh |
1029 |
boolean this_present_type = true && this.isSetType();
|
|
|
1030 |
boolean that_present_type = true && that.isSetType();
|
|
|
1031 |
if (this_present_type || that_present_type) {
|
|
|
1032 |
if (!(this_present_type && that_present_type))
|
| 3028 |
mandeep.dh |
1033 |
return false;
|
| 3106 |
mandeep.dh |
1034 |
if (!this.type.equals(that.type))
|
| 3028 |
mandeep.dh |
1035 |
return false;
|
|
|
1036 |
}
|
|
|
1037 |
|
| 3269 |
mandeep.dh |
1038 |
boolean this_present_customerId = true && this.isSetCustomerId();
|
|
|
1039 |
boolean that_present_customerId = true && that.isSetCustomerId();
|
| 3028 |
mandeep.dh |
1040 |
if (this_present_customerId || that_present_customerId) {
|
|
|
1041 |
if (!(this_present_customerId && that_present_customerId))
|
|
|
1042 |
return false;
|
|
|
1043 |
if (this.customerId != that.customerId)
|
|
|
1044 |
return false;
|
|
|
1045 |
}
|
|
|
1046 |
|
|
|
1047 |
boolean this_present_creatorId = true;
|
|
|
1048 |
boolean that_present_creatorId = true;
|
|
|
1049 |
if (this_present_creatorId || that_present_creatorId) {
|
|
|
1050 |
if (!(this_present_creatorId && that_present_creatorId))
|
|
|
1051 |
return false;
|
|
|
1052 |
if (this.creatorId != that.creatorId)
|
|
|
1053 |
return false;
|
|
|
1054 |
}
|
|
|
1055 |
|
| 3390 |
mandeep.dh |
1056 |
boolean this_present_userEmailId = true && this.isSetUserEmailId();
|
|
|
1057 |
boolean that_present_userEmailId = true && that.isSetUserEmailId();
|
|
|
1058 |
if (this_present_userEmailId || that_present_userEmailId) {
|
|
|
1059 |
if (!(this_present_userEmailId && that_present_userEmailId))
|
| 3206 |
mandeep.dh |
1060 |
return false;
|
| 3390 |
mandeep.dh |
1061 |
if (this.userEmailId != that.userEmailId)
|
| 3206 |
mandeep.dh |
1062 |
return false;
|
|
|
1063 |
}
|
|
|
1064 |
|
| 3168 |
mandeep.dh |
1065 |
boolean this_present_ticketId = true && this.isSetTicketId();
|
|
|
1066 |
boolean that_present_ticketId = true && that.isSetTicketId();
|
| 3028 |
mandeep.dh |
1067 |
if (this_present_ticketId || that_present_ticketId) {
|
|
|
1068 |
if (!(this_present_ticketId && that_present_ticketId))
|
|
|
1069 |
return false;
|
|
|
1070 |
if (this.ticketId != that.ticketId)
|
|
|
1071 |
return false;
|
|
|
1072 |
}
|
|
|
1073 |
|
|
|
1074 |
boolean this_present_ticketPriority = true && this.isSetTicketPriority();
|
|
|
1075 |
boolean that_present_ticketPriority = true && that.isSetTicketPriority();
|
|
|
1076 |
if (this_present_ticketPriority || that_present_ticketPriority) {
|
|
|
1077 |
if (!(this_present_ticketPriority && that_present_ticketPriority))
|
|
|
1078 |
return false;
|
|
|
1079 |
if (!this.ticketPriority.equals(that.ticketPriority))
|
|
|
1080 |
return false;
|
|
|
1081 |
}
|
|
|
1082 |
|
| 3168 |
mandeep.dh |
1083 |
boolean this_present_ticketAssigneeId = true && this.isSetTicketAssigneeId();
|
|
|
1084 |
boolean that_present_ticketAssigneeId = true && that.isSetTicketAssigneeId();
|
| 3028 |
mandeep.dh |
1085 |
if (this_present_ticketAssigneeId || that_present_ticketAssigneeId) {
|
|
|
1086 |
if (!(this_present_ticketAssigneeId && that_present_ticketAssigneeId))
|
|
|
1087 |
return false;
|
|
|
1088 |
if (this.ticketAssigneeId != that.ticketAssigneeId)
|
|
|
1089 |
return false;
|
|
|
1090 |
}
|
|
|
1091 |
|
|
|
1092 |
boolean this_present_ticketStatus = true && this.isSetTicketStatus();
|
|
|
1093 |
boolean that_present_ticketStatus = true && that.isSetTicketStatus();
|
|
|
1094 |
if (this_present_ticketStatus || that_present_ticketStatus) {
|
|
|
1095 |
if (!(this_present_ticketStatus && that_present_ticketStatus))
|
|
|
1096 |
return false;
|
|
|
1097 |
if (!this.ticketStatus.equals(that.ticketStatus))
|
|
|
1098 |
return false;
|
|
|
1099 |
}
|
|
|
1100 |
|
|
|
1101 |
boolean this_present_ticketCategory = true && this.isSetTicketCategory();
|
|
|
1102 |
boolean that_present_ticketCategory = true && that.isSetTicketCategory();
|
|
|
1103 |
if (this_present_ticketCategory || that_present_ticketCategory) {
|
|
|
1104 |
if (!(this_present_ticketCategory && that_present_ticketCategory))
|
|
|
1105 |
return false;
|
|
|
1106 |
if (!this.ticketCategory.equals(that.ticketCategory))
|
|
|
1107 |
return false;
|
|
|
1108 |
}
|
|
|
1109 |
|
| 3106 |
mandeep.dh |
1110 |
boolean this_present_ticketDescription = true && this.isSetTicketDescription();
|
|
|
1111 |
boolean that_present_ticketDescription = true && that.isSetTicketDescription();
|
|
|
1112 |
if (this_present_ticketDescription || that_present_ticketDescription) {
|
|
|
1113 |
if (!(this_present_ticketDescription && that_present_ticketDescription))
|
|
|
1114 |
return false;
|
|
|
1115 |
if (!this.ticketDescription.equals(that.ticketDescription))
|
|
|
1116 |
return false;
|
|
|
1117 |
}
|
|
|
1118 |
|
| 3390 |
mandeep.dh |
1119 |
boolean this_present_isRead = true && this.isSetIsRead();
|
|
|
1120 |
boolean that_present_isRead = true && that.isSetIsRead();
|
|
|
1121 |
if (this_present_isRead || that_present_isRead) {
|
|
|
1122 |
if (!(this_present_isRead && that_present_isRead))
|
|
|
1123 |
return false;
|
|
|
1124 |
if (this.isRead != that.isRead)
|
|
|
1125 |
return false;
|
|
|
1126 |
}
|
|
|
1127 |
|
|
|
1128 |
boolean this_present_customerMobileNumber = true && this.isSetCustomerMobileNumber();
|
|
|
1129 |
boolean that_present_customerMobileNumber = true && that.isSetCustomerMobileNumber();
|
|
|
1130 |
if (this_present_customerMobileNumber || that_present_customerMobileNumber) {
|
|
|
1131 |
if (!(this_present_customerMobileNumber && that_present_customerMobileNumber))
|
|
|
1132 |
return false;
|
|
|
1133 |
if (!this.customerMobileNumber.equals(that.customerMobileNumber))
|
|
|
1134 |
return false;
|
|
|
1135 |
}
|
|
|
1136 |
|
|
|
1137 |
boolean this_present_customerEmailId = true && this.isSetCustomerEmailId();
|
|
|
1138 |
boolean that_present_customerEmailId = true && that.isSetCustomerEmailId();
|
|
|
1139 |
if (this_present_customerEmailId || that_present_customerEmailId) {
|
|
|
1140 |
if (!(this_present_customerEmailId && that_present_customerEmailId))
|
|
|
1141 |
return false;
|
|
|
1142 |
if (!this.customerEmailId.equals(that.customerEmailId))
|
|
|
1143 |
return false;
|
|
|
1144 |
}
|
|
|
1145 |
|
|
|
1146 |
boolean this_present_customerName = true && this.isSetCustomerName();
|
|
|
1147 |
boolean that_present_customerName = true && that.isSetCustomerName();
|
|
|
1148 |
if (this_present_customerName || that_present_customerName) {
|
|
|
1149 |
if (!(this_present_customerName && that_present_customerName))
|
|
|
1150 |
return false;
|
|
|
1151 |
if (!this.customerName.equals(that.customerName))
|
|
|
1152 |
return false;
|
|
|
1153 |
}
|
|
|
1154 |
|
| 3028 |
mandeep.dh |
1155 |
return true;
|
|
|
1156 |
}
|
|
|
1157 |
|
|
|
1158 |
@Override
|
|
|
1159 |
public int hashCode() {
|
|
|
1160 |
return 0;
|
|
|
1161 |
}
|
|
|
1162 |
|
|
|
1163 |
public int compareTo(Activity other) {
|
|
|
1164 |
if (!getClass().equals(other.getClass())) {
|
|
|
1165 |
return getClass().getName().compareTo(other.getClass().getName());
|
|
|
1166 |
}
|
|
|
1167 |
|
|
|
1168 |
int lastComparison = 0;
|
|
|
1169 |
Activity typedOther = (Activity)other;
|
|
|
1170 |
|
| 3430 |
rajveer |
1171 |
lastComparison = Boolean.valueOf(isSetId()).compareTo(typedOther.isSetId());
|
| 3028 |
mandeep.dh |
1172 |
if (lastComparison != 0) {
|
|
|
1173 |
return lastComparison;
|
|
|
1174 |
}
|
| 3430 |
rajveer |
1175 |
if (isSetId()) {
|
|
|
1176 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.id, typedOther.id);
|
|
|
1177 |
if (lastComparison != 0) {
|
|
|
1178 |
return lastComparison;
|
|
|
1179 |
}
|
| 3028 |
mandeep.dh |
1180 |
}
|
| 3430 |
rajveer |
1181 |
lastComparison = Boolean.valueOf(isSetDescription()).compareTo(typedOther.isSetDescription());
|
| 3028 |
mandeep.dh |
1182 |
if (lastComparison != 0) {
|
|
|
1183 |
return lastComparison;
|
|
|
1184 |
}
|
| 3430 |
rajveer |
1185 |
if (isSetDescription()) {
|
|
|
1186 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.description, typedOther.description);
|
|
|
1187 |
if (lastComparison != 0) {
|
|
|
1188 |
return lastComparison;
|
|
|
1189 |
}
|
| 3028 |
mandeep.dh |
1190 |
}
|
| 3430 |
rajveer |
1191 |
lastComparison = Boolean.valueOf(isSetCreationTimestamp()).compareTo(typedOther.isSetCreationTimestamp());
|
| 3028 |
mandeep.dh |
1192 |
if (lastComparison != 0) {
|
|
|
1193 |
return lastComparison;
|
|
|
1194 |
}
|
| 3430 |
rajveer |
1195 |
if (isSetCreationTimestamp()) {
|
|
|
1196 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.creationTimestamp, typedOther.creationTimestamp);
|
|
|
1197 |
if (lastComparison != 0) {
|
|
|
1198 |
return lastComparison;
|
|
|
1199 |
}
|
| 3028 |
mandeep.dh |
1200 |
}
|
| 3430 |
rajveer |
1201 |
lastComparison = Boolean.valueOf(isSetType()).compareTo(typedOther.isSetType());
|
| 3028 |
mandeep.dh |
1202 |
if (lastComparison != 0) {
|
|
|
1203 |
return lastComparison;
|
|
|
1204 |
}
|
| 3430 |
rajveer |
1205 |
if (isSetType()) {
|
|
|
1206 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.type, typedOther.type);
|
|
|
1207 |
if (lastComparison != 0) {
|
|
|
1208 |
return lastComparison;
|
|
|
1209 |
}
|
| 3028 |
mandeep.dh |
1210 |
}
|
| 3430 |
rajveer |
1211 |
lastComparison = Boolean.valueOf(isSetCustomerId()).compareTo(typedOther.isSetCustomerId());
|
| 3028 |
mandeep.dh |
1212 |
if (lastComparison != 0) {
|
|
|
1213 |
return lastComparison;
|
|
|
1214 |
}
|
| 3430 |
rajveer |
1215 |
if (isSetCustomerId()) {
|
|
|
1216 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.customerId, typedOther.customerId);
|
|
|
1217 |
if (lastComparison != 0) {
|
|
|
1218 |
return lastComparison;
|
|
|
1219 |
}
|
| 3028 |
mandeep.dh |
1220 |
}
|
| 3430 |
rajveer |
1221 |
lastComparison = Boolean.valueOf(isSetCreatorId()).compareTo(typedOther.isSetCreatorId());
|
| 3028 |
mandeep.dh |
1222 |
if (lastComparison != 0) {
|
|
|
1223 |
return lastComparison;
|
|
|
1224 |
}
|
| 3430 |
rajveer |
1225 |
if (isSetCreatorId()) {
|
|
|
1226 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.creatorId, typedOther.creatorId);
|
|
|
1227 |
if (lastComparison != 0) {
|
|
|
1228 |
return lastComparison;
|
|
|
1229 |
}
|
| 3028 |
mandeep.dh |
1230 |
}
|
| 3430 |
rajveer |
1231 |
lastComparison = Boolean.valueOf(isSetUserEmailId()).compareTo(typedOther.isSetUserEmailId());
|
| 3206 |
mandeep.dh |
1232 |
if (lastComparison != 0) {
|
|
|
1233 |
return lastComparison;
|
|
|
1234 |
}
|
| 3430 |
rajveer |
1235 |
if (isSetUserEmailId()) {
|
|
|
1236 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.userEmailId, typedOther.userEmailId);
|
|
|
1237 |
if (lastComparison != 0) {
|
|
|
1238 |
return lastComparison;
|
|
|
1239 |
}
|
| 3206 |
mandeep.dh |
1240 |
}
|
| 3430 |
rajveer |
1241 |
lastComparison = Boolean.valueOf(isSetTicketId()).compareTo(typedOther.isSetTicketId());
|
| 3028 |
mandeep.dh |
1242 |
if (lastComparison != 0) {
|
|
|
1243 |
return lastComparison;
|
|
|
1244 |
}
|
| 3430 |
rajveer |
1245 |
if (isSetTicketId()) {
|
|
|
1246 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.ticketId, typedOther.ticketId);
|
|
|
1247 |
if (lastComparison != 0) {
|
|
|
1248 |
return lastComparison;
|
|
|
1249 |
}
|
| 3028 |
mandeep.dh |
1250 |
}
|
| 3430 |
rajveer |
1251 |
lastComparison = Boolean.valueOf(isSetTicketPriority()).compareTo(typedOther.isSetTicketPriority());
|
| 3028 |
mandeep.dh |
1252 |
if (lastComparison != 0) {
|
|
|
1253 |
return lastComparison;
|
|
|
1254 |
}
|
| 3430 |
rajveer |
1255 |
if (isSetTicketPriority()) {
|
|
|
1256 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.ticketPriority, typedOther.ticketPriority);
|
|
|
1257 |
if (lastComparison != 0) {
|
|
|
1258 |
return lastComparison;
|
|
|
1259 |
}
|
| 3028 |
mandeep.dh |
1260 |
}
|
| 3430 |
rajveer |
1261 |
lastComparison = Boolean.valueOf(isSetTicketAssigneeId()).compareTo(typedOther.isSetTicketAssigneeId());
|
| 3028 |
mandeep.dh |
1262 |
if (lastComparison != 0) {
|
|
|
1263 |
return lastComparison;
|
|
|
1264 |
}
|
| 3430 |
rajveer |
1265 |
if (isSetTicketAssigneeId()) {
|
|
|
1266 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.ticketAssigneeId, typedOther.ticketAssigneeId);
|
|
|
1267 |
if (lastComparison != 0) {
|
|
|
1268 |
return lastComparison;
|
|
|
1269 |
}
|
| 3028 |
mandeep.dh |
1270 |
}
|
| 3430 |
rajveer |
1271 |
lastComparison = Boolean.valueOf(isSetTicketStatus()).compareTo(typedOther.isSetTicketStatus());
|
| 3028 |
mandeep.dh |
1272 |
if (lastComparison != 0) {
|
|
|
1273 |
return lastComparison;
|
|
|
1274 |
}
|
| 3430 |
rajveer |
1275 |
if (isSetTicketStatus()) {
|
|
|
1276 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.ticketStatus, typedOther.ticketStatus);
|
|
|
1277 |
if (lastComparison != 0) {
|
|
|
1278 |
return lastComparison;
|
|
|
1279 |
}
|
| 3028 |
mandeep.dh |
1280 |
}
|
| 3430 |
rajveer |
1281 |
lastComparison = Boolean.valueOf(isSetTicketCategory()).compareTo(typedOther.isSetTicketCategory());
|
| 3028 |
mandeep.dh |
1282 |
if (lastComparison != 0) {
|
|
|
1283 |
return lastComparison;
|
|
|
1284 |
}
|
| 3430 |
rajveer |
1285 |
if (isSetTicketCategory()) {
|
|
|
1286 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.ticketCategory, typedOther.ticketCategory);
|
|
|
1287 |
if (lastComparison != 0) {
|
|
|
1288 |
return lastComparison;
|
|
|
1289 |
}
|
| 3028 |
mandeep.dh |
1290 |
}
|
| 3430 |
rajveer |
1291 |
lastComparison = Boolean.valueOf(isSetTicketDescription()).compareTo(typedOther.isSetTicketDescription());
|
| 3106 |
mandeep.dh |
1292 |
if (lastComparison != 0) {
|
|
|
1293 |
return lastComparison;
|
|
|
1294 |
}
|
| 3430 |
rajveer |
1295 |
if (isSetTicketDescription()) {
|
|
|
1296 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.ticketDescription, typedOther.ticketDescription);
|
|
|
1297 |
if (lastComparison != 0) {
|
|
|
1298 |
return lastComparison;
|
|
|
1299 |
}
|
| 3106 |
mandeep.dh |
1300 |
}
|
| 3430 |
rajveer |
1301 |
lastComparison = Boolean.valueOf(isSetIsRead()).compareTo(typedOther.isSetIsRead());
|
| 3390 |
mandeep.dh |
1302 |
if (lastComparison != 0) {
|
|
|
1303 |
return lastComparison;
|
|
|
1304 |
}
|
| 3430 |
rajveer |
1305 |
if (isSetIsRead()) {
|
|
|
1306 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.isRead, typedOther.isRead);
|
|
|
1307 |
if (lastComparison != 0) {
|
|
|
1308 |
return lastComparison;
|
|
|
1309 |
}
|
| 3390 |
mandeep.dh |
1310 |
}
|
| 3430 |
rajveer |
1311 |
lastComparison = Boolean.valueOf(isSetCustomerMobileNumber()).compareTo(typedOther.isSetCustomerMobileNumber());
|
| 3390 |
mandeep.dh |
1312 |
if (lastComparison != 0) {
|
|
|
1313 |
return lastComparison;
|
|
|
1314 |
}
|
| 3430 |
rajveer |
1315 |
if (isSetCustomerMobileNumber()) {
|
|
|
1316 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.customerMobileNumber, typedOther.customerMobileNumber);
|
|
|
1317 |
if (lastComparison != 0) {
|
|
|
1318 |
return lastComparison;
|
|
|
1319 |
}
|
| 3390 |
mandeep.dh |
1320 |
}
|
| 3430 |
rajveer |
1321 |
lastComparison = Boolean.valueOf(isSetCustomerEmailId()).compareTo(typedOther.isSetCustomerEmailId());
|
| 3390 |
mandeep.dh |
1322 |
if (lastComparison != 0) {
|
|
|
1323 |
return lastComparison;
|
|
|
1324 |
}
|
| 3430 |
rajveer |
1325 |
if (isSetCustomerEmailId()) {
|
|
|
1326 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.customerEmailId, typedOther.customerEmailId);
|
|
|
1327 |
if (lastComparison != 0) {
|
|
|
1328 |
return lastComparison;
|
|
|
1329 |
}
|
| 3390 |
mandeep.dh |
1330 |
}
|
| 3430 |
rajveer |
1331 |
lastComparison = Boolean.valueOf(isSetCustomerName()).compareTo(typedOther.isSetCustomerName());
|
| 3390 |
mandeep.dh |
1332 |
if (lastComparison != 0) {
|
|
|
1333 |
return lastComparison;
|
|
|
1334 |
}
|
| 3430 |
rajveer |
1335 |
if (isSetCustomerName()) {
|
|
|
1336 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.customerName, typedOther.customerName);
|
|
|
1337 |
if (lastComparison != 0) {
|
|
|
1338 |
return lastComparison;
|
|
|
1339 |
}
|
| 3390 |
mandeep.dh |
1340 |
}
|
| 3028 |
mandeep.dh |
1341 |
return 0;
|
|
|
1342 |
}
|
|
|
1343 |
|
| 3430 |
rajveer |
1344 |
public _Fields fieldForId(int fieldId) {
|
|
|
1345 |
return _Fields.findByThriftId(fieldId);
|
|
|
1346 |
}
|
|
|
1347 |
|
|
|
1348 |
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
|
|
|
1349 |
org.apache.thrift.protocol.TField field;
|
| 3028 |
mandeep.dh |
1350 |
iprot.readStructBegin();
|
|
|
1351 |
while (true)
|
|
|
1352 |
{
|
|
|
1353 |
field = iprot.readFieldBegin();
|
| 3430 |
rajveer |
1354 |
if (field.type == org.apache.thrift.protocol.TType.STOP) {
|
| 3028 |
mandeep.dh |
1355 |
break;
|
|
|
1356 |
}
|
| 3430 |
rajveer |
1357 |
switch (field.id) {
|
|
|
1358 |
case 1: // ID
|
|
|
1359 |
if (field.type == org.apache.thrift.protocol.TType.I64) {
|
|
|
1360 |
this.id = iprot.readI64();
|
|
|
1361 |
setIdIsSet(true);
|
|
|
1362 |
} else {
|
|
|
1363 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
1364 |
}
|
|
|
1365 |
break;
|
|
|
1366 |
case 2: // DESCRIPTION
|
|
|
1367 |
if (field.type == org.apache.thrift.protocol.TType.STRING) {
|
|
|
1368 |
this.description = iprot.readString();
|
|
|
1369 |
} else {
|
|
|
1370 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
1371 |
}
|
|
|
1372 |
break;
|
|
|
1373 |
case 3: // CREATION_TIMESTAMP
|
|
|
1374 |
if (field.type == org.apache.thrift.protocol.TType.I64) {
|
|
|
1375 |
this.creationTimestamp = iprot.readI64();
|
|
|
1376 |
setCreationTimestampIsSet(true);
|
|
|
1377 |
} else {
|
|
|
1378 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
1379 |
}
|
|
|
1380 |
break;
|
|
|
1381 |
case 4: // TYPE
|
|
|
1382 |
if (field.type == org.apache.thrift.protocol.TType.I32) {
|
|
|
1383 |
this.type = ActivityType.findByValue(iprot.readI32());
|
|
|
1384 |
} else {
|
|
|
1385 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
1386 |
}
|
|
|
1387 |
break;
|
|
|
1388 |
case 5: // CUSTOMER_ID
|
|
|
1389 |
if (field.type == org.apache.thrift.protocol.TType.I64) {
|
|
|
1390 |
this.customerId = iprot.readI64();
|
|
|
1391 |
setCustomerIdIsSet(true);
|
|
|
1392 |
} else {
|
|
|
1393 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
1394 |
}
|
|
|
1395 |
break;
|
|
|
1396 |
case 6: // CREATOR_ID
|
|
|
1397 |
if (field.type == org.apache.thrift.protocol.TType.I64) {
|
|
|
1398 |
this.creatorId = iprot.readI64();
|
|
|
1399 |
setCreatorIdIsSet(true);
|
|
|
1400 |
} else {
|
|
|
1401 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
1402 |
}
|
|
|
1403 |
break;
|
|
|
1404 |
case 7: // USER_EMAIL_ID
|
|
|
1405 |
if (field.type == org.apache.thrift.protocol.TType.I64) {
|
|
|
1406 |
this.userEmailId = iprot.readI64();
|
|
|
1407 |
setUserEmailIdIsSet(true);
|
|
|
1408 |
} else {
|
|
|
1409 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
1410 |
}
|
|
|
1411 |
break;
|
|
|
1412 |
case 8: // TICKET_ID
|
|
|
1413 |
if (field.type == org.apache.thrift.protocol.TType.I64) {
|
|
|
1414 |
this.ticketId = iprot.readI64();
|
|
|
1415 |
setTicketIdIsSet(true);
|
|
|
1416 |
} else {
|
|
|
1417 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
1418 |
}
|
|
|
1419 |
break;
|
|
|
1420 |
case 9: // TICKET_PRIORITY
|
|
|
1421 |
if (field.type == org.apache.thrift.protocol.TType.I32) {
|
|
|
1422 |
this.ticketPriority = TicketPriority.findByValue(iprot.readI32());
|
|
|
1423 |
} else {
|
|
|
1424 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
1425 |
}
|
|
|
1426 |
break;
|
|
|
1427 |
case 10: // TICKET_ASSIGNEE_ID
|
|
|
1428 |
if (field.type == org.apache.thrift.protocol.TType.I64) {
|
|
|
1429 |
this.ticketAssigneeId = iprot.readI64();
|
|
|
1430 |
setTicketAssigneeIdIsSet(true);
|
|
|
1431 |
} else {
|
|
|
1432 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
1433 |
}
|
|
|
1434 |
break;
|
|
|
1435 |
case 11: // TICKET_STATUS
|
|
|
1436 |
if (field.type == org.apache.thrift.protocol.TType.I32) {
|
|
|
1437 |
this.ticketStatus = TicketStatus.findByValue(iprot.readI32());
|
|
|
1438 |
} else {
|
|
|
1439 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
1440 |
}
|
|
|
1441 |
break;
|
|
|
1442 |
case 12: // TICKET_CATEGORY
|
|
|
1443 |
if (field.type == org.apache.thrift.protocol.TType.I32) {
|
|
|
1444 |
this.ticketCategory = TicketCategory.findByValue(iprot.readI32());
|
|
|
1445 |
} else {
|
|
|
1446 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
1447 |
}
|
|
|
1448 |
break;
|
|
|
1449 |
case 13: // TICKET_DESCRIPTION
|
|
|
1450 |
if (field.type == org.apache.thrift.protocol.TType.STRING) {
|
|
|
1451 |
this.ticketDescription = iprot.readString();
|
|
|
1452 |
} else {
|
|
|
1453 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
1454 |
}
|
|
|
1455 |
break;
|
|
|
1456 |
case 14: // IS_READ
|
|
|
1457 |
if (field.type == org.apache.thrift.protocol.TType.BOOL) {
|
|
|
1458 |
this.isRead = iprot.readBool();
|
|
|
1459 |
setIsReadIsSet(true);
|
|
|
1460 |
} else {
|
|
|
1461 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
1462 |
}
|
|
|
1463 |
break;
|
|
|
1464 |
case 15: // CUSTOMER_MOBILE_NUMBER
|
|
|
1465 |
if (field.type == org.apache.thrift.protocol.TType.STRING) {
|
|
|
1466 |
this.customerMobileNumber = iprot.readString();
|
|
|
1467 |
} else {
|
|
|
1468 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
1469 |
}
|
|
|
1470 |
break;
|
|
|
1471 |
case 16: // CUSTOMER_EMAIL_ID
|
|
|
1472 |
if (field.type == org.apache.thrift.protocol.TType.STRING) {
|
|
|
1473 |
this.customerEmailId = iprot.readString();
|
|
|
1474 |
} else {
|
|
|
1475 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
1476 |
}
|
|
|
1477 |
break;
|
|
|
1478 |
case 17: // CUSTOMER_NAME
|
|
|
1479 |
if (field.type == org.apache.thrift.protocol.TType.STRING) {
|
|
|
1480 |
this.customerName = iprot.readString();
|
|
|
1481 |
} else {
|
|
|
1482 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
1483 |
}
|
|
|
1484 |
break;
|
|
|
1485 |
default:
|
|
|
1486 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| 3028 |
mandeep.dh |
1487 |
}
|
| 3430 |
rajveer |
1488 |
iprot.readFieldEnd();
|
| 3028 |
mandeep.dh |
1489 |
}
|
|
|
1490 |
iprot.readStructEnd();
|
|
|
1491 |
validate();
|
|
|
1492 |
}
|
|
|
1493 |
|
| 3430 |
rajveer |
1494 |
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
|
| 3028 |
mandeep.dh |
1495 |
validate();
|
|
|
1496 |
|
|
|
1497 |
oprot.writeStructBegin(STRUCT_DESC);
|
|
|
1498 |
oprot.writeFieldBegin(ID_FIELD_DESC);
|
|
|
1499 |
oprot.writeI64(this.id);
|
|
|
1500 |
oprot.writeFieldEnd();
|
|
|
1501 |
if (this.description != null) {
|
| 3168 |
mandeep.dh |
1502 |
if (isSetDescription()) {
|
|
|
1503 |
oprot.writeFieldBegin(DESCRIPTION_FIELD_DESC);
|
|
|
1504 |
oprot.writeString(this.description);
|
|
|
1505 |
oprot.writeFieldEnd();
|
|
|
1506 |
}
|
| 3028 |
mandeep.dh |
1507 |
}
|
| 3106 |
mandeep.dh |
1508 |
oprot.writeFieldBegin(CREATION_TIMESTAMP_FIELD_DESC);
|
|
|
1509 |
oprot.writeI64(this.creationTimestamp);
|
| 3028 |
mandeep.dh |
1510 |
oprot.writeFieldEnd();
|
| 3106 |
mandeep.dh |
1511 |
if (this.type != null) {
|
|
|
1512 |
oprot.writeFieldBegin(TYPE_FIELD_DESC);
|
|
|
1513 |
oprot.writeI32(this.type.getValue());
|
| 3028 |
mandeep.dh |
1514 |
oprot.writeFieldEnd();
|
|
|
1515 |
}
|
| 3269 |
mandeep.dh |
1516 |
if (isSetCustomerId()) {
|
|
|
1517 |
oprot.writeFieldBegin(CUSTOMER_ID_FIELD_DESC);
|
|
|
1518 |
oprot.writeI64(this.customerId);
|
|
|
1519 |
oprot.writeFieldEnd();
|
|
|
1520 |
}
|
| 3028 |
mandeep.dh |
1521 |
oprot.writeFieldBegin(CREATOR_ID_FIELD_DESC);
|
|
|
1522 |
oprot.writeI64(this.creatorId);
|
|
|
1523 |
oprot.writeFieldEnd();
|
| 3390 |
mandeep.dh |
1524 |
if (isSetUserEmailId()) {
|
|
|
1525 |
oprot.writeFieldBegin(USER_EMAIL_ID_FIELD_DESC);
|
|
|
1526 |
oprot.writeI64(this.userEmailId);
|
| 3206 |
mandeep.dh |
1527 |
oprot.writeFieldEnd();
|
|
|
1528 |
}
|
| 3168 |
mandeep.dh |
1529 |
if (isSetTicketId()) {
|
|
|
1530 |
oprot.writeFieldBegin(TICKET_ID_FIELD_DESC);
|
|
|
1531 |
oprot.writeI64(this.ticketId);
|
|
|
1532 |
oprot.writeFieldEnd();
|
|
|
1533 |
}
|
| 3028 |
mandeep.dh |
1534 |
if (this.ticketPriority != null) {
|
| 3168 |
mandeep.dh |
1535 |
if (isSetTicketPriority()) {
|
|
|
1536 |
oprot.writeFieldBegin(TICKET_PRIORITY_FIELD_DESC);
|
|
|
1537 |
oprot.writeI32(this.ticketPriority.getValue());
|
|
|
1538 |
oprot.writeFieldEnd();
|
|
|
1539 |
}
|
|
|
1540 |
}
|
|
|
1541 |
if (isSetTicketAssigneeId()) {
|
|
|
1542 |
oprot.writeFieldBegin(TICKET_ASSIGNEE_ID_FIELD_DESC);
|
|
|
1543 |
oprot.writeI64(this.ticketAssigneeId);
|
| 3028 |
mandeep.dh |
1544 |
oprot.writeFieldEnd();
|
|
|
1545 |
}
|
|
|
1546 |
if (this.ticketStatus != null) {
|
| 3168 |
mandeep.dh |
1547 |
if (isSetTicketStatus()) {
|
|
|
1548 |
oprot.writeFieldBegin(TICKET_STATUS_FIELD_DESC);
|
|
|
1549 |
oprot.writeI32(this.ticketStatus.getValue());
|
|
|
1550 |
oprot.writeFieldEnd();
|
|
|
1551 |
}
|
| 3028 |
mandeep.dh |
1552 |
}
|
|
|
1553 |
if (this.ticketCategory != null) {
|
| 3168 |
mandeep.dh |
1554 |
if (isSetTicketCategory()) {
|
|
|
1555 |
oprot.writeFieldBegin(TICKET_CATEGORY_FIELD_DESC);
|
|
|
1556 |
oprot.writeI32(this.ticketCategory.getValue());
|
|
|
1557 |
oprot.writeFieldEnd();
|
|
|
1558 |
}
|
| 3028 |
mandeep.dh |
1559 |
}
|
| 3106 |
mandeep.dh |
1560 |
if (this.ticketDescription != null) {
|
| 3168 |
mandeep.dh |
1561 |
if (isSetTicketDescription()) {
|
|
|
1562 |
oprot.writeFieldBegin(TICKET_DESCRIPTION_FIELD_DESC);
|
|
|
1563 |
oprot.writeString(this.ticketDescription);
|
|
|
1564 |
oprot.writeFieldEnd();
|
|
|
1565 |
}
|
| 3106 |
mandeep.dh |
1566 |
}
|
| 3390 |
mandeep.dh |
1567 |
if (isSetIsRead()) {
|
|
|
1568 |
oprot.writeFieldBegin(IS_READ_FIELD_DESC);
|
|
|
1569 |
oprot.writeBool(this.isRead);
|
|
|
1570 |
oprot.writeFieldEnd();
|
|
|
1571 |
}
|
|
|
1572 |
if (this.customerMobileNumber != null) {
|
|
|
1573 |
if (isSetCustomerMobileNumber()) {
|
|
|
1574 |
oprot.writeFieldBegin(CUSTOMER_MOBILE_NUMBER_FIELD_DESC);
|
|
|
1575 |
oprot.writeString(this.customerMobileNumber);
|
|
|
1576 |
oprot.writeFieldEnd();
|
|
|
1577 |
}
|
|
|
1578 |
}
|
|
|
1579 |
if (this.customerEmailId != null) {
|
|
|
1580 |
if (isSetCustomerEmailId()) {
|
|
|
1581 |
oprot.writeFieldBegin(CUSTOMER_EMAIL_ID_FIELD_DESC);
|
|
|
1582 |
oprot.writeString(this.customerEmailId);
|
|
|
1583 |
oprot.writeFieldEnd();
|
|
|
1584 |
}
|
|
|
1585 |
}
|
|
|
1586 |
if (this.customerName != null) {
|
|
|
1587 |
if (isSetCustomerName()) {
|
|
|
1588 |
oprot.writeFieldBegin(CUSTOMER_NAME_FIELD_DESC);
|
|
|
1589 |
oprot.writeString(this.customerName);
|
|
|
1590 |
oprot.writeFieldEnd();
|
|
|
1591 |
}
|
|
|
1592 |
}
|
| 3028 |
mandeep.dh |
1593 |
oprot.writeFieldStop();
|
|
|
1594 |
oprot.writeStructEnd();
|
|
|
1595 |
}
|
|
|
1596 |
|
|
|
1597 |
@Override
|
|
|
1598 |
public String toString() {
|
|
|
1599 |
StringBuilder sb = new StringBuilder("Activity(");
|
|
|
1600 |
boolean first = true;
|
|
|
1601 |
|
|
|
1602 |
sb.append("id:");
|
|
|
1603 |
sb.append(this.id);
|
|
|
1604 |
first = false;
|
| 3168 |
mandeep.dh |
1605 |
if (isSetDescription()) {
|
|
|
1606 |
if (!first) sb.append(", ");
|
|
|
1607 |
sb.append("description:");
|
|
|
1608 |
if (this.description == null) {
|
|
|
1609 |
sb.append("null");
|
|
|
1610 |
} else {
|
|
|
1611 |
sb.append(this.description);
|
|
|
1612 |
}
|
|
|
1613 |
first = false;
|
| 3028 |
mandeep.dh |
1614 |
}
|
|
|
1615 |
if (!first) sb.append(", ");
|
| 3106 |
mandeep.dh |
1616 |
sb.append("creationTimestamp:");
|
|
|
1617 |
sb.append(this.creationTimestamp);
|
| 3028 |
mandeep.dh |
1618 |
first = false;
|
|
|
1619 |
if (!first) sb.append(", ");
|
| 3106 |
mandeep.dh |
1620 |
sb.append("type:");
|
|
|
1621 |
if (this.type == null) {
|
| 3028 |
mandeep.dh |
1622 |
sb.append("null");
|
|
|
1623 |
} else {
|
| 3106 |
mandeep.dh |
1624 |
sb.append(this.type);
|
| 3028 |
mandeep.dh |
1625 |
}
|
|
|
1626 |
first = false;
|
| 3269 |
mandeep.dh |
1627 |
if (isSetCustomerId()) {
|
|
|
1628 |
if (!first) sb.append(", ");
|
|
|
1629 |
sb.append("customerId:");
|
|
|
1630 |
sb.append(this.customerId);
|
|
|
1631 |
first = false;
|
|
|
1632 |
}
|
| 3028 |
mandeep.dh |
1633 |
if (!first) sb.append(", ");
|
|
|
1634 |
sb.append("creatorId:");
|
|
|
1635 |
sb.append(this.creatorId);
|
|
|
1636 |
first = false;
|
| 3390 |
mandeep.dh |
1637 |
if (isSetUserEmailId()) {
|
| 3206 |
mandeep.dh |
1638 |
if (!first) sb.append(", ");
|
| 3390 |
mandeep.dh |
1639 |
sb.append("userEmailId:");
|
|
|
1640 |
sb.append(this.userEmailId);
|
| 3206 |
mandeep.dh |
1641 |
first = false;
|
|
|
1642 |
}
|
| 3168 |
mandeep.dh |
1643 |
if (isSetTicketId()) {
|
|
|
1644 |
if (!first) sb.append(", ");
|
|
|
1645 |
sb.append("ticketId:");
|
|
|
1646 |
sb.append(this.ticketId);
|
|
|
1647 |
first = false;
|
|
|
1648 |
}
|
|
|
1649 |
if (isSetTicketPriority()) {
|
|
|
1650 |
if (!first) sb.append(", ");
|
|
|
1651 |
sb.append("ticketPriority:");
|
|
|
1652 |
if (this.ticketPriority == null) {
|
|
|
1653 |
sb.append("null");
|
|
|
1654 |
} else {
|
|
|
1655 |
sb.append(this.ticketPriority);
|
| 3028 |
mandeep.dh |
1656 |
}
|
| 3168 |
mandeep.dh |
1657 |
first = false;
|
|
|
1658 |
}
|
|
|
1659 |
if (isSetTicketAssigneeId()) {
|
|
|
1660 |
if (!first) sb.append(", ");
|
|
|
1661 |
sb.append("ticketAssigneeId:");
|
|
|
1662 |
sb.append(this.ticketAssigneeId);
|
|
|
1663 |
first = false;
|
|
|
1664 |
}
|
|
|
1665 |
if (isSetTicketStatus()) {
|
|
|
1666 |
if (!first) sb.append(", ");
|
|
|
1667 |
sb.append("ticketStatus:");
|
|
|
1668 |
if (this.ticketStatus == null) {
|
|
|
1669 |
sb.append("null");
|
|
|
1670 |
} else {
|
|
|
1671 |
sb.append(this.ticketStatus);
|
| 3028 |
mandeep.dh |
1672 |
}
|
| 3168 |
mandeep.dh |
1673 |
first = false;
|
| 3028 |
mandeep.dh |
1674 |
}
|
| 3168 |
mandeep.dh |
1675 |
if (isSetTicketCategory()) {
|
|
|
1676 |
if (!first) sb.append(", ");
|
|
|
1677 |
sb.append("ticketCategory:");
|
|
|
1678 |
if (this.ticketCategory == null) {
|
|
|
1679 |
sb.append("null");
|
|
|
1680 |
} else {
|
|
|
1681 |
sb.append(this.ticketCategory);
|
| 3028 |
mandeep.dh |
1682 |
}
|
| 3168 |
mandeep.dh |
1683 |
first = false;
|
| 3028 |
mandeep.dh |
1684 |
}
|
| 3168 |
mandeep.dh |
1685 |
if (isSetTicketDescription()) {
|
|
|
1686 |
if (!first) sb.append(", ");
|
|
|
1687 |
sb.append("ticketDescription:");
|
|
|
1688 |
if (this.ticketDescription == null) {
|
|
|
1689 |
sb.append("null");
|
|
|
1690 |
} else {
|
|
|
1691 |
sb.append(this.ticketDescription);
|
| 3028 |
mandeep.dh |
1692 |
}
|
| 3168 |
mandeep.dh |
1693 |
first = false;
|
| 3028 |
mandeep.dh |
1694 |
}
|
| 3390 |
mandeep.dh |
1695 |
if (isSetIsRead()) {
|
|
|
1696 |
if (!first) sb.append(", ");
|
|
|
1697 |
sb.append("isRead:");
|
|
|
1698 |
sb.append(this.isRead);
|
|
|
1699 |
first = false;
|
|
|
1700 |
}
|
|
|
1701 |
if (isSetCustomerMobileNumber()) {
|
|
|
1702 |
if (!first) sb.append(", ");
|
|
|
1703 |
sb.append("customerMobileNumber:");
|
|
|
1704 |
if (this.customerMobileNumber == null) {
|
|
|
1705 |
sb.append("null");
|
|
|
1706 |
} else {
|
|
|
1707 |
sb.append(this.customerMobileNumber);
|
|
|
1708 |
}
|
|
|
1709 |
first = false;
|
|
|
1710 |
}
|
|
|
1711 |
if (isSetCustomerEmailId()) {
|
|
|
1712 |
if (!first) sb.append(", ");
|
|
|
1713 |
sb.append("customerEmailId:");
|
|
|
1714 |
if (this.customerEmailId == null) {
|
|
|
1715 |
sb.append("null");
|
|
|
1716 |
} else {
|
|
|
1717 |
sb.append(this.customerEmailId);
|
|
|
1718 |
}
|
|
|
1719 |
first = false;
|
|
|
1720 |
}
|
|
|
1721 |
if (isSetCustomerName()) {
|
|
|
1722 |
if (!first) sb.append(", ");
|
|
|
1723 |
sb.append("customerName:");
|
|
|
1724 |
if (this.customerName == null) {
|
|
|
1725 |
sb.append("null");
|
|
|
1726 |
} else {
|
|
|
1727 |
sb.append(this.customerName);
|
|
|
1728 |
}
|
|
|
1729 |
first = false;
|
|
|
1730 |
}
|
| 3028 |
mandeep.dh |
1731 |
sb.append(")");
|
|
|
1732 |
return sb.toString();
|
|
|
1733 |
}
|
|
|
1734 |
|
| 3430 |
rajveer |
1735 |
public void validate() throws org.apache.thrift.TException {
|
| 3028 |
mandeep.dh |
1736 |
// check for required fields
|
|
|
1737 |
}
|
|
|
1738 |
|
| 3430 |
rajveer |
1739 |
private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
|
|
|
1740 |
try {
|
|
|
1741 |
write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
|
|
|
1742 |
} catch (org.apache.thrift.TException te) {
|
|
|
1743 |
throw new java.io.IOException(te);
|
|
|
1744 |
}
|
|
|
1745 |
}
|
|
|
1746 |
|
|
|
1747 |
private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
|
|
|
1748 |
try {
|
|
|
1749 |
// it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
|
|
|
1750 |
__isset_bit_vector = new BitSet(1);
|
|
|
1751 |
read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
|
|
|
1752 |
} catch (org.apache.thrift.TException te) {
|
|
|
1753 |
throw new java.io.IOException(te);
|
|
|
1754 |
}
|
|
|
1755 |
}
|
|
|
1756 |
|
| 3028 |
mandeep.dh |
1757 |
}
|
|
|
1758 |
|