| 3390 |
mandeep.dh |
1 |
/**
|
| 3430 |
rajveer |
2 |
* Autogenerated by Thrift Compiler (0.7.0)
|
| 3390 |
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;
|
| 3390 |
mandeep.dh |
19 |
import java.util.Arrays;
|
|
|
20 |
import org.slf4j.Logger;
|
|
|
21 |
import org.slf4j.LoggerFactory;
|
|
|
22 |
|
| 3430 |
rajveer |
23 |
public class SearchFilter implements org.apache.thrift.TBase<SearchFilter, SearchFilter._Fields>, java.io.Serializable, Cloneable {
|
|
|
24 |
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("SearchFilter");
|
| 3390 |
mandeep.dh |
25 |
|
| 3430 |
rajveer |
26 |
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)1);
|
|
|
27 |
private static final org.apache.thrift.protocol.TField ACTIVITY_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("activityId", org.apache.thrift.protocol.TType.I64, (short)2);
|
|
|
28 |
private static final org.apache.thrift.protocol.TField TICKET_ASSIGNEE_IDS_FIELD_DESC = new org.apache.thrift.protocol.TField("ticketAssigneeIds", org.apache.thrift.protocol.TType.LIST, (short)3);
|
|
|
29 |
private static final org.apache.thrift.protocol.TField ACTIVITY_CREATOR_IDS_FIELD_DESC = new org.apache.thrift.protocol.TField("activityCreatorIds", org.apache.thrift.protocol.TType.LIST, (short)4);
|
|
|
30 |
private static final org.apache.thrift.protocol.TField AGENT_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("agentId", org.apache.thrift.protocol.TType.I64, (short)5);
|
|
|
31 |
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)6);
|
|
|
32 |
private static final org.apache.thrift.protocol.TField START_TIMESTAMP_FIELD_DESC = new org.apache.thrift.protocol.TField("startTimestamp", org.apache.thrift.protocol.TType.I64, (short)7);
|
|
|
33 |
private static final org.apache.thrift.protocol.TField END_TIMESTAMP_FIELD_DESC = new org.apache.thrift.protocol.TField("endTimestamp", org.apache.thrift.protocol.TType.I64, (short)8);
|
|
|
34 |
private static final org.apache.thrift.protocol.TField IS_ACTIVITY_READ_FIELD_DESC = new org.apache.thrift.protocol.TField("isActivityRead", org.apache.thrift.protocol.TType.BOOL, (short)9);
|
|
|
35 |
private static final org.apache.thrift.protocol.TField AGENT_EMAIL_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("agentEmailId", org.apache.thrift.protocol.TType.STRING, (short)10);
|
|
|
36 |
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)11);
|
|
|
37 |
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)12);
|
| 3546 |
mandeep.dh |
38 |
private static final org.apache.thrift.protocol.TField TICKET_STATUSES_FIELD_DESC = new org.apache.thrift.protocol.TField("ticketStatuses", org.apache.thrift.protocol.TType.LIST, (short)13);
|
| 3499 |
mandeep.dh |
39 |
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)14);
|
|
|
40 |
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)15);
|
| 3546 |
mandeep.dh |
41 |
private static final org.apache.thrift.protocol.TField ACTIVITY_TYPE_FIELD_DESC = new org.apache.thrift.protocol.TField("activityType", org.apache.thrift.protocol.TType.I32, (short)16);
|
| 14882 |
manish.sha |
42 |
private static final org.apache.thrift.protocol.TField TICKET_CATEGORY_LIST_FIELD_DESC = new org.apache.thrift.protocol.TField("ticketCategoryList", org.apache.thrift.protocol.TType.LIST, (short)17);
|
| 14898 |
manish.sha |
43 |
private static final org.apache.thrift.protocol.TField NOT_SHOW_PM_TICKETS_FIELD_DESC = new org.apache.thrift.protocol.TField("notShowPmTickets", org.apache.thrift.protocol.TType.BOOL, (short)18);
|
| 3390 |
mandeep.dh |
44 |
|
| 3430 |
rajveer |
45 |
private long ticketId; // required
|
|
|
46 |
private long activityId; // required
|
|
|
47 |
private List<Long> ticketAssigneeIds; // required
|
|
|
48 |
private List<Long> activityCreatorIds; // required
|
|
|
49 |
private long agentId; // required
|
|
|
50 |
private long customerId; // required
|
|
|
51 |
private long startTimestamp; // required
|
|
|
52 |
private long endTimestamp; // required
|
|
|
53 |
private boolean isActivityRead; // required
|
|
|
54 |
private String agentEmailId; // required
|
|
|
55 |
private String customerEmailId; // required
|
|
|
56 |
private String customerMobileNumber; // required
|
| 3546 |
mandeep.dh |
57 |
private List<TicketStatus> ticketStatuses; // required
|
| 3499 |
mandeep.dh |
58 |
private TicketCategory ticketCategory; // required
|
|
|
59 |
private TicketPriority ticketPriority; // required
|
| 3546 |
mandeep.dh |
60 |
private ActivityType activityType; // required
|
| 14882 |
manish.sha |
61 |
private List<TicketCategory> ticketCategoryList; // required
|
| 14898 |
manish.sha |
62 |
private boolean notShowPmTickets; // required
|
| 3390 |
mandeep.dh |
63 |
|
|
|
64 |
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
|
| 3430 |
rajveer |
65 |
public enum _Fields implements org.apache.thrift.TFieldIdEnum {
|
| 3390 |
mandeep.dh |
66 |
TICKET_ID((short)1, "ticketId"),
|
|
|
67 |
ACTIVITY_ID((short)2, "activityId"),
|
|
|
68 |
TICKET_ASSIGNEE_IDS((short)3, "ticketAssigneeIds"),
|
|
|
69 |
ACTIVITY_CREATOR_IDS((short)4, "activityCreatorIds"),
|
|
|
70 |
AGENT_ID((short)5, "agentId"),
|
|
|
71 |
CUSTOMER_ID((short)6, "customerId"),
|
|
|
72 |
START_TIMESTAMP((short)7, "startTimestamp"),
|
|
|
73 |
END_TIMESTAMP((short)8, "endTimestamp"),
|
|
|
74 |
IS_ACTIVITY_READ((short)9, "isActivityRead"),
|
|
|
75 |
AGENT_EMAIL_ID((short)10, "agentEmailId"),
|
|
|
76 |
CUSTOMER_EMAIL_ID((short)11, "customerEmailId"),
|
| 3499 |
mandeep.dh |
77 |
CUSTOMER_MOBILE_NUMBER((short)12, "customerMobileNumber"),
|
| 3546 |
mandeep.dh |
78 |
TICKET_STATUSES((short)13, "ticketStatuses"),
|
| 3499 |
mandeep.dh |
79 |
/**
|
|
|
80 |
*
|
|
|
81 |
* @see TicketCategory
|
|
|
82 |
*/
|
|
|
83 |
TICKET_CATEGORY((short)14, "ticketCategory"),
|
|
|
84 |
/**
|
|
|
85 |
*
|
|
|
86 |
* @see TicketPriority
|
|
|
87 |
*/
|
| 3546 |
mandeep.dh |
88 |
TICKET_PRIORITY((short)15, "ticketPriority"),
|
|
|
89 |
/**
|
|
|
90 |
*
|
|
|
91 |
* @see ActivityType
|
|
|
92 |
*/
|
| 14882 |
manish.sha |
93 |
ACTIVITY_TYPE((short)16, "activityType"),
|
| 14898 |
manish.sha |
94 |
TICKET_CATEGORY_LIST((short)17, "ticketCategoryList"),
|
|
|
95 |
NOT_SHOW_PM_TICKETS((short)18, "notShowPmTickets");
|
| 3390 |
mandeep.dh |
96 |
|
|
|
97 |
private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
|
|
|
98 |
|
|
|
99 |
static {
|
|
|
100 |
for (_Fields field : EnumSet.allOf(_Fields.class)) {
|
|
|
101 |
byName.put(field.getFieldName(), field);
|
|
|
102 |
}
|
|
|
103 |
}
|
|
|
104 |
|
|
|
105 |
/**
|
|
|
106 |
* Find the _Fields constant that matches fieldId, or null if its not found.
|
|
|
107 |
*/
|
|
|
108 |
public static _Fields findByThriftId(int fieldId) {
|
| 3430 |
rajveer |
109 |
switch(fieldId) {
|
|
|
110 |
case 1: // TICKET_ID
|
|
|
111 |
return TICKET_ID;
|
|
|
112 |
case 2: // ACTIVITY_ID
|
|
|
113 |
return ACTIVITY_ID;
|
|
|
114 |
case 3: // TICKET_ASSIGNEE_IDS
|
|
|
115 |
return TICKET_ASSIGNEE_IDS;
|
|
|
116 |
case 4: // ACTIVITY_CREATOR_IDS
|
|
|
117 |
return ACTIVITY_CREATOR_IDS;
|
|
|
118 |
case 5: // AGENT_ID
|
|
|
119 |
return AGENT_ID;
|
|
|
120 |
case 6: // CUSTOMER_ID
|
|
|
121 |
return CUSTOMER_ID;
|
|
|
122 |
case 7: // START_TIMESTAMP
|
|
|
123 |
return START_TIMESTAMP;
|
|
|
124 |
case 8: // END_TIMESTAMP
|
|
|
125 |
return END_TIMESTAMP;
|
|
|
126 |
case 9: // IS_ACTIVITY_READ
|
|
|
127 |
return IS_ACTIVITY_READ;
|
|
|
128 |
case 10: // AGENT_EMAIL_ID
|
|
|
129 |
return AGENT_EMAIL_ID;
|
|
|
130 |
case 11: // CUSTOMER_EMAIL_ID
|
|
|
131 |
return CUSTOMER_EMAIL_ID;
|
|
|
132 |
case 12: // CUSTOMER_MOBILE_NUMBER
|
|
|
133 |
return CUSTOMER_MOBILE_NUMBER;
|
| 3546 |
mandeep.dh |
134 |
case 13: // TICKET_STATUSES
|
|
|
135 |
return TICKET_STATUSES;
|
| 3499 |
mandeep.dh |
136 |
case 14: // TICKET_CATEGORY
|
|
|
137 |
return TICKET_CATEGORY;
|
|
|
138 |
case 15: // TICKET_PRIORITY
|
|
|
139 |
return TICKET_PRIORITY;
|
| 3546 |
mandeep.dh |
140 |
case 16: // ACTIVITY_TYPE
|
|
|
141 |
return ACTIVITY_TYPE;
|
| 14882 |
manish.sha |
142 |
case 17: // TICKET_CATEGORY_LIST
|
|
|
143 |
return TICKET_CATEGORY_LIST;
|
| 14898 |
manish.sha |
144 |
case 18: // NOT_SHOW_PM_TICKETS
|
|
|
145 |
return NOT_SHOW_PM_TICKETS;
|
| 3430 |
rajveer |
146 |
default:
|
|
|
147 |
return null;
|
|
|
148 |
}
|
| 3390 |
mandeep.dh |
149 |
}
|
|
|
150 |
|
|
|
151 |
/**
|
|
|
152 |
* Find the _Fields constant that matches fieldId, throwing an exception
|
|
|
153 |
* if it is not found.
|
|
|
154 |
*/
|
|
|
155 |
public static _Fields findByThriftIdOrThrow(int fieldId) {
|
|
|
156 |
_Fields fields = findByThriftId(fieldId);
|
|
|
157 |
if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
|
|
|
158 |
return fields;
|
|
|
159 |
}
|
|
|
160 |
|
|
|
161 |
/**
|
|
|
162 |
* Find the _Fields constant that matches name, or null if its not found.
|
|
|
163 |
*/
|
|
|
164 |
public static _Fields findByName(String name) {
|
|
|
165 |
return byName.get(name);
|
|
|
166 |
}
|
|
|
167 |
|
|
|
168 |
private final short _thriftId;
|
|
|
169 |
private final String _fieldName;
|
|
|
170 |
|
|
|
171 |
_Fields(short thriftId, String fieldName) {
|
|
|
172 |
_thriftId = thriftId;
|
|
|
173 |
_fieldName = fieldName;
|
|
|
174 |
}
|
|
|
175 |
|
|
|
176 |
public short getThriftFieldId() {
|
|
|
177 |
return _thriftId;
|
|
|
178 |
}
|
|
|
179 |
|
|
|
180 |
public String getFieldName() {
|
|
|
181 |
return _fieldName;
|
|
|
182 |
}
|
|
|
183 |
}
|
|
|
184 |
|
|
|
185 |
// isset id assignments
|
|
|
186 |
private static final int __TICKETID_ISSET_ID = 0;
|
|
|
187 |
private static final int __ACTIVITYID_ISSET_ID = 1;
|
|
|
188 |
private static final int __AGENTID_ISSET_ID = 2;
|
|
|
189 |
private static final int __CUSTOMERID_ISSET_ID = 3;
|
|
|
190 |
private static final int __STARTTIMESTAMP_ISSET_ID = 4;
|
|
|
191 |
private static final int __ENDTIMESTAMP_ISSET_ID = 5;
|
|
|
192 |
private static final int __ISACTIVITYREAD_ISSET_ID = 6;
|
| 14898 |
manish.sha |
193 |
private static final int __NOTSHOWPMTICKETS_ISSET_ID = 7;
|
|
|
194 |
private BitSet __isset_bit_vector = new BitSet(8);
|
| 3390 |
mandeep.dh |
195 |
|
| 3430 |
rajveer |
196 |
public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
|
| 3390 |
mandeep.dh |
197 |
static {
|
| 3430 |
rajveer |
198 |
Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
|
|
|
199 |
tmpMap.put(_Fields.TICKET_ID, new org.apache.thrift.meta_data.FieldMetaData("ticketId", org.apache.thrift.TFieldRequirementType.OPTIONAL,
|
|
|
200 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
|
|
201 |
tmpMap.put(_Fields.ACTIVITY_ID, new org.apache.thrift.meta_data.FieldMetaData("activityId", org.apache.thrift.TFieldRequirementType.OPTIONAL,
|
|
|
202 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
|
|
203 |
tmpMap.put(_Fields.TICKET_ASSIGNEE_IDS, new org.apache.thrift.meta_data.FieldMetaData("ticketAssigneeIds", org.apache.thrift.TFieldRequirementType.OPTIONAL,
|
|
|
204 |
new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST,
|
|
|
205 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64))));
|
|
|
206 |
tmpMap.put(_Fields.ACTIVITY_CREATOR_IDS, new org.apache.thrift.meta_data.FieldMetaData("activityCreatorIds", org.apache.thrift.TFieldRequirementType.OPTIONAL,
|
|
|
207 |
new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST,
|
|
|
208 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64))));
|
|
|
209 |
tmpMap.put(_Fields.AGENT_ID, new org.apache.thrift.meta_data.FieldMetaData("agentId", org.apache.thrift.TFieldRequirementType.OPTIONAL,
|
|
|
210 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
|
|
211 |
tmpMap.put(_Fields.CUSTOMER_ID, new org.apache.thrift.meta_data.FieldMetaData("customerId", org.apache.thrift.TFieldRequirementType.OPTIONAL,
|
|
|
212 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
|
|
213 |
tmpMap.put(_Fields.START_TIMESTAMP, new org.apache.thrift.meta_data.FieldMetaData("startTimestamp", org.apache.thrift.TFieldRequirementType.OPTIONAL,
|
|
|
214 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
|
|
215 |
tmpMap.put(_Fields.END_TIMESTAMP, new org.apache.thrift.meta_data.FieldMetaData("endTimestamp", org.apache.thrift.TFieldRequirementType.OPTIONAL,
|
|
|
216 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
|
|
217 |
tmpMap.put(_Fields.IS_ACTIVITY_READ, new org.apache.thrift.meta_data.FieldMetaData("isActivityRead", org.apache.thrift.TFieldRequirementType.OPTIONAL,
|
|
|
218 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
|
|
|
219 |
tmpMap.put(_Fields.AGENT_EMAIL_ID, new org.apache.thrift.meta_data.FieldMetaData("agentEmailId", org.apache.thrift.TFieldRequirementType.OPTIONAL,
|
|
|
220 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
|
|
|
221 |
tmpMap.put(_Fields.CUSTOMER_EMAIL_ID, new org.apache.thrift.meta_data.FieldMetaData("customerEmailId", org.apache.thrift.TFieldRequirementType.OPTIONAL,
|
|
|
222 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
|
|
|
223 |
tmpMap.put(_Fields.CUSTOMER_MOBILE_NUMBER, new org.apache.thrift.meta_data.FieldMetaData("customerMobileNumber", org.apache.thrift.TFieldRequirementType.OPTIONAL,
|
|
|
224 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
|
| 3546 |
mandeep.dh |
225 |
tmpMap.put(_Fields.TICKET_STATUSES, new org.apache.thrift.meta_data.FieldMetaData("ticketStatuses", org.apache.thrift.TFieldRequirementType.OPTIONAL,
|
|
|
226 |
new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST,
|
|
|
227 |
new org.apache.thrift.meta_data.EnumMetaData(org.apache.thrift.protocol.TType.ENUM, TicketStatus.class))));
|
| 3499 |
mandeep.dh |
228 |
tmpMap.put(_Fields.TICKET_CATEGORY, new org.apache.thrift.meta_data.FieldMetaData("ticketCategory", org.apache.thrift.TFieldRequirementType.OPTIONAL,
|
|
|
229 |
new org.apache.thrift.meta_data.EnumMetaData(org.apache.thrift.protocol.TType.ENUM, TicketCategory.class)));
|
|
|
230 |
tmpMap.put(_Fields.TICKET_PRIORITY, new org.apache.thrift.meta_data.FieldMetaData("ticketPriority", org.apache.thrift.TFieldRequirementType.OPTIONAL,
|
|
|
231 |
new org.apache.thrift.meta_data.EnumMetaData(org.apache.thrift.protocol.TType.ENUM, TicketPriority.class)));
|
| 3546 |
mandeep.dh |
232 |
tmpMap.put(_Fields.ACTIVITY_TYPE, new org.apache.thrift.meta_data.FieldMetaData("activityType", org.apache.thrift.TFieldRequirementType.OPTIONAL,
|
|
|
233 |
new org.apache.thrift.meta_data.EnumMetaData(org.apache.thrift.protocol.TType.ENUM, ActivityType.class)));
|
| 14882 |
manish.sha |
234 |
tmpMap.put(_Fields.TICKET_CATEGORY_LIST, new org.apache.thrift.meta_data.FieldMetaData("ticketCategoryList", org.apache.thrift.TFieldRequirementType.OPTIONAL,
|
|
|
235 |
new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST,
|
|
|
236 |
new org.apache.thrift.meta_data.EnumMetaData(org.apache.thrift.protocol.TType.ENUM, TicketCategory.class))));
|
| 14898 |
manish.sha |
237 |
tmpMap.put(_Fields.NOT_SHOW_PM_TICKETS, new org.apache.thrift.meta_data.FieldMetaData("notShowPmTickets", org.apache.thrift.TFieldRequirementType.OPTIONAL,
|
|
|
238 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
|
| 3430 |
rajveer |
239 |
metaDataMap = Collections.unmodifiableMap(tmpMap);
|
|
|
240 |
org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(SearchFilter.class, metaDataMap);
|
| 3390 |
mandeep.dh |
241 |
}
|
|
|
242 |
|
|
|
243 |
public SearchFilter() {
|
|
|
244 |
}
|
|
|
245 |
|
|
|
246 |
/**
|
|
|
247 |
* Performs a deep copy on <i>other</i>.
|
|
|
248 |
*/
|
|
|
249 |
public SearchFilter(SearchFilter other) {
|
|
|
250 |
__isset_bit_vector.clear();
|
|
|
251 |
__isset_bit_vector.or(other.__isset_bit_vector);
|
|
|
252 |
this.ticketId = other.ticketId;
|
|
|
253 |
this.activityId = other.activityId;
|
|
|
254 |
if (other.isSetTicketAssigneeIds()) {
|
|
|
255 |
List<Long> __this__ticketAssigneeIds = new ArrayList<Long>();
|
|
|
256 |
for (Long other_element : other.ticketAssigneeIds) {
|
|
|
257 |
__this__ticketAssigneeIds.add(other_element);
|
|
|
258 |
}
|
|
|
259 |
this.ticketAssigneeIds = __this__ticketAssigneeIds;
|
|
|
260 |
}
|
|
|
261 |
if (other.isSetActivityCreatorIds()) {
|
|
|
262 |
List<Long> __this__activityCreatorIds = new ArrayList<Long>();
|
|
|
263 |
for (Long other_element : other.activityCreatorIds) {
|
|
|
264 |
__this__activityCreatorIds.add(other_element);
|
|
|
265 |
}
|
|
|
266 |
this.activityCreatorIds = __this__activityCreatorIds;
|
|
|
267 |
}
|
|
|
268 |
this.agentId = other.agentId;
|
|
|
269 |
this.customerId = other.customerId;
|
|
|
270 |
this.startTimestamp = other.startTimestamp;
|
|
|
271 |
this.endTimestamp = other.endTimestamp;
|
|
|
272 |
this.isActivityRead = other.isActivityRead;
|
|
|
273 |
if (other.isSetAgentEmailId()) {
|
|
|
274 |
this.agentEmailId = other.agentEmailId;
|
|
|
275 |
}
|
|
|
276 |
if (other.isSetCustomerEmailId()) {
|
|
|
277 |
this.customerEmailId = other.customerEmailId;
|
|
|
278 |
}
|
|
|
279 |
if (other.isSetCustomerMobileNumber()) {
|
|
|
280 |
this.customerMobileNumber = other.customerMobileNumber;
|
|
|
281 |
}
|
| 3546 |
mandeep.dh |
282 |
if (other.isSetTicketStatuses()) {
|
|
|
283 |
List<TicketStatus> __this__ticketStatuses = new ArrayList<TicketStatus>();
|
|
|
284 |
for (TicketStatus other_element : other.ticketStatuses) {
|
|
|
285 |
__this__ticketStatuses.add(other_element);
|
|
|
286 |
}
|
|
|
287 |
this.ticketStatuses = __this__ticketStatuses;
|
| 3499 |
mandeep.dh |
288 |
}
|
|
|
289 |
if (other.isSetTicketCategory()) {
|
|
|
290 |
this.ticketCategory = other.ticketCategory;
|
|
|
291 |
}
|
|
|
292 |
if (other.isSetTicketPriority()) {
|
|
|
293 |
this.ticketPriority = other.ticketPriority;
|
|
|
294 |
}
|
| 3546 |
mandeep.dh |
295 |
if (other.isSetActivityType()) {
|
|
|
296 |
this.activityType = other.activityType;
|
|
|
297 |
}
|
| 14882 |
manish.sha |
298 |
if (other.isSetTicketCategoryList()) {
|
|
|
299 |
List<TicketCategory> __this__ticketCategoryList = new ArrayList<TicketCategory>();
|
|
|
300 |
for (TicketCategory other_element : other.ticketCategoryList) {
|
|
|
301 |
__this__ticketCategoryList.add(other_element);
|
|
|
302 |
}
|
|
|
303 |
this.ticketCategoryList = __this__ticketCategoryList;
|
|
|
304 |
}
|
| 14898 |
manish.sha |
305 |
this.notShowPmTickets = other.notShowPmTickets;
|
| 3390 |
mandeep.dh |
306 |
}
|
|
|
307 |
|
|
|
308 |
public SearchFilter deepCopy() {
|
|
|
309 |
return new SearchFilter(this);
|
|
|
310 |
}
|
|
|
311 |
|
| 3430 |
rajveer |
312 |
@Override
|
|
|
313 |
public void clear() {
|
|
|
314 |
setTicketIdIsSet(false);
|
|
|
315 |
this.ticketId = 0;
|
|
|
316 |
setActivityIdIsSet(false);
|
|
|
317 |
this.activityId = 0;
|
|
|
318 |
this.ticketAssigneeIds = null;
|
|
|
319 |
this.activityCreatorIds = null;
|
|
|
320 |
setAgentIdIsSet(false);
|
|
|
321 |
this.agentId = 0;
|
|
|
322 |
setCustomerIdIsSet(false);
|
|
|
323 |
this.customerId = 0;
|
|
|
324 |
setStartTimestampIsSet(false);
|
|
|
325 |
this.startTimestamp = 0;
|
|
|
326 |
setEndTimestampIsSet(false);
|
|
|
327 |
this.endTimestamp = 0;
|
|
|
328 |
setIsActivityReadIsSet(false);
|
|
|
329 |
this.isActivityRead = false;
|
|
|
330 |
this.agentEmailId = null;
|
|
|
331 |
this.customerEmailId = null;
|
|
|
332 |
this.customerMobileNumber = null;
|
| 3546 |
mandeep.dh |
333 |
this.ticketStatuses = null;
|
| 3499 |
mandeep.dh |
334 |
this.ticketCategory = null;
|
|
|
335 |
this.ticketPriority = null;
|
| 3546 |
mandeep.dh |
336 |
this.activityType = null;
|
| 14882 |
manish.sha |
337 |
this.ticketCategoryList = null;
|
| 14898 |
manish.sha |
338 |
setNotShowPmTicketsIsSet(false);
|
|
|
339 |
this.notShowPmTickets = false;
|
| 3390 |
mandeep.dh |
340 |
}
|
|
|
341 |
|
|
|
342 |
public long getTicketId() {
|
|
|
343 |
return this.ticketId;
|
|
|
344 |
}
|
|
|
345 |
|
| 3430 |
rajveer |
346 |
public void setTicketId(long ticketId) {
|
| 3390 |
mandeep.dh |
347 |
this.ticketId = ticketId;
|
|
|
348 |
setTicketIdIsSet(true);
|
|
|
349 |
}
|
|
|
350 |
|
|
|
351 |
public void unsetTicketId() {
|
|
|
352 |
__isset_bit_vector.clear(__TICKETID_ISSET_ID);
|
|
|
353 |
}
|
|
|
354 |
|
| 3430 |
rajveer |
355 |
/** Returns true if field ticketId is set (has been assigned a value) and false otherwise */
|
| 3390 |
mandeep.dh |
356 |
public boolean isSetTicketId() {
|
|
|
357 |
return __isset_bit_vector.get(__TICKETID_ISSET_ID);
|
|
|
358 |
}
|
|
|
359 |
|
|
|
360 |
public void setTicketIdIsSet(boolean value) {
|
|
|
361 |
__isset_bit_vector.set(__TICKETID_ISSET_ID, value);
|
|
|
362 |
}
|
|
|
363 |
|
|
|
364 |
public long getActivityId() {
|
|
|
365 |
return this.activityId;
|
|
|
366 |
}
|
|
|
367 |
|
| 3430 |
rajveer |
368 |
public void setActivityId(long activityId) {
|
| 3390 |
mandeep.dh |
369 |
this.activityId = activityId;
|
|
|
370 |
setActivityIdIsSet(true);
|
|
|
371 |
}
|
|
|
372 |
|
|
|
373 |
public void unsetActivityId() {
|
|
|
374 |
__isset_bit_vector.clear(__ACTIVITYID_ISSET_ID);
|
|
|
375 |
}
|
|
|
376 |
|
| 3430 |
rajveer |
377 |
/** Returns true if field activityId is set (has been assigned a value) and false otherwise */
|
| 3390 |
mandeep.dh |
378 |
public boolean isSetActivityId() {
|
|
|
379 |
return __isset_bit_vector.get(__ACTIVITYID_ISSET_ID);
|
|
|
380 |
}
|
|
|
381 |
|
|
|
382 |
public void setActivityIdIsSet(boolean value) {
|
|
|
383 |
__isset_bit_vector.set(__ACTIVITYID_ISSET_ID, value);
|
|
|
384 |
}
|
|
|
385 |
|
|
|
386 |
public int getTicketAssigneeIdsSize() {
|
|
|
387 |
return (this.ticketAssigneeIds == null) ? 0 : this.ticketAssigneeIds.size();
|
|
|
388 |
}
|
|
|
389 |
|
|
|
390 |
public java.util.Iterator<Long> getTicketAssigneeIdsIterator() {
|
|
|
391 |
return (this.ticketAssigneeIds == null) ? null : this.ticketAssigneeIds.iterator();
|
|
|
392 |
}
|
|
|
393 |
|
|
|
394 |
public void addToTicketAssigneeIds(long elem) {
|
|
|
395 |
if (this.ticketAssigneeIds == null) {
|
|
|
396 |
this.ticketAssigneeIds = new ArrayList<Long>();
|
|
|
397 |
}
|
|
|
398 |
this.ticketAssigneeIds.add(elem);
|
|
|
399 |
}
|
|
|
400 |
|
|
|
401 |
public List<Long> getTicketAssigneeIds() {
|
|
|
402 |
return this.ticketAssigneeIds;
|
|
|
403 |
}
|
|
|
404 |
|
| 3430 |
rajveer |
405 |
public void setTicketAssigneeIds(List<Long> ticketAssigneeIds) {
|
| 3390 |
mandeep.dh |
406 |
this.ticketAssigneeIds = ticketAssigneeIds;
|
|
|
407 |
}
|
|
|
408 |
|
|
|
409 |
public void unsetTicketAssigneeIds() {
|
|
|
410 |
this.ticketAssigneeIds = null;
|
|
|
411 |
}
|
|
|
412 |
|
| 3430 |
rajveer |
413 |
/** Returns true if field ticketAssigneeIds is set (has been assigned a value) and false otherwise */
|
| 3390 |
mandeep.dh |
414 |
public boolean isSetTicketAssigneeIds() {
|
|
|
415 |
return this.ticketAssigneeIds != null;
|
|
|
416 |
}
|
|
|
417 |
|
|
|
418 |
public void setTicketAssigneeIdsIsSet(boolean value) {
|
|
|
419 |
if (!value) {
|
|
|
420 |
this.ticketAssigneeIds = null;
|
|
|
421 |
}
|
|
|
422 |
}
|
|
|
423 |
|
|
|
424 |
public int getActivityCreatorIdsSize() {
|
|
|
425 |
return (this.activityCreatorIds == null) ? 0 : this.activityCreatorIds.size();
|
|
|
426 |
}
|
|
|
427 |
|
|
|
428 |
public java.util.Iterator<Long> getActivityCreatorIdsIterator() {
|
|
|
429 |
return (this.activityCreatorIds == null) ? null : this.activityCreatorIds.iterator();
|
|
|
430 |
}
|
|
|
431 |
|
|
|
432 |
public void addToActivityCreatorIds(long elem) {
|
|
|
433 |
if (this.activityCreatorIds == null) {
|
|
|
434 |
this.activityCreatorIds = new ArrayList<Long>();
|
|
|
435 |
}
|
|
|
436 |
this.activityCreatorIds.add(elem);
|
|
|
437 |
}
|
|
|
438 |
|
|
|
439 |
public List<Long> getActivityCreatorIds() {
|
|
|
440 |
return this.activityCreatorIds;
|
|
|
441 |
}
|
|
|
442 |
|
| 3430 |
rajveer |
443 |
public void setActivityCreatorIds(List<Long> activityCreatorIds) {
|
| 3390 |
mandeep.dh |
444 |
this.activityCreatorIds = activityCreatorIds;
|
|
|
445 |
}
|
|
|
446 |
|
|
|
447 |
public void unsetActivityCreatorIds() {
|
|
|
448 |
this.activityCreatorIds = null;
|
|
|
449 |
}
|
|
|
450 |
|
| 3430 |
rajveer |
451 |
/** Returns true if field activityCreatorIds is set (has been assigned a value) and false otherwise */
|
| 3390 |
mandeep.dh |
452 |
public boolean isSetActivityCreatorIds() {
|
|
|
453 |
return this.activityCreatorIds != null;
|
|
|
454 |
}
|
|
|
455 |
|
|
|
456 |
public void setActivityCreatorIdsIsSet(boolean value) {
|
|
|
457 |
if (!value) {
|
|
|
458 |
this.activityCreatorIds = null;
|
|
|
459 |
}
|
|
|
460 |
}
|
|
|
461 |
|
|
|
462 |
public long getAgentId() {
|
|
|
463 |
return this.agentId;
|
|
|
464 |
}
|
|
|
465 |
|
| 3430 |
rajveer |
466 |
public void setAgentId(long agentId) {
|
| 3390 |
mandeep.dh |
467 |
this.agentId = agentId;
|
|
|
468 |
setAgentIdIsSet(true);
|
|
|
469 |
}
|
|
|
470 |
|
|
|
471 |
public void unsetAgentId() {
|
|
|
472 |
__isset_bit_vector.clear(__AGENTID_ISSET_ID);
|
|
|
473 |
}
|
|
|
474 |
|
| 3430 |
rajveer |
475 |
/** Returns true if field agentId is set (has been assigned a value) and false otherwise */
|
| 3390 |
mandeep.dh |
476 |
public boolean isSetAgentId() {
|
|
|
477 |
return __isset_bit_vector.get(__AGENTID_ISSET_ID);
|
|
|
478 |
}
|
|
|
479 |
|
|
|
480 |
public void setAgentIdIsSet(boolean value) {
|
|
|
481 |
__isset_bit_vector.set(__AGENTID_ISSET_ID, value);
|
|
|
482 |
}
|
|
|
483 |
|
|
|
484 |
public long getCustomerId() {
|
|
|
485 |
return this.customerId;
|
|
|
486 |
}
|
|
|
487 |
|
| 3430 |
rajveer |
488 |
public void setCustomerId(long customerId) {
|
| 3390 |
mandeep.dh |
489 |
this.customerId = customerId;
|
|
|
490 |
setCustomerIdIsSet(true);
|
|
|
491 |
}
|
|
|
492 |
|
|
|
493 |
public void unsetCustomerId() {
|
|
|
494 |
__isset_bit_vector.clear(__CUSTOMERID_ISSET_ID);
|
|
|
495 |
}
|
|
|
496 |
|
| 3430 |
rajveer |
497 |
/** Returns true if field customerId is set (has been assigned a value) and false otherwise */
|
| 3390 |
mandeep.dh |
498 |
public boolean isSetCustomerId() {
|
|
|
499 |
return __isset_bit_vector.get(__CUSTOMERID_ISSET_ID);
|
|
|
500 |
}
|
|
|
501 |
|
|
|
502 |
public void setCustomerIdIsSet(boolean value) {
|
|
|
503 |
__isset_bit_vector.set(__CUSTOMERID_ISSET_ID, value);
|
|
|
504 |
}
|
|
|
505 |
|
|
|
506 |
public long getStartTimestamp() {
|
|
|
507 |
return this.startTimestamp;
|
|
|
508 |
}
|
|
|
509 |
|
| 3430 |
rajveer |
510 |
public void setStartTimestamp(long startTimestamp) {
|
| 3390 |
mandeep.dh |
511 |
this.startTimestamp = startTimestamp;
|
|
|
512 |
setStartTimestampIsSet(true);
|
|
|
513 |
}
|
|
|
514 |
|
|
|
515 |
public void unsetStartTimestamp() {
|
|
|
516 |
__isset_bit_vector.clear(__STARTTIMESTAMP_ISSET_ID);
|
|
|
517 |
}
|
|
|
518 |
|
| 3430 |
rajveer |
519 |
/** Returns true if field startTimestamp is set (has been assigned a value) and false otherwise */
|
| 3390 |
mandeep.dh |
520 |
public boolean isSetStartTimestamp() {
|
|
|
521 |
return __isset_bit_vector.get(__STARTTIMESTAMP_ISSET_ID);
|
|
|
522 |
}
|
|
|
523 |
|
|
|
524 |
public void setStartTimestampIsSet(boolean value) {
|
|
|
525 |
__isset_bit_vector.set(__STARTTIMESTAMP_ISSET_ID, value);
|
|
|
526 |
}
|
|
|
527 |
|
|
|
528 |
public long getEndTimestamp() {
|
|
|
529 |
return this.endTimestamp;
|
|
|
530 |
}
|
|
|
531 |
|
| 3430 |
rajveer |
532 |
public void setEndTimestamp(long endTimestamp) {
|
| 3390 |
mandeep.dh |
533 |
this.endTimestamp = endTimestamp;
|
|
|
534 |
setEndTimestampIsSet(true);
|
|
|
535 |
}
|
|
|
536 |
|
|
|
537 |
public void unsetEndTimestamp() {
|
|
|
538 |
__isset_bit_vector.clear(__ENDTIMESTAMP_ISSET_ID);
|
|
|
539 |
}
|
|
|
540 |
|
| 3430 |
rajveer |
541 |
/** Returns true if field endTimestamp is set (has been assigned a value) and false otherwise */
|
| 3390 |
mandeep.dh |
542 |
public boolean isSetEndTimestamp() {
|
|
|
543 |
return __isset_bit_vector.get(__ENDTIMESTAMP_ISSET_ID);
|
|
|
544 |
}
|
|
|
545 |
|
|
|
546 |
public void setEndTimestampIsSet(boolean value) {
|
|
|
547 |
__isset_bit_vector.set(__ENDTIMESTAMP_ISSET_ID, value);
|
|
|
548 |
}
|
|
|
549 |
|
|
|
550 |
public boolean isIsActivityRead() {
|
|
|
551 |
return this.isActivityRead;
|
|
|
552 |
}
|
|
|
553 |
|
| 3430 |
rajveer |
554 |
public void setIsActivityRead(boolean isActivityRead) {
|
| 3390 |
mandeep.dh |
555 |
this.isActivityRead = isActivityRead;
|
|
|
556 |
setIsActivityReadIsSet(true);
|
|
|
557 |
}
|
|
|
558 |
|
|
|
559 |
public void unsetIsActivityRead() {
|
|
|
560 |
__isset_bit_vector.clear(__ISACTIVITYREAD_ISSET_ID);
|
|
|
561 |
}
|
|
|
562 |
|
| 3430 |
rajveer |
563 |
/** Returns true if field isActivityRead is set (has been assigned a value) and false otherwise */
|
| 3390 |
mandeep.dh |
564 |
public boolean isSetIsActivityRead() {
|
|
|
565 |
return __isset_bit_vector.get(__ISACTIVITYREAD_ISSET_ID);
|
|
|
566 |
}
|
|
|
567 |
|
|
|
568 |
public void setIsActivityReadIsSet(boolean value) {
|
|
|
569 |
__isset_bit_vector.set(__ISACTIVITYREAD_ISSET_ID, value);
|
|
|
570 |
}
|
|
|
571 |
|
|
|
572 |
public String getAgentEmailId() {
|
|
|
573 |
return this.agentEmailId;
|
|
|
574 |
}
|
|
|
575 |
|
| 3430 |
rajveer |
576 |
public void setAgentEmailId(String agentEmailId) {
|
| 3390 |
mandeep.dh |
577 |
this.agentEmailId = agentEmailId;
|
|
|
578 |
}
|
|
|
579 |
|
|
|
580 |
public void unsetAgentEmailId() {
|
|
|
581 |
this.agentEmailId = null;
|
|
|
582 |
}
|
|
|
583 |
|
| 3430 |
rajveer |
584 |
/** Returns true if field agentEmailId is set (has been assigned a value) and false otherwise */
|
| 3390 |
mandeep.dh |
585 |
public boolean isSetAgentEmailId() {
|
|
|
586 |
return this.agentEmailId != null;
|
|
|
587 |
}
|
|
|
588 |
|
|
|
589 |
public void setAgentEmailIdIsSet(boolean value) {
|
|
|
590 |
if (!value) {
|
|
|
591 |
this.agentEmailId = null;
|
|
|
592 |
}
|
|
|
593 |
}
|
|
|
594 |
|
|
|
595 |
public String getCustomerEmailId() {
|
|
|
596 |
return this.customerEmailId;
|
|
|
597 |
}
|
|
|
598 |
|
| 3430 |
rajveer |
599 |
public void setCustomerEmailId(String customerEmailId) {
|
| 3390 |
mandeep.dh |
600 |
this.customerEmailId = customerEmailId;
|
|
|
601 |
}
|
|
|
602 |
|
|
|
603 |
public void unsetCustomerEmailId() {
|
|
|
604 |
this.customerEmailId = null;
|
|
|
605 |
}
|
|
|
606 |
|
| 3430 |
rajveer |
607 |
/** Returns true if field customerEmailId is set (has been assigned a value) and false otherwise */
|
| 3390 |
mandeep.dh |
608 |
public boolean isSetCustomerEmailId() {
|
|
|
609 |
return this.customerEmailId != null;
|
|
|
610 |
}
|
|
|
611 |
|
|
|
612 |
public void setCustomerEmailIdIsSet(boolean value) {
|
|
|
613 |
if (!value) {
|
|
|
614 |
this.customerEmailId = null;
|
|
|
615 |
}
|
|
|
616 |
}
|
|
|
617 |
|
|
|
618 |
public String getCustomerMobileNumber() {
|
|
|
619 |
return this.customerMobileNumber;
|
|
|
620 |
}
|
|
|
621 |
|
| 3430 |
rajveer |
622 |
public void setCustomerMobileNumber(String customerMobileNumber) {
|
| 3390 |
mandeep.dh |
623 |
this.customerMobileNumber = customerMobileNumber;
|
|
|
624 |
}
|
|
|
625 |
|
|
|
626 |
public void unsetCustomerMobileNumber() {
|
|
|
627 |
this.customerMobileNumber = null;
|
|
|
628 |
}
|
|
|
629 |
|
| 3430 |
rajveer |
630 |
/** Returns true if field customerMobileNumber is set (has been assigned a value) and false otherwise */
|
| 3390 |
mandeep.dh |
631 |
public boolean isSetCustomerMobileNumber() {
|
|
|
632 |
return this.customerMobileNumber != null;
|
|
|
633 |
}
|
|
|
634 |
|
|
|
635 |
public void setCustomerMobileNumberIsSet(boolean value) {
|
|
|
636 |
if (!value) {
|
|
|
637 |
this.customerMobileNumber = null;
|
|
|
638 |
}
|
|
|
639 |
}
|
|
|
640 |
|
| 3546 |
mandeep.dh |
641 |
public int getTicketStatusesSize() {
|
|
|
642 |
return (this.ticketStatuses == null) ? 0 : this.ticketStatuses.size();
|
| 3499 |
mandeep.dh |
643 |
}
|
|
|
644 |
|
| 3546 |
mandeep.dh |
645 |
public java.util.Iterator<TicketStatus> getTicketStatusesIterator() {
|
|
|
646 |
return (this.ticketStatuses == null) ? null : this.ticketStatuses.iterator();
|
| 3499 |
mandeep.dh |
647 |
}
|
|
|
648 |
|
| 3546 |
mandeep.dh |
649 |
public void addToTicketStatuses(TicketStatus elem) {
|
|
|
650 |
if (this.ticketStatuses == null) {
|
|
|
651 |
this.ticketStatuses = new ArrayList<TicketStatus>();
|
|
|
652 |
}
|
|
|
653 |
this.ticketStatuses.add(elem);
|
| 3499 |
mandeep.dh |
654 |
}
|
|
|
655 |
|
| 3546 |
mandeep.dh |
656 |
public List<TicketStatus> getTicketStatuses() {
|
|
|
657 |
return this.ticketStatuses;
|
| 3499 |
mandeep.dh |
658 |
}
|
|
|
659 |
|
| 3546 |
mandeep.dh |
660 |
public void setTicketStatuses(List<TicketStatus> ticketStatuses) {
|
|
|
661 |
this.ticketStatuses = ticketStatuses;
|
|
|
662 |
}
|
|
|
663 |
|
|
|
664 |
public void unsetTicketStatuses() {
|
|
|
665 |
this.ticketStatuses = null;
|
|
|
666 |
}
|
|
|
667 |
|
|
|
668 |
/** Returns true if field ticketStatuses is set (has been assigned a value) and false otherwise */
|
|
|
669 |
public boolean isSetTicketStatuses() {
|
|
|
670 |
return this.ticketStatuses != null;
|
|
|
671 |
}
|
|
|
672 |
|
|
|
673 |
public void setTicketStatusesIsSet(boolean value) {
|
| 3499 |
mandeep.dh |
674 |
if (!value) {
|
| 3546 |
mandeep.dh |
675 |
this.ticketStatuses = null;
|
| 3499 |
mandeep.dh |
676 |
}
|
|
|
677 |
}
|
|
|
678 |
|
|
|
679 |
/**
|
|
|
680 |
*
|
|
|
681 |
* @see TicketCategory
|
|
|
682 |
*/
|
|
|
683 |
public TicketCategory getTicketCategory() {
|
|
|
684 |
return this.ticketCategory;
|
|
|
685 |
}
|
|
|
686 |
|
|
|
687 |
/**
|
|
|
688 |
*
|
|
|
689 |
* @see TicketCategory
|
|
|
690 |
*/
|
|
|
691 |
public void setTicketCategory(TicketCategory ticketCategory) {
|
|
|
692 |
this.ticketCategory = ticketCategory;
|
|
|
693 |
}
|
|
|
694 |
|
|
|
695 |
public void unsetTicketCategory() {
|
|
|
696 |
this.ticketCategory = null;
|
|
|
697 |
}
|
|
|
698 |
|
|
|
699 |
/** Returns true if field ticketCategory is set (has been assigned a value) and false otherwise */
|
|
|
700 |
public boolean isSetTicketCategory() {
|
|
|
701 |
return this.ticketCategory != null;
|
|
|
702 |
}
|
|
|
703 |
|
|
|
704 |
public void setTicketCategoryIsSet(boolean value) {
|
|
|
705 |
if (!value) {
|
|
|
706 |
this.ticketCategory = null;
|
|
|
707 |
}
|
|
|
708 |
}
|
|
|
709 |
|
|
|
710 |
/**
|
|
|
711 |
*
|
|
|
712 |
* @see TicketPriority
|
|
|
713 |
*/
|
|
|
714 |
public TicketPriority getTicketPriority() {
|
|
|
715 |
return this.ticketPriority;
|
|
|
716 |
}
|
|
|
717 |
|
|
|
718 |
/**
|
|
|
719 |
*
|
|
|
720 |
* @see TicketPriority
|
|
|
721 |
*/
|
|
|
722 |
public void setTicketPriority(TicketPriority ticketPriority) {
|
|
|
723 |
this.ticketPriority = ticketPriority;
|
|
|
724 |
}
|
|
|
725 |
|
|
|
726 |
public void unsetTicketPriority() {
|
|
|
727 |
this.ticketPriority = null;
|
|
|
728 |
}
|
|
|
729 |
|
|
|
730 |
/** Returns true if field ticketPriority is set (has been assigned a value) and false otherwise */
|
|
|
731 |
public boolean isSetTicketPriority() {
|
|
|
732 |
return this.ticketPriority != null;
|
|
|
733 |
}
|
|
|
734 |
|
|
|
735 |
public void setTicketPriorityIsSet(boolean value) {
|
|
|
736 |
if (!value) {
|
|
|
737 |
this.ticketPriority = null;
|
|
|
738 |
}
|
|
|
739 |
}
|
|
|
740 |
|
| 3546 |
mandeep.dh |
741 |
/**
|
|
|
742 |
*
|
|
|
743 |
* @see ActivityType
|
|
|
744 |
*/
|
|
|
745 |
public ActivityType getActivityType() {
|
|
|
746 |
return this.activityType;
|
|
|
747 |
}
|
|
|
748 |
|
|
|
749 |
/**
|
|
|
750 |
*
|
|
|
751 |
* @see ActivityType
|
|
|
752 |
*/
|
|
|
753 |
public void setActivityType(ActivityType activityType) {
|
|
|
754 |
this.activityType = activityType;
|
|
|
755 |
}
|
|
|
756 |
|
|
|
757 |
public void unsetActivityType() {
|
|
|
758 |
this.activityType = null;
|
|
|
759 |
}
|
|
|
760 |
|
|
|
761 |
/** Returns true if field activityType is set (has been assigned a value) and false otherwise */
|
|
|
762 |
public boolean isSetActivityType() {
|
|
|
763 |
return this.activityType != null;
|
|
|
764 |
}
|
|
|
765 |
|
|
|
766 |
public void setActivityTypeIsSet(boolean value) {
|
|
|
767 |
if (!value) {
|
|
|
768 |
this.activityType = null;
|
|
|
769 |
}
|
|
|
770 |
}
|
|
|
771 |
|
| 14882 |
manish.sha |
772 |
public int getTicketCategoryListSize() {
|
|
|
773 |
return (this.ticketCategoryList == null) ? 0 : this.ticketCategoryList.size();
|
|
|
774 |
}
|
|
|
775 |
|
|
|
776 |
public java.util.Iterator<TicketCategory> getTicketCategoryListIterator() {
|
|
|
777 |
return (this.ticketCategoryList == null) ? null : this.ticketCategoryList.iterator();
|
|
|
778 |
}
|
|
|
779 |
|
|
|
780 |
public void addToTicketCategoryList(TicketCategory elem) {
|
|
|
781 |
if (this.ticketCategoryList == null) {
|
|
|
782 |
this.ticketCategoryList = new ArrayList<TicketCategory>();
|
|
|
783 |
}
|
|
|
784 |
this.ticketCategoryList.add(elem);
|
|
|
785 |
}
|
|
|
786 |
|
|
|
787 |
public List<TicketCategory> getTicketCategoryList() {
|
|
|
788 |
return this.ticketCategoryList;
|
|
|
789 |
}
|
|
|
790 |
|
|
|
791 |
public void setTicketCategoryList(List<TicketCategory> ticketCategoryList) {
|
|
|
792 |
this.ticketCategoryList = ticketCategoryList;
|
|
|
793 |
}
|
|
|
794 |
|
|
|
795 |
public void unsetTicketCategoryList() {
|
|
|
796 |
this.ticketCategoryList = null;
|
|
|
797 |
}
|
|
|
798 |
|
|
|
799 |
/** Returns true if field ticketCategoryList is set (has been assigned a value) and false otherwise */
|
|
|
800 |
public boolean isSetTicketCategoryList() {
|
|
|
801 |
return this.ticketCategoryList != null;
|
|
|
802 |
}
|
|
|
803 |
|
|
|
804 |
public void setTicketCategoryListIsSet(boolean value) {
|
|
|
805 |
if (!value) {
|
|
|
806 |
this.ticketCategoryList = null;
|
|
|
807 |
}
|
|
|
808 |
}
|
|
|
809 |
|
| 14898 |
manish.sha |
810 |
public boolean isNotShowPmTickets() {
|
|
|
811 |
return this.notShowPmTickets;
|
|
|
812 |
}
|
|
|
813 |
|
|
|
814 |
public void setNotShowPmTickets(boolean notShowPmTickets) {
|
|
|
815 |
this.notShowPmTickets = notShowPmTickets;
|
|
|
816 |
setNotShowPmTicketsIsSet(true);
|
|
|
817 |
}
|
|
|
818 |
|
|
|
819 |
public void unsetNotShowPmTickets() {
|
|
|
820 |
__isset_bit_vector.clear(__NOTSHOWPMTICKETS_ISSET_ID);
|
|
|
821 |
}
|
|
|
822 |
|
|
|
823 |
/** Returns true if field notShowPmTickets is set (has been assigned a value) and false otherwise */
|
|
|
824 |
public boolean isSetNotShowPmTickets() {
|
|
|
825 |
return __isset_bit_vector.get(__NOTSHOWPMTICKETS_ISSET_ID);
|
|
|
826 |
}
|
|
|
827 |
|
|
|
828 |
public void setNotShowPmTicketsIsSet(boolean value) {
|
|
|
829 |
__isset_bit_vector.set(__NOTSHOWPMTICKETS_ISSET_ID, value);
|
|
|
830 |
}
|
|
|
831 |
|
| 3390 |
mandeep.dh |
832 |
public void setFieldValue(_Fields field, Object value) {
|
|
|
833 |
switch (field) {
|
|
|
834 |
case TICKET_ID:
|
|
|
835 |
if (value == null) {
|
|
|
836 |
unsetTicketId();
|
|
|
837 |
} else {
|
|
|
838 |
setTicketId((Long)value);
|
|
|
839 |
}
|
|
|
840 |
break;
|
|
|
841 |
|
|
|
842 |
case ACTIVITY_ID:
|
|
|
843 |
if (value == null) {
|
|
|
844 |
unsetActivityId();
|
|
|
845 |
} else {
|
|
|
846 |
setActivityId((Long)value);
|
|
|
847 |
}
|
|
|
848 |
break;
|
|
|
849 |
|
|
|
850 |
case TICKET_ASSIGNEE_IDS:
|
|
|
851 |
if (value == null) {
|
|
|
852 |
unsetTicketAssigneeIds();
|
|
|
853 |
} else {
|
|
|
854 |
setTicketAssigneeIds((List<Long>)value);
|
|
|
855 |
}
|
|
|
856 |
break;
|
|
|
857 |
|
|
|
858 |
case ACTIVITY_CREATOR_IDS:
|
|
|
859 |
if (value == null) {
|
|
|
860 |
unsetActivityCreatorIds();
|
|
|
861 |
} else {
|
|
|
862 |
setActivityCreatorIds((List<Long>)value);
|
|
|
863 |
}
|
|
|
864 |
break;
|
|
|
865 |
|
|
|
866 |
case AGENT_ID:
|
|
|
867 |
if (value == null) {
|
|
|
868 |
unsetAgentId();
|
|
|
869 |
} else {
|
|
|
870 |
setAgentId((Long)value);
|
|
|
871 |
}
|
|
|
872 |
break;
|
|
|
873 |
|
|
|
874 |
case CUSTOMER_ID:
|
|
|
875 |
if (value == null) {
|
|
|
876 |
unsetCustomerId();
|
|
|
877 |
} else {
|
|
|
878 |
setCustomerId((Long)value);
|
|
|
879 |
}
|
|
|
880 |
break;
|
|
|
881 |
|
|
|
882 |
case START_TIMESTAMP:
|
|
|
883 |
if (value == null) {
|
|
|
884 |
unsetStartTimestamp();
|
|
|
885 |
} else {
|
|
|
886 |
setStartTimestamp((Long)value);
|
|
|
887 |
}
|
|
|
888 |
break;
|
|
|
889 |
|
|
|
890 |
case END_TIMESTAMP:
|
|
|
891 |
if (value == null) {
|
|
|
892 |
unsetEndTimestamp();
|
|
|
893 |
} else {
|
|
|
894 |
setEndTimestamp((Long)value);
|
|
|
895 |
}
|
|
|
896 |
break;
|
|
|
897 |
|
|
|
898 |
case IS_ACTIVITY_READ:
|
|
|
899 |
if (value == null) {
|
|
|
900 |
unsetIsActivityRead();
|
|
|
901 |
} else {
|
|
|
902 |
setIsActivityRead((Boolean)value);
|
|
|
903 |
}
|
|
|
904 |
break;
|
|
|
905 |
|
|
|
906 |
case AGENT_EMAIL_ID:
|
|
|
907 |
if (value == null) {
|
|
|
908 |
unsetAgentEmailId();
|
|
|
909 |
} else {
|
|
|
910 |
setAgentEmailId((String)value);
|
|
|
911 |
}
|
|
|
912 |
break;
|
|
|
913 |
|
|
|
914 |
case CUSTOMER_EMAIL_ID:
|
|
|
915 |
if (value == null) {
|
|
|
916 |
unsetCustomerEmailId();
|
|
|
917 |
} else {
|
|
|
918 |
setCustomerEmailId((String)value);
|
|
|
919 |
}
|
|
|
920 |
break;
|
|
|
921 |
|
|
|
922 |
case CUSTOMER_MOBILE_NUMBER:
|
|
|
923 |
if (value == null) {
|
|
|
924 |
unsetCustomerMobileNumber();
|
|
|
925 |
} else {
|
|
|
926 |
setCustomerMobileNumber((String)value);
|
|
|
927 |
}
|
|
|
928 |
break;
|
|
|
929 |
|
| 3546 |
mandeep.dh |
930 |
case TICKET_STATUSES:
|
| 3499 |
mandeep.dh |
931 |
if (value == null) {
|
| 3546 |
mandeep.dh |
932 |
unsetTicketStatuses();
|
| 3499 |
mandeep.dh |
933 |
} else {
|
| 3546 |
mandeep.dh |
934 |
setTicketStatuses((List<TicketStatus>)value);
|
| 3499 |
mandeep.dh |
935 |
}
|
|
|
936 |
break;
|
|
|
937 |
|
|
|
938 |
case TICKET_CATEGORY:
|
|
|
939 |
if (value == null) {
|
|
|
940 |
unsetTicketCategory();
|
|
|
941 |
} else {
|
|
|
942 |
setTicketCategory((TicketCategory)value);
|
|
|
943 |
}
|
|
|
944 |
break;
|
|
|
945 |
|
|
|
946 |
case TICKET_PRIORITY:
|
|
|
947 |
if (value == null) {
|
|
|
948 |
unsetTicketPriority();
|
|
|
949 |
} else {
|
|
|
950 |
setTicketPriority((TicketPriority)value);
|
|
|
951 |
}
|
|
|
952 |
break;
|
|
|
953 |
|
| 3546 |
mandeep.dh |
954 |
case ACTIVITY_TYPE:
|
|
|
955 |
if (value == null) {
|
|
|
956 |
unsetActivityType();
|
|
|
957 |
} else {
|
|
|
958 |
setActivityType((ActivityType)value);
|
|
|
959 |
}
|
|
|
960 |
break;
|
|
|
961 |
|
| 14882 |
manish.sha |
962 |
case TICKET_CATEGORY_LIST:
|
|
|
963 |
if (value == null) {
|
|
|
964 |
unsetTicketCategoryList();
|
|
|
965 |
} else {
|
|
|
966 |
setTicketCategoryList((List<TicketCategory>)value);
|
|
|
967 |
}
|
|
|
968 |
break;
|
|
|
969 |
|
| 14898 |
manish.sha |
970 |
case NOT_SHOW_PM_TICKETS:
|
|
|
971 |
if (value == null) {
|
|
|
972 |
unsetNotShowPmTickets();
|
|
|
973 |
} else {
|
|
|
974 |
setNotShowPmTickets((Boolean)value);
|
|
|
975 |
}
|
|
|
976 |
break;
|
|
|
977 |
|
| 3390 |
mandeep.dh |
978 |
}
|
|
|
979 |
}
|
|
|
980 |
|
|
|
981 |
public Object getFieldValue(_Fields field) {
|
|
|
982 |
switch (field) {
|
|
|
983 |
case TICKET_ID:
|
| 3430 |
rajveer |
984 |
return Long.valueOf(getTicketId());
|
| 3390 |
mandeep.dh |
985 |
|
|
|
986 |
case ACTIVITY_ID:
|
| 3430 |
rajveer |
987 |
return Long.valueOf(getActivityId());
|
| 3390 |
mandeep.dh |
988 |
|
|
|
989 |
case TICKET_ASSIGNEE_IDS:
|
|
|
990 |
return getTicketAssigneeIds();
|
|
|
991 |
|
|
|
992 |
case ACTIVITY_CREATOR_IDS:
|
|
|
993 |
return getActivityCreatorIds();
|
|
|
994 |
|
|
|
995 |
case AGENT_ID:
|
| 3430 |
rajveer |
996 |
return Long.valueOf(getAgentId());
|
| 3390 |
mandeep.dh |
997 |
|
|
|
998 |
case CUSTOMER_ID:
|
| 3430 |
rajveer |
999 |
return Long.valueOf(getCustomerId());
|
| 3390 |
mandeep.dh |
1000 |
|
|
|
1001 |
case START_TIMESTAMP:
|
| 3430 |
rajveer |
1002 |
return Long.valueOf(getStartTimestamp());
|
| 3390 |
mandeep.dh |
1003 |
|
|
|
1004 |
case END_TIMESTAMP:
|
| 3430 |
rajveer |
1005 |
return Long.valueOf(getEndTimestamp());
|
| 3390 |
mandeep.dh |
1006 |
|
|
|
1007 |
case IS_ACTIVITY_READ:
|
| 3430 |
rajveer |
1008 |
return Boolean.valueOf(isIsActivityRead());
|
| 3390 |
mandeep.dh |
1009 |
|
|
|
1010 |
case AGENT_EMAIL_ID:
|
|
|
1011 |
return getAgentEmailId();
|
|
|
1012 |
|
|
|
1013 |
case CUSTOMER_EMAIL_ID:
|
|
|
1014 |
return getCustomerEmailId();
|
|
|
1015 |
|
|
|
1016 |
case CUSTOMER_MOBILE_NUMBER:
|
|
|
1017 |
return getCustomerMobileNumber();
|
|
|
1018 |
|
| 3546 |
mandeep.dh |
1019 |
case TICKET_STATUSES:
|
|
|
1020 |
return getTicketStatuses();
|
| 3499 |
mandeep.dh |
1021 |
|
|
|
1022 |
case TICKET_CATEGORY:
|
|
|
1023 |
return getTicketCategory();
|
|
|
1024 |
|
|
|
1025 |
case TICKET_PRIORITY:
|
|
|
1026 |
return getTicketPriority();
|
|
|
1027 |
|
| 3546 |
mandeep.dh |
1028 |
case ACTIVITY_TYPE:
|
|
|
1029 |
return getActivityType();
|
|
|
1030 |
|
| 14882 |
manish.sha |
1031 |
case TICKET_CATEGORY_LIST:
|
|
|
1032 |
return getTicketCategoryList();
|
|
|
1033 |
|
| 14898 |
manish.sha |
1034 |
case NOT_SHOW_PM_TICKETS:
|
|
|
1035 |
return Boolean.valueOf(isNotShowPmTickets());
|
|
|
1036 |
|
| 3390 |
mandeep.dh |
1037 |
}
|
|
|
1038 |
throw new IllegalStateException();
|
|
|
1039 |
}
|
|
|
1040 |
|
| 3430 |
rajveer |
1041 |
/** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
|
|
|
1042 |
public boolean isSet(_Fields field) {
|
|
|
1043 |
if (field == null) {
|
|
|
1044 |
throw new IllegalArgumentException();
|
|
|
1045 |
}
|
| 3390 |
mandeep.dh |
1046 |
|
|
|
1047 |
switch (field) {
|
|
|
1048 |
case TICKET_ID:
|
|
|
1049 |
return isSetTicketId();
|
|
|
1050 |
case ACTIVITY_ID:
|
|
|
1051 |
return isSetActivityId();
|
|
|
1052 |
case TICKET_ASSIGNEE_IDS:
|
|
|
1053 |
return isSetTicketAssigneeIds();
|
|
|
1054 |
case ACTIVITY_CREATOR_IDS:
|
|
|
1055 |
return isSetActivityCreatorIds();
|
|
|
1056 |
case AGENT_ID:
|
|
|
1057 |
return isSetAgentId();
|
|
|
1058 |
case CUSTOMER_ID:
|
|
|
1059 |
return isSetCustomerId();
|
|
|
1060 |
case START_TIMESTAMP:
|
|
|
1061 |
return isSetStartTimestamp();
|
|
|
1062 |
case END_TIMESTAMP:
|
|
|
1063 |
return isSetEndTimestamp();
|
|
|
1064 |
case IS_ACTIVITY_READ:
|
|
|
1065 |
return isSetIsActivityRead();
|
|
|
1066 |
case AGENT_EMAIL_ID:
|
|
|
1067 |
return isSetAgentEmailId();
|
|
|
1068 |
case CUSTOMER_EMAIL_ID:
|
|
|
1069 |
return isSetCustomerEmailId();
|
|
|
1070 |
case CUSTOMER_MOBILE_NUMBER:
|
|
|
1071 |
return isSetCustomerMobileNumber();
|
| 3546 |
mandeep.dh |
1072 |
case TICKET_STATUSES:
|
|
|
1073 |
return isSetTicketStatuses();
|
| 3499 |
mandeep.dh |
1074 |
case TICKET_CATEGORY:
|
|
|
1075 |
return isSetTicketCategory();
|
|
|
1076 |
case TICKET_PRIORITY:
|
|
|
1077 |
return isSetTicketPriority();
|
| 3546 |
mandeep.dh |
1078 |
case ACTIVITY_TYPE:
|
|
|
1079 |
return isSetActivityType();
|
| 14882 |
manish.sha |
1080 |
case TICKET_CATEGORY_LIST:
|
|
|
1081 |
return isSetTicketCategoryList();
|
| 14898 |
manish.sha |
1082 |
case NOT_SHOW_PM_TICKETS:
|
|
|
1083 |
return isSetNotShowPmTickets();
|
| 3390 |
mandeep.dh |
1084 |
}
|
|
|
1085 |
throw new IllegalStateException();
|
|
|
1086 |
}
|
|
|
1087 |
|
|
|
1088 |
@Override
|
|
|
1089 |
public boolean equals(Object that) {
|
|
|
1090 |
if (that == null)
|
|
|
1091 |
return false;
|
|
|
1092 |
if (that instanceof SearchFilter)
|
|
|
1093 |
return this.equals((SearchFilter)that);
|
|
|
1094 |
return false;
|
|
|
1095 |
}
|
|
|
1096 |
|
|
|
1097 |
public boolean equals(SearchFilter that) {
|
|
|
1098 |
if (that == null)
|
|
|
1099 |
return false;
|
|
|
1100 |
|
|
|
1101 |
boolean this_present_ticketId = true && this.isSetTicketId();
|
|
|
1102 |
boolean that_present_ticketId = true && that.isSetTicketId();
|
|
|
1103 |
if (this_present_ticketId || that_present_ticketId) {
|
|
|
1104 |
if (!(this_present_ticketId && that_present_ticketId))
|
|
|
1105 |
return false;
|
|
|
1106 |
if (this.ticketId != that.ticketId)
|
|
|
1107 |
return false;
|
|
|
1108 |
}
|
|
|
1109 |
|
|
|
1110 |
boolean this_present_activityId = true && this.isSetActivityId();
|
|
|
1111 |
boolean that_present_activityId = true && that.isSetActivityId();
|
|
|
1112 |
if (this_present_activityId || that_present_activityId) {
|
|
|
1113 |
if (!(this_present_activityId && that_present_activityId))
|
|
|
1114 |
return false;
|
|
|
1115 |
if (this.activityId != that.activityId)
|
|
|
1116 |
return false;
|
|
|
1117 |
}
|
|
|
1118 |
|
|
|
1119 |
boolean this_present_ticketAssigneeIds = true && this.isSetTicketAssigneeIds();
|
|
|
1120 |
boolean that_present_ticketAssigneeIds = true && that.isSetTicketAssigneeIds();
|
|
|
1121 |
if (this_present_ticketAssigneeIds || that_present_ticketAssigneeIds) {
|
|
|
1122 |
if (!(this_present_ticketAssigneeIds && that_present_ticketAssigneeIds))
|
|
|
1123 |
return false;
|
|
|
1124 |
if (!this.ticketAssigneeIds.equals(that.ticketAssigneeIds))
|
|
|
1125 |
return false;
|
|
|
1126 |
}
|
|
|
1127 |
|
|
|
1128 |
boolean this_present_activityCreatorIds = true && this.isSetActivityCreatorIds();
|
|
|
1129 |
boolean that_present_activityCreatorIds = true && that.isSetActivityCreatorIds();
|
|
|
1130 |
if (this_present_activityCreatorIds || that_present_activityCreatorIds) {
|
|
|
1131 |
if (!(this_present_activityCreatorIds && that_present_activityCreatorIds))
|
|
|
1132 |
return false;
|
|
|
1133 |
if (!this.activityCreatorIds.equals(that.activityCreatorIds))
|
|
|
1134 |
return false;
|
|
|
1135 |
}
|
|
|
1136 |
|
|
|
1137 |
boolean this_present_agentId = true && this.isSetAgentId();
|
|
|
1138 |
boolean that_present_agentId = true && that.isSetAgentId();
|
|
|
1139 |
if (this_present_agentId || that_present_agentId) {
|
|
|
1140 |
if (!(this_present_agentId && that_present_agentId))
|
|
|
1141 |
return false;
|
|
|
1142 |
if (this.agentId != that.agentId)
|
|
|
1143 |
return false;
|
|
|
1144 |
}
|
|
|
1145 |
|
|
|
1146 |
boolean this_present_customerId = true && this.isSetCustomerId();
|
|
|
1147 |
boolean that_present_customerId = true && that.isSetCustomerId();
|
|
|
1148 |
if (this_present_customerId || that_present_customerId) {
|
|
|
1149 |
if (!(this_present_customerId && that_present_customerId))
|
|
|
1150 |
return false;
|
|
|
1151 |
if (this.customerId != that.customerId)
|
|
|
1152 |
return false;
|
|
|
1153 |
}
|
|
|
1154 |
|
|
|
1155 |
boolean this_present_startTimestamp = true && this.isSetStartTimestamp();
|
|
|
1156 |
boolean that_present_startTimestamp = true && that.isSetStartTimestamp();
|
|
|
1157 |
if (this_present_startTimestamp || that_present_startTimestamp) {
|
|
|
1158 |
if (!(this_present_startTimestamp && that_present_startTimestamp))
|
|
|
1159 |
return false;
|
|
|
1160 |
if (this.startTimestamp != that.startTimestamp)
|
|
|
1161 |
return false;
|
|
|
1162 |
}
|
|
|
1163 |
|
|
|
1164 |
boolean this_present_endTimestamp = true && this.isSetEndTimestamp();
|
|
|
1165 |
boolean that_present_endTimestamp = true && that.isSetEndTimestamp();
|
|
|
1166 |
if (this_present_endTimestamp || that_present_endTimestamp) {
|
|
|
1167 |
if (!(this_present_endTimestamp && that_present_endTimestamp))
|
|
|
1168 |
return false;
|
|
|
1169 |
if (this.endTimestamp != that.endTimestamp)
|
|
|
1170 |
return false;
|
|
|
1171 |
}
|
|
|
1172 |
|
|
|
1173 |
boolean this_present_isActivityRead = true && this.isSetIsActivityRead();
|
|
|
1174 |
boolean that_present_isActivityRead = true && that.isSetIsActivityRead();
|
|
|
1175 |
if (this_present_isActivityRead || that_present_isActivityRead) {
|
|
|
1176 |
if (!(this_present_isActivityRead && that_present_isActivityRead))
|
|
|
1177 |
return false;
|
|
|
1178 |
if (this.isActivityRead != that.isActivityRead)
|
|
|
1179 |
return false;
|
|
|
1180 |
}
|
|
|
1181 |
|
|
|
1182 |
boolean this_present_agentEmailId = true && this.isSetAgentEmailId();
|
|
|
1183 |
boolean that_present_agentEmailId = true && that.isSetAgentEmailId();
|
|
|
1184 |
if (this_present_agentEmailId || that_present_agentEmailId) {
|
|
|
1185 |
if (!(this_present_agentEmailId && that_present_agentEmailId))
|
|
|
1186 |
return false;
|
|
|
1187 |
if (!this.agentEmailId.equals(that.agentEmailId))
|
|
|
1188 |
return false;
|
|
|
1189 |
}
|
|
|
1190 |
|
|
|
1191 |
boolean this_present_customerEmailId = true && this.isSetCustomerEmailId();
|
|
|
1192 |
boolean that_present_customerEmailId = true && that.isSetCustomerEmailId();
|
|
|
1193 |
if (this_present_customerEmailId || that_present_customerEmailId) {
|
|
|
1194 |
if (!(this_present_customerEmailId && that_present_customerEmailId))
|
|
|
1195 |
return false;
|
|
|
1196 |
if (!this.customerEmailId.equals(that.customerEmailId))
|
|
|
1197 |
return false;
|
|
|
1198 |
}
|
|
|
1199 |
|
|
|
1200 |
boolean this_present_customerMobileNumber = true && this.isSetCustomerMobileNumber();
|
|
|
1201 |
boolean that_present_customerMobileNumber = true && that.isSetCustomerMobileNumber();
|
|
|
1202 |
if (this_present_customerMobileNumber || that_present_customerMobileNumber) {
|
|
|
1203 |
if (!(this_present_customerMobileNumber && that_present_customerMobileNumber))
|
|
|
1204 |
return false;
|
|
|
1205 |
if (!this.customerMobileNumber.equals(that.customerMobileNumber))
|
|
|
1206 |
return false;
|
|
|
1207 |
}
|
|
|
1208 |
|
| 3546 |
mandeep.dh |
1209 |
boolean this_present_ticketStatuses = true && this.isSetTicketStatuses();
|
|
|
1210 |
boolean that_present_ticketStatuses = true && that.isSetTicketStatuses();
|
|
|
1211 |
if (this_present_ticketStatuses || that_present_ticketStatuses) {
|
|
|
1212 |
if (!(this_present_ticketStatuses && that_present_ticketStatuses))
|
| 3499 |
mandeep.dh |
1213 |
return false;
|
| 3546 |
mandeep.dh |
1214 |
if (!this.ticketStatuses.equals(that.ticketStatuses))
|
| 3499 |
mandeep.dh |
1215 |
return false;
|
|
|
1216 |
}
|
|
|
1217 |
|
|
|
1218 |
boolean this_present_ticketCategory = true && this.isSetTicketCategory();
|
|
|
1219 |
boolean that_present_ticketCategory = true && that.isSetTicketCategory();
|
|
|
1220 |
if (this_present_ticketCategory || that_present_ticketCategory) {
|
|
|
1221 |
if (!(this_present_ticketCategory && that_present_ticketCategory))
|
|
|
1222 |
return false;
|
|
|
1223 |
if (!this.ticketCategory.equals(that.ticketCategory))
|
|
|
1224 |
return false;
|
|
|
1225 |
}
|
|
|
1226 |
|
|
|
1227 |
boolean this_present_ticketPriority = true && this.isSetTicketPriority();
|
|
|
1228 |
boolean that_present_ticketPriority = true && that.isSetTicketPriority();
|
|
|
1229 |
if (this_present_ticketPriority || that_present_ticketPriority) {
|
|
|
1230 |
if (!(this_present_ticketPriority && that_present_ticketPriority))
|
|
|
1231 |
return false;
|
|
|
1232 |
if (!this.ticketPriority.equals(that.ticketPriority))
|
|
|
1233 |
return false;
|
|
|
1234 |
}
|
|
|
1235 |
|
| 3546 |
mandeep.dh |
1236 |
boolean this_present_activityType = true && this.isSetActivityType();
|
|
|
1237 |
boolean that_present_activityType = true && that.isSetActivityType();
|
|
|
1238 |
if (this_present_activityType || that_present_activityType) {
|
|
|
1239 |
if (!(this_present_activityType && that_present_activityType))
|
|
|
1240 |
return false;
|
|
|
1241 |
if (!this.activityType.equals(that.activityType))
|
|
|
1242 |
return false;
|
|
|
1243 |
}
|
|
|
1244 |
|
| 14882 |
manish.sha |
1245 |
boolean this_present_ticketCategoryList = true && this.isSetTicketCategoryList();
|
|
|
1246 |
boolean that_present_ticketCategoryList = true && that.isSetTicketCategoryList();
|
|
|
1247 |
if (this_present_ticketCategoryList || that_present_ticketCategoryList) {
|
|
|
1248 |
if (!(this_present_ticketCategoryList && that_present_ticketCategoryList))
|
|
|
1249 |
return false;
|
|
|
1250 |
if (!this.ticketCategoryList.equals(that.ticketCategoryList))
|
|
|
1251 |
return false;
|
|
|
1252 |
}
|
|
|
1253 |
|
| 14898 |
manish.sha |
1254 |
boolean this_present_notShowPmTickets = true && this.isSetNotShowPmTickets();
|
|
|
1255 |
boolean that_present_notShowPmTickets = true && that.isSetNotShowPmTickets();
|
|
|
1256 |
if (this_present_notShowPmTickets || that_present_notShowPmTickets) {
|
|
|
1257 |
if (!(this_present_notShowPmTickets && that_present_notShowPmTickets))
|
|
|
1258 |
return false;
|
|
|
1259 |
if (this.notShowPmTickets != that.notShowPmTickets)
|
|
|
1260 |
return false;
|
|
|
1261 |
}
|
|
|
1262 |
|
| 3390 |
mandeep.dh |
1263 |
return true;
|
|
|
1264 |
}
|
|
|
1265 |
|
|
|
1266 |
@Override
|
|
|
1267 |
public int hashCode() {
|
|
|
1268 |
return 0;
|
|
|
1269 |
}
|
|
|
1270 |
|
|
|
1271 |
public int compareTo(SearchFilter other) {
|
|
|
1272 |
if (!getClass().equals(other.getClass())) {
|
|
|
1273 |
return getClass().getName().compareTo(other.getClass().getName());
|
|
|
1274 |
}
|
|
|
1275 |
|
|
|
1276 |
int lastComparison = 0;
|
|
|
1277 |
SearchFilter typedOther = (SearchFilter)other;
|
|
|
1278 |
|
| 3430 |
rajveer |
1279 |
lastComparison = Boolean.valueOf(isSetTicketId()).compareTo(typedOther.isSetTicketId());
|
| 3390 |
mandeep.dh |
1280 |
if (lastComparison != 0) {
|
|
|
1281 |
return lastComparison;
|
|
|
1282 |
}
|
| 3430 |
rajveer |
1283 |
if (isSetTicketId()) {
|
|
|
1284 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.ticketId, typedOther.ticketId);
|
|
|
1285 |
if (lastComparison != 0) {
|
|
|
1286 |
return lastComparison;
|
|
|
1287 |
}
|
| 3390 |
mandeep.dh |
1288 |
}
|
| 3430 |
rajveer |
1289 |
lastComparison = Boolean.valueOf(isSetActivityId()).compareTo(typedOther.isSetActivityId());
|
| 3390 |
mandeep.dh |
1290 |
if (lastComparison != 0) {
|
|
|
1291 |
return lastComparison;
|
|
|
1292 |
}
|
| 3430 |
rajveer |
1293 |
if (isSetActivityId()) {
|
|
|
1294 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.activityId, typedOther.activityId);
|
|
|
1295 |
if (lastComparison != 0) {
|
|
|
1296 |
return lastComparison;
|
|
|
1297 |
}
|
| 3390 |
mandeep.dh |
1298 |
}
|
| 3430 |
rajveer |
1299 |
lastComparison = Boolean.valueOf(isSetTicketAssigneeIds()).compareTo(typedOther.isSetTicketAssigneeIds());
|
| 3390 |
mandeep.dh |
1300 |
if (lastComparison != 0) {
|
|
|
1301 |
return lastComparison;
|
|
|
1302 |
}
|
| 3430 |
rajveer |
1303 |
if (isSetTicketAssigneeIds()) {
|
|
|
1304 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.ticketAssigneeIds, typedOther.ticketAssigneeIds);
|
|
|
1305 |
if (lastComparison != 0) {
|
|
|
1306 |
return lastComparison;
|
|
|
1307 |
}
|
| 3390 |
mandeep.dh |
1308 |
}
|
| 3430 |
rajveer |
1309 |
lastComparison = Boolean.valueOf(isSetActivityCreatorIds()).compareTo(typedOther.isSetActivityCreatorIds());
|
| 3390 |
mandeep.dh |
1310 |
if (lastComparison != 0) {
|
|
|
1311 |
return lastComparison;
|
|
|
1312 |
}
|
| 3430 |
rajveer |
1313 |
if (isSetActivityCreatorIds()) {
|
|
|
1314 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.activityCreatorIds, typedOther.activityCreatorIds);
|
|
|
1315 |
if (lastComparison != 0) {
|
|
|
1316 |
return lastComparison;
|
|
|
1317 |
}
|
| 3390 |
mandeep.dh |
1318 |
}
|
| 3430 |
rajveer |
1319 |
lastComparison = Boolean.valueOf(isSetAgentId()).compareTo(typedOther.isSetAgentId());
|
| 3390 |
mandeep.dh |
1320 |
if (lastComparison != 0) {
|
|
|
1321 |
return lastComparison;
|
|
|
1322 |
}
|
| 3430 |
rajveer |
1323 |
if (isSetAgentId()) {
|
|
|
1324 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.agentId, typedOther.agentId);
|
|
|
1325 |
if (lastComparison != 0) {
|
|
|
1326 |
return lastComparison;
|
|
|
1327 |
}
|
| 3390 |
mandeep.dh |
1328 |
}
|
| 3430 |
rajveer |
1329 |
lastComparison = Boolean.valueOf(isSetCustomerId()).compareTo(typedOther.isSetCustomerId());
|
| 3390 |
mandeep.dh |
1330 |
if (lastComparison != 0) {
|
|
|
1331 |
return lastComparison;
|
|
|
1332 |
}
|
| 3430 |
rajveer |
1333 |
if (isSetCustomerId()) {
|
|
|
1334 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.customerId, typedOther.customerId);
|
|
|
1335 |
if (lastComparison != 0) {
|
|
|
1336 |
return lastComparison;
|
|
|
1337 |
}
|
| 3390 |
mandeep.dh |
1338 |
}
|
| 3430 |
rajveer |
1339 |
lastComparison = Boolean.valueOf(isSetStartTimestamp()).compareTo(typedOther.isSetStartTimestamp());
|
| 3390 |
mandeep.dh |
1340 |
if (lastComparison != 0) {
|
|
|
1341 |
return lastComparison;
|
|
|
1342 |
}
|
| 3430 |
rajveer |
1343 |
if (isSetStartTimestamp()) {
|
|
|
1344 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.startTimestamp, typedOther.startTimestamp);
|
|
|
1345 |
if (lastComparison != 0) {
|
|
|
1346 |
return lastComparison;
|
|
|
1347 |
}
|
| 3390 |
mandeep.dh |
1348 |
}
|
| 3430 |
rajveer |
1349 |
lastComparison = Boolean.valueOf(isSetEndTimestamp()).compareTo(typedOther.isSetEndTimestamp());
|
| 3390 |
mandeep.dh |
1350 |
if (lastComparison != 0) {
|
|
|
1351 |
return lastComparison;
|
|
|
1352 |
}
|
| 3430 |
rajveer |
1353 |
if (isSetEndTimestamp()) {
|
|
|
1354 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.endTimestamp, typedOther.endTimestamp);
|
|
|
1355 |
if (lastComparison != 0) {
|
|
|
1356 |
return lastComparison;
|
|
|
1357 |
}
|
| 3390 |
mandeep.dh |
1358 |
}
|
| 3430 |
rajveer |
1359 |
lastComparison = Boolean.valueOf(isSetIsActivityRead()).compareTo(typedOther.isSetIsActivityRead());
|
| 3390 |
mandeep.dh |
1360 |
if (lastComparison != 0) {
|
|
|
1361 |
return lastComparison;
|
|
|
1362 |
}
|
| 3430 |
rajveer |
1363 |
if (isSetIsActivityRead()) {
|
|
|
1364 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.isActivityRead, typedOther.isActivityRead);
|
|
|
1365 |
if (lastComparison != 0) {
|
|
|
1366 |
return lastComparison;
|
|
|
1367 |
}
|
| 3390 |
mandeep.dh |
1368 |
}
|
| 3430 |
rajveer |
1369 |
lastComparison = Boolean.valueOf(isSetAgentEmailId()).compareTo(typedOther.isSetAgentEmailId());
|
| 3390 |
mandeep.dh |
1370 |
if (lastComparison != 0) {
|
|
|
1371 |
return lastComparison;
|
|
|
1372 |
}
|
| 3430 |
rajveer |
1373 |
if (isSetAgentEmailId()) {
|
|
|
1374 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.agentEmailId, typedOther.agentEmailId);
|
|
|
1375 |
if (lastComparison != 0) {
|
|
|
1376 |
return lastComparison;
|
|
|
1377 |
}
|
| 3390 |
mandeep.dh |
1378 |
}
|
| 3430 |
rajveer |
1379 |
lastComparison = Boolean.valueOf(isSetCustomerEmailId()).compareTo(typedOther.isSetCustomerEmailId());
|
| 3390 |
mandeep.dh |
1380 |
if (lastComparison != 0) {
|
|
|
1381 |
return lastComparison;
|
|
|
1382 |
}
|
| 3430 |
rajveer |
1383 |
if (isSetCustomerEmailId()) {
|
|
|
1384 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.customerEmailId, typedOther.customerEmailId);
|
|
|
1385 |
if (lastComparison != 0) {
|
|
|
1386 |
return lastComparison;
|
|
|
1387 |
}
|
| 3390 |
mandeep.dh |
1388 |
}
|
| 3430 |
rajveer |
1389 |
lastComparison = Boolean.valueOf(isSetCustomerMobileNumber()).compareTo(typedOther.isSetCustomerMobileNumber());
|
| 3390 |
mandeep.dh |
1390 |
if (lastComparison != 0) {
|
|
|
1391 |
return lastComparison;
|
|
|
1392 |
}
|
| 3430 |
rajveer |
1393 |
if (isSetCustomerMobileNumber()) {
|
|
|
1394 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.customerMobileNumber, typedOther.customerMobileNumber);
|
|
|
1395 |
if (lastComparison != 0) {
|
|
|
1396 |
return lastComparison;
|
|
|
1397 |
}
|
| 3390 |
mandeep.dh |
1398 |
}
|
| 3546 |
mandeep.dh |
1399 |
lastComparison = Boolean.valueOf(isSetTicketStatuses()).compareTo(typedOther.isSetTicketStatuses());
|
| 3499 |
mandeep.dh |
1400 |
if (lastComparison != 0) {
|
|
|
1401 |
return lastComparison;
|
|
|
1402 |
}
|
| 3546 |
mandeep.dh |
1403 |
if (isSetTicketStatuses()) {
|
|
|
1404 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.ticketStatuses, typedOther.ticketStatuses);
|
| 3499 |
mandeep.dh |
1405 |
if (lastComparison != 0) {
|
|
|
1406 |
return lastComparison;
|
|
|
1407 |
}
|
|
|
1408 |
}
|
|
|
1409 |
lastComparison = Boolean.valueOf(isSetTicketCategory()).compareTo(typedOther.isSetTicketCategory());
|
|
|
1410 |
if (lastComparison != 0) {
|
|
|
1411 |
return lastComparison;
|
|
|
1412 |
}
|
|
|
1413 |
if (isSetTicketCategory()) {
|
|
|
1414 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.ticketCategory, typedOther.ticketCategory);
|
|
|
1415 |
if (lastComparison != 0) {
|
|
|
1416 |
return lastComparison;
|
|
|
1417 |
}
|
|
|
1418 |
}
|
|
|
1419 |
lastComparison = Boolean.valueOf(isSetTicketPriority()).compareTo(typedOther.isSetTicketPriority());
|
|
|
1420 |
if (lastComparison != 0) {
|
|
|
1421 |
return lastComparison;
|
|
|
1422 |
}
|
|
|
1423 |
if (isSetTicketPriority()) {
|
|
|
1424 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.ticketPriority, typedOther.ticketPriority);
|
|
|
1425 |
if (lastComparison != 0) {
|
|
|
1426 |
return lastComparison;
|
|
|
1427 |
}
|
|
|
1428 |
}
|
| 3546 |
mandeep.dh |
1429 |
lastComparison = Boolean.valueOf(isSetActivityType()).compareTo(typedOther.isSetActivityType());
|
|
|
1430 |
if (lastComparison != 0) {
|
|
|
1431 |
return lastComparison;
|
|
|
1432 |
}
|
|
|
1433 |
if (isSetActivityType()) {
|
|
|
1434 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.activityType, typedOther.activityType);
|
|
|
1435 |
if (lastComparison != 0) {
|
|
|
1436 |
return lastComparison;
|
|
|
1437 |
}
|
|
|
1438 |
}
|
| 14882 |
manish.sha |
1439 |
lastComparison = Boolean.valueOf(isSetTicketCategoryList()).compareTo(typedOther.isSetTicketCategoryList());
|
|
|
1440 |
if (lastComparison != 0) {
|
|
|
1441 |
return lastComparison;
|
|
|
1442 |
}
|
|
|
1443 |
if (isSetTicketCategoryList()) {
|
|
|
1444 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.ticketCategoryList, typedOther.ticketCategoryList);
|
|
|
1445 |
if (lastComparison != 0) {
|
|
|
1446 |
return lastComparison;
|
|
|
1447 |
}
|
|
|
1448 |
}
|
| 14898 |
manish.sha |
1449 |
lastComparison = Boolean.valueOf(isSetNotShowPmTickets()).compareTo(typedOther.isSetNotShowPmTickets());
|
|
|
1450 |
if (lastComparison != 0) {
|
|
|
1451 |
return lastComparison;
|
|
|
1452 |
}
|
|
|
1453 |
if (isSetNotShowPmTickets()) {
|
|
|
1454 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.notShowPmTickets, typedOther.notShowPmTickets);
|
|
|
1455 |
if (lastComparison != 0) {
|
|
|
1456 |
return lastComparison;
|
|
|
1457 |
}
|
|
|
1458 |
}
|
| 3390 |
mandeep.dh |
1459 |
return 0;
|
|
|
1460 |
}
|
|
|
1461 |
|
| 3430 |
rajveer |
1462 |
public _Fields fieldForId(int fieldId) {
|
|
|
1463 |
return _Fields.findByThriftId(fieldId);
|
|
|
1464 |
}
|
|
|
1465 |
|
|
|
1466 |
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
|
|
|
1467 |
org.apache.thrift.protocol.TField field;
|
| 3390 |
mandeep.dh |
1468 |
iprot.readStructBegin();
|
|
|
1469 |
while (true)
|
|
|
1470 |
{
|
|
|
1471 |
field = iprot.readFieldBegin();
|
| 3430 |
rajveer |
1472 |
if (field.type == org.apache.thrift.protocol.TType.STOP) {
|
| 3390 |
mandeep.dh |
1473 |
break;
|
|
|
1474 |
}
|
| 3430 |
rajveer |
1475 |
switch (field.id) {
|
|
|
1476 |
case 1: // TICKET_ID
|
|
|
1477 |
if (field.type == org.apache.thrift.protocol.TType.I64) {
|
|
|
1478 |
this.ticketId = iprot.readI64();
|
|
|
1479 |
setTicketIdIsSet(true);
|
|
|
1480 |
} else {
|
|
|
1481 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
1482 |
}
|
|
|
1483 |
break;
|
|
|
1484 |
case 2: // ACTIVITY_ID
|
|
|
1485 |
if (field.type == org.apache.thrift.protocol.TType.I64) {
|
|
|
1486 |
this.activityId = iprot.readI64();
|
|
|
1487 |
setActivityIdIsSet(true);
|
|
|
1488 |
} else {
|
|
|
1489 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
1490 |
}
|
|
|
1491 |
break;
|
|
|
1492 |
case 3: // TICKET_ASSIGNEE_IDS
|
|
|
1493 |
if (field.type == org.apache.thrift.protocol.TType.LIST) {
|
|
|
1494 |
{
|
|
|
1495 |
org.apache.thrift.protocol.TList _list0 = iprot.readListBegin();
|
|
|
1496 |
this.ticketAssigneeIds = new ArrayList<Long>(_list0.size);
|
|
|
1497 |
for (int _i1 = 0; _i1 < _list0.size; ++_i1)
|
| 3390 |
mandeep.dh |
1498 |
{
|
| 3430 |
rajveer |
1499 |
long _elem2; // required
|
|
|
1500 |
_elem2 = iprot.readI64();
|
|
|
1501 |
this.ticketAssigneeIds.add(_elem2);
|
| 3390 |
mandeep.dh |
1502 |
}
|
| 3430 |
rajveer |
1503 |
iprot.readListEnd();
|
| 3390 |
mandeep.dh |
1504 |
}
|
| 3430 |
rajveer |
1505 |
} else {
|
|
|
1506 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
1507 |
}
|
|
|
1508 |
break;
|
|
|
1509 |
case 4: // ACTIVITY_CREATOR_IDS
|
|
|
1510 |
if (field.type == org.apache.thrift.protocol.TType.LIST) {
|
|
|
1511 |
{
|
|
|
1512 |
org.apache.thrift.protocol.TList _list3 = iprot.readListBegin();
|
|
|
1513 |
this.activityCreatorIds = new ArrayList<Long>(_list3.size);
|
|
|
1514 |
for (int _i4 = 0; _i4 < _list3.size; ++_i4)
|
| 3390 |
mandeep.dh |
1515 |
{
|
| 3430 |
rajveer |
1516 |
long _elem5; // required
|
|
|
1517 |
_elem5 = iprot.readI64();
|
|
|
1518 |
this.activityCreatorIds.add(_elem5);
|
| 3390 |
mandeep.dh |
1519 |
}
|
| 3430 |
rajveer |
1520 |
iprot.readListEnd();
|
| 3390 |
mandeep.dh |
1521 |
}
|
| 3430 |
rajveer |
1522 |
} else {
|
|
|
1523 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
1524 |
}
|
|
|
1525 |
break;
|
|
|
1526 |
case 5: // AGENT_ID
|
|
|
1527 |
if (field.type == org.apache.thrift.protocol.TType.I64) {
|
|
|
1528 |
this.agentId = iprot.readI64();
|
|
|
1529 |
setAgentIdIsSet(true);
|
|
|
1530 |
} else {
|
|
|
1531 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
1532 |
}
|
|
|
1533 |
break;
|
|
|
1534 |
case 6: // CUSTOMER_ID
|
|
|
1535 |
if (field.type == org.apache.thrift.protocol.TType.I64) {
|
|
|
1536 |
this.customerId = iprot.readI64();
|
|
|
1537 |
setCustomerIdIsSet(true);
|
|
|
1538 |
} else {
|
|
|
1539 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
1540 |
}
|
|
|
1541 |
break;
|
|
|
1542 |
case 7: // START_TIMESTAMP
|
|
|
1543 |
if (field.type == org.apache.thrift.protocol.TType.I64) {
|
|
|
1544 |
this.startTimestamp = iprot.readI64();
|
|
|
1545 |
setStartTimestampIsSet(true);
|
|
|
1546 |
} else {
|
|
|
1547 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
1548 |
}
|
|
|
1549 |
break;
|
|
|
1550 |
case 8: // END_TIMESTAMP
|
|
|
1551 |
if (field.type == org.apache.thrift.protocol.TType.I64) {
|
|
|
1552 |
this.endTimestamp = iprot.readI64();
|
|
|
1553 |
setEndTimestampIsSet(true);
|
|
|
1554 |
} else {
|
|
|
1555 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
1556 |
}
|
|
|
1557 |
break;
|
|
|
1558 |
case 9: // IS_ACTIVITY_READ
|
|
|
1559 |
if (field.type == org.apache.thrift.protocol.TType.BOOL) {
|
|
|
1560 |
this.isActivityRead = iprot.readBool();
|
|
|
1561 |
setIsActivityReadIsSet(true);
|
|
|
1562 |
} else {
|
|
|
1563 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
1564 |
}
|
|
|
1565 |
break;
|
|
|
1566 |
case 10: // AGENT_EMAIL_ID
|
|
|
1567 |
if (field.type == org.apache.thrift.protocol.TType.STRING) {
|
|
|
1568 |
this.agentEmailId = iprot.readString();
|
|
|
1569 |
} else {
|
|
|
1570 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
1571 |
}
|
|
|
1572 |
break;
|
|
|
1573 |
case 11: // CUSTOMER_EMAIL_ID
|
|
|
1574 |
if (field.type == org.apache.thrift.protocol.TType.STRING) {
|
|
|
1575 |
this.customerEmailId = iprot.readString();
|
|
|
1576 |
} else {
|
|
|
1577 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
1578 |
}
|
|
|
1579 |
break;
|
|
|
1580 |
case 12: // CUSTOMER_MOBILE_NUMBER
|
|
|
1581 |
if (field.type == org.apache.thrift.protocol.TType.STRING) {
|
|
|
1582 |
this.customerMobileNumber = iprot.readString();
|
|
|
1583 |
} else {
|
|
|
1584 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
1585 |
}
|
|
|
1586 |
break;
|
| 3546 |
mandeep.dh |
1587 |
case 13: // TICKET_STATUSES
|
|
|
1588 |
if (field.type == org.apache.thrift.protocol.TType.LIST) {
|
|
|
1589 |
{
|
|
|
1590 |
org.apache.thrift.protocol.TList _list6 = iprot.readListBegin();
|
|
|
1591 |
this.ticketStatuses = new ArrayList<TicketStatus>(_list6.size);
|
|
|
1592 |
for (int _i7 = 0; _i7 < _list6.size; ++_i7)
|
|
|
1593 |
{
|
|
|
1594 |
TicketStatus _elem8; // required
|
|
|
1595 |
_elem8 = TicketStatus.findByValue(iprot.readI32());
|
|
|
1596 |
this.ticketStatuses.add(_elem8);
|
|
|
1597 |
}
|
|
|
1598 |
iprot.readListEnd();
|
|
|
1599 |
}
|
| 3499 |
mandeep.dh |
1600 |
} else {
|
|
|
1601 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
1602 |
}
|
|
|
1603 |
break;
|
|
|
1604 |
case 14: // TICKET_CATEGORY
|
|
|
1605 |
if (field.type == org.apache.thrift.protocol.TType.I32) {
|
|
|
1606 |
this.ticketCategory = TicketCategory.findByValue(iprot.readI32());
|
|
|
1607 |
} else {
|
|
|
1608 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
1609 |
}
|
|
|
1610 |
break;
|
|
|
1611 |
case 15: // TICKET_PRIORITY
|
|
|
1612 |
if (field.type == org.apache.thrift.protocol.TType.I32) {
|
|
|
1613 |
this.ticketPriority = TicketPriority.findByValue(iprot.readI32());
|
|
|
1614 |
} else {
|
|
|
1615 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
1616 |
}
|
|
|
1617 |
break;
|
| 3546 |
mandeep.dh |
1618 |
case 16: // ACTIVITY_TYPE
|
|
|
1619 |
if (field.type == org.apache.thrift.protocol.TType.I32) {
|
|
|
1620 |
this.activityType = ActivityType.findByValue(iprot.readI32());
|
|
|
1621 |
} else {
|
|
|
1622 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
1623 |
}
|
|
|
1624 |
break;
|
| 14882 |
manish.sha |
1625 |
case 17: // TICKET_CATEGORY_LIST
|
|
|
1626 |
if (field.type == org.apache.thrift.protocol.TType.LIST) {
|
|
|
1627 |
{
|
|
|
1628 |
org.apache.thrift.protocol.TList _list9 = iprot.readListBegin();
|
|
|
1629 |
this.ticketCategoryList = new ArrayList<TicketCategory>(_list9.size);
|
|
|
1630 |
for (int _i10 = 0; _i10 < _list9.size; ++_i10)
|
|
|
1631 |
{
|
|
|
1632 |
TicketCategory _elem11; // required
|
|
|
1633 |
_elem11 = TicketCategory.findByValue(iprot.readI32());
|
|
|
1634 |
this.ticketCategoryList.add(_elem11);
|
|
|
1635 |
}
|
|
|
1636 |
iprot.readListEnd();
|
|
|
1637 |
}
|
|
|
1638 |
} else {
|
|
|
1639 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
1640 |
}
|
|
|
1641 |
break;
|
| 14898 |
manish.sha |
1642 |
case 18: // NOT_SHOW_PM_TICKETS
|
|
|
1643 |
if (field.type == org.apache.thrift.protocol.TType.BOOL) {
|
|
|
1644 |
this.notShowPmTickets = iprot.readBool();
|
|
|
1645 |
setNotShowPmTicketsIsSet(true);
|
|
|
1646 |
} else {
|
|
|
1647 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
1648 |
}
|
|
|
1649 |
break;
|
| 3430 |
rajveer |
1650 |
default:
|
|
|
1651 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| 3390 |
mandeep.dh |
1652 |
}
|
| 3430 |
rajveer |
1653 |
iprot.readFieldEnd();
|
| 3390 |
mandeep.dh |
1654 |
}
|
|
|
1655 |
iprot.readStructEnd();
|
|
|
1656 |
validate();
|
|
|
1657 |
}
|
|
|
1658 |
|
| 3430 |
rajveer |
1659 |
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
|
| 3390 |
mandeep.dh |
1660 |
validate();
|
|
|
1661 |
|
|
|
1662 |
oprot.writeStructBegin(STRUCT_DESC);
|
|
|
1663 |
if (isSetTicketId()) {
|
|
|
1664 |
oprot.writeFieldBegin(TICKET_ID_FIELD_DESC);
|
|
|
1665 |
oprot.writeI64(this.ticketId);
|
|
|
1666 |
oprot.writeFieldEnd();
|
|
|
1667 |
}
|
|
|
1668 |
if (isSetActivityId()) {
|
|
|
1669 |
oprot.writeFieldBegin(ACTIVITY_ID_FIELD_DESC);
|
|
|
1670 |
oprot.writeI64(this.activityId);
|
|
|
1671 |
oprot.writeFieldEnd();
|
|
|
1672 |
}
|
|
|
1673 |
if (this.ticketAssigneeIds != null) {
|
|
|
1674 |
if (isSetTicketAssigneeIds()) {
|
|
|
1675 |
oprot.writeFieldBegin(TICKET_ASSIGNEE_IDS_FIELD_DESC);
|
|
|
1676 |
{
|
| 3430 |
rajveer |
1677 |
oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.ticketAssigneeIds.size()));
|
| 14882 |
manish.sha |
1678 |
for (long _iter12 : this.ticketAssigneeIds)
|
| 3390 |
mandeep.dh |
1679 |
{
|
| 14882 |
manish.sha |
1680 |
oprot.writeI64(_iter12);
|
| 3390 |
mandeep.dh |
1681 |
}
|
|
|
1682 |
oprot.writeListEnd();
|
|
|
1683 |
}
|
|
|
1684 |
oprot.writeFieldEnd();
|
|
|
1685 |
}
|
|
|
1686 |
}
|
|
|
1687 |
if (this.activityCreatorIds != null) {
|
|
|
1688 |
if (isSetActivityCreatorIds()) {
|
|
|
1689 |
oprot.writeFieldBegin(ACTIVITY_CREATOR_IDS_FIELD_DESC);
|
|
|
1690 |
{
|
| 3430 |
rajveer |
1691 |
oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.activityCreatorIds.size()));
|
| 14882 |
manish.sha |
1692 |
for (long _iter13 : this.activityCreatorIds)
|
| 3390 |
mandeep.dh |
1693 |
{
|
| 14882 |
manish.sha |
1694 |
oprot.writeI64(_iter13);
|
| 3390 |
mandeep.dh |
1695 |
}
|
|
|
1696 |
oprot.writeListEnd();
|
|
|
1697 |
}
|
|
|
1698 |
oprot.writeFieldEnd();
|
|
|
1699 |
}
|
|
|
1700 |
}
|
|
|
1701 |
if (isSetAgentId()) {
|
|
|
1702 |
oprot.writeFieldBegin(AGENT_ID_FIELD_DESC);
|
|
|
1703 |
oprot.writeI64(this.agentId);
|
|
|
1704 |
oprot.writeFieldEnd();
|
|
|
1705 |
}
|
|
|
1706 |
if (isSetCustomerId()) {
|
|
|
1707 |
oprot.writeFieldBegin(CUSTOMER_ID_FIELD_DESC);
|
|
|
1708 |
oprot.writeI64(this.customerId);
|
|
|
1709 |
oprot.writeFieldEnd();
|
|
|
1710 |
}
|
|
|
1711 |
if (isSetStartTimestamp()) {
|
|
|
1712 |
oprot.writeFieldBegin(START_TIMESTAMP_FIELD_DESC);
|
|
|
1713 |
oprot.writeI64(this.startTimestamp);
|
|
|
1714 |
oprot.writeFieldEnd();
|
|
|
1715 |
}
|
|
|
1716 |
if (isSetEndTimestamp()) {
|
|
|
1717 |
oprot.writeFieldBegin(END_TIMESTAMP_FIELD_DESC);
|
|
|
1718 |
oprot.writeI64(this.endTimestamp);
|
|
|
1719 |
oprot.writeFieldEnd();
|
|
|
1720 |
}
|
|
|
1721 |
if (isSetIsActivityRead()) {
|
|
|
1722 |
oprot.writeFieldBegin(IS_ACTIVITY_READ_FIELD_DESC);
|
|
|
1723 |
oprot.writeBool(this.isActivityRead);
|
|
|
1724 |
oprot.writeFieldEnd();
|
|
|
1725 |
}
|
|
|
1726 |
if (this.agentEmailId != null) {
|
|
|
1727 |
if (isSetAgentEmailId()) {
|
|
|
1728 |
oprot.writeFieldBegin(AGENT_EMAIL_ID_FIELD_DESC);
|
|
|
1729 |
oprot.writeString(this.agentEmailId);
|
|
|
1730 |
oprot.writeFieldEnd();
|
|
|
1731 |
}
|
|
|
1732 |
}
|
|
|
1733 |
if (this.customerEmailId != null) {
|
|
|
1734 |
if (isSetCustomerEmailId()) {
|
|
|
1735 |
oprot.writeFieldBegin(CUSTOMER_EMAIL_ID_FIELD_DESC);
|
|
|
1736 |
oprot.writeString(this.customerEmailId);
|
|
|
1737 |
oprot.writeFieldEnd();
|
|
|
1738 |
}
|
|
|
1739 |
}
|
|
|
1740 |
if (this.customerMobileNumber != null) {
|
|
|
1741 |
if (isSetCustomerMobileNumber()) {
|
|
|
1742 |
oprot.writeFieldBegin(CUSTOMER_MOBILE_NUMBER_FIELD_DESC);
|
|
|
1743 |
oprot.writeString(this.customerMobileNumber);
|
|
|
1744 |
oprot.writeFieldEnd();
|
|
|
1745 |
}
|
|
|
1746 |
}
|
| 3546 |
mandeep.dh |
1747 |
if (this.ticketStatuses != null) {
|
|
|
1748 |
if (isSetTicketStatuses()) {
|
|
|
1749 |
oprot.writeFieldBegin(TICKET_STATUSES_FIELD_DESC);
|
|
|
1750 |
{
|
|
|
1751 |
oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I32, this.ticketStatuses.size()));
|
| 14882 |
manish.sha |
1752 |
for (TicketStatus _iter14 : this.ticketStatuses)
|
| 3546 |
mandeep.dh |
1753 |
{
|
| 14882 |
manish.sha |
1754 |
oprot.writeI32(_iter14.getValue());
|
| 3546 |
mandeep.dh |
1755 |
}
|
|
|
1756 |
oprot.writeListEnd();
|
|
|
1757 |
}
|
| 3499 |
mandeep.dh |
1758 |
oprot.writeFieldEnd();
|
|
|
1759 |
}
|
|
|
1760 |
}
|
|
|
1761 |
if (this.ticketCategory != null) {
|
|
|
1762 |
if (isSetTicketCategory()) {
|
|
|
1763 |
oprot.writeFieldBegin(TICKET_CATEGORY_FIELD_DESC);
|
|
|
1764 |
oprot.writeI32(this.ticketCategory.getValue());
|
|
|
1765 |
oprot.writeFieldEnd();
|
|
|
1766 |
}
|
|
|
1767 |
}
|
|
|
1768 |
if (this.ticketPriority != null) {
|
|
|
1769 |
if (isSetTicketPriority()) {
|
|
|
1770 |
oprot.writeFieldBegin(TICKET_PRIORITY_FIELD_DESC);
|
|
|
1771 |
oprot.writeI32(this.ticketPriority.getValue());
|
|
|
1772 |
oprot.writeFieldEnd();
|
|
|
1773 |
}
|
|
|
1774 |
}
|
| 3546 |
mandeep.dh |
1775 |
if (this.activityType != null) {
|
|
|
1776 |
if (isSetActivityType()) {
|
|
|
1777 |
oprot.writeFieldBegin(ACTIVITY_TYPE_FIELD_DESC);
|
|
|
1778 |
oprot.writeI32(this.activityType.getValue());
|
|
|
1779 |
oprot.writeFieldEnd();
|
|
|
1780 |
}
|
|
|
1781 |
}
|
| 14882 |
manish.sha |
1782 |
if (this.ticketCategoryList != null) {
|
|
|
1783 |
if (isSetTicketCategoryList()) {
|
|
|
1784 |
oprot.writeFieldBegin(TICKET_CATEGORY_LIST_FIELD_DESC);
|
|
|
1785 |
{
|
|
|
1786 |
oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I32, this.ticketCategoryList.size()));
|
|
|
1787 |
for (TicketCategory _iter15 : this.ticketCategoryList)
|
|
|
1788 |
{
|
|
|
1789 |
oprot.writeI32(_iter15.getValue());
|
|
|
1790 |
}
|
|
|
1791 |
oprot.writeListEnd();
|
|
|
1792 |
}
|
|
|
1793 |
oprot.writeFieldEnd();
|
|
|
1794 |
}
|
|
|
1795 |
}
|
| 14898 |
manish.sha |
1796 |
if (isSetNotShowPmTickets()) {
|
|
|
1797 |
oprot.writeFieldBegin(NOT_SHOW_PM_TICKETS_FIELD_DESC);
|
|
|
1798 |
oprot.writeBool(this.notShowPmTickets);
|
|
|
1799 |
oprot.writeFieldEnd();
|
|
|
1800 |
}
|
| 3390 |
mandeep.dh |
1801 |
oprot.writeFieldStop();
|
|
|
1802 |
oprot.writeStructEnd();
|
|
|
1803 |
}
|
|
|
1804 |
|
|
|
1805 |
@Override
|
|
|
1806 |
public String toString() {
|
|
|
1807 |
StringBuilder sb = new StringBuilder("SearchFilter(");
|
|
|
1808 |
boolean first = true;
|
|
|
1809 |
|
|
|
1810 |
if (isSetTicketId()) {
|
|
|
1811 |
sb.append("ticketId:");
|
|
|
1812 |
sb.append(this.ticketId);
|
|
|
1813 |
first = false;
|
|
|
1814 |
}
|
|
|
1815 |
if (isSetActivityId()) {
|
|
|
1816 |
if (!first) sb.append(", ");
|
|
|
1817 |
sb.append("activityId:");
|
|
|
1818 |
sb.append(this.activityId);
|
|
|
1819 |
first = false;
|
|
|
1820 |
}
|
|
|
1821 |
if (isSetTicketAssigneeIds()) {
|
|
|
1822 |
if (!first) sb.append(", ");
|
|
|
1823 |
sb.append("ticketAssigneeIds:");
|
|
|
1824 |
if (this.ticketAssigneeIds == null) {
|
|
|
1825 |
sb.append("null");
|
|
|
1826 |
} else {
|
|
|
1827 |
sb.append(this.ticketAssigneeIds);
|
|
|
1828 |
}
|
|
|
1829 |
first = false;
|
|
|
1830 |
}
|
|
|
1831 |
if (isSetActivityCreatorIds()) {
|
|
|
1832 |
if (!first) sb.append(", ");
|
|
|
1833 |
sb.append("activityCreatorIds:");
|
|
|
1834 |
if (this.activityCreatorIds == null) {
|
|
|
1835 |
sb.append("null");
|
|
|
1836 |
} else {
|
|
|
1837 |
sb.append(this.activityCreatorIds);
|
|
|
1838 |
}
|
|
|
1839 |
first = false;
|
|
|
1840 |
}
|
|
|
1841 |
if (isSetAgentId()) {
|
|
|
1842 |
if (!first) sb.append(", ");
|
|
|
1843 |
sb.append("agentId:");
|
|
|
1844 |
sb.append(this.agentId);
|
|
|
1845 |
first = false;
|
|
|
1846 |
}
|
|
|
1847 |
if (isSetCustomerId()) {
|
|
|
1848 |
if (!first) sb.append(", ");
|
|
|
1849 |
sb.append("customerId:");
|
|
|
1850 |
sb.append(this.customerId);
|
|
|
1851 |
first = false;
|
|
|
1852 |
}
|
|
|
1853 |
if (isSetStartTimestamp()) {
|
|
|
1854 |
if (!first) sb.append(", ");
|
|
|
1855 |
sb.append("startTimestamp:");
|
|
|
1856 |
sb.append(this.startTimestamp);
|
|
|
1857 |
first = false;
|
|
|
1858 |
}
|
|
|
1859 |
if (isSetEndTimestamp()) {
|
|
|
1860 |
if (!first) sb.append(", ");
|
|
|
1861 |
sb.append("endTimestamp:");
|
|
|
1862 |
sb.append(this.endTimestamp);
|
|
|
1863 |
first = false;
|
|
|
1864 |
}
|
|
|
1865 |
if (isSetIsActivityRead()) {
|
|
|
1866 |
if (!first) sb.append(", ");
|
|
|
1867 |
sb.append("isActivityRead:");
|
|
|
1868 |
sb.append(this.isActivityRead);
|
|
|
1869 |
first = false;
|
|
|
1870 |
}
|
|
|
1871 |
if (isSetAgentEmailId()) {
|
|
|
1872 |
if (!first) sb.append(", ");
|
|
|
1873 |
sb.append("agentEmailId:");
|
|
|
1874 |
if (this.agentEmailId == null) {
|
|
|
1875 |
sb.append("null");
|
|
|
1876 |
} else {
|
|
|
1877 |
sb.append(this.agentEmailId);
|
|
|
1878 |
}
|
|
|
1879 |
first = false;
|
|
|
1880 |
}
|
|
|
1881 |
if (isSetCustomerEmailId()) {
|
|
|
1882 |
if (!first) sb.append(", ");
|
|
|
1883 |
sb.append("customerEmailId:");
|
|
|
1884 |
if (this.customerEmailId == null) {
|
|
|
1885 |
sb.append("null");
|
|
|
1886 |
} else {
|
|
|
1887 |
sb.append(this.customerEmailId);
|
|
|
1888 |
}
|
|
|
1889 |
first = false;
|
|
|
1890 |
}
|
|
|
1891 |
if (isSetCustomerMobileNumber()) {
|
|
|
1892 |
if (!first) sb.append(", ");
|
|
|
1893 |
sb.append("customerMobileNumber:");
|
|
|
1894 |
if (this.customerMobileNumber == null) {
|
|
|
1895 |
sb.append("null");
|
|
|
1896 |
} else {
|
|
|
1897 |
sb.append(this.customerMobileNumber);
|
|
|
1898 |
}
|
|
|
1899 |
first = false;
|
|
|
1900 |
}
|
| 3546 |
mandeep.dh |
1901 |
if (isSetTicketStatuses()) {
|
| 3499 |
mandeep.dh |
1902 |
if (!first) sb.append(", ");
|
| 3546 |
mandeep.dh |
1903 |
sb.append("ticketStatuses:");
|
|
|
1904 |
if (this.ticketStatuses == null) {
|
| 3499 |
mandeep.dh |
1905 |
sb.append("null");
|
|
|
1906 |
} else {
|
| 3546 |
mandeep.dh |
1907 |
sb.append(this.ticketStatuses);
|
| 3499 |
mandeep.dh |
1908 |
}
|
|
|
1909 |
first = false;
|
|
|
1910 |
}
|
|
|
1911 |
if (isSetTicketCategory()) {
|
|
|
1912 |
if (!first) sb.append(", ");
|
|
|
1913 |
sb.append("ticketCategory:");
|
|
|
1914 |
if (this.ticketCategory == null) {
|
|
|
1915 |
sb.append("null");
|
|
|
1916 |
} else {
|
|
|
1917 |
sb.append(this.ticketCategory);
|
|
|
1918 |
}
|
|
|
1919 |
first = false;
|
|
|
1920 |
}
|
|
|
1921 |
if (isSetTicketPriority()) {
|
|
|
1922 |
if (!first) sb.append(", ");
|
|
|
1923 |
sb.append("ticketPriority:");
|
|
|
1924 |
if (this.ticketPriority == null) {
|
|
|
1925 |
sb.append("null");
|
|
|
1926 |
} else {
|
|
|
1927 |
sb.append(this.ticketPriority);
|
|
|
1928 |
}
|
|
|
1929 |
first = false;
|
|
|
1930 |
}
|
| 3546 |
mandeep.dh |
1931 |
if (isSetActivityType()) {
|
|
|
1932 |
if (!first) sb.append(", ");
|
|
|
1933 |
sb.append("activityType:");
|
|
|
1934 |
if (this.activityType == null) {
|
|
|
1935 |
sb.append("null");
|
|
|
1936 |
} else {
|
|
|
1937 |
sb.append(this.activityType);
|
|
|
1938 |
}
|
|
|
1939 |
first = false;
|
|
|
1940 |
}
|
| 14882 |
manish.sha |
1941 |
if (isSetTicketCategoryList()) {
|
|
|
1942 |
if (!first) sb.append(", ");
|
|
|
1943 |
sb.append("ticketCategoryList:");
|
|
|
1944 |
if (this.ticketCategoryList == null) {
|
|
|
1945 |
sb.append("null");
|
|
|
1946 |
} else {
|
|
|
1947 |
sb.append(this.ticketCategoryList);
|
|
|
1948 |
}
|
|
|
1949 |
first = false;
|
|
|
1950 |
}
|
| 14898 |
manish.sha |
1951 |
if (isSetNotShowPmTickets()) {
|
|
|
1952 |
if (!first) sb.append(", ");
|
|
|
1953 |
sb.append("notShowPmTickets:");
|
|
|
1954 |
sb.append(this.notShowPmTickets);
|
|
|
1955 |
first = false;
|
|
|
1956 |
}
|
| 3390 |
mandeep.dh |
1957 |
sb.append(")");
|
|
|
1958 |
return sb.toString();
|
|
|
1959 |
}
|
|
|
1960 |
|
| 3430 |
rajveer |
1961 |
public void validate() throws org.apache.thrift.TException {
|
| 3390 |
mandeep.dh |
1962 |
// check for required fields
|
|
|
1963 |
}
|
|
|
1964 |
|
| 3430 |
rajveer |
1965 |
private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
|
|
|
1966 |
try {
|
|
|
1967 |
write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
|
|
|
1968 |
} catch (org.apache.thrift.TException te) {
|
|
|
1969 |
throw new java.io.IOException(te);
|
|
|
1970 |
}
|
|
|
1971 |
}
|
|
|
1972 |
|
|
|
1973 |
private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
|
|
|
1974 |
try {
|
|
|
1975 |
// it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
|
|
|
1976 |
__isset_bit_vector = new BitSet(1);
|
|
|
1977 |
read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
|
|
|
1978 |
} catch (org.apache.thrift.TException te) {
|
|
|
1979 |
throw new java.io.IOException(te);
|
|
|
1980 |
}
|
|
|
1981 |
}
|
|
|
1982 |
|
| 3390 |
mandeep.dh |
1983 |
}
|
|
|
1984 |
|