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

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

There is a newer version: 0.2.2
Show newest version
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.Checks;
import com.github.davidmoten.odata.client.internal.RequestHelper;
import com.github.davidmoten.odata.client.internal.UnmappedFields;

import java.time.OffsetDateTime;
import java.util.Optional;

import microsoft.dynamics.crm.entity.collection.request.SyncerrorCollectionRequest;
import microsoft.dynamics.crm.entity.request.AccountRequest;
import microsoft.dynamics.crm.entity.request.ActivitymimeattachmentRequest;
import microsoft.dynamics.crm.entity.request.ActivitypartyRequest;
import microsoft.dynamics.crm.entity.request.AnnotationRequest;
import microsoft.dynamics.crm.entity.request.ApplicationuserRequest;
import microsoft.dynamics.crm.entity.request.AppointmentRequest;
import microsoft.dynamics.crm.entity.request.AttachmentRequest;
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.CategoryRequest;
import microsoft.dynamics.crm.entity.request.ConnectionRequest;
import microsoft.dynamics.crm.entity.request.ConnectionreferenceRequest;
import microsoft.dynamics.crm.entity.request.ConnectionroleRequest;
import microsoft.dynamics.crm.entity.request.ConnectorRequest;
import microsoft.dynamics.crm.entity.request.ContactRequest;
import microsoft.dynamics.crm.entity.request.CustomeraddressRequest;
import microsoft.dynamics.crm.entity.request.DatalakeworkspaceRequest;
import microsoft.dynamics.crm.entity.request.DatalakeworkspacepermissionRequest;
import microsoft.dynamics.crm.entity.request.DuplicateruleRequest;
import microsoft.dynamics.crm.entity.request.DuplicateruleconditionRequest;
import microsoft.dynamics.crm.entity.request.EmailRequest;
import microsoft.dynamics.crm.entity.request.EmailserverprofileRequest;
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.ExpiredprocessRequest;
import microsoft.dynamics.crm.entity.request.ExportsolutionuploadRequest;
import microsoft.dynamics.crm.entity.request.FaxRequest;
import microsoft.dynamics.crm.entity.request.FeedbackRequest;
import microsoft.dynamics.crm.entity.request.FieldpermissionRequest;
import microsoft.dynamics.crm.entity.request.FieldsecurityprofileRequest;
import microsoft.dynamics.crm.entity.request.FileattachmentRequest;
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.GoalRequest;
import microsoft.dynamics.crm.entity.request.GoalrollupqueryRequest;
import microsoft.dynamics.crm.entity.request.ImportmapRequest;
import microsoft.dynamics.crm.entity.request.KbarticleRequest;
import microsoft.dynamics.crm.entity.request.KbarticletemplateRequest;
import microsoft.dynamics.crm.entity.request.KnowledgearticleRequest;
import microsoft.dynamics.crm.entity.request.KnowledgearticleviewsRequest;
import microsoft.dynamics.crm.entity.request.KnowledgebaserecordRequest;
import microsoft.dynamics.crm.entity.request.LetterRequest;
import microsoft.dynamics.crm.entity.request.MailboxRequest;
import microsoft.dynamics.crm.entity.request.MailmergetemplateRequest;
import microsoft.dynamics.crm.entity.request.MetricRequest;
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.NewprocessRequest;
import microsoft.dynamics.crm.entity.request.OrganizationRequest;
import microsoft.dynamics.crm.entity.request.PhonecallRequest;
import microsoft.dynamics.crm.entity.request.PositionRequest;
import microsoft.dynamics.crm.entity.request.PostfollowRequest;
import microsoft.dynamics.crm.entity.request.PrincipalRequest;
import microsoft.dynamics.crm.entity.request.ProcesssessionRequest;
import microsoft.dynamics.crm.entity.request.ProcessstageRequest;
import microsoft.dynamics.crm.entity.request.ProcessstageparameterRequest;
import microsoft.dynamics.crm.entity.request.ProcesstriggerRequest;
import microsoft.dynamics.crm.entity.request.PublisherRequest;
import microsoft.dynamics.crm.entity.request.QueueRequest;
import microsoft.dynamics.crm.entity.request.QueueitemRequest;
import microsoft.dynamics.crm.entity.request.RecurringappointmentmasterRequest;
import microsoft.dynamics.crm.entity.request.RelationshipattributeRequest;
import microsoft.dynamics.crm.entity.request.ReportRequest;
import microsoft.dynamics.crm.entity.request.ReportcategoryRequest;
import microsoft.dynamics.crm.entity.request.RoleRequest;
import microsoft.dynamics.crm.entity.request.RollupfieldRequest;
import microsoft.dynamics.crm.entity.request.SavedqueryRequest;
import microsoft.dynamics.crm.entity.request.SavedqueryvisualizationRequest;
import microsoft.dynamics.crm.entity.request.ServiceplanRequest;
import microsoft.dynamics.crm.entity.request.SharepointdocumentlocationRequest;
import microsoft.dynamics.crm.entity.request.SharepointsiteRequest;
import microsoft.dynamics.crm.entity.request.SlaRequest;
import microsoft.dynamics.crm.entity.request.SlaitemRequest;
import microsoft.dynamics.crm.entity.request.SlakpiinstanceRequest;
import microsoft.dynamics.crm.entity.request.SocialactivityRequest;
import microsoft.dynamics.crm.entity.request.SocialprofileRequest;
import microsoft.dynamics.crm.entity.request.SolutionRequest;
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.SubjectRequest;
import microsoft.dynamics.crm.entity.request.SyncerrorRequest;
import microsoft.dynamics.crm.entity.request.SystemuserRequest;
import microsoft.dynamics.crm.entity.request.TaskRequest;
import microsoft.dynamics.crm.entity.request.TeamRequest;
import microsoft.dynamics.crm.entity.request.TeamtemplateRequest;
import microsoft.dynamics.crm.entity.request.TemplateRequest;
import microsoft.dynamics.crm.entity.request.TerritoryRequest;
import microsoft.dynamics.crm.entity.request.TransactioncurrencyRequest;
import microsoft.dynamics.crm.entity.request.TranslationprocessRequest;
import microsoft.dynamics.crm.entity.request.UserqueryRequest;
import microsoft.dynamics.crm.entity.request.UserqueryvisualizationRequest;
import microsoft.dynamics.crm.entity.request.WorkflowRequest;
import microsoft.dynamics.crm.entity.request.WorkflowbinaryRequest;

