/* Options: Date: 2026-08-01 03:01:56 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: ClientWorkerRestrictionSetRequest.* //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/restriction", Verbs="POST") public static class ClientWorkerRestrictionSetRequest implements IReturn { public UUID BranchId = null; public Integer ClientContactID = null; public Integer WorkerContactID = null; public String RestrictionLevel = null; public String Reason = null; public Integer SourceRatingID = null; public UUID getBranchId() { return BranchId; } public ClientWorkerRestrictionSetRequest setBranchId(UUID value) { this.BranchId = value; return this; } public Integer getClientContactID() { return ClientContactID; } public ClientWorkerRestrictionSetRequest setClientContactID(Integer value) { this.ClientContactID = value; return this; } public Integer getWorkerContactID() { return WorkerContactID; } public ClientWorkerRestrictionSetRequest setWorkerContactID(Integer value) { this.WorkerContactID = value; return this; } public String getRestrictionLevel() { return RestrictionLevel; } public ClientWorkerRestrictionSetRequest setRestrictionLevel(String value) { this.RestrictionLevel = value; return this; } public String getReason() { return Reason; } public ClientWorkerRestrictionSetRequest setReason(String value) { this.Reason = value; return this; } public Integer getSourceRatingID() { return SourceRatingID; } public ClientWorkerRestrictionSetRequest setSourceRatingID(Integer value) { this.SourceRatingID = value; return this; } private static Object responseType = ClientWorkerRestrictionsResponse.class; public Object getResponseType() { return responseType; } } public static class ClientWorkerRestrictionsResponse { public ArrayList Restrictions = new ArrayList(); public ArrayList Clients = new ArrayList(); public ArrayList Workers = new ArrayList(); public ResponseStatus ResponseStatus = null; public ArrayList getRestrictions() { return Restrictions; } public ClientWorkerRestrictionsResponse setRestrictions(ArrayList value) { this.Restrictions = value; return this; } public ArrayList getClients() { return Clients; } public ClientWorkerRestrictionsResponse setClients(ArrayList value) { this.Clients = value; return this; } public ArrayList getWorkers() { return Workers; } public ClientWorkerRestrictionsResponse setWorkers(ArrayList value) { this.Workers = value; return this; } public ResponseStatus getResponseStatus() { return ResponseStatus; } public ClientWorkerRestrictionsResponse setResponseStatus(ResponseStatus value) { this.ResponseStatus = value; return this; } } public static class ClientWorkerRestriction { public Integer ClientWorkerRestrictionID = null; public UUID BranchId = null; public Integer ClientContactID = null; public Integer WorkerContactID = null; public String RestrictionLevel = null; public String Reason = null; public Integer SourceRatingID = null; public String CreatedBy = null; public Date CreatedAt = null; public Date UpdatedAt = null; public String ClientName = null; public String WorkerName = null; public String LevelLabel = null; public Integer getClientWorkerRestrictionID() { return ClientWorkerRestrictionID; } public ClientWorkerRestriction setClientWorkerRestrictionID(Integer value) { this.ClientWorkerRestrictionID = value; return this; } public UUID getBranchId() { return BranchId; } public ClientWorkerRestriction setBranchId(UUID value) { this.BranchId = value; return this; } public Integer getClientContactID() { return ClientContactID; } public ClientWorkerRestriction setClientContactID(Integer value) { this.ClientContactID = value; return this; } public Integer getWorkerContactID() { return WorkerContactID; } public ClientWorkerRestriction setWorkerContactID(Integer value) { this.WorkerContactID = value; return this; } public String getRestrictionLevel() { return RestrictionLevel; } public ClientWorkerRestriction setRestrictionLevel(String value) { this.RestrictionLevel = value; return this; } public String getReason() { return Reason; } public ClientWorkerRestriction setReason(String value) { this.Reason = value; return this; } public Integer getSourceRatingID() { return SourceRatingID; } public ClientWorkerRestriction setSourceRatingID(Integer value) { this.SourceRatingID = value; return this; } public String getCreatedBy() { return CreatedBy; } public ClientWorkerRestriction setCreatedBy(String value) { this.CreatedBy = value; return this; } public Date getCreatedAt() { return CreatedAt; } public ClientWorkerRestriction setCreatedAt(Date value) { this.CreatedAt = value; return this; } public Date getUpdatedAt() { return UpdatedAt; } public ClientWorkerRestriction setUpdatedAt(Date value) { this.UpdatedAt = value; return this; } public String getClientName() { return ClientName; } public ClientWorkerRestriction setClientName(String value) { this.ClientName = value; return this; } public String getWorkerName() { return WorkerName; } public ClientWorkerRestriction setWorkerName(String value) { this.WorkerName = value; return this; } public String getLevelLabel() { return LevelLabel; } public ClientWorkerRestriction setLevelLabel(String value) { this.LevelLabel = value; return this; } } public static class RestrictionParty { public Integer ContactId = null; public String Name = null; public Integer getContactId() { return ContactId; } public RestrictionParty setContactId(Integer value) { this.ContactId = value; return this; } public String getName() { return Name; } public RestrictionParty setName(String value) { this.Name = value; return this; } } }