/* Options: Date: 2025-10-27 21:55:03 Version: 8.80 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://duengageapi.uat.scadsoftware.com //Package: //GlobalNamespace: dtos //AddPropertyAccessors: True //SettersReturnThis: True //AddServiceStackTypes: True //AddResponseStatus: False //AddDescriptionAsComments: True //AddImplicitVersion: IncludeTypes: CurrencyRatesEdit.* //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="/currency_rates/{Id}", Verbs="PUT") @DataContract public static class CurrencyRatesEdit implements IReturn { @DataMember(Order=1) @Validate(Validator="NotNull") public Long Id = null; @DataMember(Order=2) @Validate(Validator="NotNull") public Integer TenantsId = null; @DataMember(Order=3) @Validate(Validator="NotNull") public Integer FromCurrenciesId = null; @DataMember(Order=4) @Validate(Validator="NotNull") public Integer ToCurrenciesId = null; @DataMember(Order=5) @Validate(Validator="NotNull") public Double ExchangeRate = null; @DataMember(Order=6) @Validate(Validator="NotNull") public Date EffectiveDate = null; public Long getId() { return Id; } public CurrencyRatesEdit setId(Long value) { this.Id = value; return this; } public Integer getTenantsId() { return TenantsId; } public CurrencyRatesEdit setTenantsId(Integer value) { this.TenantsId = value; return this; } public Integer getFromCurrenciesId() { return FromCurrenciesId; } public CurrencyRatesEdit setFromCurrenciesId(Integer value) { this.FromCurrenciesId = value; return this; } public Integer getToCurrenciesId() { return ToCurrenciesId; } public CurrencyRatesEdit setToCurrenciesId(Integer value) { this.ToCurrenciesId = value; return this; } public Double getExchangeRate() { return ExchangeRate; } public CurrencyRatesEdit setExchangeRate(Double value) { this.ExchangeRate = value; return this; } public Date getEffectiveDate() { return EffectiveDate; } public CurrencyRatesEdit setEffectiveDate(Date value) { this.EffectiveDate = value; return this; } private static Object responseType = CurrencyRatesEditResponse.class; public Object getResponseType() { return responseType; } } public static class CurrencyRatesEditResponse { @DataMember(Order=1) public Long Id = null; @DataMember(Order=2) public Integer TenantsId = null; @DataMember(Order=3) public Integer FromCurrenciesId = null; @DataMember(Order=4) public Integer ToCurrenciesId = null; @DataMember(Order=5) public Double ExchangeRate = null; @DataMember(Order=6) public Date EffectiveDate = null; @DataMember(Order=8) public ResponseStatus ResponseStatus = null; public Long getId() { return Id; } public CurrencyRatesEditResponse setId(Long value) { this.Id = value; return this; } public Integer getTenantsId() { return TenantsId; } public CurrencyRatesEditResponse setTenantsId(Integer value) { this.TenantsId = value; return this; } public Integer getFromCurrenciesId() { return FromCurrenciesId; } public CurrencyRatesEditResponse setFromCurrenciesId(Integer value) { this.FromCurrenciesId = value; return this; } public Integer getToCurrenciesId() { return ToCurrenciesId; } public CurrencyRatesEditResponse setToCurrenciesId(Integer value) { this.ToCurrenciesId = value; return this; } public Double getExchangeRate() { return ExchangeRate; } public CurrencyRatesEditResponse setExchangeRate(Double value) { this.ExchangeRate = value; return this; } public Date getEffectiveDate() { return EffectiveDate; } public CurrencyRatesEditResponse setEffectiveDate(Date value) { this.EffectiveDate = value; return this; } public ResponseStatus getResponseStatus() { return ResponseStatus; } public CurrencyRatesEditResponse setResponseStatus(ResponseStatus value) { this.ResponseStatus = value; return this; } } }