@JsonPropertyOrder({
    "@odata.type", 
    "errortime", 
    "errorcode", 
    "syncerrorid", 
    "_owningbusinessunit_value", 
    "actiondata", 
    "_owningteam_value", 
    "_owninguser_value", 
    "_ownerid_value", 
    "errordetail", 
    "_regardingobjectid_value", 
    "description", 
    "createdon", 
    "_modifiedby_value", 
    "_createdby_value", 
    "errormessage", 
    "errortype", 
    "action", 
    "requestdata", 
    "modifiedon", 
    "_createdonbehalfby_value", 
    "statuscode", 
    "name", 
    "statecode", 
    "versionnumber", 
    "_modifiedonbehalfby_value"})
@JsonInclude(Include.NON_NULL)
public class Syncerror extends Crmbaseentity implements ODataEntityType {

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

    @JsonProperty("errortime")
    protected OffsetDateTime errortime;

    @JsonProperty("errorcode")
    protected String errorcode;

    @JsonProperty("syncerrorid")
    protected String syncerrorid;

    @JsonProperty("_owningbusinessunit_value")
    protected String _owningbusinessunit_value;

    @JsonProperty("actiondata")
    protected String actiondata;

    @JsonProperty("_owningteam_value")
    protected String _owningteam_value;

    @JsonProperty("_owninguser_value")
    protected String _owninguser_value;

    @JsonProperty("_ownerid_value")
    protected String _ownerid_value;

    @JsonProperty("errordetail")
    protected String errordetail;

    @JsonProperty("_regardingobjectid_value")
    protected String _regardingobjectid_value;

    @JsonProperty("description")
    protected String description;

    @JsonProperty("createdon")
    protected OffsetDateTime createdon;

    @JsonProperty("_modifiedby_value")
    protected String _modifiedby_value;

    @JsonProperty("_createdby_value")
    protected String _createdby_value;

    @JsonProperty("errormessage")
    protected String errormessage;

    @JsonProperty("errortype")
    protected Integer errortype;

    @JsonProperty("action")
    protected String action;

    @JsonProperty("requestdata")
    protected String requestdata;

    @JsonProperty("modifiedon")
    protected OffsetDateTime modifiedon;

    @JsonProperty("_createdonbehalfby_value")
    protected String _createdonbehalfby_value;

    @JsonProperty("statuscode")
    protected Integer statuscode;

    @JsonProperty("name")
    protected String name;

    @JsonProperty("statecode")
    protected Integer statecode;

    @JsonProperty("versionnumber")
    protected Long versionnumber;

    @JsonProperty("_modifiedonbehalfby_value")
    protected String _modifiedonbehalfby_value;

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

    public static final class Builder {
        private OffsetDateTime errortime;
        private String errorcode;
        private String syncerrorid;
        private String _owningbusinessunit_value;
        private String actiondata;
        private String _owningteam_value;
        private String _owninguser_value;
        private String _ownerid_value;
        private String errordetail;
        private String _regardingobjectid_value;
        private String description;
        private OffsetDateTime createdon;
        private String _modifiedby_value;
        private String _createdby_value;
        private String errormessage;
        private Integer errortype;
        private String action;
        private String requestdata;
        private OffsetDateTime modifiedon;
        private String _createdonbehalfby_value;
        private Integer statuscode;
        private String name;
        private Integer statecode;
        private Long versionnumber;
        private String _modifiedonbehalfby_value;
        private ChangedFields changedFields = new ChangedFields();

        Builder() {
            // prevent instantiation
        }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        public Syncerror build() {
            Syncerror _x = new Syncerror();
            _x.contextPath = null;
            _x.changedFields = changedFields;
            _x.unmappedFields = new UnmappedFields();
            _x.odataType = "Microsoft.Dynamics.CRM.syncerror";
            _x.errortime = errortime;
            _x.errorcode = errorcode;
            _x.syncerrorid = syncerrorid;
            _x._owningbusinessunit_value = _owningbusinessunit_value;
            _x.actiondata = actiondata;
            _x._owningteam_value = _owningteam_value;
            _x._owninguser_value = _owninguser_value;
            _x._ownerid_value = _ownerid_value;
            _x.errordetail = errordetail;
            _x._regardingobjectid_value = _regardingobjectid_value;
            _x.description = description;
            _x.createdon = createdon;
            _x._modifiedby_value = _modifiedby_value;
            _x._createdby_value = _createdby_value;
            _x.errormessage = errormessage;
            _x.errortype = errortype;
            _x.action = action;
            _x.requestdata = requestdata;
            _x.modifiedon = modifiedon;
            _x._createdonbehalfby_value = _createdonbehalfby_value;
            _x.statuscode = statuscode;
            _x.name = name;
            _x.statecode = statecode;
            _x.versionnumber = versionnumber;
            _x._modifiedonbehalfby_value = _modifiedonbehalfby_value;
            return _x;
        }
    }

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

    @Override
    public void postInject(boolean addKeysToContextPath) {
        if (addKeysToContextPath && syncerrorid != null) {
            contextPath = contextPath.clearQueries().addKeys(new NameValue(syncerrorid.toString()));
        }
    }

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

    public Syncerror withErrortime(OffsetDateTime errortime) {
        Syncerror _x = _copy();
        _x.changedFields = changedFields.add("errortime");
        _x.odataType = Util.nvl(odataType, "Microsoft.Dynamics.CRM.syncerror");
        _x.errortime = errortime;
        return _x;
    }

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

    public Syncerror withErrorcode(String errorcode) {
        Checks.checkIsAscii(errorcode);
        Syncerror _x = _copy();
        _x.changedFields = changedFields.add("errorcode");
        _x.odataType = Util.nvl(odataType, "Microsoft.Dynamics.CRM.syncerror");
        _x.errorcode = errorcode;
        return _x;
    }

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

    public Syncerror withSyncerrorid(String syncerrorid) {
        Syncerror _x = _copy();
        _x.changedFields = changedFields.add("syncerrorid");
        _x.odataType = Util.nvl(odataType, "Microsoft.Dynamics.CRM.syncerror");
        _x.syncerrorid = syncerrorid;
        return _x;
    }

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

    public Syncerror with_owningbusinessunit_value(String _owningbusinessunit_value) {
        Syncerror _x = _copy();
        _x.changedFields = changedFields.add("_owningbusinessunit_value");
        _x.odataType = Util.nvl(odataType, "Microsoft.Dynamics.CRM.syncerror");
        _x._owningbusinessunit_value = _owningbusinessunit_value;
        return _x;
    }

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

    public Syncerror withActiondata(String actiondata) {
        Checks.checkIsAscii(actiondata);
        Syncerror _x = _copy();
        _x.changedFields = changedFields.add("actiondata");
        _x.odataType = Util.nvl(odataType, "Microsoft.Dynamics.CRM.syncerror");
        _x.actiondata = actiondata;
        return _x;
    }

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

    public Syncerror with_owningteam_value(String _owningteam_value) {
        Syncerror _x = _copy();
        _x.changedFields = changedFields.add("_owningteam_value");
        _x.odataType = Util.nvl(odataType, "Microsoft.Dynamics.CRM.syncerror");
        _x._owningteam_value = _owningteam_value;
        return _x;
    }

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

    public Syncerror with_owninguser_value(String _owninguser_value) {
        Syncerror _x = _copy();
        _x.changedFields = changedFields.add("_owninguser_value");
        _x.odataType = Util.nvl(odataType, "Microsoft.Dynamics.CRM.syncerror");
        _x._owninguser_value = _owninguser_value;
        return _x;
    }

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

    public Syncerror with_ownerid_value(String _ownerid_value) {
        Syncerror _x = _copy();
        _x.changedFields = changedFields.add("_ownerid_value");
        _x.odataType = Util.nvl(odataType, "Microsoft.Dynamics.CRM.syncerror");
        _x._ownerid_value = _ownerid_value;
        return _x;
    }

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

    public Syncerror withErrordetail(String errordetail) {
        Checks.checkIsAscii(errordetail);
        Syncerror _x = _copy();
        _x.changedFields = changedFields.add("errordetail");
        _x.odataType = Util.nvl(odataType, "Microsoft.Dynamics.CRM.syncerror");
        _x.errordetail = errordetail;
        return _x;
    }

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

    public Syncerror with_regardingobjectid_value(String _regardingobjectid_value) {
        Syncerror _x = _copy();
        _x.changedFields = changedFields.add("_regardingobjectid_value");
        _x.odataType = Util.nvl(odataType, "Microsoft.Dynamics.CRM.syncerror");
        _x._regardingobjectid_value = _regardingobjectid_value;
        return _x;
    }

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

    public Syncerror withDescription(String description) {
        Checks.checkIsAscii(description);
        Syncerror _x = _copy();
        _x.changedFields = changedFields.add("description");
        _x.odataType = Util.nvl(odataType, "Microsoft.Dynamics.CRM.syncerror");
        _x.description = description;
        return _x;
    }

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

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

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

    public Syncerror with_modifiedby_value(String _modifiedby_value) {
        Syncerror _x = _copy();
        _x.changedFields = changedFields.add("_modifiedby_value");
        _x.odataType = Util.nvl(odataType, "Microsoft.Dynamics.CRM.syncerror");
        _x._modifiedby_value = _modifiedby_value;
        return _x;
    }

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

    public Syncerror with_createdby_value(String _createdby_value) {
        Syncerror _x = _copy();
        _x.changedFields = changedFields.add("_createdby_value");
        _x.odataType = Util.nvl(odataType, "Microsoft.Dynamics.CRM.syncerror");
        _x._createdby_value = _createdby_value;
        return _x;
    }

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

    public Syncerror withErrormessage(String errormessage) {
        Checks.checkIsAscii(errormessage);
        Syncerror _x = _copy();
        _x.changedFields = changedFields.add("errormessage");
        _x.odataType = Util.nvl(odataType, "Microsoft.Dynamics.CRM.syncerror");
        _x.errormessage = errormessage;
        return _x;
    }

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

    public Syncerror withErrortype(Integer errortype) {
        Syncerror _x = _copy();
        _x.changedFields = changedFields.add("errortype");
        _x.odataType = Util.nvl(odataType, "Microsoft.Dynamics.CRM.syncerror");
        _x.errortype = errortype;
        return _x;
    }

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

    public Syncerror withAction(String action) {
        Checks.checkIsAscii(action);
        Syncerror _x = _copy();
        _x.changedFields = changedFields.add("action");
        _x.odataType = Util.nvl(odataType, "Microsoft.Dynamics.CRM.syncerror");
        _x.action = action;
        return _x;
    }

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

