/* Options: Date: 2025-12-06 06:44:54 Version: 8.80 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.dev.dynamics.trendsic.com //Package: //GlobalNamespace: dtos //AddPropertyAccessors: True //SettersReturnThis: True //AddServiceStackTypes: True //AddResponseStatus: False //AddDescriptionAsComments: True //AddImplicitVersion: IncludeTypes: CalendarRequest.* //ExcludeTypes: //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,java.io.InputStream,net.servicestack.client.* */ import java.math.*; import java.util.*; import java.io.InputStream; import net.servicestack.client.*; public class dtos { @Route(Path="/v1/Calendar/{CalendarId}", Verbs="GET,OPTIONS") // @Route(Path="/v1/Calendar/{CalendarId}/{StartDate}/{EndDate}", Verbs="GET,OPTIONS") // @Route(Path="/v1/Calendar/CrewMember/Availability/{ContactId}/{StartDate}/{EndDate}", Verbs="GET,OPTIONS") // @Route(Path="/v1/Calendar/Project/{StartDate}/{EndDate}", Verbs="GET,OPTIONS") // @Route(Path="/v1/Calendar/Project/{ProjectId}/{StartDate}/{EndDate}", Verbs="GET,OPTIONS") // @Route(Path="/v1/Calendar/Project/{ProjectId}", Verbs="GET,OPTIONS") // @Route(Path="/v1/Calendar/Project/{ProjectId}/CalendarEventId/{CalendarEventId}", Verbs="GET,OPTIONS") // @Route(Path="/v1/Calendar/Project/ExpandRecurring/{ProjectId}/{StartDate}/{EndDate}", Verbs="GET,OPTIONS") // @Route(Path="/v1/Calendar/Project/ExpandRecurring/{ProjectId}", Verbs="GET,OPTIONS") // @Route(Path="/v1/Calendar/Project/ExpandRecurring/{ProjectId}/CalendarEventId/{CalendarEventId}", Verbs="GET,OPTIONS") // @Route(Path="/v1/Calendar/Project/ExpandRecurring/ExpandAll/{ProjectId}/{StartDate}/{EndDate}", Verbs="GET,OPTIONS") // @Route(Path="/v1/Calendar/Location/{LocationId}", Verbs="GET,OPTIONS") // @Route(Path="/v1/Calendar/Agent/{AgentId}", Verbs="GET,OPTIONS") public static class CalendarRequest { public UUID CalendarId = null; public Integer CalendarEventId = null; public CalendarType CalendarType = null; public CalendarFormat CalendarFormat = null; public Integer ContactId = null; public Date StartDate = null; public Date EndDate = null; public Integer ProjectId = null; public UUID LocationId = null; public Integer AgentId = null; public Boolean ExpandRecurringEvents = null; public Boolean ExpandAll = null; public UUID getCalendarId() { return CalendarId; } public CalendarRequest setCalendarId(UUID value) { this.CalendarId = value; return this; } public Integer getCalendarEventId() { return CalendarEventId; } public CalendarRequest setCalendarEventId(Integer value) { this.CalendarEventId = value; return this; } public CalendarType getCalendarType() { return CalendarType; } public CalendarRequest setCalendarType(CalendarType value) { this.CalendarType = value; return this; } public CalendarFormat getCalendarFormat() { return CalendarFormat; } public CalendarRequest setCalendarFormat(CalendarFormat value) { this.CalendarFormat = value; return this; } public Integer getContactId() { return ContactId; } public CalendarRequest setContactId(Integer value) { this.ContactId = value; return this; } public Date getStartDate() { return StartDate; } public CalendarRequest setStartDate(Date value) { this.StartDate = value; return this; } public Date getEndDate() { return EndDate; } public CalendarRequest setEndDate(Date value) { this.EndDate = value; return this; } public Integer getProjectId() { return ProjectId; } public CalendarRequest setProjectId(Integer value) { this.ProjectId = value; return this; } public UUID getLocationId() { return LocationId; } public CalendarRequest setLocationId(UUID value) { this.LocationId = value; return this; } public Integer getAgentId() { return AgentId; } public CalendarRequest setAgentId(Integer value) { this.AgentId = value; return this; } public Boolean isExpandRecurringEvents() { return ExpandRecurringEvents; } public CalendarRequest setExpandRecurringEvents(Boolean value) { this.ExpandRecurringEvents = value; return this; } public Boolean isExpandAll() { return ExpandAll; } public CalendarRequest setExpandAll(Boolean value) { this.ExpandAll = value; return this; } } public static enum CalendarType { All, Pera, Google; } public static enum CalendarFormat { Standard, Ics; } }