|
|
|
class GetTicketDetailsByEmployee {
|
|
|
|
String? closedBy;
|
|
|
|
String? created;
|
|
|
|
int? departmentId;
|
|
|
|
String? departmentName;
|
|
|
|
String? description;
|
|
|
|
String? positionTitle;
|
|
|
|
int? projectId;
|
|
|
|
String? projectName;
|
|
|
|
int? sectionId;
|
|
|
|
String? sectionName;
|
|
|
|
String? ticketId;
|
|
|
|
String? ticketReferenceNo;
|
|
|
|
String? ticketStatusInternalName;
|
|
|
|
String? ticketStatusName;
|
|
|
|
int? ticketTypeId;
|
|
|
|
int? topicId;
|
|
|
|
String? topicName;
|
|
|
|
|
|
|
|
GetTicketDetailsByEmployee(
|
|
|
|
{this.closedBy,
|
|
|
|
this.created,
|
|
|
|
this.departmentId,
|
|
|
|
this.departmentName,
|
|
|
|
this.description,
|
|
|
|
this.positionTitle,
|
|
|
|
this.projectId,
|
|
|
|
this.projectName,
|
|
|
|
this.sectionId,
|
|
|
|
this.sectionName,
|
|
|
|
this.ticketId,
|
|
|
|
this.ticketReferenceNo,
|
|
|
|
this.ticketStatusInternalName,
|
|
|
|
this.ticketStatusName,
|
|
|
|
this.ticketTypeId,
|
|
|
|
this.topicId,
|
|
|
|
this.topicName});
|
|
|
|
|
|
|
|
GetTicketDetailsByEmployee.fromJson(Map<String, dynamic> json) {
|
|
|
|
closedBy = json['closedBy'];
|
|
|
|
created = json['created'];
|
|
|
|
departmentId = json['departmentId'];
|
|
|
|
departmentName = json['departmentName'];
|
|
|
|
description = json['description'];
|
|
|
|
positionTitle = json['positionTitle'];
|
|
|
|
projectId = json['projectId'];
|
|
|
|
projectName = json['projectName'];
|
|
|
|
sectionId = json['sectionId'];
|
|
|
|
sectionName = json['sectionName'];
|
|
|
|
ticketId = json['ticketId'];
|
|
|
|
ticketReferenceNo = json['ticketReferenceNo'];
|
|
|
|
ticketStatusInternalName = json['ticketStatusInternalName'];
|
|
|
|
ticketStatusName = json['ticketStatusName'];
|
|
|
|
ticketTypeId = json['ticketTypeId'];
|
|
|
|
topicId = json['topicId'];
|
|
|
|
topicName = json['topicName'];
|
|
|
|
}
|
|
|
|
|
|
|
|
Map<String, dynamic> toJson() {
|
|
|
|
Map<String, dynamic> data = new Map<String, dynamic>();
|
|
|
|
data['closedBy'] = this.closedBy;
|
|
|
|
data['created'] = this.created;
|
|
|
|
data['departmentId'] = this.departmentId;
|
|
|
|
data['departmentName'] = this.departmentName;
|
|
|
|
data['description'] = this.description;
|
|
|
|
data['positionTitle'] = this.positionTitle;
|
|
|
|
data['projectId'] = this.projectId;
|
|
|
|
data['projectName'] = this.projectName;
|
|
|
|
data['sectionId'] = this.sectionId;
|
|
|
|
data['sectionName'] = this.sectionName;
|
|
|
|
data['ticketId'] = this.ticketId;
|
|
|
|
data['ticketReferenceNo'] = this.ticketReferenceNo;
|
|
|
|
data['ticketStatusInternalName'] = this.ticketStatusInternalName;
|
|
|
|
data['ticketStatusName'] = this.ticketStatusName;
|
|
|
|
data['ticketTypeId'] = this.ticketTypeId;
|
|
|
|
data['topicId'] = this.topicId;
|
|
|
|
data['topicName'] = this.topicName;
|
|
|
|
return data;
|
|
|
|
}
|
|
|
|
}
|