    public Syncerror withRequestdata(String requestdata) {
        Checks.checkIsAscii(requestdata);
        Syncerror _x = _copy();
        _x.changedFields = changedFields.add("requestdata");
        _x.odataType = Util.nvl(odataType, "Microsoft.Dynamics.CRM.syncerror");
        _x.requestdata = requestdata;
        return _x;
    }

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

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

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

    public Syncerror with_createdonbehalfby_value(String _createdonbehalfby_value) {
        Syncerror _x = _copy();
        _x.changedFields = changedFields.add("_createdonbehalfby_value");
        _x.odataType = Util.nvl(odataType, "Microsoft.Dynamics.CRM.syncerror");
        _x._createdonbehalfby_value = _createdonbehalfby_value;
        return _x;
    }

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

    public Syncerror withStatuscode(Integer statuscode) {
        Syncerror _x = _copy();
        _x.changedFields = changedFields.add("statuscode");
        _x.odataType = Util.nvl(odataType, "Microsoft.Dynamics.CRM.syncerror");
        _x.statuscode = statuscode;
        return _x;
    }

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

    public Syncerror withName(String name) {
        Checks.checkIsAscii(name);
        Syncerror _x = _copy();
        _x.changedFields = changedFields.add("name");
        _x.odataType = Util.nvl(odataType, "Microsoft.Dynamics.CRM.syncerror");
        _x.name = name;
        return _x;
    }

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

    public Syncerror withStatecode(Integer statecode) {
        Syncerror _x = _copy();
        _x.changedFields = changedFields.add("statecode");
        _x.odataType = Util.nvl(odataType, "Microsoft.Dynamics.CRM.syncerror");
        _x.statecode = statecode;
        return _x;
    }

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

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

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

    public Syncerror with_modifiedonbehalfby_value(String _modifiedonbehalfby_value) {
        Syncerror _x = _copy();
        _x.changedFields = changedFields.add("_modifiedonbehalfby_value");
        _x.odataType = Util.nvl(odataType, "Microsoft.Dynamics.CRM.syncerror");
        _x._modifiedonbehalfby_value = _modifiedonbehalfby_value;
        return _x;
    }

    @NavigationProperty(name="regardingobjectid_ExpiredProcess_syncerror")
    @JsonIgnore
    public ExpiredprocessRequest getRegardingobjectid_ExpiredProcess_syncerror() {
        return new ExpiredprocessRequest(contextPath.addSegment("regardingobjectid_ExpiredProcess_syncerror"));
    }

    @NavigationProperty(name="regardingobjectid_email_syncerror")
    @JsonIgnore
    public EmailRequest getRegardingobjectid_email_syncerror() {
        return new EmailRequest(contextPath.addSegment("regardingobjectid_email_syncerror"));
    }

    @NavigationProperty(name="regardingobjectid_systemuser")
    @JsonIgnore
    public SystemuserRequest getRegardingobjectid_systemuser() {
        return new SystemuserRequest(contextPath.addSegment("regardingobjectid_systemuser"));
    }

    @NavigationProperty(name="regardingobjectid_businessunit_syncerror")
    @JsonIgnore
    public BusinessunitRequest getRegardingobjectid_businessunit_syncerror() {
        return new BusinessunitRequest(contextPath.addSegment("regardingobjectid_businessunit_syncerror"));
    }

    @NavigationProperty(name="regardingobjectid_knowledgearticleviews_syncerror")
    @JsonIgnore
    public KnowledgearticleviewsRequest getRegardingobjectid_knowledgearticleviews_syncerror() {
        return new KnowledgearticleviewsRequest(contextPath.addSegment("regardingobjectid_knowledgearticleviews_syncerror"));
    }

    @NavigationProperty(name="regardingobjectid_TranslationProcess_syncerror")
    @JsonIgnore
    public TranslationprocessRequest getRegardingobjectid_TranslationProcess_syncerror() {
        return new TranslationprocessRequest(contextPath.addSegment("regardingobjectid_TranslationProcess_syncerror"));
    }

    @NavigationProperty(name="regardingobjectid_account_syncerror")
    @JsonIgnore
    public AccountRequest getRegardingobjectid_account_syncerror() {
        return new AccountRequest(contextPath.addSegment("regardingobjectid_account_syncerror"));
    }

    @NavigationProperty(name="regardingobjectid_publisher_syncerror")
    @JsonIgnore
    public PublisherRequest getRegardingobjectid_publisher_syncerror() {
        return new PublisherRequest(contextPath.addSegment("regardingobjectid_publisher_syncerror"));
    }

    @NavigationProperty(name="regardingobjectid_activitymimeattachment_syncerror")
    @JsonIgnore
    public ActivitymimeattachmentRequest getRegardingobjectid_activitymimeattachment_syncerror() {
        return new ActivitymimeattachmentRequest(contextPath.addSegment("regardingobjectid_activitymimeattachment_syncerror"));
    }

    @NavigationProperty(name="regardingobjectid_userqueryvisualization_syncerror")
    @JsonIgnore
    public UserqueryvisualizationRequest getRegardingobjectid_userqueryvisualization_syncerror() {
        return new UserqueryvisualizationRequest(contextPath.addSegment("regardingobjectid_userqueryvisualization_syncerror"));
    }

    @NavigationProperty(name="regardingobjectid_savedqueryvisualization_syncerror")
    @JsonIgnore
    public SavedqueryvisualizationRequest getRegardingobjectid_savedqueryvisualization_syncerror() {
        return new SavedqueryvisualizationRequest(contextPath.addSegment("regardingobjectid_savedqueryvisualization_syncerror"));
    }

    @NavigationProperty(name="regardingobjectid_attachment_syncerror")
    @JsonIgnore
    public AttachmentRequest getRegardingobjectid_attachment_syncerror() {
        return new AttachmentRequest(contextPath.addSegment("regardingobjectid_attachment_syncerror"));
    }

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

