/* Options: Date: 2026-08-01 02:09:43 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: CoverageSelfSwapRequest.* //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/coverage/self/swap", Verbs="POST,OPTIONS") public static class CoverageSelfSwapRequest implements IReturn { public Integer AItemId = null; public Integer BItemId = null; public Integer TargetContactID = null; public Boolean Broadcast = null; public Integer TeamChannelId = null; public Integer getAItemId() { return AItemId; } public CoverageSelfSwapRequest setAItemId(Integer value) { this.AItemId = value; return this; } public Integer getBItemId() { return BItemId; } public CoverageSelfSwapRequest setBItemId(Integer value) { this.BItemId = value; return this; } public Integer getTargetContactID() { return TargetContactID; } public CoverageSelfSwapRequest setTargetContactID(Integer value) { this.TargetContactID = value; return this; } public Boolean isBroadcast() { return Broadcast; } public CoverageSelfSwapRequest setBroadcast(Boolean value) { this.Broadcast = value; return this; } public Integer getTeamChannelId() { return TeamChannelId; } public CoverageSelfSwapRequest setTeamChannelId(Integer value) { this.TeamChannelId = value; return this; } private static Object responseType = CoverageSelfCardResponse.class; public Object getResponseType() { return responseType; } } public static class CoverageSelfCardResponse { public ResponseStatus ResponseStatus = null; public CoverageSelfCard Card = null; public ResponseStatus getResponseStatus() { return ResponseStatus; } public CoverageSelfCardResponse setResponseStatus(ResponseStatus value) { this.ResponseStatus = value; return this; } public CoverageSelfCard getCard() { return Card; } public CoverageSelfCardResponse setCard(CoverageSelfCard value) { this.Card = value; return this; } } public static class CoverageSelfCard { public Integer CoverageGapId = null; public String Kind = null; public String Status = null; public String ShiftDay = null; public String ShiftWindow = null; public Date ShiftStartUtc = null; public String Site = null; public String RoleNeeded = null; public String ExpiryLabel = null; public String PosterName = null; public Integer EligibleCount = null; public Integer IneligibleCount = null; public CoverageSelfEligibility MyEligibility = null; public ArrayList Matrix = new ArrayList(); public String SwapState = null; public String SwapFromName = null; public String SwapTargetName = null; public String OfferShift = null; public String WantShift = null; public Boolean ConflictOk = null; public String ConflictLabel = null; public Boolean CanRespond = null; public Integer getCoverageGapId() { return CoverageGapId; } public CoverageSelfCard setCoverageGapId(Integer value) { this.CoverageGapId = value; return this; } public String getKind() { return Kind; } public CoverageSelfCard setKind(String value) { this.Kind = value; return this; } public String getStatus() { return Status; } public CoverageSelfCard setStatus(String value) { this.Status = value; return this; } public String getShiftDay() { return ShiftDay; } public CoverageSelfCard setShiftDay(String value) { this.ShiftDay = value; return this; } public String getShiftWindow() { return ShiftWindow; } public CoverageSelfCard setShiftWindow(String value) { this.ShiftWindow = value; return this; } public Date getShiftStartUtc() { return ShiftStartUtc; } public CoverageSelfCard setShiftStartUtc(Date value) { this.ShiftStartUtc = value; return this; } public String getSite() { return Site; } public CoverageSelfCard setSite(String value) { this.Site = value; return this; } public String getRoleNeeded() { return RoleNeeded; } public CoverageSelfCard setRoleNeeded(String value) { this.RoleNeeded = value; return this; } public String getExpiryLabel() { return ExpiryLabel; } public CoverageSelfCard setExpiryLabel(String value) { this.ExpiryLabel = value; return this; } public String getPosterName() { return PosterName; } public CoverageSelfCard setPosterName(String value) { this.PosterName = value; return this; } public Integer getEligibleCount() { return EligibleCount; } public CoverageSelfCard setEligibleCount(Integer value) { this.EligibleCount = value; return this; } public Integer getIneligibleCount() { return IneligibleCount; } public CoverageSelfCard setIneligibleCount(Integer value) { this.IneligibleCount = value; return this; } public CoverageSelfEligibility getMyEligibility() { return MyEligibility; } public CoverageSelfCard setMyEligibility(CoverageSelfEligibility value) { this.MyEligibility = value; return this; } public ArrayList getMatrix() { return Matrix; } public CoverageSelfCard setMatrix(ArrayList value) { this.Matrix = value; return this; } public String getSwapState() { return SwapState; } public CoverageSelfCard setSwapState(String value) { this.SwapState = value; return this; } public String getSwapFromName() { return SwapFromName; } public CoverageSelfCard setSwapFromName(String value) { this.SwapFromName = value; return this; } public String getSwapTargetName() { return SwapTargetName; } public CoverageSelfCard setSwapTargetName(String value) { this.SwapTargetName = value; return this; } public String getOfferShift() { return OfferShift; } public CoverageSelfCard setOfferShift(String value) { this.OfferShift = value; return this; } public String getWantShift() { return WantShift; } public CoverageSelfCard setWantShift(String value) { this.WantShift = value; return this; } public Boolean isConflictOk() { return ConflictOk; } public CoverageSelfCard setConflictOk(Boolean value) { this.ConflictOk = value; return this; } public String getConflictLabel() { return ConflictLabel; } public CoverageSelfCard setConflictLabel(String value) { this.ConflictLabel = value; return this; } public Boolean isCanRespond() { return CanRespond; } public CoverageSelfCard setCanRespond(Boolean value) { this.CanRespond = value; return this; } } public static class CoverageSelfEligibility { public String Tone = null; public String Text = null; public Boolean CanClaim = null; public String ClaimLabel = null; public String getTone() { return Tone; } public CoverageSelfEligibility setTone(String value) { this.Tone = value; return this; } public String getText() { return Text; } public CoverageSelfEligibility setText(String value) { this.Text = value; return this; } public Boolean isCanClaim() { return CanClaim; } public CoverageSelfEligibility setCanClaim(Boolean value) { this.CanClaim = value; return this; } public String getClaimLabel() { return ClaimLabel; } public CoverageSelfEligibility setClaimLabel(String value) { this.ClaimLabel = value; return this; } } public static class CoverageSelfMatrixRow { public String Name = null; public String Note = null; public String Tone = null; public String getName() { return Name; } public CoverageSelfMatrixRow setName(String value) { this.Name = value; return this; } public String getNote() { return Note; } public CoverageSelfMatrixRow setNote(String value) { this.Note = value; return this; } public String getTone() { return Tone; } public CoverageSelfMatrixRow setTone(String value) { this.Tone = value; return this; } } }