/* Options: Date: 2026-08-01 04:15:46 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: PayRulesCascadeRequest.* //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/workforce/payrules", Verbs="GET") public static class PayRulesCascadeRequest implements IReturn { public Integer PayRulePolicyId = null; public Integer VersionNumber = null; public Integer getPayRulePolicyId() { return PayRulePolicyId; } public PayRulesCascadeRequest setPayRulePolicyId(Integer value) { this.PayRulePolicyId = value; return this; } public Integer getVersionNumber() { return VersionNumber; } public PayRulesCascadeRequest setVersionNumber(Integer value) { this.VersionNumber = value; return this; } private static Object responseType = PayRulesCascadeResponse.class; public Object getResponseType() { return responseType; } } public static class PayRulesCascadeResponse { public PayRulePolicy Policy = null; public PayRulePolicyDoc Doc = null; public Integer VersionNumber = null; public ArrayList Versions = new ArrayList(); public Boolean CanEditRules = null; public ResponseStatus ResponseStatus = null; public PayRulePolicy getPolicy() { return Policy; } public PayRulesCascadeResponse setPolicy(PayRulePolicy value) { this.Policy = value; return this; } public PayRulePolicyDoc getDoc() { return Doc; } public PayRulesCascadeResponse setDoc(PayRulePolicyDoc value) { this.Doc = value; return this; } public Integer getVersionNumber() { return VersionNumber; } public PayRulesCascadeResponse setVersionNumber(Integer value) { this.VersionNumber = value; return this; } public ArrayList getVersions() { return Versions; } public PayRulesCascadeResponse setVersions(ArrayList value) { this.Versions = value; return this; } public Boolean isCanEditRules() { return CanEditRules; } public PayRulesCascadeResponse setCanEditRules(Boolean value) { this.CanEditRules = value; return this; } public ResponseStatus getResponseStatus() { return ResponseStatus; } public PayRulesCascadeResponse setResponseStatus(ResponseStatus value) { this.ResponseStatus = value; return this; } } public static class PayRulePolicyDoc { public String Intro = null; public String LockLine = null; public String TemplateName = null; public ArrayList Rules = new ArrayList(); public String getIntro() { return Intro; } public PayRulePolicyDoc setIntro(String value) { this.Intro = value; return this; } public String getLockLine() { return LockLine; } public PayRulePolicyDoc setLockLine(String value) { this.LockLine = value; return this; } public String getTemplateName() { return TemplateName; } public PayRulePolicyDoc setTemplateName(String value) { this.TemplateName = value; return this; } public ArrayList getRules() { return Rules; } public PayRulePolicyDoc setRules(ArrayList value) { this.Rules = value; return this; } } public static class PayRulePolicy { public Integer PayRulePolicyId = null; public UUID PayRulePolicyUID = null; public String Name = null; public String ScopeLevel = null; public UUID BranchId = null; public String JurisdictionKey = null; public String CbaKey = null; public String WorkTypeKey = null; public Integer CurrentVersion = null; public Boolean IsActive = null; public String BranchName = null; public Integer getPayRulePolicyId() { return PayRulePolicyId; } public PayRulePolicy setPayRulePolicyId(Integer value) { this.PayRulePolicyId = value; return this; } public UUID getPayRulePolicyUID() { return PayRulePolicyUID; } public PayRulePolicy setPayRulePolicyUID(UUID value) { this.PayRulePolicyUID = value; return this; } public String getName() { return Name; } public PayRulePolicy setName(String value) { this.Name = value; return this; } public String getScopeLevel() { return ScopeLevel; } public PayRulePolicy setScopeLevel(String value) { this.ScopeLevel = value; return this; } public UUID getBranchId() { return BranchId; } public PayRulePolicy setBranchId(UUID value) { this.BranchId = value; return this; } public String getJurisdictionKey() { return JurisdictionKey; } public PayRulePolicy setJurisdictionKey(String value) { this.JurisdictionKey = value; return this; } public String getCbaKey() { return CbaKey; } public PayRulePolicy setCbaKey(String value) { this.CbaKey = value; return this; } public String getWorkTypeKey() { return WorkTypeKey; } public PayRulePolicy setWorkTypeKey(String value) { this.WorkTypeKey = value; return this; } public Integer getCurrentVersion() { return CurrentVersion; } public PayRulePolicy setCurrentVersion(Integer value) { this.CurrentVersion = value; return this; } public Boolean getIsActive() { return IsActive; } public PayRulePolicy setIsActive(Boolean value) { this.IsActive = value; return this; } public String getBranchName() { return BranchName; } public PayRulePolicy setBranchName(String value) { this.BranchName = value; return this; } } public static class PayRulePolicyVersionInfo { public Integer PayRulePolicyVersionId = null; public Integer VersionNumber = null; public String ChangeNote = null; public String ChangedByName = null; public Date CreatedAtUtc = null; public Integer getPayRulePolicyVersionId() { return PayRulePolicyVersionId; } public PayRulePolicyVersionInfo setPayRulePolicyVersionId(Integer value) { this.PayRulePolicyVersionId = value; return this; } public Integer getVersionNumber() { return VersionNumber; } public PayRulePolicyVersionInfo setVersionNumber(Integer value) { this.VersionNumber = value; return this; } public String getChangeNote() { return ChangeNote; } public PayRulePolicyVersionInfo setChangeNote(String value) { this.ChangeNote = value; return this; } public String getChangedByName() { return ChangedByName; } public PayRulePolicyVersionInfo setChangedByName(String value) { this.ChangedByName = value; return this; } public Date getCreatedAtUtc() { return CreatedAtUtc; } public PayRulePolicyVersionInfo setCreatedAtUtc(Date value) { this.CreatedAtUtc = value; return this; } } public static class PayRuleDef { public String RuleId = null; public String Name = null; public String Kind = null; public String Demand = null; public String SourcePolicyName = null; public String CascadeLevel = null; public String Why = null; public String Change = null; public String OverrideWho = null; public String OverrideConsequence = null; public String NoNote = null; public String LegalVerify = null; public HashMap Params = new HashMap(); public ArrayList Doc = new ArrayList(); public PayRuleTune Tune = null; public String getRuleId() { return RuleId; } public PayRuleDef setRuleId(String value) { this.RuleId = value; return this; } public String getName() { return Name; } public PayRuleDef setName(String value) { this.Name = value; return this; } public String getKind() { return Kind; } public PayRuleDef setKind(String value) { this.Kind = value; return this; } public String getDemand() { return Demand; } public PayRuleDef setDemand(String value) { this.Demand = value; return this; } public String getSourcePolicyName() { return SourcePolicyName; } public PayRuleDef setSourcePolicyName(String value) { this.SourcePolicyName = value; return this; } public String getCascadeLevel() { return CascadeLevel; } public PayRuleDef setCascadeLevel(String value) { this.CascadeLevel = value; return this; } public String getWhy() { return Why; } public PayRuleDef setWhy(String value) { this.Why = value; return this; } public String getChange() { return Change; } public PayRuleDef setChange(String value) { this.Change = value; return this; } public String getOverrideWho() { return OverrideWho; } public PayRuleDef setOverrideWho(String value) { this.OverrideWho = value; return this; } public String getOverrideConsequence() { return OverrideConsequence; } public PayRuleDef setOverrideConsequence(String value) { this.OverrideConsequence = value; return this; } public String getNoNote() { return NoNote; } public PayRuleDef setNoNote(String value) { this.NoNote = value; return this; } public String getLegalVerify() { return LegalVerify; } public PayRuleDef setLegalVerify(String value) { this.LegalVerify = value; return this; } public HashMap getParams() { return Params; } public PayRuleDef setParams(HashMap value) { this.Params = value; return this; } public ArrayList getDoc() { return Doc; } public PayRuleDef setDoc(ArrayList value) { this.Doc = value; return this; } public PayRuleTune getTune() { return Tune; } public PayRuleDef setTune(PayRuleTune value) { this.Tune = value; return this; } } public static class PayRuleDocSection { public String H = null; public String T = null; public String getH() { return H; } public PayRuleDocSection setH(String value) { this.H = value; return this; } public String getT() { return T; } public PayRuleDocSection setT(String value) { this.T = value; return this; } } public static class PayRuleTune { public String Intro = null; public ArrayList Options = new ArrayList(); public String getIntro() { return Intro; } public PayRuleTune setIntro(String value) { this.Intro = value; return this; } public ArrayList getOptions() { return Options; } public PayRuleTune setOptions(ArrayList value) { this.Options = value; return this; } } public static class PayRuleTuneOption { public String Label = null; public String Sub = null; public String getLabel() { return Label; } public PayRuleTuneOption setLabel(String value) { this.Label = value; return this; } public String getSub() { return Sub; } public PayRuleTuneOption setSub(String value) { this.Sub = value; return this; } } }