    @NavigationProperty(name="regardingobjectid_systemuser_syncerror")
    @JsonIgnore
    public SystemuserRequest getRegardingobjectid_systemuser_syncerror() {
        return new SystemuserRequest(contextPath.addSegment("regardingobjectid_systemuser_syncerror"));
    }

    @NavigationProperty(name="regardingobjectid_fieldsecurityprofile_syncerror")
    @JsonIgnore
    public FieldsecurityprofileRequest getRegardingobjectid_fieldsecurityprofile_syncerror() {
        return new FieldsecurityprofileRequest(contextPath.addSegment("regardingobjectid_fieldsecurityprofile_syncerror"));
    }

    @NavigationProperty(name="regardingobjectid_importmap_syncerror")
    @JsonIgnore
    public ImportmapRequest getRegardingobjectid_importmap_syncerror() {
        return new ImportmapRequest(contextPath.addSegment("regardingobjectid_importmap_syncerror"));
    }

    @NavigationProperty(name="regardingobjectid_activityparty_syncerror")
    @JsonIgnore
    public ActivitypartyRequest getRegardingobjectid_activityparty_syncerror() {
        return new ActivitypartyRequest(contextPath.addSegment("regardingobjectid_activityparty_syncerror"));
    }

    @NavigationProperty(name="regardingobjectid_fieldpermission_syncerror")
    @JsonIgnore
    public FieldpermissionRequest getRegardingobjectid_fieldpermission_syncerror() {
        return new FieldpermissionRequest(contextPath.addSegment("regardingobjectid_fieldpermission_syncerror"));
    }

    @NavigationProperty(name="regardingobjectid_processstage_syncerror")
    @JsonIgnore
    public ProcessstageRequest getRegardingobjectid_processstage_syncerror() {
        return new ProcessstageRequest(contextPath.addSegment("regardingobjectid_processstage_syncerror"));
    }

    @NavigationProperty(name="regardingobjectid_duplicaterulecondition_syncerror")
    @JsonIgnore
    public DuplicateruleconditionRequest getRegardingobjectid_duplicaterulecondition_syncerror() {
        return new DuplicateruleconditionRequest(contextPath.addSegment("regardingobjectid_duplicaterulecondition_syncerror"));
    }

    @NavigationProperty(name="regardingobjectid_appointment_syncerror")
    @JsonIgnore
    public AppointmentRequest getRegardingobjectid_appointment_syncerror() {
        return new AppointmentRequest(contextPath.addSegment("regardingobjectid_appointment_syncerror"));
    }

    @NavigationProperty(name="regardingobjectid_duplicaterule_syncerror")
    @JsonIgnore
    public DuplicateruleRequest getRegardingobjectid_duplicaterule_syncerror() {
        return new DuplicateruleRequest(contextPath.addSegment("regardingobjectid_duplicaterule_syncerror"));
    }

    @NavigationProperty(name="regardingobjectid_sla_syncerror")
    @JsonIgnore
    public SlaRequest getRegardingobjectid_sla_syncerror() {
        return new SlaRequest(contextPath.addSegment("regardingobjectid_sla_syncerror"));
    }

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

    @NavigationProperty(name="regardingobjectid_knowledgearticle_syncerror")
    @JsonIgnore
    public KnowledgearticleRequest getRegardingobjectid_knowledgearticle_syncerror() {
        return new KnowledgearticleRequest(contextPath.addSegment("regardingobjectid_knowledgearticle_syncerror"));
    }

    @NavigationProperty(name="regardingobjectid_knowledgebaserecord_syncerror")
    @JsonIgnore
    public KnowledgebaserecordRequest getRegardingobjectid_knowledgebaserecord_syncerror() {
        return new KnowledgebaserecordRequest(contextPath.addSegment("regardingobjectid_knowledgebaserecord_syncerror"));
    }

    @NavigationProperty(name="regardingobjectid_reportcategory_syncerror")
    @JsonIgnore
    public ReportcategoryRequest getRegardingobjectid_reportcategory_syncerror() {
        return new ReportcategoryRequest(contextPath.addSegment("regardingobjectid_reportcategory_syncerror"));
    }

    @NavigationProperty(name="regardingobjectid_processsession_syncerror")
    @JsonIgnore
    public ProcesssessionRequest getRegardingobjectid_processsession_syncerror() {
        return new ProcesssessionRequest(contextPath.addSegment("regardingobjectid_processsession_syncerror"));
    }

    @NavigationProperty(name="regardingobjectid_contact_syncerror")
    @JsonIgnore
    public ContactRequest getRegardingobjectid_contact_syncerror() {
        return new ContactRequest(contextPath.addSegment("regardingobjectid_contact_syncerror"));
    }

    @NavigationProperty(name="regardingobjectid_report_syncerror")
    @JsonIgnore
    public ReportRequest getRegardingobjectid_report_syncerror() {
        return new ReportRequest(contextPath.addSegment("regardingobjectid_report_syncerror"));
    }

    @NavigationProperty(name="regardingobjectid_letter_syncerror")
    @JsonIgnore
    public LetterRequest getRegardingobjectid_letter_syncerror() {
        return new LetterRequest(contextPath.addSegment("regardingobjectid_letter_syncerror"));
    }

    @NavigationProperty(name="regardingobjectid_category_syncerror")
    @JsonIgnore
    public CategoryRequest getRegardingobjectid_category_syncerror() {
        return new CategoryRequest(contextPath.addSegment("regardingobjectid_category_syncerror"));
    }

    @NavigationProperty(name="regardingobjectid_processtrigger_syncerror")
    @JsonIgnore
    public ProcesstriggerRequest getRegardingobjectid_processtrigger_syncerror() {
        return new ProcesstriggerRequest(contextPath.addSegment("regardingobjectid_processtrigger_syncerror"));
    }

