microsoft.dynamics.crm.entity.Monthlyfiscalcalendar Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of odata-client-microsoft-dynamics Show documentation
Show all versions of odata-client-microsoft-dynamics Show documentation
Java client as template for Microsoft Dynamics organisation endpoints
package microsoft.dynamics.crm.entity;
import com.fasterxml.jackson.annotation.JsonAnySetter;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonInclude.Include;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
import com.github.davidmoten.odata.client.ClientException;
import com.github.davidmoten.odata.client.NameValue;
import com.github.davidmoten.odata.client.ODataEntityType;
import com.github.davidmoten.odata.client.RequestOptions;
import com.github.davidmoten.odata.client.Util;
import com.github.davidmoten.odata.client.annotation.NavigationProperty;
import com.github.davidmoten.odata.client.annotation.Property;
import com.github.davidmoten.odata.client.internal.ChangedFields;
import com.github.davidmoten.odata.client.internal.RequestHelper;
import com.github.davidmoten.odata.client.internal.UnmappedFields;
import java.math.BigDecimal;
import java.time.OffsetDateTime;
import java.util.Optional;
import microsoft.dynamics.crm.entity.collection.request.AsyncoperationCollectionRequest;
import microsoft.dynamics.crm.entity.collection.request.BulkdeletefailureCollectionRequest;
import microsoft.dynamics.crm.entity.request.SystemuserRequest;
import microsoft.dynamics.crm.entity.request.TransactioncurrencyRequest;
@JsonPropertyOrder({
"@odata.type",
"month8",
"month12_base",
"_modifiedonbehalfby_value",
"month10_base",
"exchangerate",
"_createdonbehalfby_value",
"month6_base",
"month9",
"month9_base",
"fiscalperiodtype",
"month4_base",
"_createdby_value",
"month3_base",
"month12",
"userfiscalcalendarid",
"month1",
"_businessunitid_value",
"createdon",
"month11_base",
"month2",
"_modifiedby_value",
"month5",
"month7",
"modifiedon",
"month11",
"effectiveon",
"month6",
"month8_base",
"month7_base",
"month10",
"month5_base",
"month2_base",
"timezoneruleversionnumber",
"month1_base",
"month3",
"utcconversiontimezonecode",
"_transactioncurrencyid_value",
"_salespersonid_value",
"month4"})
@JsonInclude(Include.NON_NULL)
public class Monthlyfiscalcalendar extends Crmbaseentity implements ODataEntityType {
@Override
public String odataTypeName() {
return "Microsoft.Dynamics.CRM.monthlyfiscalcalendar";
}
@JsonProperty("month8")
protected BigDecimal month8;
@JsonProperty("month12_base")
protected BigDecimal month12_base;
@JsonProperty("_modifiedonbehalfby_value")
protected String _modifiedonbehalfby_value;
@JsonProperty("month10_base")
protected BigDecimal month10_base;
@JsonProperty("exchangerate")
protected BigDecimal exchangerate;
@JsonProperty("_createdonbehalfby_value")
protected String _createdonbehalfby_value;
@JsonProperty("month6_base")
protected BigDecimal month6_base;
@JsonProperty("month9")
protected BigDecimal month9;
@JsonProperty("month9_base")
protected BigDecimal month9_base;
@JsonProperty("fiscalperiodtype")
protected Integer fiscalperiodtype;
@JsonProperty("month4_base")
protected BigDecimal month4_base;
@JsonProperty("_createdby_value")
protected String _createdby_value;
@JsonProperty("month3_base")
protected BigDecimal month3_base;
@JsonProperty("month12")
protected BigDecimal month12;
@JsonProperty("userfiscalcalendarid")
protected String userfiscalcalendarid;
@JsonProperty("month1")
protected BigDecimal month1;
@JsonProperty("_businessunitid_value")
protected String _businessunitid_value;
@JsonProperty("createdon")
protected OffsetDateTime createdon;
@JsonProperty("month11_base")
protected BigDecimal month11_base;
@JsonProperty("month2")
protected BigDecimal month2;
@JsonProperty("_modifiedby_value")
protected String _modifiedby_value;
@JsonProperty("month5")
protected BigDecimal month5;
@JsonProperty("month7")
protected BigDecimal month7;
@JsonProperty("modifiedon")
protected OffsetDateTime modifiedon;
@JsonProperty("month11")
protected BigDecimal month11;
@JsonProperty("effectiveon")
protected OffsetDateTime effectiveon;
@JsonProperty("month6")
protected BigDecimal month6;
@JsonProperty("month8_base")
protected BigDecimal month8_base;
@JsonProperty("month7_base")
protected BigDecimal month7_base;
@JsonProperty("month10")
protected BigDecimal month10;
@JsonProperty("month5_base")
protected BigDecimal month5_base;
@JsonProperty("month2_base")
protected BigDecimal month2_base;
@JsonProperty("timezoneruleversionnumber")
protected Integer timezoneruleversionnumber;
@JsonProperty("month1_base")
protected BigDecimal month1_base;
@JsonProperty("month3")
protected BigDecimal month3;
@JsonProperty("utcconversiontimezonecode")
protected Integer utcconversiontimezonecode;
@JsonProperty("_transactioncurrencyid_value")
protected String _transactioncurrencyid_value;
@JsonProperty("_salespersonid_value")
protected String _salespersonid_value;
@JsonProperty("month4")
protected BigDecimal month4;
protected Monthlyfiscalcalendar() {
super();
}
/**
* Returns a builder which is used to create a new
* instance of this class (given that this class is immutable).
*
* @return a new Builder for this class
*/
// Suffix used on builder factory method to differentiate the method
// from static builder methods on superclasses
public static Builder builderMonthlyfiscalcalendar() {
return new Builder();
}
public static final class Builder {
private BigDecimal month8;
private BigDecimal month12_base;
private String _modifiedonbehalfby_value;
private BigDecimal month10_base;
private BigDecimal exchangerate;
private String _createdonbehalfby_value;
private BigDecimal month6_base;
private BigDecimal month9;
private BigDecimal month9_base;
private Integer fiscalperiodtype;
private BigDecimal month4_base;
private String _createdby_value;
private BigDecimal month3_base;
private BigDecimal month12;
private String userfiscalcalendarid;
private BigDecimal month1;
private String _businessunitid_value;
private OffsetDateTime createdon;
private BigDecimal month11_base;
private BigDecimal month2;
private String _modifiedby_value;
private BigDecimal month5;
private BigDecimal month7;
private OffsetDateTime modifiedon;
private BigDecimal month11;
private OffsetDateTime effectiveon;
private BigDecimal month6;
private BigDecimal month8_base;
private BigDecimal month7_base;
private BigDecimal month10;
private BigDecimal month5_base;
private BigDecimal month2_base;
private Integer timezoneruleversionnumber;
private BigDecimal month1_base;
private BigDecimal month3;
private Integer utcconversiontimezonecode;
private String _transactioncurrencyid_value;
private String _salespersonid_value;
private BigDecimal month4;
private ChangedFields changedFields = new ChangedFields();
Builder() {
// prevent instantiation
}
public Builder month8(BigDecimal month8) {
this.month8 = month8;
this.changedFields = changedFields.add("month8");
return this;
}
public Builder month12_base(BigDecimal month12_base) {
this.month12_base = month12_base;
this.changedFields = changedFields.add("month12_base");
return this;
}
public Builder _modifiedonbehalfby_value(String _modifiedonbehalfby_value) {
this._modifiedonbehalfby_value = _modifiedonbehalfby_value;
this.changedFields = changedFields.add("_modifiedonbehalfby_value");
return this;
}
public Builder month10_base(BigDecimal month10_base) {
this.month10_base = month10_base;
this.changedFields = changedFields.add("month10_base");
return this;
}
public Builder exchangerate(BigDecimal exchangerate) {
this.exchangerate = exchangerate;
this.changedFields = changedFields.add("exchangerate");
return this;
}
public Builder _createdonbehalfby_value(String _createdonbehalfby_value) {
this._createdonbehalfby_value = _createdonbehalfby_value;
this.changedFields = changedFields.add("_createdonbehalfby_value");
return this;
}
public Builder month6_base(BigDecimal month6_base) {
this.month6_base = month6_base;
this.changedFields = changedFields.add("month6_base");
return this;
}
public Builder month9(BigDecimal month9) {
this.month9 = month9;
this.changedFields = changedFields.add("month9");
return this;
}
public Builder month9_base(BigDecimal month9_base) {
this.month9_base = month9_base;
this.changedFields = changedFields.add("month9_base");
return this;
}
public Builder fiscalperiodtype(Integer fiscalperiodtype) {
this.fiscalperiodtype = fiscalperiodtype;
this.changedFields = changedFields.add("fiscalperiodtype");
return this;
}
public Builder month4_base(BigDecimal month4_base) {
this.month4_base = month4_base;
this.changedFields = changedFields.add("month4_base");
return this;
}
public Builder _createdby_value(String _createdby_value) {
this._createdby_value = _createdby_value;
this.changedFields = changedFields.add("_createdby_value");
return this;
}
public Builder month3_base(BigDecimal month3_base) {
this.month3_base = month3_base;
this.changedFields = changedFields.add("month3_base");
return this;
}
public Builder month12(BigDecimal month12) {
this.month12 = month12;
this.changedFields = changedFields.add("month12");
return this;
}
public Builder userfiscalcalendarid(String userfiscalcalendarid) {
this.userfiscalcalendarid = userfiscalcalendarid;
this.changedFields = changedFields.add("userfiscalcalendarid");
return this;
}
public Builder month1(BigDecimal month1) {
this.month1 = month1;
this.changedFields = changedFields.add("month1");
return this;
}
public Builder _businessunitid_value(String _businessunitid_value) {
this._businessunitid_value = _businessunitid_value;
this.changedFields = changedFields.add("_businessunitid_value");
return this;
}
public Builder createdon(OffsetDateTime createdon) {
this.createdon = createdon;
this.changedFields = changedFields.add("createdon");
return this;
}
public Builder month11_base(BigDecimal month11_base) {
this.month11_base = month11_base;
this.changedFields = changedFields.add("month11_base");
return this;
}
public Builder month2(BigDecimal month2) {
this.month2 = month2;
this.changedFields = changedFields.add("month2");
return this;
}
public Builder _modifiedby_value(String _modifiedby_value) {
this._modifiedby_value = _modifiedby_value;
this.changedFields = changedFields.add("_modifiedby_value");
return this;
}
public Builder month5(BigDecimal month5) {
this.month5 = month5;
this.changedFields = changedFields.add("month5");
return this;
}
public Builder month7(BigDecimal month7) {
this.month7 = month7;
this.changedFields = changedFields.add("month7");
return this;
}
public Builder modifiedon(OffsetDateTime modifiedon) {
this.modifiedon = modifiedon;
this.changedFields = changedFields.add("modifiedon");
return this;
}
public Builder month11(BigDecimal month11) {
this.month11 = month11;
this.changedFields = changedFields.add("month11");
return this;
}
public Builder effectiveon(OffsetDateTime effectiveon) {
this.effectiveon = effectiveon;
this.changedFields = changedFields.add("effectiveon");
return this;
}
public Builder month6(BigDecimal month6) {
this.month6 = month6;
this.changedFields = changedFields.add("month6");
return this;
}
public Builder month8_base(BigDecimal month8_base) {
this.month8_base = month8_base;
this.changedFields = changedFields.add("month8_base");
return this;
}
public Builder month7_base(BigDecimal month7_base) {
this.month7_base = month7_base;
this.changedFields = changedFields.add("month7_base");
return this;
}
public Builder month10(BigDecimal month10) {
this.month10 = month10;
this.changedFields = changedFields.add("month10");
return this;
}
public Builder month5_base(BigDecimal month5_base) {
this.month5_base = month5_base;
this.changedFields = changedFields.add("month5_base");
return this;
}
public Builder month2_base(BigDecimal month2_base) {
this.month2_base = month2_base;
this.changedFields = changedFields.add("month2_base");
return this;
}
public Builder timezoneruleversionnumber(Integer timezoneruleversionnumber) {
this.timezoneruleversionnumber = timezoneruleversionnumber;
this.changedFields = changedFields.add("timezoneruleversionnumber");
return this;
}
public Builder month1_base(BigDecimal month1_base) {
this.month1_base = month1_base;
this.changedFields = changedFields.add("month1_base");
return this;
}
public Builder month3(BigDecimal month3) {
this.month3 = month3;
this.changedFields = changedFields.add("month3");
return this;
}
public Builder utcconversiontimezonecode(Integer utcconversiontimezonecode) {
this.utcconversiontimezonecode = utcconversiontimezonecode;
this.changedFields = changedFields.add("utcconversiontimezonecode");
return this;
}
public Builder _transactioncurrencyid_value(String _transactioncurrencyid_value) {
this._transactioncurrencyid_value = _transactioncurrencyid_value;
this.changedFields = changedFields.add("_transactioncurrencyid_value");
return this;
}
public Builder _salespersonid_value(String _salespersonid_value) {
this._salespersonid_value = _salespersonid_value;
this.changedFields = changedFields.add("_salespersonid_value");
return this;
}
public Builder month4(BigDecimal month4) {
this.month4 = month4;
this.changedFields = changedFields.add("month4");
return this;
}
public Monthlyfiscalcalendar build() {
Monthlyfiscalcalendar _x = new Monthlyfiscalcalendar();
_x.contextPath = null;
_x.changedFields = changedFields;
_x.unmappedFields = new UnmappedFields();
_x.odataType = "Microsoft.Dynamics.CRM.monthlyfiscalcalendar";
_x.month8 = month8;
_x.month12_base = month12_base;
_x._modifiedonbehalfby_value = _modifiedonbehalfby_value;
_x.month10_base = month10_base;
_x.exchangerate = exchangerate;
_x._createdonbehalfby_value = _createdonbehalfby_value;
_x.month6_base = month6_base;
_x.month9 = month9;
_x.month9_base = month9_base;
_x.fiscalperiodtype = fiscalperiodtype;
_x.month4_base = month4_base;
_x._createdby_value = _createdby_value;
_x.month3_base = month3_base;
_x.month12 = month12;
_x.userfiscalcalendarid = userfiscalcalendarid;
_x.month1 = month1;
_x._businessunitid_value = _businessunitid_value;
_x.createdon = createdon;
_x.month11_base = month11_base;
_x.month2 = month2;
_x._modifiedby_value = _modifiedby_value;
_x.month5 = month5;
_x.month7 = month7;
_x.modifiedon = modifiedon;
_x.month11 = month11;
_x.effectiveon = effectiveon;
_x.month6 = month6;
_x.month8_base = month8_base;
_x.month7_base = month7_base;
_x.month10 = month10;
_x.month5_base = month5_base;
_x.month2_base = month2_base;
_x.timezoneruleversionnumber = timezoneruleversionnumber;
_x.month1_base = month1_base;
_x.month3 = month3;
_x.utcconversiontimezonecode = utcconversiontimezonecode;
_x._transactioncurrencyid_value = _transactioncurrencyid_value;
_x._salespersonid_value = _salespersonid_value;
_x.month4 = month4;
return _x;
}
}
@Override
@JsonIgnore
public ChangedFields getChangedFields() {
return changedFields;
}
@Override
public void postInject(boolean addKeysToContextPath) {
if (addKeysToContextPath && userfiscalcalendarid != null) {
contextPath = contextPath.clearQueries().addKeys(new NameValue(userfiscalcalendarid.toString()));
}
}
@Property(name="month8")
@JsonIgnore
public Optional getMonth8() {
return Optional.ofNullable(month8);
}
public Monthlyfiscalcalendar withMonth8(BigDecimal month8) {
Monthlyfiscalcalendar _x = _copy();
_x.changedFields = changedFields.add("month8");
_x.odataType = Util.nvl(odataType, "Microsoft.Dynamics.CRM.monthlyfiscalcalendar");
_x.month8 = month8;
return _x;
}
@Property(name="month12_base")
@JsonIgnore
public Optional getMonth12_base() {
return Optional.ofNullable(month12_base);
}
public Monthlyfiscalcalendar withMonth12_base(BigDecimal month12_base) {
Monthlyfiscalcalendar _x = _copy();
_x.changedFields = changedFields.add("month12_base");
_x.odataType = Util.nvl(odataType, "Microsoft.Dynamics.CRM.monthlyfiscalcalendar");
_x.month12_base = month12_base;
return _x;
}
@Property(name="_modifiedonbehalfby_value")
@JsonIgnore
public Optional get_modifiedonbehalfby_value() {
return Optional.ofNullable(_modifiedonbehalfby_value);
}
public Monthlyfiscalcalendar with_modifiedonbehalfby_value(String _modifiedonbehalfby_value) {
Monthlyfiscalcalendar _x = _copy();
_x.changedFields = changedFields.add("_modifiedonbehalfby_value");
_x.odataType = Util.nvl(odataType, "Microsoft.Dynamics.CRM.monthlyfiscalcalendar");
_x._modifiedonbehalfby_value = _modifiedonbehalfby_value;
return _x;
}
@Property(name="month10_base")
@JsonIgnore
public Optional getMonth10_base() {
return Optional.ofNullable(month10_base);
}
public Monthlyfiscalcalendar withMonth10_base(BigDecimal month10_base) {
Monthlyfiscalcalendar _x = _copy();
_x.changedFields = changedFields.add("month10_base");
_x.odataType = Util.nvl(odataType, "Microsoft.Dynamics.CRM.monthlyfiscalcalendar");
_x.month10_base = month10_base;
return _x;
}
@Property(name="exchangerate")
@JsonIgnore
public Optional getExchangerate() {
return Optional.ofNullable(exchangerate);
}
public Monthlyfiscalcalendar withExchangerate(BigDecimal exchangerate) {
Monthlyfiscalcalendar _x = _copy();
_x.changedFields = changedFields.add("exchangerate");
_x.odataType = Util.nvl(odataType, "Microsoft.Dynamics.CRM.monthlyfiscalcalendar");
_x.exchangerate = exchangerate;
return _x;
}
@Property(name="_createdonbehalfby_value")
@JsonIgnore
public Optional get_createdonbehalfby_value() {
return Optional.ofNullable(_createdonbehalfby_value);
}
public Monthlyfiscalcalendar with_createdonbehalfby_value(String _createdonbehalfby_value) {
Monthlyfiscalcalendar _x = _copy();
_x.changedFields = changedFields.add("_createdonbehalfby_value");
_x.odataType = Util.nvl(odataType, "Microsoft.Dynamics.CRM.monthlyfiscalcalendar");
_x._createdonbehalfby_value = _createdonbehalfby_value;
return _x;
}
@Property(name="month6_base")
@JsonIgnore
public Optional getMonth6_base() {
return Optional.ofNullable(month6_base);
}
public Monthlyfiscalcalendar withMonth6_base(BigDecimal month6_base) {
Monthlyfiscalcalendar _x = _copy();
_x.changedFields = changedFields.add("month6_base");
_x.odataType = Util.nvl(odataType, "Microsoft.Dynamics.CRM.monthlyfiscalcalendar");
_x.month6_base = month6_base;
return _x;
}
@Property(name="month9")
@JsonIgnore
public Optional getMonth9() {
return Optional.ofNullable(month9);
}
public Monthlyfiscalcalendar withMonth9(BigDecimal month9) {
Monthlyfiscalcalendar _x = _copy();
_x.changedFields = changedFields.add("month9");
_x.odataType = Util.nvl(odataType, "Microsoft.Dynamics.CRM.monthlyfiscalcalendar");
_x.month9 = month9;
return _x;
}
@Property(name="month9_base")
@JsonIgnore
public Optional getMonth9_base() {
return Optional.ofNullable(month9_base);
}
public Monthlyfiscalcalendar withMonth9_base(BigDecimal month9_base) {
Monthlyfiscalcalendar _x = _copy();
_x.changedFields = changedFields.add("month9_base");
_x.odataType = Util.nvl(odataType, "Microsoft.Dynamics.CRM.monthlyfiscalcalendar");
_x.month9_base = month9_base;
return _x;
}
@Property(name="fiscalperiodtype")
@JsonIgnore
public Optional getFiscalperiodtype() {
return Optional.ofNullable(fiscalperiodtype);
}
public Monthlyfiscalcalendar withFiscalperiodtype(Integer fiscalperiodtype) {
Monthlyfiscalcalendar _x = _copy();
_x.changedFields = changedFields.add("fiscalperiodtype");
_x.odataType = Util.nvl(odataType, "Microsoft.Dynamics.CRM.monthlyfiscalcalendar");
_x.fiscalperiodtype = fiscalperiodtype;
return _x;
}
@Property(name="month4_base")
@JsonIgnore
public Optional getMonth4_base() {
return Optional.ofNullable(month4_base);
}
public Monthlyfiscalcalendar withMonth4_base(BigDecimal month4_base) {
Monthlyfiscalcalendar _x = _copy();
_x.changedFields = changedFields.add("month4_base");
_x.odataType = Util.nvl(odataType, "Microsoft.Dynamics.CRM.monthlyfiscalcalendar");
_x.month4_base = month4_base;
return _x;
}
@Property(name="_createdby_value")
@JsonIgnore
public Optional get_createdby_value() {
return Optional.ofNullable(_createdby_value);
}
public Monthlyfiscalcalendar with_createdby_value(String _createdby_value) {
Monthlyfiscalcalendar _x = _copy();
_x.changedFields = changedFields.add("_createdby_value");
_x.odataType = Util.nvl(odataType, "Microsoft.Dynamics.CRM.monthlyfiscalcalendar");
_x._createdby_value = _createdby_value;
return _x;
}
@Property(name="month3_base")
@JsonIgnore
public Optional getMonth3_base() {
return Optional.ofNullable(month3_base);
}
public Monthlyfiscalcalendar withMonth3_base(BigDecimal month3_base) {
Monthlyfiscalcalendar _x = _copy();
_x.changedFields = changedFields.add("month3_base");
_x.odataType = Util.nvl(odataType, "Microsoft.Dynamics.CRM.monthlyfiscalcalendar");
_x.month3_base = month3_base;
return _x;
}
@Property(name="month12")
@JsonIgnore
public Optional getMonth12() {
return Optional.ofNullable(month12);
}
public Monthlyfiscalcalendar withMonth12(BigDecimal month12) {
Monthlyfiscalcalendar _x = _copy();
_x.changedFields = changedFields.add("month12");
_x.odataType = Util.nvl(odataType, "Microsoft.Dynamics.CRM.monthlyfiscalcalendar");
_x.month12 = month12;
return _x;
}
@Property(name="userfiscalcalendarid")
@JsonIgnore
public Optional getUserfiscalcalendarid() {
return Optional.ofNullable(userfiscalcalendarid);
}
public Monthlyfiscalcalendar withUserfiscalcalendarid(String userfiscalcalendarid) {
Monthlyfiscalcalendar _x = _copy();
_x.changedFields = changedFields.add("userfiscalcalendarid");
_x.odataType = Util.nvl(odataType, "Microsoft.Dynamics.CRM.monthlyfiscalcalendar");
_x.userfiscalcalendarid = userfiscalcalendarid;
return _x;
}
@Property(name="month1")
@JsonIgnore
public Optional getMonth1() {
return Optional.ofNullable(month1);
}
public Monthlyfiscalcalendar withMonth1(BigDecimal month1) {
Monthlyfiscalcalendar _x = _copy();
_x.changedFields = changedFields.add("month1");
_x.odataType = Util.nvl(odataType, "Microsoft.Dynamics.CRM.monthlyfiscalcalendar");
_x.month1 = month1;
return _x;
}
@Property(name="_businessunitid_value")
@JsonIgnore
public Optional get_businessunitid_value() {
return Optional.ofNullable(_businessunitid_value);
}
public Monthlyfiscalcalendar with_businessunitid_value(String _businessunitid_value) {
Monthlyfiscalcalendar _x = _copy();
_x.changedFields = changedFields.add("_businessunitid_value");
_x.odataType = Util.nvl(odataType, "Microsoft.Dynamics.CRM.monthlyfiscalcalendar");
_x._businessunitid_value = _businessunitid_value;
return _x;
}
@Property(name="createdon")
@JsonIgnore
public Optional getCreatedon() {
return Optional.ofNullable(createdon);
}
public Monthlyfiscalcalendar withCreatedon(OffsetDateTime createdon) {
Monthlyfiscalcalendar _x = _copy();
_x.changedFields = changedFields.add("createdon");
_x.odataType = Util.nvl(odataType, "Microsoft.Dynamics.CRM.monthlyfiscalcalendar");
_x.createdon = createdon;
return _x;
}
@Property(name="month11_base")
@JsonIgnore
public Optional getMonth11_base() {
return Optional.ofNullable(month11_base);
}
public Monthlyfiscalcalendar withMonth11_base(BigDecimal month11_base) {
Monthlyfiscalcalendar _x = _copy();
_x.changedFields = changedFields.add("month11_base");
_x.odataType = Util.nvl(odataType, "Microsoft.Dynamics.CRM.monthlyfiscalcalendar");
_x.month11_base = month11_base;
return _x;
}
@Property(name="month2")
@JsonIgnore
public Optional getMonth2() {
return Optional.ofNullable(month2);
}
public Monthlyfiscalcalendar withMonth2(BigDecimal month2) {
Monthlyfiscalcalendar _x = _copy();
_x.changedFields = changedFields.add("month2");
_x.odataType = Util.nvl(odataType, "Microsoft.Dynamics.CRM.monthlyfiscalcalendar");
_x.month2 = month2;
return _x;
}
@Property(name="_modifiedby_value")
@JsonIgnore
public Optional get_modifiedby_value() {
return Optional.ofNullable(_modifiedby_value);
}
public Monthlyfiscalcalendar with_modifiedby_value(String _modifiedby_value) {
Monthlyfiscalcalendar _x = _copy();
_x.changedFields = changedFields.add("_modifiedby_value");
_x.odataType = Util.nvl(odataType, "Microsoft.Dynamics.CRM.monthlyfiscalcalendar");
_x._modifiedby_value = _modifiedby_value;
return _x;
}
@Property(name="month5")
@JsonIgnore
public Optional getMonth5() {
return Optional.ofNullable(month5);
}
public Monthlyfiscalcalendar withMonth5(BigDecimal month5) {
Monthlyfiscalcalendar _x = _copy();
_x.changedFields = changedFields.add("month5");
_x.odataType = Util.nvl(odataType, "Microsoft.Dynamics.CRM.monthlyfiscalcalendar");
_x.month5 = month5;
return _x;
}
@Property(name="month7")
@JsonIgnore
public Optional getMonth7() {
return Optional.ofNullable(month7);
}
public Monthlyfiscalcalendar withMonth7(BigDecimal month7) {
Monthlyfiscalcalendar _x = _copy();
_x.changedFields = changedFields.add("month7");
_x.odataType = Util.nvl(odataType, "Microsoft.Dynamics.CRM.monthlyfiscalcalendar");
_x.month7 = month7;
return _x;
}
@Property(name="modifiedon")
@JsonIgnore
public Optional getModifiedon() {
return Optional.ofNullable(modifiedon);
}
public Monthlyfiscalcalendar withModifiedon(OffsetDateTime modifiedon) {
Monthlyfiscalcalendar _x = _copy();
_x.changedFields = changedFields.add("modifiedon");
_x.odataType = Util.nvl(odataType, "Microsoft.Dynamics.CRM.monthlyfiscalcalendar");
_x.modifiedon = modifiedon;
return _x;
}
@Property(name="month11")
@JsonIgnore
public Optional getMonth11() {
return Optional.ofNullable(month11);
}
public Monthlyfiscalcalendar withMonth11(BigDecimal month11) {
Monthlyfiscalcalendar _x = _copy();
_x.changedFields = changedFields.add("month11");
_x.odataType = Util.nvl(odataType, "Microsoft.Dynamics.CRM.monthlyfiscalcalendar");
_x.month11 = month11;
return _x;
}
@Property(name="effectiveon")
@JsonIgnore
public Optional getEffectiveon() {
return Optional.ofNullable(effectiveon);
}
public Monthlyfiscalcalendar withEffectiveon(OffsetDateTime effectiveon) {
Monthlyfiscalcalendar _x = _copy();
_x.changedFields = changedFields.add("effectiveon");
_x.odataType = Util.nvl(odataType, "Microsoft.Dynamics.CRM.monthlyfiscalcalendar");
_x.effectiveon = effectiveon;
return _x;
}
@Property(name="month6")
@JsonIgnore
public Optional getMonth6() {
return Optional.ofNullable(month6);
}
public Monthlyfiscalcalendar withMonth6(BigDecimal month6) {
Monthlyfiscalcalendar _x = _copy();
_x.changedFields = changedFields.add("month6");
_x.odataType = Util.nvl(odataType, "Microsoft.Dynamics.CRM.monthlyfiscalcalendar");
_x.month6 = month6;
return _x;
}
@Property(name="month8_base")
@JsonIgnore
public Optional getMonth8_base() {
return Optional.ofNullable(month8_base);
}
public Monthlyfiscalcalendar withMonth8_base(BigDecimal month8_base) {
Monthlyfiscalcalendar _x = _copy();
_x.changedFields = changedFields.add("month8_base");
_x.odataType = Util.nvl(odataType, "Microsoft.Dynamics.CRM.monthlyfiscalcalendar");
_x.month8_base = month8_base;
return _x;
}
@Property(name="month7_base")
@JsonIgnore
public Optional getMonth7_base() {
return Optional.ofNullable(month7_base);
}
public Monthlyfiscalcalendar withMonth7_base(BigDecimal month7_base) {
Monthlyfiscalcalendar _x = _copy();
_x.changedFields = changedFields.add("month7_base");
_x.odataType = Util.nvl(odataType, "Microsoft.Dynamics.CRM.monthlyfiscalcalendar");
_x.month7_base = month7_base;
return _x;
}
@Property(name="month10")
@JsonIgnore
public Optional getMonth10() {
return Optional.ofNullable(month10);
}
public Monthlyfiscalcalendar withMonth10(BigDecimal month10) {
Monthlyfiscalcalendar _x = _copy();
_x.changedFields = changedFields.add("month10");
_x.odataType = Util.nvl(odataType, "Microsoft.Dynamics.CRM.monthlyfiscalcalendar");
_x.month10 = month10;
return _x;
}
@Property(name="month5_base")
@JsonIgnore
public Optional getMonth5_base() {
return Optional.ofNullable(month5_base);
}
public Monthlyfiscalcalendar withMonth5_base(BigDecimal month5_base) {
Monthlyfiscalcalendar _x = _copy();
_x.changedFields = changedFields.add("month5_base");
_x.odataType = Util.nvl(odataType, "Microsoft.Dynamics.CRM.monthlyfiscalcalendar");
_x.month5_base = month5_base;
return _x;
}
@Property(name="month2_base")
@JsonIgnore
public Optional getMonth2_base() {
return Optional.ofNullable(month2_base);
}
public Monthlyfiscalcalendar withMonth2_base(BigDecimal month2_base) {
Monthlyfiscalcalendar _x = _copy();
_x.changedFields = changedFields.add("month2_base");
_x.odataType = Util.nvl(odataType, "Microsoft.Dynamics.CRM.monthlyfiscalcalendar");
_x.month2_base = month2_base;
return _x;
}
@Property(name="timezoneruleversionnumber")
@JsonIgnore
public Optional getTimezoneruleversionnumber() {
return Optional.ofNullable(timezoneruleversionnumber);
}
public Monthlyfiscalcalendar withTimezoneruleversionnumber(Integer timezoneruleversionnumber) {
Monthlyfiscalcalendar _x = _copy();
_x.changedFields = changedFields.add("timezoneruleversionnumber");
_x.odataType = Util.nvl(odataType, "Microsoft.Dynamics.CRM.monthlyfiscalcalendar");
_x.timezoneruleversionnumber = timezoneruleversionnumber;
return _x;
}
@Property(name="month1_base")
@JsonIgnore
public Optional getMonth1_base() {
return Optional.ofNullable(month1_base);
}
public Monthlyfiscalcalendar withMonth1_base(BigDecimal month1_base) {
Monthlyfiscalcalendar _x = _copy();
_x.changedFields = changedFields.add("month1_base");
_x.odataType = Util.nvl(odataType, "Microsoft.Dynamics.CRM.monthlyfiscalcalendar");
_x.month1_base = month1_base;
return _x;
}
@Property(name="month3")
@JsonIgnore
public Optional getMonth3() {
return Optional.ofNullable(month3);
}
public Monthlyfiscalcalendar withMonth3(BigDecimal month3) {
Monthlyfiscalcalendar _x = _copy();
_x.changedFields = changedFields.add("month3");
_x.odataType = Util.nvl(odataType, "Microsoft.Dynamics.CRM.monthlyfiscalcalendar");
_x.month3 = month3;
return _x;
}
@Property(name="utcconversiontimezonecode")
@JsonIgnore
public Optional getUtcconversiontimezonecode() {
return Optional.ofNullable(utcconversiontimezonecode);
}
public Monthlyfiscalcalendar withUtcconversiontimezonecode(Integer utcconversiontimezonecode) {
Monthlyfiscalcalendar _x = _copy();
_x.changedFields = changedFields.add("utcconversiontimezonecode");
_x.odataType = Util.nvl(odataType, "Microsoft.Dynamics.CRM.monthlyfiscalcalendar");
_x.utcconversiontimezonecode = utcconversiontimezonecode;
return _x;
}
@Property(name="_transactioncurrencyid_value")
@JsonIgnore
public Optional get_transactioncurrencyid_value() {
return Optional.ofNullable(_transactioncurrencyid_value);
}
public Monthlyfiscalcalendar with_transactioncurrencyid_value(String _transactioncurrencyid_value) {
Monthlyfiscalcalendar _x = _copy();
_x.changedFields = changedFields.add("_transactioncurrencyid_value");
_x.odataType = Util.nvl(odataType, "Microsoft.Dynamics.CRM.monthlyfiscalcalendar");
_x._transactioncurrencyid_value = _transactioncurrencyid_value;
return _x;
}
@Property(name="_salespersonid_value")
@JsonIgnore
public Optional get_salespersonid_value() {
return Optional.ofNullable(_salespersonid_value);
}
public Monthlyfiscalcalendar with_salespersonid_value(String _salespersonid_value) {
Monthlyfiscalcalendar _x = _copy();
_x.changedFields = changedFields.add("_salespersonid_value");
_x.odataType = Util.nvl(odataType, "Microsoft.Dynamics.CRM.monthlyfiscalcalendar");
_x._salespersonid_value = _salespersonid_value;
return _x;
}
@Property(name="month4")
@JsonIgnore
public Optional getMonth4() {
return Optional.ofNullable(month4);
}
public Monthlyfiscalcalendar withMonth4(BigDecimal month4) {
Monthlyfiscalcalendar _x = _copy();
_x.changedFields = changedFields.add("month4");
_x.odataType = Util.nvl(odataType, "Microsoft.Dynamics.CRM.monthlyfiscalcalendar");
_x.month4 = month4;
return _x;
}
@NavigationProperty(name="modifiedby")
@JsonIgnore
public SystemuserRequest getModifiedby() {
return new SystemuserRequest(contextPath.addSegment("modifiedby"));
}
@NavigationProperty(name="modifiedonbehalfby")
@JsonIgnore
public SystemuserRequest getModifiedonbehalfby() {
return new SystemuserRequest(contextPath.addSegment("modifiedonbehalfby"));
}
@NavigationProperty(name="salespersonid")
@JsonIgnore
public SystemuserRequest getSalespersonid() {
return new SystemuserRequest(contextPath.addSegment("salespersonid"));
}
@NavigationProperty(name="MonthlyFiscalCalendar_AsyncOperations")
@JsonIgnore
public AsyncoperationCollectionRequest getMonthlyFiscalCalendar_AsyncOperations() {
return new AsyncoperationCollectionRequest(
contextPath.addSegment("MonthlyFiscalCalendar_AsyncOperations"));
}
@NavigationProperty(name="transactioncurrencyid")
@JsonIgnore
public TransactioncurrencyRequest getTransactioncurrencyid() {
return new TransactioncurrencyRequest(contextPath.addSegment("transactioncurrencyid"));
}
@NavigationProperty(name="createdby")
@JsonIgnore
public SystemuserRequest getCreatedby() {
return new SystemuserRequest(contextPath.addSegment("createdby"));
}
@NavigationProperty(name="MonthlyFiscalCalendar_BulkDeleteFailures")
@JsonIgnore
public BulkdeletefailureCollectionRequest getMonthlyFiscalCalendar_BulkDeleteFailures() {
return new BulkdeletefailureCollectionRequest(
contextPath.addSegment("MonthlyFiscalCalendar_BulkDeleteFailures"));
}
@NavigationProperty(name="createdonbehalfby")
@JsonIgnore
public SystemuserRequest getCreatedonbehalfby() {
return new SystemuserRequest(contextPath.addSegment("createdonbehalfby"));
}
@JsonAnySetter
private void setUnmappedField(String name, Object value) {
if (unmappedFields == null) {
unmappedFields = new UnmappedFields();
}
unmappedFields.put(name, value);
}
@Override
@JsonIgnore
public UnmappedFields getUnmappedFields() {
return unmappedFields == null ? new UnmappedFields() : unmappedFields;
}
/**
* Submits only changed fields for update and returns an
* immutable copy of {@code this} with changed fields reset.
*
* @return a copy of {@code this} with changed fields reset
* @throws ClientException if HTTP response is not as expected
*/
public Monthlyfiscalcalendar patch() {
RequestHelper.patch(this, contextPath, RequestOptions.EMPTY);
Monthlyfiscalcalendar _x = _copy();
_x.changedFields = null;
return _x;
}
/**
* Submits all fields for update and returns an immutable copy of {@code this}
* with changed fields reset (they were ignored anyway).
*
* @return a copy of {@code this} with changed fields reset
* @throws ClientException if HTTP response is not as expected
*/
public Monthlyfiscalcalendar put() {
RequestHelper.put(this, contextPath, RequestOptions.EMPTY);
Monthlyfiscalcalendar _x = _copy();
_x.changedFields = null;
return _x;
}
private Monthlyfiscalcalendar _copy() {
Monthlyfiscalcalendar _x = new Monthlyfiscalcalendar();
_x.contextPath = contextPath;
_x.changedFields = changedFields;
_x.unmappedFields = unmappedFields;
_x.odataType = odataType;
_x.month8 = month8;
_x.month12_base = month12_base;
_x._modifiedonbehalfby_value = _modifiedonbehalfby_value;
_x.month10_base = month10_base;
_x.exchangerate = exchangerate;
_x._createdonbehalfby_value = _createdonbehalfby_value;
_x.month6_base = month6_base;
_x.month9 = month9;
_x.month9_base = month9_base;
_x.fiscalperiodtype = fiscalperiodtype;
_x.month4_base = month4_base;
_x._createdby_value = _createdby_value;
_x.month3_base = month3_base;
_x.month12 = month12;
_x.userfiscalcalendarid = userfiscalcalendarid;
_x.month1 = month1;
_x._businessunitid_value = _businessunitid_value;
_x.createdon = createdon;
_x.month11_base = month11_base;
_x.month2 = month2;
_x._modifiedby_value = _modifiedby_value;
_x.month5 = month5;
_x.month7 = month7;
_x.modifiedon = modifiedon;
_x.month11 = month11;
_x.effectiveon = effectiveon;
_x.month6 = month6;
_x.month8_base = month8_base;
_x.month7_base = month7_base;
_x.month10 = month10;
_x.month5_base = month5_base;
_x.month2_base = month2_base;
_x.timezoneruleversionnumber = timezoneruleversionnumber;
_x.month1_base = month1_base;
_x.month3 = month3;
_x.utcconversiontimezonecode = utcconversiontimezonecode;
_x._transactioncurrencyid_value = _transactioncurrencyid_value;
_x._salespersonid_value = _salespersonid_value;
_x.month4 = month4;
return _x;
}
@Override
public String toString() {
StringBuilder b = new StringBuilder();
b.append("Monthlyfiscalcalendar[");
b.append("month8=");
b.append(this.month8);
b.append(", ");
b.append("month12_base=");
b.append(this.month12_base);
b.append(", ");
b.append("_modifiedonbehalfby_value=");
b.append(this._modifiedonbehalfby_value);
b.append(", ");
b.append("month10_base=");
b.append(this.month10_base);
b.append(", ");
b.append("exchangerate=");
b.append(this.exchangerate);
b.append(", ");
b.append("_createdonbehalfby_value=");
b.append(this._createdonbehalfby_value);
b.append(", ");
b.append("month6_base=");
b.append(this.month6_base);
b.append(", ");
b.append("month9=");
b.append(this.month9);
b.append(", ");
b.append("month9_base=");
b.append(this.month9_base);
b.append(", ");
b.append("fiscalperiodtype=");
b.append(this.fiscalperiodtype);
b.append(", ");
b.append("month4_base=");
b.append(this.month4_base);
b.append(", ");
b.append("_createdby_value=");
b.append(this._createdby_value);
b.append(", ");
b.append("month3_base=");
b.append(this.month3_base);
b.append(", ");
b.append("month12=");
b.append(this.month12);
b.append(", ");
b.append("userfiscalcalendarid=");
b.append(this.userfiscalcalendarid);
b.append(", ");
b.append("month1=");
b.append(this.month1);
b.append(", ");
b.append("_businessunitid_value=");
b.append(this._businessunitid_value);
b.append(", ");
b.append("createdon=");
b.append(this.createdon);
b.append(", ");
b.append("month11_base=");
b.append(this.month11_base);
b.append(", ");
b.append("month2=");
b.append(this.month2);
b.append(", ");
b.append("_modifiedby_value=");
b.append(this._modifiedby_value);
b.append(", ");
b.append("month5=");
b.append(this.month5);
b.append(", ");
b.append("month7=");
b.append(this.month7);
b.append(", ");
b.append("modifiedon=");
b.append(this.modifiedon);
b.append(", ");
b.append("month11=");
b.append(this.month11);
b.append(", ");
b.append("effectiveon=");
b.append(this.effectiveon);
b.append(", ");
b.append("month6=");
b.append(this.month6);
b.append(", ");
b.append("month8_base=");
b.append(this.month8_base);
b.append(", ");
b.append("month7_base=");
b.append(this.month7_base);
b.append(", ");
b.append("month10=");
b.append(this.month10);
b.append(", ");
b.append("month5_base=");
b.append(this.month5_base);
b.append(", ");
b.append("month2_base=");
b.append(this.month2_base);
b.append(", ");
b.append("timezoneruleversionnumber=");
b.append(this.timezoneruleversionnumber);
b.append(", ");
b.append("month1_base=");
b.append(this.month1_base);
b.append(", ");
b.append("month3=");
b.append(this.month3);
b.append(", ");
b.append("utcconversiontimezonecode=");
b.append(this.utcconversiontimezonecode);
b.append(", ");
b.append("_transactioncurrencyid_value=");
b.append(this._transactioncurrencyid_value);
b.append(", ");
b.append("_salespersonid_value=");
b.append(this._salespersonid_value);
b.append(", ");
b.append("month4=");
b.append(this.month4);
b.append("]");
b.append(",unmappedFields=");
b.append(unmappedFields);
b.append(",odataType=");
b.append(odataType);
return b.toString();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy