All Downloads are FREE. Search and download functionalities are using the official Maven repository.

microsoft.dynamics.crm.entity.Mailboxtrackingfolder Maven / Gradle / Ivy

The newest version!
package microsoft.dynamics.crm.entity;

import com.fasterxml.jackson.annotation.JsonAnyGetter;
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.UnmappedFields;
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.UnmappedFieldsImpl;

import java.lang.Integer;
import java.lang.Long;
import java.lang.Object;
import java.lang.Override;
import java.lang.String;
import java.lang.StringBuilder;
import java.time.OffsetDateTime;
import java.util.Optional;
import java.util.UUID;

import microsoft.dynamics.crm.entity.request.AccountRequest;
import microsoft.dynamics.crm.entity.request.ApplicationuserRequest;
import microsoft.dynamics.crm.entity.request.AsyncoperationRequest;
import microsoft.dynamics.crm.entity.request.AttributeimageconfigRequest;
import microsoft.dynamics.crm.entity.request.BusinessunitRequest;
import microsoft.dynamics.crm.entity.request.CascadegrantrevokeaccessrecordstrackerRequest;
import microsoft.dynamics.crm.entity.request.CascadegrantrevokeaccessversiontrackerRequest;
import microsoft.dynamics.crm.entity.request.ConnectionreferenceRequest;
import microsoft.dynamics.crm.entity.request.ConnectorRequest;
import microsoft.dynamics.crm.entity.request.ContactRequest;
import microsoft.dynamics.crm.entity.request.DatalakeworkspaceRequest;
import microsoft.dynamics.crm.entity.request.DatalakeworkspacepermissionRequest;
import microsoft.dynamics.crm.entity.request.EntityanalyticsconfigRequest;
import microsoft.dynamics.crm.entity.request.EntityimageconfigRequest;
import microsoft.dynamics.crm.entity.request.EnvironmentvariabledefinitionRequest;
import microsoft.dynamics.crm.entity.request.EnvironmentvariablevalueRequest;
import microsoft.dynamics.crm.entity.request.ExportsolutionuploadRequest;
import microsoft.dynamics.crm.entity.request.FlowsessionRequest;
import microsoft.dynamics.crm.entity.request.Ggw_crewRequest;
import microsoft.dynamics.crm.entity.request.Ggw_eventRequest;
import microsoft.dynamics.crm.entity.request.Ggw_teamRequest;
import microsoft.dynamics.crm.entity.request.Ggw_team_applicationRequest;
import microsoft.dynamics.crm.entity.request.MailboxRequest;
import microsoft.dynamics.crm.entity.request.Msdyn_aibdatasetRequest;
import microsoft.dynamics.crm.entity.request.Msdyn_aibdatasetfileRequest;
import microsoft.dynamics.crm.entity.request.Msdyn_aibdatasetrecordRequest;
import microsoft.dynamics.crm.entity.request.Msdyn_aibdatasetscontainerRequest;
import microsoft.dynamics.crm.entity.request.Msdyn_aibfileRequest;
import microsoft.dynamics.crm.entity.request.Msdyn_aibfileattacheddataRequest;
import microsoft.dynamics.crm.entity.request.Msdyn_aiconfigurationRequest;
import microsoft.dynamics.crm.entity.request.Msdyn_aifptrainingdocumentRequest;
import microsoft.dynamics.crm.entity.request.Msdyn_aimodelRequest;
import microsoft.dynamics.crm.entity.request.Msdyn_aiodimageRequest;
import microsoft.dynamics.crm.entity.request.Msdyn_aiodlabelRequest;
import microsoft.dynamics.crm.entity.request.Msdyn_aiodtrainingboundingboxRequest;
import microsoft.dynamics.crm.entity.request.Msdyn_aiodtrainingimageRequest;
import microsoft.dynamics.crm.entity.request.Msdyn_aitemplateRequest;
import microsoft.dynamics.crm.entity.request.Msdyn_analysiscomponentRequest;
import microsoft.dynamics.crm.entity.request.Msdyn_analysisjobRequest;
import microsoft.dynamics.crm.entity.request.Msdyn_analysisresultRequest;
import microsoft.dynamics.crm.entity.request.Msdyn_analysisresultdetailRequest;
import microsoft.dynamics.crm.entity.request.Msdyn_dataflowRequest;
import microsoft.dynamics.crm.entity.request.Msdyn_helppageRequest;
import microsoft.dynamics.crm.entity.request.Msdyn_knowledgearticleimageRequest;
import microsoft.dynamics.crm.entity.request.Msdyn_knowledgearticletemplateRequest;
import microsoft.dynamics.crm.entity.request.Msdyn_richtextfileRequest;
import microsoft.dynamics.crm.entity.request.Msdyn_serviceconfigurationRequest;
import microsoft.dynamics.crm.entity.request.Msdyn_slakpiRequest;
import microsoft.dynamics.crm.entity.request.Msdyn_solutionhealthruleRequest;
import microsoft.dynamics.crm.entity.request.Msdyn_solutionhealthruleargumentRequest;
import microsoft.dynamics.crm.entity.request.Msdyn_solutionhealthrulesetRequest;
import microsoft.dynamics.crm.entity.request.OrganizationRequest;
import microsoft.dynamics.crm.entity.request.PrincipalRequest;
import microsoft.dynamics.crm.entity.request.ProcessstageparameterRequest;
import microsoft.dynamics.crm.entity.request.RelationshipattributeRequest;
import microsoft.dynamics.crm.entity.request.ServiceplanRequest;
import microsoft.dynamics.crm.entity.request.SolutioncomponentattributeconfigurationRequest;
import microsoft.dynamics.crm.entity.request.SolutioncomponentconfigurationRequest;
import microsoft.dynamics.crm.entity.request.SolutioncomponentrelationshipconfigurationRequest;
import microsoft.dynamics.crm.entity.request.StagesolutionuploadRequest;
import microsoft.dynamics.crm.entity.request.SystemuserRequest;
import microsoft.dynamics.crm.entity.request.TeamRequest;
import microsoft.dynamics.crm.entity.request.TerritoryRequest;
import microsoft.dynamics.crm.entity.request.WorkflowbinaryRequest;

@JsonPropertyOrder({
    "@odata.type", 
    "_createdonbehalfby_value", 
    "folderonboardingstatus", 
    "_owningbusinessunit_value", 
    "_modifiedby_value", 
    "exchangefolderid", 
    "createdon", 
    "_owninguser_value", 
    "_mailboxid_value", 
    "_createdby_value", 
    "exchangefoldername", 
    "modifiedon", 
    "mailboxtrackingfolderid", 
    "versionnumber", 
    "_regardingobjectid_value", 
    "_owningteam_value", 
    "_ownerid_value", 
    "_modifiedonbehalfby_value", 
    "_organizationid_value"})
@JsonInclude(Include.NON_NULL)
public class Mailboxtrackingfolder extends Crmbaseentity implements ODataEntityType {

    @Override
    public String odataTypeName() {
        return "Microsoft.Dynamics.CRM.mailboxtrackingfolder";
    }

    @JsonProperty("_createdonbehalfby_value")
    protected UUID _createdonbehalfby_value;