    @NavigationProperty(name="regardingobjectid_team_syncerror")
    @JsonIgnore
    public TeamRequest getRegardingobjectid_team_syncerror() {
        return new TeamRequest(contextPath.addSegment("regardingobjectid_team_syncerror"));
    }

    @NavigationProperty(name="regardingobjectid_organization_syncerror")
    @JsonIgnore
    public OrganizationRequest getRegardingobjectid_organization_syncerror() {
        return new OrganizationRequest(contextPath.addSegment("regardingobjectid_organization_syncerror"));
    }

    @NavigationProperty(name="regardingobjectid_socialactivity_syncerror")
    @JsonIgnore
    public SocialactivityRequest getRegardingobjectid_socialactivity_syncerror() {
        return new SocialactivityRequest(contextPath.addSegment("regardingobjectid_socialactivity_syncerror"));
    }

    @NavigationProperty(name="regardingobjectid_queueitem_syncerror")
    @JsonIgnore
    public QueueitemRequest getRegardingobjectid_queueitem_syncerror() {
        return new QueueitemRequest(contextPath.addSegment("regardingobjectid_queueitem_syncerror"));
    }

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

    @NavigationProperty(name="regardingobjectid_connectionrole_syncerror")
    @JsonIgnore
    public ConnectionroleRequest getRegardingobjectid_connectionrole_syncerror() {
        return new ConnectionroleRequest(contextPath.addSegment("regardingobjectid_connectionrole_syncerror"));
    }

    @NavigationProperty(name="regardingobjectid_userquery_syncerror")
    @JsonIgnore
    public UserqueryRequest getRegardingobjectid_userquery_syncerror() {
        return new UserqueryRequest(contextPath.addSegment("regardingobjectid_userquery_syncerror"));
    }

    @NavigationProperty(name="regardingobjectid_solution_syncerror")
    @JsonIgnore
    public SolutionRequest getRegardingobjectid_solution_syncerror() {
        return new SolutionRequest(contextPath.addSegment("regardingobjectid_solution_syncerror"));
    }

    @NavigationProperty(name="regardingobjectid_mailbox_syncerror")
    @JsonIgnore
    public MailboxRequest getRegardingobjectid_mailbox_syncerror() {
        return new MailboxRequest(contextPath.addSegment("regardingobjectid_mailbox_syncerror"));
    }

    @NavigationProperty(name="regardingobjectid_goal_syncerror")
    @JsonIgnore
    public GoalRequest getRegardingobjectid_goal_syncerror() {
        return new GoalRequest(contextPath.addSegment("regardingobjectid_goal_syncerror"));
    }

    @NavigationProperty(name="regardingobjectid_socialprofile_syncerror")
    @JsonIgnore
    public SocialprofileRequest getRegardingobjectid_socialprofile_syncerror() {
        return new SocialprofileRequest(contextPath.addSegment("regardingobjectid_socialprofile_syncerror"));
    }

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

    @NavigationProperty(name="regardingobjectid_savedquery_syncerror")
    @JsonIgnore
    public SavedqueryRequest getRegardingobjectid_savedquery_syncerror() {
        return new SavedqueryRequest(contextPath.addSegment("regardingobjectid_savedquery_syncerror"));
    }

    @NavigationProperty(name="regardingobjectid_kbarticletemplate_syncerror")
    @JsonIgnore
    public KbarticletemplateRequest getRegardingobjectid_kbarticletemplate_syncerror() {
        return new KbarticletemplateRequest(contextPath.addSegment("regardingobjectid_kbarticletemplate_syncerror"));
    }

    @NavigationProperty(name="regardingobjectid_syncerror_syncerror")
    @JsonIgnore
    public SyncerrorRequest getRegardingobjectid_syncerror_syncerror() {
        return new SyncerrorRequest(contextPath.addSegment("regardingobjectid_syncerror_syncerror"));
    }

    @NavigationProperty(name="SyncError_SyncErrors")
    @JsonIgnore
    public SyncerrorCollectionRequest getSyncError_SyncErrors() {
        return new SyncerrorCollectionRequest(
                        contextPath.addSegment("SyncError_SyncErrors"));
    }

    @NavigationProperty(name="regardingobjectid_recurringappointmentmaster_syncerror")
    @JsonIgnore
    public RecurringappointmentmasterRequest getRegardingobjectid_recurringappointmentmaster_syncerror() {
        return new RecurringappointmentmasterRequest(contextPath.addSegment("regardingobjectid_recurringappointmentmaster_syncerror"));
    }

    @NavigationProperty(name="regardingobjectid_postfollow_syncerror")
    @JsonIgnore
    public PostfollowRequest getRegardingobjectid_postfollow_syncerror() {
        return new PostfollowRequest(contextPath.addSegment("regardingobjectid_postfollow_syncerror"));
    }

    @NavigationProperty(name="regardingobjectid_customeraddress_syncerror")
    @JsonIgnore
    public CustomeraddressRequest getRegardingobjectid_customeraddress_syncerror() {
        return new CustomeraddressRequest(contextPath.addSegment("regardingobjectid_customeraddress_syncerror"));
    }

    @NavigationProperty(name="regardingobjectid_mailmergetemplate_syncerror")
    @JsonIgnore
    public MailmergetemplateRequest getRegardingobjectid_mailmergetemplate_syncerror() {
        return new MailmergetemplateRequest(contextPath.addSegment("regardingobjectid_mailmergetemplate_syncerror"));
    }

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

    @NavigationProperty(name="regardingobjectid_subject_syncerror")
    @JsonIgnore
    public SubjectRequest getRegardingobjectid_subject_syncerror() {
        return new SubjectRequest(contextPath.addSegment("regardingobjectid_subject_syncerror"));
    }

    @NavigationProperty(name="regardingobjectid_task_syncerror")
    @JsonIgnore
    public TaskRequest getRegardingobjectid_task_syncerror() {
        return new TaskRequest(contextPath.addSegment("regardingobjectid_task_syncerror"));
    }

    @NavigationProperty(name="regardingobjectid_phonecall_syncerror")
    @JsonIgnore
    public PhonecallRequest getRegardingobjectid_phonecall_syncerror() {
        return new PhonecallRequest(contextPath.addSegment("regardingobjectid_phonecall_syncerror"));
    }

    @NavigationProperty(name="regardingobjectid_workflow_syncerror")
    @JsonIgnore
    public WorkflowRequest getRegardingobjectid_workflow_syncerror() {
        return new WorkflowRequest(contextPath.addSegment("regardingobjectid_workflow_syncerror"));
    }

    @NavigationProperty(name="regardingobjectid_queue_syncerror")
    @JsonIgnore
    public QueueRequest getRegardingobjectid_queue_syncerror() {
        return new QueueRequest(contextPath.addSegment("regardingobjectid_queue_syncerror"));
    }

    @NavigationProperty(name="regardingobjectid_position_syncerror")
    @JsonIgnore
    public PositionRequest getRegardingobjectid_position_syncerror() {
        return new PositionRequest(contextPath.addSegment("regardingobjectid_position_syncerror"));
    }

    @NavigationProperty(name="regardingobjectid_annotation_syncerror")
    @JsonIgnore
    public AnnotationRequest getRegardingobjectid_annotation_syncerror() {
        return new AnnotationRequest(contextPath.addSegment("regardingobjectid_annotation_syncerror"));
    }

    @NavigationProperty(name="regardingobjectid_rollupfield_syncerror")
    @JsonIgnore
    public RollupfieldRequest getRegardingobjectid_rollupfield_syncerror() {
        return new RollupfieldRequest(contextPath.addSegment("regardingobjectid_rollupfield_syncerror"));
    }

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

    @NavigationProperty(name="regardingobjectid_connection_syncerror")
    @JsonIgnore
    public ConnectionRequest getRegardingobjectid_connection_syncerror() {
        return new ConnectionRequest(contextPath.addSegment("regardingobjectid_connection_syncerror"));
    }

    @NavigationProperty(name="regardingobjectid_kbarticle_syncerror")
    @JsonIgnore
    public KbarticleRequest getRegardingobjectid_kbarticle_syncerror() {
        return new KbarticleRequest(contextPath.addSegment("regardingobjectid_kbarticle_syncerror"));
    }

    @NavigationProperty(name="regardingobjectid_slaitem_syncerror")
    @JsonIgnore
    public SlaitemRequest getRegardingobjectid_slaitem_syncerror() {
        return new SlaitemRequest(contextPath.addSegment("regardingobjectid_slaitem_syncerror"));
    }

    @NavigationProperty(name="regardingobjectid_template_syncerror")
    @JsonIgnore
    public TemplateRequest getRegardingobjectid_template_syncerror() {
        return new TemplateRequest(contextPath.addSegment("regardingobjectid_template_syncerror"));
    }

    @NavigationProperty(name="regardingobjectid_fax_syncerror")
    @JsonIgnore
    public FaxRequest getRegardingobjectid_fax_syncerror() {
        return new FaxRequest(contextPath.addSegment("regardingobjectid_fax_syncerror"));
    }

    @NavigationProperty(name="regardingobjectid_feedback_syncerror")
    @JsonIgnore
    public FeedbackRequest getRegardingobjectid_feedback_syncerror() {
        return new FeedbackRequest(contextPath.addSegment("regardingobjectid_feedback_syncerror"));
    }

    @NavigationProperty(name="regardingobjectid_metric_syncerror")
    @JsonIgnore
    public MetricRequest getRegardingobjectid_metric_syncerror() {
        return new MetricRequest(contextPath.addSegment("regardingobjectid_metric_syncerror"));
    }

    @NavigationProperty(name="regardingobjectid_slakpiinstance_syncerror")
    @JsonIgnore
    public SlakpiinstanceRequest getRegardingobjectid_slakpiinstance_syncerror() {
        return new SlakpiinstanceRequest(contextPath.addSegment("regardingobjectid_slakpiinstance_syncerror"));
    }

    @NavigationProperty(name="regardingobjectid_sharepointsite_syncerror")
    @JsonIgnore
    public SharepointsiteRequest getRegardingobjectid_sharepointsite_syncerror() {
        return new SharepointsiteRequest(contextPath.addSegment("regardingobjectid_sharepointsite_syncerror"));
    }

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

    @NavigationProperty(name="regardingobjectid_NewProcess_syncerror")
    @JsonIgnore
    public NewprocessRequest getRegardingobjectid_NewProcess_syncerror() {
        return new NewprocessRequest(contextPath.addSegment("regardingobjectid_NewProcess_syncerror"));
    }

    @NavigationProperty(name="regardingobjectid_sharepointdocumentlocation_syncerror")
    @JsonIgnore
    public SharepointdocumentlocationRequest getRegardingobjectid_sharepointdocumentlocation_syncerror() {
        return new SharepointdocumentlocationRequest(contextPath.addSegment("regardingobjectid_sharepointdocumentlocation_syncerror"));
    }

    @NavigationProperty(name="regardingobjectid_teamtemplate_syncerror")
    @JsonIgnore
    public TeamtemplateRequest getRegardingobjectid_teamtemplate_syncerror() {
        return new TeamtemplateRequest(contextPath.addSegment("regardingobjectid_teamtemplate_syncerror"));
    }

