CustomerRequestDTO constructor

CustomerRequestDTO({
  1. List<String>? expands,
  2. CustomerRequestLinkDTO? links,
  3. CustomerRequestActionsDTO? actions,
  4. PagedDTOAttachmentDTO? attachments,
  5. PagedDTOCommentDTO? comments,
  6. DateDTO? createdDate,
  7. CustomerRequestStatusDTO? currentStatus,
  8. String? issueId,
  9. String? issueKey,
  10. PagedDTOUserDTO? participants,
  11. UserDTO? reporter,
  12. List<CustomerRequestFieldValueDTO>? requestFieldValues,
  13. RequestTypeDTO? requestType,
  14. String? requestTypeId,
  15. ServiceDeskDTO? serviceDesk,
  16. String? serviceDeskId,
  17. PagedDTOSlaInformationDTO? sla,
  18. PagedDTOCustomerRequestStatusDTO? status,
})

Implementation

CustomerRequestDTO(
    {List<String>? expands,
    this.links,
    this.actions,
    this.attachments,
    this.comments,
    this.createdDate,
    this.currentStatus,
    this.issueId,
    this.issueKey,
    this.participants,
    this.reporter,
    List<CustomerRequestFieldValueDTO>? requestFieldValues,
    this.requestType,
    this.requestTypeId,
    this.serviceDesk,
    this.serviceDeskId,
    this.sla,
    this.status})
    : expands = expands ?? [],
      requestFieldValues = requestFieldValues ?? [];