    @JsonProperty("folderonboardingstatus")
    protected Integer folderonboardingstatus;

    @JsonProperty("_owningbusinessunit_value")
    protected UUID _owningbusinessunit_value;

    @JsonProperty("_modifiedby_value")
    protected UUID _modifiedby_value;

    @JsonProperty("exchangefolderid")
    protected String exchangefolderid;

    @JsonProperty("createdon")
    protected OffsetDateTime createdon;

    @JsonProperty("_owninguser_value")
    protected UUID _owninguser_value;

    @JsonProperty("_mailboxid_value")
    protected UUID _mailboxid_value;

    @JsonProperty("_createdby_value")
    protected UUID _createdby_value;

    @JsonProperty("exchangefoldername")
    protected String exchangefoldername;

    @JsonProperty("modifiedon")
    protected OffsetDateTime modifiedon;

    @JsonProperty("mailboxtrackingfolderid")
    protected UUID mailboxtrackingfolderid;

    @JsonProperty("versionnumber")
    protected Long versionnumber;

    @JsonProperty("_regardingobjectid_value")
    protected UUID _regardingobjectid_value;

    @JsonProperty("_owningteam_value")
    protected UUID _owningteam_value;

    @JsonProperty("_ownerid_value")
    protected UUID _ownerid_value;

    @JsonProperty("_modifiedonbehalfby_value")
    protected UUID _modifiedonbehalfby_value;

    @JsonProperty("_organizationid_value")
    protected UUID _organizationid_value;