    @NavigationProperty(name="regardingobjectid_role_syncerror")
    @JsonIgnore
    public RoleRequest getRegardingobjectid_role_syncerror() {
        return new RoleRequest(contextPath.addSegment("regardingobjectid_role_syncerror"));
    }

    @NavigationProperty(name="regardingobjectid_emailserverprofile_syncerror")
    @JsonIgnore
    public EmailserverprofileRequest getRegardingobjectid_emailserverprofile_syncerror() {
        return new EmailserverprofileRequest(contextPath.addSegment("regardingobjectid_emailserverprofile_syncerror"));
    }

    @NavigationProperty(name="regardingobjectid_goalrollupquery_syncerror")
    @JsonIgnore
    public GoalrollupqueryRequest getRegardingobjectid_goalrollupquery_syncerror() {
        return new GoalrollupqueryRequest(contextPath.addSegment("regardingobjectid_goalrollupquery_syncerror"));
    }

    @NavigationProperty(name="regardingobjectid_transactioncurrency_syncerror")
    @JsonIgnore
    public TransactioncurrencyRequest getRegardingobjectid_transactioncurrency_syncerror() {
        return new TransactioncurrencyRequest(contextPath.addSegment("regardingobjectid_transactioncurrency_syncerror"));
    }

    @NavigationProperty(name="regardingobjectid_fileattachment_syncerror")
    @JsonIgnore
    public FileattachmentRequest getRegardingobjectid_fileattachment_syncerror() {
        return new FileattachmentRequest(contextPath.addSegment("regardingobjectid_fileattachment_syncerror"));
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    @NavigationProperty(name="regardingobjectid_territory_syncerror")
    @JsonIgnore
    public TerritoryRequest getRegardingobjectid_territory_syncerror() {
        return new TerritoryRequest(contextPath.addSegment("regardingobjectid_territory_syncerror"));
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    @NavigationProperty(name="regardingobjectid_ggw_crew")
    @JsonIgnore
    public Ggw_crewRequest getRegardingobjectid_ggw_crew() {
        return new Ggw_crewRequest(contextPath.addSegment("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"));
    }

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

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

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

    private Syncerror _copy() {
        Syncerror _x = new Syncerror();
        _x.contextPath = contextPath;
        _x.changedFields = changedFields;
        _x.unmappedFields = unmappedFields;
        _x.odataType = odataType;
        _x.errortime = errortime;
        _x.errorcode = errorcode;
        _x.syncerrorid = syncerrorid;
        _x._owningbusinessunit_value = _owningbusinessunit_value;
        _x.actiondata = actiondata;
        _x._owningteam_value = _owningteam_value;
        _x._owninguser_value = _owninguser_value;
        _x._ownerid_value = _ownerid_value;
        _x.errordetail = errordetail;
        _x._regardingobjectid_value = _regardingobjectid_value;
        _x.description = description;
        _x.createdon = createdon;
        _x._modifiedby_value = _modifiedby_value;
        _x._createdby_value = _createdby_value;
        _x.errormessage = errormessage;
        _x.errortype = errortype;
        _x.action = action;
        _x.requestdata = requestdata;
        _x.modifiedon = modifiedon;
        _x._createdonbehalfby_value = _createdonbehalfby_value;
        _x.statuscode = statuscode;
        _x.name = name;
        _x.statecode = statecode;
        _x.versionnumber = versionnumber;
        _x._modifiedonbehalfby_value = _modifiedonbehalfby_value;
        return _x;
    }

    @Override
    public String toString() {
        StringBuilder b = new StringBuilder();
        b.append("Syncerror[");
        b.append("errortime=");
        b.append(this.errortime);
        b.append(", ");
        b.append("errorcode=");
        b.append(this.errorcode);
        b.append(", ");
        b.append("syncerrorid=");
        b.append(this.syncerrorid);
        b.append(", ");
        b.append("_owningbusinessunit_value=");
        b.append(this._owningbusinessunit_value);
        b.append(", ");
        b.append("actiondata=");
        b.append(this.actiondata);
        b.append(", ");
        b.append("_owningteam_value=");
        b.append(this._owningteam_value);
        b.append(", ");
        b.append("_owninguser_value=");
        b.append(this._owninguser_value);
        b.append(", ");
        b.append("_ownerid_value=");
        b.append(this._ownerid_value);
        b.append(", ");
        b.append("errordetail=");
        b.append(this.errordetail);
        b.append(", ");
        b.append("_regardingobjectid_value=");
        b.append(this._regardingobjectid_value);
        b.append(", ");
        b.append("description=");
        b.append(this.description);
        b.append(", ");
        b.append("createdon=");
        b.append(this.createdon);
        b.append(", ");
        b.append("_modifiedby_value=");
        b.append(this._modifiedby_value);
        b.append(", ");
        b.append("_createdby_value=");
        b.append(this._createdby_value);
        b.append(", ");
        b.append("errormessage=");
        b.append(this.errormessage);
        b.append(", ");
        b.append("errortype=");
        b.append(this.errortype);
        b.append(", ");
        b.append("action=");
        b.append(this.action);
        b.append(", ");
        b.append("requestdata=");
        b.append(this.requestdata);
        b.append(", ");
        b.append("modifiedon=");
        b.append(this.modifiedon);
        b.append(", ");
        b.append("_createdonbehalfby_value=");
        b.append(this._createdonbehalfby_value);
        b.append(", ");
        b.append("statuscode=");
        b.append(this.statuscode);
        b.append(", ");
        b.append("name=");
        b.append(this.name);
        b.append(", ");
        b.append("statecode=");
        b.append(this.statecode);
        b.append(", ");
        b.append("versionnumber=");
        b.append(this.versionnumber);
        b.append(", ");
        b.append("_modifiedonbehalfby_value=");
        b.append(this._modifiedonbehalfby_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