/* Options: Date: 2026-09-05 07:47:58 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: DispatchHoldLiftRequest.* //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/dispatch/holds/{HoldId}/lift", Verbs="POST,OPTIONS") public static class DispatchHoldLiftRequest implements IReturn { public Integer HoldId = null; public Integer getHoldId() { return HoldId; } public DispatchHoldLiftRequest setHoldId(Integer value) { this.HoldId = value; return this; } private static Object responseType = DispatchHoldsResponse.class; public Object getResponseType() { return responseType; } } public static class DispatchHoldsResponse { public ArrayList Holds = new ArrayList(); public ArrayList Windows = new ArrayList(); public ArrayList Scopes = new ArrayList(); public DispatchHoldSuggestionView Suggestion = null; public ResponseStatus ResponseStatus = null; public ArrayList getHolds() { return Holds; } public DispatchHoldsResponse setHolds(ArrayList value) { this.Holds = value; return this; } public ArrayList getWindows() { return Windows; } public DispatchHoldsResponse setWindows(ArrayList value) { this.Windows = value; return this; } public ArrayList getScopes() { return Scopes; } public DispatchHoldsResponse setScopes(ArrayList value) { this.Scopes = value; return this; } public DispatchHoldSuggestionView getSuggestion() { return Suggestion; } public DispatchHoldsResponse setSuggestion(DispatchHoldSuggestionView value) { this.Suggestion = value; return this; } public ResponseStatus getResponseStatus() { return ResponseStatus; } public DispatchHoldsResponse setResponseStatus(ResponseStatus value) { this.ResponseStatus = value; return this; } } public static class DispatchHoldView { public Integer HoldId = null; public String Code = null; public String ScopeKind = null; public String ScopeKey = null; public String ScopeLabel = null; public String Reason = null; public String Note = null; public Date StartUtc = null; public Date EndUtc = null; public String Source = null; public String IncidentRef = null; public Date LiftedUtc = null; public String LiftedBy = null; public Date CreatedUtc = null; public String CreatedBy = null; public String Status = null; public Integer getHoldId() { return HoldId; } public DispatchHoldView setHoldId(Integer value) { this.HoldId = value; return this; } public String getCode() { return Code; } public DispatchHoldView setCode(String value) { this.Code = value; return this; } public String getScopeKind() { return ScopeKind; } public DispatchHoldView setScopeKind(String value) { this.ScopeKind = value; return this; } public String getScopeKey() { return ScopeKey; } public DispatchHoldView setScopeKey(String value) { this.ScopeKey = value; return this; } public String getScopeLabel() { return ScopeLabel; } public DispatchHoldView setScopeLabel(String value) { this.ScopeLabel = value; return this; } public String getReason() { return Reason; } public DispatchHoldView setReason(String value) { this.Reason = value; return this; } public String getNote() { return Note; } public DispatchHoldView setNote(String value) { this.Note = value; return this; } public Date getStartUtc() { return StartUtc; } public DispatchHoldView setStartUtc(Date value) { this.StartUtc = value; return this; } public Date getEndUtc() { return EndUtc; } public DispatchHoldView setEndUtc(Date value) { this.EndUtc = value; return this; } public String getSource() { return Source; } public DispatchHoldView setSource(String value) { this.Source = value; return this; } public String getIncidentRef() { return IncidentRef; } public DispatchHoldView setIncidentRef(String value) { this.IncidentRef = value; return this; } public Date getLiftedUtc() { return LiftedUtc; } public DispatchHoldView setLiftedUtc(Date value) { this.LiftedUtc = value; return this; } public String getLiftedBy() { return LiftedBy; } public DispatchHoldView setLiftedBy(String value) { this.LiftedBy = value; return this; } public Date getCreatedUtc() { return CreatedUtc; } public DispatchHoldView setCreatedUtc(Date value) { this.CreatedUtc = value; return this; } public String getCreatedBy() { return CreatedBy; } public DispatchHoldView setCreatedBy(String value) { this.CreatedBy = value; return this; } public String getStatus() { return Status; } public DispatchHoldView setStatus(String value) { this.Status = value; return this; } } public static class DispatchOfflineWindowView { public Integer OfflineWindowId = null; public String FromHour = null; public String ToHour = null; public Integer getOfflineWindowId() { return OfflineWindowId; } public DispatchOfflineWindowView setOfflineWindowId(Integer value) { this.OfflineWindowId = value; return this; } public String getFromHour() { return FromHour; } public DispatchOfflineWindowView setFromHour(String value) { this.FromHour = value; return this; } public String getToHour() { return ToHour; } public DispatchOfflineWindowView setToHour(String value) { this.ToHour = value; return this; } } public static class DispatchHoldScopeView { public String Kind = null; public String Key = null; public String Label = null; public String getKind() { return Kind; } public DispatchHoldScopeView setKind(String value) { this.Kind = value; return this; } public String getKey() { return Key; } public DispatchHoldScopeView setKey(String value) { this.Key = value; return this; } public String getLabel() { return Label; } public DispatchHoldScopeView setLabel(String value) { this.Label = value; return this; } } public static class DispatchHoldSuggestionView { public String ForDate = null; public String Kind = null; public Integer Severity = null; public String Headline = null; public String DayLabel = null; public String ScopeKind = null; public String ScopeLabel = null; public String Reason = null; public Date StartUtc = null; public Date EndUtc = null; public String WindowLocal = null; public String Text = null; public String getForDate() { return ForDate; } public DispatchHoldSuggestionView setForDate(String value) { this.ForDate = value; return this; } public String getKind() { return Kind; } public DispatchHoldSuggestionView setKind(String value) { this.Kind = value; return this; } public Integer getSeverity() { return Severity; } public DispatchHoldSuggestionView setSeverity(Integer value) { this.Severity = value; return this; } public String getHeadline() { return Headline; } public DispatchHoldSuggestionView setHeadline(String value) { this.Headline = value; return this; } public String getDayLabel() { return DayLabel; } public DispatchHoldSuggestionView setDayLabel(String value) { this.DayLabel = value; return this; } public String getScopeKind() { return ScopeKind; } public DispatchHoldSuggestionView setScopeKind(String value) { this.ScopeKind = value; return this; } public String getScopeLabel() { return ScopeLabel; } public DispatchHoldSuggestionView setScopeLabel(String value) { this.ScopeLabel = value; return this; } public String getReason() { return Reason; } public DispatchHoldSuggestionView setReason(String value) { this.Reason = value; return this; } public Date getStartUtc() { return StartUtc; } public DispatchHoldSuggestionView setStartUtc(Date value) { this.StartUtc = value; return this; } public Date getEndUtc() { return EndUtc; } public DispatchHoldSuggestionView setEndUtc(Date value) { this.EndUtc = value; return this; } public String getWindowLocal() { return WindowLocal; } public DispatchHoldSuggestionView setWindowLocal(String value) { this.WindowLocal = value; return this; } public String getText() { return Text; } public DispatchHoldSuggestionView setText(String value) { this.Text = value; return this; } } }