    protected Mailboxtrackingfolder() {
        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 builderMailboxtrackingfolder() {
        return new Builder();
    }

    public static final class Builder {
        private UUID _createdonbehalfby_value;
        private Integer folderonboardingstatus;
        private UUID _owningbusinessunit_value;
        private UUID _modifiedby_value;
        private String exchangefolderid;
        private OffsetDateTime createdon;
        private UUID _owninguser_value;
        private UUID _mailboxid_value;
        private UUID _createdby_value;
        private String exchangefoldername;
        private OffsetDateTime modifiedon;
        private UUID mailboxtrackingfolderid;
        private Long versionnumber;
        private UUID _regardingobjectid_value;
        private UUID _owningteam_value;
        private UUID _ownerid_value;
        private UUID _modifiedonbehalfby_value;
        private UUID _organizationid_value;
        private ChangedFields changedFields = ChangedFields.EMPTY;

        Builder() {
            // prevent instantiation
        }

        public Builder _createdonbehalfby_value(UUID _createdonbehalfby_value) {
            this._createdonbehalfby_value = _createdonbehalfby_value;
            this.changedFields = changedFields.add("_createdonbehalfby_value");
            return this;
        }

        public Builder folderonboardingstatus(Integer folderonboardingstatus) {
            this.folderonboardingstatus = folderonboardingstatus;
            this.changedFields = changedFields.add("folderonboardingstatus");
            return this;
        }

        public Builder _owningbusinessunit_value(UUID _owningbusinessunit_value) {
            this._owningbusinessunit_value = _owningbusinessunit_value;
            this.changedFields = changedFields.add("_owningbusinessunit_value");
            return this;
        }

        public Builder _modifiedby_value(UUID _modifiedby_value) {
            this._modifiedby_value = _modifiedby_value;
            this.changedFields = changedFields.add("_modifiedby_value");
            return this;
        }

        public Builder exchangefolderid(String exchangefolderid) {
            this.exchangefolderid = exchangefolderid;
            this.changedFields = changedFields.add("exchangefolderid");
            return this;
        }

        public Builder createdon(OffsetDateTime createdon) {
            this.createdon = createdon;
            this.changedFields = changedFields.add("createdon");
            return this;
        }

        public Builder _owninguser_value(UUID _owninguser_value) {
            this._owninguser_value = _owninguser_value;
            this.changedFields = changedFields.add("_owninguser_value");
            return this;
        }

        public Builder _mailboxid_value(UUID _mailboxid_value) {
            this._mailboxid_value = _mailboxid_value;
            this.changedFields = changedFields.add("_mailboxid_value");
            return this;
        }

        public Builder _createdby_value(UUID _createdby_value) {
            this._createdby_value = _createdby_value;
            this.changedFields = changedFields.add("_createdby_value");
            return this;
        }

        public Builder exchangefoldername(String exchangefoldername) {
            this.exchangefoldername = exchangefoldername;
            this.changedFields = changedFields.add("exchangefoldername");
            return this;
        }

        public Builder modifiedon(OffsetDateTime modifiedon) {
            this.modifiedon = modifiedon;
            this.changedFields = changedFields.add("modifiedon");
            return this;
        }

        public Builder mailboxtrackingfolderid(UUID mailboxtrackingfolderid) {
            this.mailboxtrackingfolderid = mailboxtrackingfolderid;
            this.changedFields = changedFields.add("mailboxtrackingfolderid");
            return this;
        }

        public Builder versionnumber(Long versionnumber) {
            this.versionnumber = versionnumber;
            this.changedFields = changedFields.add("versionnumber");
            return this;
        }

        public Builder _regardingobjectid_value(UUID _regardingobjectid_value) {
            this._regardingobjectid_value = _regardingobjectid_value;
            this.changedFields = changedFields.add("_regardingobjectid_value");
            return this;
        }

        public Builder _owningteam_value(UUID _owningteam_value) {
            this._owningteam_value = _owningteam_value;
            this.changedFields = changedFields.add("_owningteam_value");
            return this;
        }

        public Builder _ownerid_value(UUID _ownerid_value) {
            this._ownerid_value = _ownerid_value;
            this.changedFields = changedFields.add("_ownerid_value");
            return this;
        }

        public Builder _modifiedonbehalfby_value(UUID _modifiedonbehalfby_value) {
            this._modifiedonbehalfby_value = _modifiedonbehalfby_value;
            this.changedFields = changedFields.add("_modifiedonbehalfby_value");
            return this;
        }

        public Builder _organizationid_value(UUID _organizationid_value) {
            this._organizationid_value = _organizationid_value;
            this.changedFields = changedFields.add("_organizationid_value");
            return this;
        }

        public Mailboxtrackingfolder build() {
            Mailboxtrackingfolder _x = new Mailboxtrackingfolder();
            _x.contextPath = null;
            _x.changedFields = changedFields;
            _x.unmappedFields = new UnmappedFieldsImpl();
            _x.odataType = "Microsoft.Dynamics.CRM.mailboxtrackingfolder";
            _x._createdonbehalfby_value = _createdonbehalfby_value;
            _x.folderonboardingstatus = folderonboardingstatus;
            _x._owningbusinessunit_value = _owningbusinessunit_value;
            _x._modifiedby_value = _modifiedby_value;
            _x.exchangefolderid = exchangefolderid;
            _x.createdon = createdon;
            _x._owninguser_value = _owninguser_value;
            _x._mailboxid_value = _mailboxid_value;
            _x._createdby_value = _createdby_value;
            _x.exchangefoldername = exchangefoldername;
            _x.modifiedon = modifiedon;
            _x.mailboxtrackingfolderid = mailboxtrackingfolderid;
            _x.versionnumber = versionnumber;
            _x._regardingobjectid_value = _regardingobjectid_value;
            _x._owningteam_value = _owningteam_value;
            _x._ownerid_value = _ownerid_value;
            _x._modifiedonbehalfby_value = _modifiedonbehalfby_value;
            _x._organizationid_value = _organizationid_value;
            return _x;
        }
    }

    @Override
    @JsonIgnore
    public ChangedFields getChangedFields() {
        return changedFields;
    }

    @Override
    public void postInject(boolean addKeysToContextPath) {
        if (addKeysToContextPath && mailboxtrackingfolderid != null) {
            contextPath = contextPath.clearQueries().addKeys(new NameValue(mailboxtrackingfolderid, UUID.class));
        }
    }

    @Property(name="_createdonbehalfby_value")
    @JsonIgnore
    public Optional get_createdonbehalfby_value() {
        return Optional.ofNullable(_createdonbehalfby_value);
    }

    public Mailboxtrackingfolder with_createdonbehalfby_value(UUID _createdonbehalfby_value) {
        Mailboxtrackingfolder _x = _copy();
        _x.changedFields = changedFields.add("_createdonbehalfby_value");
        _x.odataType = Util.nvl(odataType, "Microsoft.Dynamics.CRM.mailboxtrackingfolder");
        _x._createdonbehalfby_value = _createdonbehalfby_value;
        return _x;
    }

    @Property(name="folderonboardingstatus")
    @JsonIgnore
    public Optional getFolderonboardingstatus() {
        return Optional.ofNullable(folderonboardingstatus);
    }

    public Mailboxtrackingfolder withFolderonboardingstatus(Integer folderonboardingstatus) {
        Mailboxtrackingfolder _x = _copy();
        _x.changedFields = changedFields.add("folderonboardingstatus");
        _x.odataType = Util.nvl(odataType, "Microsoft.Dynamics.CRM.mailboxtrackingfolder");
        _x.folderonboardingstatus = folderonboardingstatus;
        return _x;
    }

    @Property(name="_owningbusinessunit_value")
    @JsonIgnore
    public Optional get_owningbusinessunit_value() {
        return Optional.ofNullable(_owningbusinessunit_value);
    }

    public Mailboxtrackingfolder with_owningbusinessunit_value(UUID _owningbusinessunit_value) {
        Mailboxtrackingfolder _x = _copy();
        _x.changedFields = changedFields.add("_owningbusinessunit_value");
        _x.odataType = Util.nvl(odataType, "Microsoft.Dynamics.CRM.mailboxtrackingfolder");
        _x._owningbusinessunit_value = _owningbusinessunit_value;
        return _x;
    }

    @Property(name="_modifiedby_value")
    @JsonIgnore
    public Optional get_modifiedby_value() {
        return Optional.ofNullable(_modifiedby_value);
    }

    public Mailboxtrackingfolder with_modifiedby_value(UUID _modifiedby_value) {
        Mailboxtrackingfolder _x = _copy();
        _x.changedFields = changedFields.add("_modifiedby_value");
        _x.odataType = Util.nvl(odataType, "Microsoft.Dynamics.CRM.mailboxtrackingfolder");
        _x._modifiedby_value = _modifiedby_value;
        return _x;
    }

    @Property(name="exchangefolderid")
    @JsonIgnore
    public Optional getExchangefolderid() {
        return Optional.ofNullable(exchangefolderid);
    }

    public Mailboxtrackingfolder withExchangefolderid(String exchangefolderid) {
        Mailboxtrackingfolder _x = _copy();
        _x.changedFields = changedFields.add("exchangefolderid");
        _x.odataType = Util.nvl(odataType, "Microsoft.Dynamics.CRM.mailboxtrackingfolder");
        _x.exchangefolderid = exchangefolderid;
        return _x;
    }

    @Property(name="createdon")
    @JsonIgnore
    public Optional getCreatedon() {
        return Optional.ofNullable(createdon);
    }

    public Mailboxtrackingfolder withCreatedon(OffsetDateTime createdon) {
        Mailboxtrackingfolder _x = _copy();
        _x.changedFields = changedFields.add("createdon");
        _x.odataType = Util.nvl(odataType, "Microsoft.Dynamics.CRM.mailboxtrackingfolder");
        _x.createdon = createdon;
        return _x;
    }

    @Property(name="_owninguser_value")
    @JsonIgnore
    public Optional get_owninguser_value() {
        return Optional.ofNullable(_owninguser_value);
    }

    public Mailboxtrackingfolder with_owninguser_value(UUID _owninguser_value) {
        Mailboxtrackingfolder _x = _copy();
        _x.changedFields = changedFields.add("_owninguser_value");
        _x.odataType = Util.nvl(odataType, "Microsoft.Dynamics.CRM.mailboxtrackingfolder");
        _x._owninguser_value = _owninguser_value;
        return _x;
    }

    @Property(name="_mailboxid_value")
    @JsonIgnore
    public Optional get_mailboxid_value() {
        return Optional.ofNullable(_mailboxid_value);
    }

    public Mailboxtrackingfolder with_mailboxid_value(UUID _mailboxid_value) {
        Mailboxtrackingfolder _x = _copy();
        _x.changedFields = changedFields.add("_mailboxid_value");
        _x.odataType = Util.nvl(odataType, "Microsoft.Dynamics.CRM.mailboxtrackingfolder");
        _x._mailboxid_value = _mailboxid_value;
        return _x;
    }

    @Property(name="_createdby_value")
    @JsonIgnore
    public Optional get_createdby_value() {
        return Optional.ofNullable(_createdby_value);
    }

    public Mailboxtrackingfolder with_createdby_value(UUID _createdby_value) {
        Mailboxtrackingfolder _x = _copy();
        _x.changedFields = changedFields.add("_createdby_value");
        _x.odataType = Util.nvl(odataType, "Microsoft.Dynamics.CRM.mailboxtrackingfolder");
        _x._createdby_value = _createdby_value;
        return _x;
    }

    @Property(name="exchangefoldername")
    @JsonIgnore
    public Optional getExchangefoldername() {
        return Optional.ofNullable(exchangefoldername);
    }

    public Mailboxtrackingfolder withExchangefoldername(String exchangefoldername) {
        Mailboxtrackingfolder _x = _copy();
        _x.changedFields = changedFields.add("exchangefoldername");
        _x.odataType = Util.nvl(odataType, "Microsoft.Dynamics.CRM.mailboxtrackingfolder");
        _x.exchangefoldername = exchangefoldername;
        return _x;
    }

    @Property(name="modifiedon")
    @JsonIgnore
    public Optional getModifiedon() {
        return Optional.ofNullable(modifiedon);
    }

    public Mailboxtrackingfolder withModifiedon(OffsetDateTime modifiedon) {
        Mailboxtrackingfolder _x = _copy();
        _x.changedFields = changedFields.add("modifiedon");
        _x.odataType = Util.nvl(odataType, "Microsoft.Dynamics.CRM.mailboxtrackingfolder");
        _x.modifiedon = modifiedon;
        return _x;
    }

    @Property(name="mailboxtrackingfolderid")
    @JsonIgnore
    public Optional getMailboxtrackingfolderid() {
        return Optional.ofNullable(mailboxtrackingfolderid);
    }

    public Mailboxtrackingfolder withMailboxtrackingfolderid(UUID mailboxtrackingfolderid) {
        Mailboxtrackingfolder _x = _copy();
        _x.changedFields = changedFields.add("mailboxtrackingfolderid");
        _x.odataType = Util.nvl(odataType, "Microsoft.Dynamics.CRM.mailboxtrackingfolder");
        _x.mailboxtrackingfolderid = mailboxtrackingfolderid;
        return _x;
    }

    @Property(name="versionnumber")
    @JsonIgnore
    public Optional getVersionnumber() {
        return Optional.ofNullable(versionnumber);
    }

    public Mailboxtrackingfolder withVersionnumber(Long versionnumber) {
        Mailboxtrackingfolder _x = _copy();
        _x.changedFields = changedFields.add("versionnumber");
        _x.odataType = Util.nvl(odataType, "Microsoft.Dynamics.CRM.mailboxtrackingfolder");
        _x.versionnumber = versionnumber;
        return _x;
    }

    @Property(name="_regardingobjectid_value")
    @JsonIgnore
    public Optional get_regardingobjectid_value() {
        return Optional.ofNullable(_regardingobjectid_value);
    }

    public Mailboxtrackingfolder with_regardingobjectid_value(UUID _regardingobjectid_value) {
        Mailboxtrackingfolder _x = _copy();
        _x.changedFields = changedFields.add("_regardingobjectid_value");
        _x.odataType = Util.nvl(odataType, "Microsoft.Dynamics.CRM.mailboxtrackingfolder");
        _x._regardingobjectid_value = _regardingobjectid_value;
        return _x;
    }

    @Property(name="_owningteam_value")
    @JsonIgnore
    public Optional get_owningteam_value() {
        return Optional.ofNullable(_owningteam_value);
    }

    public Mailboxtrackingfolder with_owningteam_value(UUID _owningteam_value) {
        Mailboxtrackingfolder _x = _copy();
        _x.changedFields = changedFields.add("_owningteam_value");
        _x.odataType = Util.nvl(odataType, "Microsoft.Dynamics.CRM.mailboxtrackingfolder");
        _x._owningteam_value = _owningteam_value;
        return _x;
    }

    @Property(name="_ownerid_value")
    @JsonIgnore
    public Optional get_ownerid_value() {
        return Optional.ofNullable(_ownerid_value);
    }

    public Mailboxtrackingfolder with_ownerid_value(UUID _ownerid_value) {
        Mailboxtrackingfolder _x = _copy();
        _x.changedFields = changedFields.add("_ownerid_value");
        _x.odataType = Util.nvl(odataType, "Microsoft.Dynamics.CRM.mailboxtrackingfolder");
        _x._ownerid_value = _ownerid_value;
        return _x;
    }

    @Property(name="_modifiedonbehalfby_value")
    @JsonIgnore
    public Optional get_modifiedonbehalfby_value() {
        return Optional.ofNullable(_modifiedonbehalfby_value);
    }

    public Mailboxtrackingfolder with_modifiedonbehalfby_value(UUID _modifiedonbehalfby_value) {
        Mailboxtrackingfolder _x = _copy();
        _x.changedFields = changedFields.add("_modifiedonbehalfby_value");
        _x.odataType = Util.nvl(odataType, "Microsoft.Dynamics.CRM.mailboxtrackingfolder");
        _x._modifiedonbehalfby_value = _modifiedonbehalfby_value;
        return _x;
    }

    @Property(name="_organizationid_value")
    @JsonIgnore
    public Optional get_organizationid_value() {
        return Optional.ofNullable(_organizationid_value);
    }

    public Mailboxtrackingfolder with_organizationid_value(UUID _organizationid_value) {
        Mailboxtrackingfolder _x = _copy();
        _x.changedFields = changedFields.add("_organizationid_value");
        _x.odataType = Util.nvl(odataType, "Microsoft.Dynamics.CRM.mailboxtrackingfolder");
        _x._organizationid_value = _organizationid_value;
        return _x;
    }

    public Mailboxtrackingfolder withUnmappedField(String name, Object value) {
        Mailboxtrackingfolder _x = _copy();
        _x.setUnmappedField(name, value);
        return _x;
    }

    @NavigationProperty(name="modifiedonbehalfby")
    @JsonIgnore
    public SystemuserRequest getModifiedonbehalfby() {
        return new SystemuserRequest(contextPath.addSegment("modifiedonbehalfby"), RequestHelper.getValue(unmappedFields, "modifiedonbehalfby"));
    }

    @NavigationProperty(name="ownerid")
    @JsonIgnore
    public PrincipalRequest getOwnerid() {
        return new PrincipalRequest(contextPath.addSegment("ownerid"), RequestHelper.getValue(unmappedFields, "ownerid"));
    }

    @NavigationProperty(name="createdonbehalfby")
    @JsonIgnore
    public SystemuserRequest getCreatedonbehalfby() {
        return new SystemuserRequest(contextPath.addSegment("createdonbehalfby"), RequestHelper.getValue(unmappedFields, "createdonbehalfby"));
    }

    @NavigationProperty(name="regardingobjectid_account")
    @JsonIgnore
    public AccountRequest getRegardingobjectid_account() {
        return new AccountRequest(contextPath.addSegment("regardingobjectid_account"), RequestHelper.getValue(unmappedFields, "regardingobjectid_account"));
    }

    @NavigationProperty(name="createdby")
    @JsonIgnore
    public SystemuserRequest getCreatedby() {
        return new SystemuserRequest(contextPath.addSegment("createdby"), RequestHelper.getValue(unmappedFields, "createdby"));
    }

    @NavigationProperty(name="regardingobjectid_asyncoperation")
    @JsonIgnore
    public AsyncoperationRequest getRegardingobjectid_asyncoperation() {
        return new AsyncoperationRequest(contextPath.addSegment("regardingobjectid_asyncoperation"), RequestHelper.getValue(unmappedFields, "regardingobjectid_asyncoperation"));
    }

    @NavigationProperty(name="organizationid")
    @JsonIgnore
    public OrganizationRequest getOrganizationid() {
        return new OrganizationRequest(contextPath.addSegment("organizationid"), RequestHelper.getValue(unmappedFields, "organizationid"));
    }

    @NavigationProperty(name="owningteam")
    @JsonIgnore
    public TeamRequest getOwningteam() {
        return new TeamRequest(contextPath.addSegment("owningteam"), RequestHelper.getValue(unmappedFields, "owningteam"));
    }

    @NavigationProperty(name="regardingobjectid_contact")
    @JsonIgnore
    public ContactRequest getRegardingobjectid_contact() {
        return new ContactRequest(contextPath.addSegment("regardingobjectid_contact"), RequestHelper.getValue(unmappedFields, "regardingobjectid_contact"));
    }

    @NavigationProperty(name="mailboxid")
    @JsonIgnore
    public MailboxRequest getMailboxid() {
        return new MailboxRequest(contextPath.addSegment("mailboxid"), RequestHelper.getValue(unmappedFields, "mailboxid"));
    }

    @NavigationProperty(name="owningbusinessunit")
    @JsonIgnore
    public BusinessunitRequest getOwningbusinessunit() {
        return new BusinessunitRequest(contextPath.addSegment("owningbusinessunit"), RequestHelper.getValue(unmappedFields, "owningbusinessunit"));
    }

    @NavigationProperty(name="modifiedby")
    @JsonIgnore
    public SystemuserRequest getModifiedby() {
        return new SystemuserRequest(contextPath.addSegment("modifiedby"), RequestHelper.getValue(unmappedFields, "modifiedby"));
    }

    @NavigationProperty(name="regardingobjectid_solutioncomponentattributeconfiguration")
    @JsonIgnore
    public SolutioncomponentattributeconfigurationRequest getRegardingobjectid_solutioncomponentattributeconfiguration() {
        return new SolutioncomponentattributeconfigurationRequest(contextPath.addSegment("regardingobjectid_solutioncomponentattributeconfiguration"), RequestHelper.getValue(unmappedFields, "regardingobjectid_solutioncomponentattributeconfiguration"));
    }

    @NavigationProperty(name="regardingobjectid_solutioncomponentconfiguration")
    @JsonIgnore
    public SolutioncomponentconfigurationRequest getRegardingobjectid_solutioncomponentconfiguration() {
        return new SolutioncomponentconfigurationRequest(contextPath.addSegment("regardingobjectid_solutioncomponentconfiguration"), RequestHelper.getValue(unmappedFields, "regardingobjectid_solutioncomponentconfiguration"));
    }

    @NavigationProperty(name="regardingobjectid_solutioncomponentrelationshipconfiguration")
    @JsonIgnore
    public SolutioncomponentrelationshipconfigurationRequest getRegardingobjectid_solutioncomponentrelationshipconfiguration() {
        return new SolutioncomponentrelationshipconfigurationRequest(contextPath.addSegment("regardingobjectid_solutioncomponentrelationshipconfiguration"), RequestHelper.getValue(unmappedFields, "regardingobjectid_solutioncomponentrelationshipconfiguration"));
    }

    @NavigationProperty(name="regardingobjectid_stagesolutionupload")
    @JsonIgnore
    public StagesolutionuploadRequest getRegardingobjectid_stagesolutionupload() {
        return new StagesolutionuploadRequest(contextPath.addSegment("regardingobjectid_stagesolutionupload"), RequestHelper.getValue(unmappedFields, "regardingobjectid_stagesolutionupload"));
    }

    @NavigationProperty(name="regardingobjectid_exportsolutionupload")
    @JsonIgnore
    public ExportsolutionuploadRequest getRegardingobjectid_exportsolutionupload() {
        return new ExportsolutionuploadRequest(contextPath.addSegment("regardingobjectid_exportsolutionupload"), RequestHelper.getValue(unmappedFields, "regardingobjectid_exportsolutionupload"));
    }

    @NavigationProperty(name="regardingobjectid_attributeimageconfig")
    @JsonIgnore
    public AttributeimageconfigRequest getRegardingobjectid_attributeimageconfig() {
        return new AttributeimageconfigRequest(contextPath.addSegment("regardingobjectid_attributeimageconfig"), RequestHelper.getValue(unmappedFields, "regardingobjectid_attributeimageconfig"));
    }

    @NavigationProperty(name="regardingobjectid_entityimageconfig")
    @JsonIgnore
    public EntityimageconfigRequest getRegardingobjectid_entityimageconfig() {
        return new EntityimageconfigRequest(contextPath.addSegment("regardingobjectid_entityimageconfig"), RequestHelper.getValue(unmappedFields, "regardingobjectid_entityimageconfig"));
    }

    @NavigationProperty(name="regardingobjectid_entityanalyticsconfig")
    @JsonIgnore
    public EntityanalyticsconfigRequest getRegardingobjectid_entityanalyticsconfig() {
        return new EntityanalyticsconfigRequest(contextPath.addSegment("regardingobjectid_entityanalyticsconfig"), RequestHelper.getValue(unmappedFields, "regardingobjectid_entityanalyticsconfig"));
    }

    @NavigationProperty(name="regardingobjectid_relationshipattribute")
    @JsonIgnore
    public RelationshipattributeRequest getRegardingobjectid_relationshipattribute() {
        return new RelationshipattributeRequest(contextPath.addSegment("regardingobjectid_relationshipattribute"), RequestHelper.getValue(unmappedFields, "regardingobjectid_relationshipattribute"));
    }

    @NavigationProperty(name="regardingobjectid_datalakeworkspace")
    @JsonIgnore
    public DatalakeworkspaceRequest getRegardingobjectid_datalakeworkspace() {
        return new DatalakeworkspaceRequest(contextPath.addSegment("regardingobjectid_datalakeworkspace"), RequestHelper.getValue(unmappedFields, "regardingobjectid_datalakeworkspace"));
    }

    @NavigationProperty(name="regardingobjectid_datalakeworkspacepermission")
    @JsonIgnore
    public DatalakeworkspacepermissionRequest getRegardingobjectid_datalakeworkspacepermission() {
        return new DatalakeworkspacepermissionRequest(contextPath.addSegment("regardingobjectid_datalakeworkspacepermission"), RequestHelper.getValue(unmappedFields, "regardingobjectid_datalakeworkspacepermission"));
    }

    @NavigationProperty(name="regardingobjectid_applicationuser")
    @JsonIgnore
    public ApplicationuserRequest getRegardingobjectid_applicationuser() {
        return new ApplicationuserRequest(contextPath.addSegment("regardingobjectid_applicationuser"), RequestHelper.getValue(unmappedFields, "regardingobjectid_applicationuser"));
    }

    @NavigationProperty(name="regardingobjectid_serviceplan")
    @JsonIgnore
    public ServiceplanRequest getRegardingobjectid_serviceplan() {
        return new ServiceplanRequest(contextPath.addSegment("regardingobjectid_serviceplan"), RequestHelper.getValue(unmappedFields, "regardingobjectid_serviceplan"));
    }

    @NavigationProperty(name="regardingobjectid_connector")
    @JsonIgnore
    public ConnectorRequest getRegardingobjectid_connector() {
        return new ConnectorRequest(contextPath.addSegment("regardingobjectid_connector"), RequestHelper.getValue(unmappedFields, "regardingobjectid_connector"));
    }

    @NavigationProperty(name="regardingobjectid_environmentvariabledefinition")
    @JsonIgnore
    public EnvironmentvariabledefinitionRequest getRegardingobjectid_environmentvariabledefinition() {
        return new EnvironmentvariabledefinitionRequest(contextPath.addSegment("regardingobjectid_environmentvariabledefinition"), RequestHelper.getValue(unmappedFields, "regardingobjectid_environmentvariabledefinition"));
    }

    @NavigationProperty(name="regardingobjectid_environmentvariablevalue")
    @JsonIgnore
    public EnvironmentvariablevalueRequest getRegardingobjectid_environmentvariablevalue() {
        return new EnvironmentvariablevalueRequest(contextPath.addSegment("regardingobjectid_environmentvariablevalue"), RequestHelper.getValue(unmappedFields, "regardingobjectid_environmentvariablevalue"));
    }

    @NavigationProperty(name="regardingobjectid_processstageparameter")
    @JsonIgnore
    public ProcessstageparameterRequest getRegardingobjectid_processstageparameter() {
        return new ProcessstageparameterRequest(contextPath.addSegment("regardingobjectid_processstageparameter"), RequestHelper.getValue(unmappedFields, "regardingobjectid_processstageparameter"));
    }

    @NavigationProperty(name="regardingobjectid_flowsession")
    @JsonIgnore
    public FlowsessionRequest getRegardingobjectid_flowsession() {
        return new FlowsessionRequest(contextPath.addSegment("regardingobjectid_flowsession"), RequestHelper.getValue(unmappedFields, "regardingobjectid_flowsession"));
    }

    @NavigationProperty(name="regardingobjectid_workflowbinary")
    @JsonIgnore
    public WorkflowbinaryRequest getRegardingobjectid_workflowbinary() {
        return new WorkflowbinaryRequest(contextPath.addSegment("regardingobjectid_workflowbinary"), RequestHelper.getValue(unmappedFields, "regardingobjectid_workflowbinary"));
    }

    @NavigationProperty(name="regardingobjectid_connectionreference")
    @JsonIgnore
    public ConnectionreferenceRequest getRegardingobjectid_connectionreference() {
        return new ConnectionreferenceRequest(contextPath.addSegment("regardingobjectid_connectionreference"), RequestHelper.getValue(unmappedFields, "regardingobjectid_connectionreference"));
    }

    @NavigationProperty(name="regardingobjectid_msdyn_helppage")
    @JsonIgnore
    public Msdyn_helppageRequest getRegardingobjectid_msdyn_helppage() {
        return new Msdyn_helppageRequest(contextPath.addSegment("regardingobjectid_msdyn_helppage"), RequestHelper.getValue(unmappedFields, "regardingobjectid_msdyn_helppage"));
    }

    @NavigationProperty(name="regardingobjectid_territory")
    @JsonIgnore
    public TerritoryRequest getRegardingobjectid_territory() {
        return new TerritoryRequest(contextPath.addSegment("regardingobjectid_territory"), RequestHelper.getValue(unmappedFields, "regardingobjectid_territory"));
    }

    @NavigationProperty(name="regardingobjectid_msdyn_serviceconfiguration")
    @JsonIgnore
    public Msdyn_serviceconfigurationRequest getRegardingobjectid_msdyn_serviceconfiguration() {
        return new Msdyn_serviceconfigurationRequest(contextPath.addSegment("regardingobjectid_msdyn_serviceconfiguration"), RequestHelper.getValue(unmappedFields, "regardingobjectid_msdyn_serviceconfiguration"));
    }

    @NavigationProperty(name="regardingobjectid_msdyn_slakpi")
    @JsonIgnore
    public Msdyn_slakpiRequest getRegardingobjectid_msdyn_slakpi() {
        return new Msdyn_slakpiRequest(contextPath.addSegment("regardingobjectid_msdyn_slakpi"), RequestHelper.getValue(unmappedFields, "regardingobjectid_msdyn_slakpi"));
    }

    @NavigationProperty(name="regardingobjectid_msdyn_knowledgearticleimage")
    @JsonIgnore
    public Msdyn_knowledgearticleimageRequest getRegardingobjectid_msdyn_knowledgearticleimage() {
        return new Msdyn_knowledgearticleimageRequest(contextPath.addSegment("regardingobjectid_msdyn_knowledgearticleimage"), RequestHelper.getValue(unmappedFields, "regardingobjectid_msdyn_knowledgearticleimage"));
    }

    @NavigationProperty(name="regardingobjectid_msdyn_knowledgearticletemplate")
    @JsonIgnore
    public Msdyn_knowledgearticletemplateRequest getRegardingobjectid_msdyn_knowledgearticletemplate() {
        return new Msdyn_knowledgearticletemplateRequest(contextPath.addSegment("regardingobjectid_msdyn_knowledgearticletemplate"), RequestHelper.getValue(unmappedFields, "regardingobjectid_msdyn_knowledgearticletemplate"));
    }

    @NavigationProperty(name="regardingobjectid_msdyn_dataflow")
    @JsonIgnore
    public Msdyn_dataflowRequest getRegardingobjectid_msdyn_dataflow() {
        return new Msdyn_dataflowRequest(contextPath.addSegment("regardingobjectid_msdyn_dataflow"), RequestHelper.getValue(unmappedFields, "regardingobjectid_msdyn_dataflow"));
    }

    @NavigationProperty(name="regardingobjectid_msdyn_richtextfile")
    @JsonIgnore
    public Msdyn_richtextfileRequest getRegardingobjectid_msdyn_richtextfile() {
        return new Msdyn_richtextfileRequest(contextPath.addSegment("regardingobjectid_msdyn_richtextfile"), RequestHelper.getValue(unmappedFields, "regardingobjectid_msdyn_richtextfile"));
    }

    @NavigationProperty(name="regardingobjectid_msdyn_aiconfiguration")
    @JsonIgnore
    public Msdyn_aiconfigurationRequest getRegardingobjectid_msdyn_aiconfiguration() {
        return new Msdyn_aiconfigurationRequest(contextPath.addSegment("regardingobjectid_msdyn_aiconfiguration"), RequestHelper.getValue(unmappedFields, "regardingobjectid_msdyn_aiconfiguration"));
    }

    @NavigationProperty(name="regardingobjectid_msdyn_aimodel")
    @JsonIgnore
    public Msdyn_aimodelRequest getRegardingobjectid_msdyn_aimodel() {
        return new Msdyn_aimodelRequest(contextPath.addSegment("regardingobjectid_msdyn_aimodel"), RequestHelper.getValue(unmappedFields, "regardingobjectid_msdyn_aimodel"));
    }

    @NavigationProperty(name="regardingobjectid_msdyn_aitemplate")
    @JsonIgnore
    public Msdyn_aitemplateRequest getRegardingobjectid_msdyn_aitemplate() {
        return new Msdyn_aitemplateRequest(contextPath.addSegment("regardingobjectid_msdyn_aitemplate"), RequestHelper.getValue(unmappedFields, "regardingobjectid_msdyn_aitemplate"));
    }

    @NavigationProperty(name="regardingobjectid_msdyn_aibdataset")
    @JsonIgnore
    public Msdyn_aibdatasetRequest getRegardingobjectid_msdyn_aibdataset() {
        return new Msdyn_aibdatasetRequest(contextPath.addSegment("regardingobjectid_msdyn_aibdataset"), RequestHelper.getValue(unmappedFields, "regardingobjectid_msdyn_aibdataset"));
    }

    @NavigationProperty(name="regardingobjectid_msdyn_aibdatasetfile")
    @JsonIgnore
    public Msdyn_aibdatasetfileRequest getRegardingobjectid_msdyn_aibdatasetfile() {
        return new Msdyn_aibdatasetfileRequest(contextPath.addSegment("regardingobjectid_msdyn_aibdatasetfile"), RequestHelper.getValue(unmappedFields, "regardingobjectid_msdyn_aibdatasetfile"));
    }

    @NavigationProperty(name="regardingobjectid_msdyn_aibdatasetrecord")
    @JsonIgnore
    public Msdyn_aibdatasetrecordRequest getRegardingobjectid_msdyn_aibdatasetrecord() {
        return new Msdyn_aibdatasetrecordRequest(contextPath.addSegment("regardingobjectid_msdyn_aibdatasetrecord"), RequestHelper.getValue(unmappedFields, "regardingobjectid_msdyn_aibdatasetrecord"));
    }

    @NavigationProperty(name="regardingobjectid_msdyn_aibdatasetscontainer")
    @JsonIgnore
    public Msdyn_aibdatasetscontainerRequest getRegardingobjectid_msdyn_aibdatasetscontainer() {
        return new Msdyn_aibdatasetscontainerRequest(contextPath.addSegment("regardingobjectid_msdyn_aibdatasetscontainer"), RequestHelper.getValue(unmappedFields, "regardingobjectid_msdyn_aibdatasetscontainer"));
    }

    @NavigationProperty(name="regardingobjectid_msdyn_aibfile")
    @JsonIgnore
    public Msdyn_aibfileRequest getRegardingobjectid_msdyn_aibfile() {
        return new Msdyn_aibfileRequest(contextPath.addSegment("regardingobjectid_msdyn_aibfile"), RequestHelper.getValue(unmappedFields, "regardingobjectid_msdyn_aibfile"));
    }

    @NavigationProperty(name="regardingobjectid_msdyn_aibfileattacheddata")
    @JsonIgnore
    public Msdyn_aibfileattacheddataRequest getRegardingobjectid_msdyn_aibfileattacheddata() {
        return new Msdyn_aibfileattacheddataRequest(contextPath.addSegment("regardingobjectid_msdyn_aibfileattacheddata"), RequestHelper.getValue(unmappedFields, "regardingobjectid_msdyn_aibfileattacheddata"));
    }

    @NavigationProperty(name="regardingobjectid_msdyn_aifptrainingdocument")
    @JsonIgnore
    public Msdyn_aifptrainingdocumentRequest getRegardingobjectid_msdyn_aifptrainingdocument() {
        return new Msdyn_aifptrainingdocumentRequest(contextPath.addSegment("regardingobjectid_msdyn_aifptrainingdocument"), RequestHelper.getValue(unmappedFields, "regardingobjectid_msdyn_aifptrainingdocument"));
    }

    @NavigationProperty(name="regardingobjectid_msdyn_aiodimage")
    @JsonIgnore
    public Msdyn_aiodimageRequest getRegardingobjectid_msdyn_aiodimage() {
        return new Msdyn_aiodimageRequest(contextPath.addSegment("regardingobjectid_msdyn_aiodimage"), RequestHelper.getValue(unmappedFields, "regardingobjectid_msdyn_aiodimage"));
    }

    @NavigationProperty(name="regardingobjectid_msdyn_aiodlabel")
    @JsonIgnore
    public Msdyn_aiodlabelRequest getRegardingobjectid_msdyn_aiodlabel() {
        return new Msdyn_aiodlabelRequest(contextPath.addSegment("regardingobjectid_msdyn_aiodlabel"), RequestHelper.getValue(unmappedFields, "regardingobjectid_msdyn_aiodlabel"));
    }

    @NavigationProperty(name="regardingobjectid_msdyn_aiodtrainingboundingbox")
    @JsonIgnore
    public Msdyn_aiodtrainingboundingboxRequest getRegardingobjectid_msdyn_aiodtrainingboundingbox() {
        return new Msdyn_aiodtrainingboundingboxRequest(contextPath.addSegment("regardingobjectid_msdyn_aiodtrainingboundingbox"), RequestHelper.getValue(unmappedFields, "regardingobjectid_msdyn_aiodtrainingboundingbox"));
    }

    @NavigationProperty(name="regardingobjectid_msdyn_aiodtrainingimage")
    @JsonIgnore
    public Msdyn_aiodtrainingimageRequest getRegardingobjectid_msdyn_aiodtrainingimage() {
        return new Msdyn_aiodtrainingimageRequest(contextPath.addSegment("regardingobjectid_msdyn_aiodtrainingimage"), RequestHelper.getValue(unmappedFields, "regardingobjectid_msdyn_aiodtrainingimage"));
    }

    @NavigationProperty(name="regardingobjectid_msdyn_analysiscomponent")
    @JsonIgnore
    public Msdyn_analysiscomponentRequest getRegardingobjectid_msdyn_analysiscomponent() {
        return new Msdyn_analysiscomponentRequest(contextPath.addSegment("regardingobjectid_msdyn_analysiscomponent"), RequestHelper.getValue(unmappedFields, "regardingobjectid_msdyn_analysiscomponent"));
    }

    @NavigationProperty(name="regardingobjectid_msdyn_analysisjob")
    @JsonIgnore
    public Msdyn_analysisjobRequest getRegardingobjectid_msdyn_analysisjob() {
        return new Msdyn_analysisjobRequest(contextPath.addSegment("regardingobjectid_msdyn_analysisjob"), RequestHelper.getValue(unmappedFields, "regardingobjectid_msdyn_analysisjob"));
    }

    @NavigationProperty(name="regardingobjectid_msdyn_analysisresult")
    @JsonIgnore
    public Msdyn_analysisresultRequest getRegardingobjectid_msdyn_analysisresult() {
        return new Msdyn_analysisresultRequest(contextPath.addSegment("regardingobjectid_msdyn_analysisresult"), RequestHelper.getValue(unmappedFields, "regardingobjectid_msdyn_analysisresult"));
    }

    @NavigationProperty(name="regardingobjectid_msdyn_analysisresultdetail")
    @JsonIgnore
    public Msdyn_analysisresultdetailRequest getRegardingobjectid_msdyn_analysisresultdetail() {
        return new Msdyn_analysisresultdetailRequest(contextPath.addSegment("regardingobjectid_msdyn_analysisresultdetail"), RequestHelper.getValue(unmappedFields, "regardingobjectid_msdyn_analysisresultdetail"));
    }

    @NavigationProperty(name="regardingobjectid_msdyn_solutionhealthrule")
    @JsonIgnore
    public Msdyn_solutionhealthruleRequest getRegardingobjectid_msdyn_solutionhealthrule() {
        return new Msdyn_solutionhealthruleRequest(contextPath.addSegment("regardingobjectid_msdyn_solutionhealthrule"), RequestHelper.getValue(unmappedFields, "regardingobjectid_msdyn_solutionhealthrule"));
    }

    @NavigationProperty(name="regardingobjectid_msdyn_solutionhealthruleargument")
    @JsonIgnore
    public Msdyn_solutionhealthruleargumentRequest getRegardingobjectid_msdyn_solutionhealthruleargument() {
        return new Msdyn_solutionhealthruleargumentRequest(contextPath.addSegment("regardingobjectid_msdyn_solutionhealthruleargument"), RequestHelper.getValue(unmappedFields, "regardingobjectid_msdyn_solutionhealthruleargument"));
    }

    @NavigationProperty(name="regardingobjectid_msdyn_solutionhealthruleset")
    @JsonIgnore
    public Msdyn_solutionhealthrulesetRequest getRegardingobjectid_msdyn_solutionhealthruleset() {
        return new Msdyn_solutionhealthrulesetRequest(contextPath.addSegment("regardingobjectid_msdyn_solutionhealthruleset"), RequestHelper.getValue(unmappedFields, "regardingobjectid_msdyn_solutionhealthruleset"));
    }

    @NavigationProperty(name="regardingobjectid_ggw_event")
    @JsonIgnore
    public Ggw_eventRequest getRegardingobjectid_ggw_event() {
        return new Ggw_eventRequest(contextPath.addSegment("regardingobjectid_ggw_event"), RequestHelper.getValue(unmappedFields, "regardingobjectid_ggw_event"));
    }

    @NavigationProperty(name="regardingobjectid_ggw_team")
    @JsonIgnore
    public Ggw_teamRequest getRegardingobjectid_ggw_team() {
        return new Ggw_teamRequest(contextPath.addSegment("regardingobjectid_ggw_team"), RequestHelper.getValue(unmappedFields, "regardingobjectid_ggw_team"));
    }

    @NavigationProperty(name="regardingobjectid_ggw_crew")
    @JsonIgnore
    public Ggw_crewRequest getRegardingobjectid_ggw_crew() {
        return new Ggw_crewRequest(contextPath.addSegment("regardingobjectid_ggw_crew"), RequestHelper.getValue(unmappedFields, "regardingobjectid_ggw_crew"));
    }

    @NavigationProperty(name="regardingobjectid_ggw_team_application")
    @JsonIgnore
    public Ggw_team_applicationRequest getRegardingobjectid_ggw_team_application() {
        return new Ggw_team_applicationRequest(contextPath.addSegment("regardingobjectid_ggw_team_application"), RequestHelper.getValue(unmappedFields, "regardingobjectid_ggw_team_application"));
    }

    @NavigationProperty(name="regardingobjectid_cascadegrantrevokeaccessrecordstracker")
    @JsonIgnore
    public CascadegrantrevokeaccessrecordstrackerRequest getRegardingobjectid_cascadegrantrevokeaccessrecordstracker() {
        return new CascadegrantrevokeaccessrecordstrackerRequest(contextPath.addSegment("regardingobjectid_cascadegrantrevokeaccessrecordstracker"), RequestHelper.getValue(unmappedFields, "regardingobjectid_cascadegrantrevokeaccessrecordstracker"));
    }

    @NavigationProperty(name="regardingobjectid_cascadegrantrevokeaccessversiontracker")
    @JsonIgnore
    public CascadegrantrevokeaccessversiontrackerRequest getRegardingobjectid_cascadegrantrevokeaccessversiontracker() {
        return new CascadegrantrevokeaccessversiontrackerRequest(contextPath.addSegment("regardingobjectid_cascadegrantrevokeaccessversiontracker"), RequestHelper.getValue(unmappedFields, "regardingobjectid_cascadegrantrevokeaccessversiontracker"));
    }

    @JsonAnySetter
    private void setUnmappedField(String name, Object value) {
        if (unmappedFields == null) {
            unmappedFields = new UnmappedFieldsImpl();
        }
        unmappedFields.put(name, value);
    }

    @JsonAnyGetter
    private UnmappedFieldsImpl unmappedFields() {
        return unmappedFields == null ? UnmappedFieldsImpl.EMPTY : unmappedFields;
    }

    @Override
    public UnmappedFields getUnmappedFields() {
        return 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 Mailboxtrackingfolder patch() {
        RequestHelper.patch(this, contextPath, RequestOptions.EMPTY);
        Mailboxtrackingfolder _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 Mailboxtrackingfolder put() {
        RequestHelper.put(this, contextPath, RequestOptions.EMPTY);
        Mailboxtrackingfolder _x = _copy();
        _x.changedFields = null;
        return _x;
    }

    private Mailboxtrackingfolder _copy() {
        Mailboxtrackingfolder _x = new Mailboxtrackingfolder();
        _x.contextPath = contextPath;
        _x.changedFields = changedFields;
        _x.unmappedFields = unmappedFields.copy();
        _x.odataType = odataType;
        _x._createdonbehalfby_value = _createdonbehalfby_value;
        _x.folderonboardingstatus = folderonboardingstatus;
        _x._owningbusinessunit_value = _owningbusinessunit_value;
        _x._modifiedby_value = _modifiedby_value;
        _x.exchangefolderid = exchangefolderid;
        _x.createdon = createdon;
        _x._owninguser_value = _owninguser_value;
        _x._mailboxid_value = _mailboxid_value;
        _x._createdby_value = _createdby_value;
        _x.exchangefoldername = exchangefoldername;
        _x.modifiedon = modifiedon;
        _x.mailboxtrackingfolderid = mailboxtrackingfolderid;
        _x.versionnumber = versionnumber;
        _x._regardingobjectid_value = _regardingobjectid_value;
        _x._owningteam_value = _owningteam_value;
        _x._ownerid_value = _ownerid_value;
        _x._modifiedonbehalfby_value = _modifiedonbehalfby_value;
        _x._organizationid_value = _organizationid_value;
        return _x;
    }

    @Override
    public String toString() {
        StringBuilder b = new StringBuilder();
        b.append("Mailboxtrackingfolder[");
        b.append("_createdonbehalfby_value=");
        b.append(this._createdonbehalfby_value);
        b.append(", ");
        b.append("folderonboardingstatus=");
        b.append(this.folderonboardingstatus);
        b.append(", ");
        b.append("_owningbusinessunit_value=");
        b.append(this._owningbusinessunit_value);
        b.append(", ");
        b.append("_modifiedby_value=");
        b.append(this._modifiedby_value);
        b.append(", ");
        b.append("exchangefolderid=");
        b.append(this.exchangefolderid);
        b.append(", ");
        b.append("createdon=");
        b.append(this.createdon);
        b.append(", ");
        b.append("_owninguser_value=");
        b.append(this._owninguser_value);
        b.append(", ");
        b.append("_mailboxid_value=");
        b.append(this._mailboxid_value);
        b.append(", ");
        b.append("_createdby_value=");
        b.append(this._createdby_value);
        b.append(", ");
        b.append("exchangefoldername=");
        b.append(this.exchangefoldername);
        b.append(", ");
        b.append("modifiedon=");
        b.append(this.modifiedon);
        b.append(", ");
        b.append("mailboxtrackingfolderid=");
        b.append(this.mailboxtrackingfolderid);
        b.append(", ");
        b.append("versionnumber=");
        b.append(this.versionnumber);
        b.append(", ");
        b.append("_regardingobjectid_value=");
        b.append(this._regardingobjectid_value);
        b.append(", ");
        b.append("_owningteam_value=");
        b.append(this._owningteam_value);
        b.append(", ");
        b.append("_ownerid_value=");
        b.append(this._ownerid_value);
        b.append(", ");
        b.append("_modifiedonbehalfby_value=");
        b.append(this._modifiedonbehalfby_value);
        b.append(", ");
        b.append("_organizationid_value=");
        b.append(this._organizationid_value);
        b.append("]");
        b.append(",unmappedFields=");
        b.append(unmappedFields);
        b.append(",odataType=");
        b.append(odataType);
        return b.toString();
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy