microsoft.dynamics.crm.entity.Expiredprocess Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of odata-client-microsoft-dynamics Show documentation
Show all versions of odata-client-microsoft-dynamics Show documentation
Java client as template for Microsoft Dynamics organisation endpoints
package microsoft.dynamics.crm.entity;
import com.fasterxml.jackson.annotation.JsonAnySetter;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonInclude.Include;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
import com.github.davidmoten.odata.client.ClientException;
import com.github.davidmoten.odata.client.NameValue;
import com.github.davidmoten.odata.client.ODataEntityType;
import com.github.davidmoten.odata.client.RequestOptions;
import com.github.davidmoten.odata.client.Util;
import com.github.davidmoten.odata.client.annotation.NavigationProperty;
import com.github.davidmoten.odata.client.annotation.Property;
import com.github.davidmoten.odata.client.internal.ChangedFields;
import com.github.davidmoten.odata.client.internal.Checks;
import com.github.davidmoten.odata.client.internal.RequestHelper;
import com.github.davidmoten.odata.client.internal.UnmappedFields;
import java.math.BigDecimal;
import java.time.OffsetDateTime;
import java.util.Optional;
import microsoft.dynamics.crm.entity.collection.request.ProcesssessionCollectionRequest;
import microsoft.dynamics.crm.entity.collection.request.SyncerrorCollectionRequest;
import microsoft.dynamics.crm.entity.collection.request.WorkflowlogCollectionRequest;
import microsoft.dynamics.crm.entity.request.KnowledgearticleRequest;
import microsoft.dynamics.crm.entity.request.OrganizationRequest;
import microsoft.dynamics.crm.entity.request.ProcessstageRequest;
import microsoft.dynamics.crm.entity.request.SystemuserRequest;
import microsoft.dynamics.crm.entity.request.TransactioncurrencyRequest;
import microsoft.dynamics.crm.entity.request.WorkflowRequest;
@JsonPropertyOrder({
"@odata.type",
"_organizationid_value",
"modifiedon",
"_transactioncurrencyid_value",
"_processid_value",
"duration",
"traversedpath",
"_knowledgearticleid_value",
"importsequencenumber",
"_activestageid_value",
"_modifiedby_value",
"name",
"_createdonbehalfby_value",
"_modifiedonbehalfby_value",
"businessprocessflowinstanceid",
"versionnumber",
"statuscode",
"createdon",
"exchangerate",
"activestagestartedon",
"statecode",
"completedon",
"_createdby_value",
"overriddencreatedon"})
@JsonInclude(Include.NON_NULL)
public class Expiredprocess extends Crmbaseentity implements ODataEntityType {
@Override
public String odataTypeName() {
return "Microsoft.Dynamics.CRM.expiredprocess";
}
@JsonProperty("_organizationid_value")
protected String _organizationid_value;
@JsonProperty("modifiedon")
protected OffsetDateTime modifiedon;
@JsonProperty("_transactioncurrencyid_value")
protected String _transactioncurrencyid_value;
@JsonProperty("_processid_value")
protected String _processid_value;
@JsonProperty("duration")
protected Integer duration;
@JsonProperty("traversedpath")
protected String traversedpath;
@JsonProperty("_knowledgearticleid_value")
protected String _knowledgearticleid_value;
@JsonProperty("importsequencenumber")
protected Integer importsequencenumber;
@JsonProperty("_activestageid_value")
protected String _activestageid_value;
@JsonProperty("_modifiedby_value")
protected String _modifiedby_value;
@JsonProperty("name")
protected String name;
@JsonProperty("_createdonbehalfby_value")
protected String _createdonbehalfby_value;
@JsonProperty("_modifiedonbehalfby_value")
protected String _modifiedonbehalfby_value;
@JsonProperty("businessprocessflowinstanceid")
protected String businessprocessflowinstanceid;
@JsonProperty("versionnumber")
protected Long versionnumber;
@JsonProperty("statuscode")
protected Integer statuscode;
@JsonProperty("createdon")
protected OffsetDateTime createdon;
@JsonProperty("exchangerate")
protected BigDecimal exchangerate;
@JsonProperty("activestagestartedon")
protected OffsetDateTime activestagestartedon;
@JsonProperty("statecode")
protected Integer statecode;
@JsonProperty("completedon")
protected OffsetDateTime completedon;
@JsonProperty("_createdby_value")
protected String _createdby_value;
@JsonProperty("overriddencreatedon")
protected OffsetDateTime overriddencreatedon;
protected Expiredprocess() {
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 builderExpiredprocess() {
return new Builder();
}
public static final class Builder {
private String _organizationid_value;
private OffsetDateTime modifiedon;
private String _transactioncurrencyid_value;
private String _processid_value;
private Integer duration;
private String traversedpath;
private String _knowledgearticleid_value;
private Integer importsequencenumber;
private String _activestageid_value;
private String _modifiedby_value;
private String name;
private String _createdonbehalfby_value;
private String _modifiedonbehalfby_value;
private String businessprocessflowinstanceid;
private Long versionnumber;
private Integer statuscode;
private OffsetDateTime createdon;
private BigDecimal exchangerate;
private OffsetDateTime activestagestartedon;
private Integer statecode;
private OffsetDateTime completedon;
private String _createdby_value;
private OffsetDateTime overriddencreatedon;
private ChangedFields changedFields = new ChangedFields();
Builder() {
// prevent instantiation
}
public Builder _organizationid_value(String _organizationid_value) {
this._organizationid_value = _organizationid_value;
this.changedFields = changedFields.add("_organizationid_value");
return this;
}
public Builder modifiedon(OffsetDateTime modifiedon) {
this.modifiedon = modifiedon;
this.changedFields = changedFields.add("modifiedon");
return this;
}
public Builder _transactioncurrencyid_value(String _transactioncurrencyid_value) {
this._transactioncurrencyid_value = _transactioncurrencyid_value;
this.changedFields = changedFields.add("_transactioncurrencyid_value");
return this;
}
public Builder _processid_value(String _processid_value) {
this._processid_value = _processid_value;
this.changedFields = changedFields.add("_processid_value");
return this;
}
public Builder duration(Integer duration) {
this.duration = duration;
this.changedFields = changedFields.add("duration");
return this;
}
public Builder traversedpath(String traversedpath) {
this.traversedpath = traversedpath;
this.changedFields = changedFields.add("traversedpath");
return this;
}
public Builder _knowledgearticleid_value(String _knowledgearticleid_value) {
this._knowledgearticleid_value = _knowledgearticleid_value;
this.changedFields = changedFields.add("_knowledgearticleid_value");
return this;
}
public Builder importsequencenumber(Integer importsequencenumber) {
this.importsequencenumber = importsequencenumber;
this.changedFields = changedFields.add("importsequencenumber");
return this;
}
public Builder _activestageid_value(String _activestageid_value) {
this._activestageid_value = _activestageid_value;
this.changedFields = changedFields.add("_activestageid_value");
return this;
}
public Builder _modifiedby_value(String _modifiedby_value) {
this._modifiedby_value = _modifiedby_value;
this.changedFields = changedFields.add("_modifiedby_value");
return this;
}
public Builder name(String name) {
this.name = name;
this.changedFields = changedFields.add("name");
return this;
}
public Builder _createdonbehalfby_value(String _createdonbehalfby_value) {
this._createdonbehalfby_value = _createdonbehalfby_value;
this.changedFields = changedFields.add("_createdonbehalfby_value");
return this;
}
public Builder _modifiedonbehalfby_value(String _modifiedonbehalfby_value) {
this._modifiedonbehalfby_value = _modifiedonbehalfby_value;
this.changedFields = changedFields.add("_modifiedonbehalfby_value");
return this;
}
public Builder businessprocessflowinstanceid(String businessprocessflowinstanceid) {
this.businessprocessflowinstanceid = businessprocessflowinstanceid;
this.changedFields = changedFields.add("businessprocessflowinstanceid");
return this;
}
public Builder versionnumber(Long versionnumber) {
this.versionnumber = versionnumber;
this.changedFields = changedFields.add("versionnumber");
return this;
}
public Builder statuscode(Integer statuscode) {
this.statuscode = statuscode;
this.changedFields = changedFields.add("statuscode");
return this;
}
public Builder createdon(OffsetDateTime createdon) {
this.createdon = createdon;
this.changedFields = changedFields.add("createdon");
return this;
}
public Builder exchangerate(BigDecimal exchangerate) {
this.exchangerate = exchangerate;
this.changedFields = changedFields.add("exchangerate");
return this;
}
public Builder activestagestartedon(OffsetDateTime activestagestartedon) {
this.activestagestartedon = activestagestartedon;
this.changedFields = changedFields.add("activestagestartedon");
return this;
}
public Builder statecode(Integer statecode) {
this.statecode = statecode;
this.changedFields = changedFields.add("statecode");
return this;
}
public Builder completedon(OffsetDateTime completedon) {
this.completedon = completedon;
this.changedFields = changedFields.add("completedon");
return this;
}
public Builder _createdby_value(String _createdby_value) {
this._createdby_value = _createdby_value;
this.changedFields = changedFields.add("_createdby_value");
return this;
}
public Builder overriddencreatedon(OffsetDateTime overriddencreatedon) {
this.overriddencreatedon = overriddencreatedon;
this.changedFields = changedFields.add("overriddencreatedon");
return this;
}
public Expiredprocess build() {
Expiredprocess _x = new Expiredprocess();
_x.contextPath = null;
_x.changedFields = changedFields;
_x.unmappedFields = new UnmappedFields();
_x.odataType = "Microsoft.Dynamics.CRM.expiredprocess";
_x._organizationid_value = _organizationid_value;
_x.modifiedon = modifiedon;
_x._transactioncurrencyid_value = _transactioncurrencyid_value;
_x._processid_value = _processid_value;
_x.duration = duration;
_x.traversedpath = traversedpath;
_x._knowledgearticleid_value = _knowledgearticleid_value;
_x.importsequencenumber = importsequencenumber;
_x._activestageid_value = _activestageid_value;
_x._modifiedby_value = _modifiedby_value;
_x.name = name;
_x._createdonbehalfby_value = _createdonbehalfby_value;
_x._modifiedonbehalfby_value = _modifiedonbehalfby_value;
_x.businessprocessflowinstanceid = businessprocessflowinstanceid;
_x.versionnumber = versionnumber;
_x.statuscode = statuscode;
_x.createdon = createdon;
_x.exchangerate = exchangerate;
_x.activestagestartedon = activestagestartedon;
_x.statecode = statecode;
_x.completedon = completedon;
_x._createdby_value = _createdby_value;
_x.overriddencreatedon = overriddencreatedon;
return _x;
}
}
@Override
@JsonIgnore
public ChangedFields getChangedFields() {
return changedFields;
}
@Override
public void postInject(boolean addKeysToContextPath) {
if (addKeysToContextPath && businessprocessflowinstanceid != null) {
contextPath = contextPath.clearQueries().addKeys(new NameValue(businessprocessflowinstanceid.toString()));
}
}
@Property(name="_organizationid_value")
@JsonIgnore
public Optional get_organizationid_value() {
return Optional.ofNullable(_organizationid_value);
}
public Expiredprocess with_organizationid_value(String _organizationid_value) {
Expiredprocess _x = _copy();
_x.changedFields = changedFields.add("_organizationid_value");
_x.odataType = Util.nvl(odataType, "Microsoft.Dynamics.CRM.expiredprocess");
_x._organizationid_value = _organizationid_value;
return _x;
}
@Property(name="modifiedon")
@JsonIgnore
public Optional getModifiedon() {
return Optional.ofNullable(modifiedon);
}
public Expiredprocess withModifiedon(OffsetDateTime modifiedon) {
Expiredprocess _x = _copy();
_x.changedFields = changedFields.add("modifiedon");
_x.odataType = Util.nvl(odataType, "Microsoft.Dynamics.CRM.expiredprocess");
_x.modifiedon = modifiedon;
return _x;
}
@Property(name="_transactioncurrencyid_value")
@JsonIgnore
public Optional get_transactioncurrencyid_value() {
return Optional.ofNullable(_transactioncurrencyid_value);
}
public Expiredprocess with_transactioncurrencyid_value(String _transactioncurrencyid_value) {
Expiredprocess _x = _copy();
_x.changedFields = changedFields.add("_transactioncurrencyid_value");
_x.odataType = Util.nvl(odataType, "Microsoft.Dynamics.CRM.expiredprocess");
_x._transactioncurrencyid_value = _transactioncurrencyid_value;
return _x;
}
@Property(name="_processid_value")
@JsonIgnore
public Optional get_processid_value() {
return Optional.ofNullable(_processid_value);
}
public Expiredprocess with_processid_value(String _processid_value) {
Expiredprocess _x = _copy();
_x.changedFields = changedFields.add("_processid_value");
_x.odataType = Util.nvl(odataType, "Microsoft.Dynamics.CRM.expiredprocess");
_x._processid_value = _processid_value;
return _x;
}
@Property(name="duration")
@JsonIgnore
public Optional getDuration() {
return Optional.ofNullable(duration);
}
public Expiredprocess withDuration(Integer duration) {
Expiredprocess _x = _copy();
_x.changedFields = changedFields.add("duration");
_x.odataType = Util.nvl(odataType, "Microsoft.Dynamics.CRM.expiredprocess");
_x.duration = duration;
return _x;
}
@Property(name="traversedpath")
@JsonIgnore
public Optional getTraversedpath() {
return Optional.ofNullable(traversedpath);
}
public Expiredprocess withTraversedpath(String traversedpath) {
Checks.checkIsAscii(traversedpath);
Expiredprocess _x = _copy();
_x.changedFields = changedFields.add("traversedpath");
_x.odataType = Util.nvl(odataType, "Microsoft.Dynamics.CRM.expiredprocess");
_x.traversedpath = traversedpath;
return _x;
}
@Property(name="_knowledgearticleid_value")
@JsonIgnore
public Optional get_knowledgearticleid_value() {
return Optional.ofNullable(_knowledgearticleid_value);
}
public Expiredprocess with_knowledgearticleid_value(String _knowledgearticleid_value) {
Expiredprocess _x = _copy();
_x.changedFields = changedFields.add("_knowledgearticleid_value");
_x.odataType = Util.nvl(odataType, "Microsoft.Dynamics.CRM.expiredprocess");
_x._knowledgearticleid_value = _knowledgearticleid_value;
return _x;
}
@Property(name="importsequencenumber")
@JsonIgnore
public Optional getImportsequencenumber() {
return Optional.ofNullable(importsequencenumber);
}
public Expiredprocess withImportsequencenumber(Integer importsequencenumber) {
Expiredprocess _x = _copy();
_x.changedFields = changedFields.add("importsequencenumber");
_x.odataType = Util.nvl(odataType, "Microsoft.Dynamics.CRM.expiredprocess");
_x.importsequencenumber = importsequencenumber;
return _x;
}
@Property(name="_activestageid_value")
@JsonIgnore
public Optional get_activestageid_value() {
return Optional.ofNullable(_activestageid_value);
}
public Expiredprocess with_activestageid_value(String _activestageid_value) {
Expiredprocess _x = _copy();
_x.changedFields = changedFields.add("_activestageid_value");
_x.odataType = Util.nvl(odataType, "Microsoft.Dynamics.CRM.expiredprocess");
_x._activestageid_value = _activestageid_value;
return _x;
}
@Property(name="_modifiedby_value")
@JsonIgnore
public Optional get_modifiedby_value() {
return Optional.ofNullable(_modifiedby_value);
}
public Expiredprocess with_modifiedby_value(String _modifiedby_value) {
Expiredprocess _x = _copy();
_x.changedFields = changedFields.add("_modifiedby_value");
_x.odataType = Util.nvl(odataType, "Microsoft.Dynamics.CRM.expiredprocess");
_x._modifiedby_value = _modifiedby_value;
return _x;
}
@Property(name="name")
@JsonIgnore
public Optional getName() {
return Optional.ofNullable(name);
}
public Expiredprocess withName(String name) {
Checks.checkIsAscii(name);
Expiredprocess _x = _copy();
_x.changedFields = changedFields.add("name");
_x.odataType = Util.nvl(odataType, "Microsoft.Dynamics.CRM.expiredprocess");
_x.name = name;
return _x;
}
@Property(name="_createdonbehalfby_value")
@JsonIgnore
public Optional get_createdonbehalfby_value() {
return Optional.ofNullable(_createdonbehalfby_value);
}
public Expiredprocess with_createdonbehalfby_value(String _createdonbehalfby_value) {
Expiredprocess _x = _copy();
_x.changedFields = changedFields.add("_createdonbehalfby_value");
_x.odataType = Util.nvl(odataType, "Microsoft.Dynamics.CRM.expiredprocess");
_x._createdonbehalfby_value = _createdonbehalfby_value;
return _x;
}
@Property(name="_modifiedonbehalfby_value")
@JsonIgnore
public Optional get_modifiedonbehalfby_value() {
return Optional.ofNullable(_modifiedonbehalfby_value);
}
public Expiredprocess with_modifiedonbehalfby_value(String _modifiedonbehalfby_value) {
Expiredprocess _x = _copy();
_x.changedFields = changedFields.add("_modifiedonbehalfby_value");
_x.odataType = Util.nvl(odataType, "Microsoft.Dynamics.CRM.expiredprocess");
_x._modifiedonbehalfby_value = _modifiedonbehalfby_value;
return _x;
}
@Property(name="businessprocessflowinstanceid")
@JsonIgnore
public Optional getBusinessprocessflowinstanceid() {
return Optional.ofNullable(businessprocessflowinstanceid);
}
public Expiredprocess withBusinessprocessflowinstanceid(String businessprocessflowinstanceid) {
Expiredprocess _x = _copy();
_x.changedFields = changedFields.add("businessprocessflowinstanceid");
_x.odataType = Util.nvl(odataType, "Microsoft.Dynamics.CRM.expiredprocess");
_x.businessprocessflowinstanceid = businessprocessflowinstanceid;
return _x;
}
@Property(name="versionnumber")
@JsonIgnore
public Optional getVersionnumber() {
return Optional.ofNullable(versionnumber);
}
public Expiredprocess withVersionnumber(Long versionnumber) {
Expiredprocess _x = _copy();
_x.changedFields = changedFields.add("versionnumber");
_x.odataType = Util.nvl(odataType, "Microsoft.Dynamics.CRM.expiredprocess");
_x.versionnumber = versionnumber;
return _x;
}
@Property(name="statuscode")
@JsonIgnore
public Optional getStatuscode() {
return Optional.ofNullable(statuscode);
}
public Expiredprocess withStatuscode(Integer statuscode) {
Expiredprocess _x = _copy();
_x.changedFields = changedFields.add("statuscode");
_x.odataType = Util.nvl(odataType, "Microsoft.Dynamics.CRM.expiredprocess");
_x.statuscode = statuscode;
return _x;
}
@Property(name="createdon")
@JsonIgnore
public Optional getCreatedon() {
return Optional.ofNullable(createdon);
}
public Expiredprocess withCreatedon(OffsetDateTime createdon) {
Expiredprocess _x = _copy();
_x.changedFields = changedFields.add("createdon");
_x.odataType = Util.nvl(odataType, "Microsoft.Dynamics.CRM.expiredprocess");
_x.createdon = createdon;
return _x;
}
@Property(name="exchangerate")
@JsonIgnore
public Optional getExchangerate() {
return Optional.ofNullable(exchangerate);
}
public Expiredprocess withExchangerate(BigDecimal exchangerate) {
Expiredprocess _x = _copy();
_x.changedFields = changedFields.add("exchangerate");
_x.odataType = Util.nvl(odataType, "Microsoft.Dynamics.CRM.expiredprocess");
_x.exchangerate = exchangerate;
return _x;
}
@Property(name="activestagestartedon")
@JsonIgnore
public Optional getActivestagestartedon() {
return Optional.ofNullable(activestagestartedon);
}
public Expiredprocess withActivestagestartedon(OffsetDateTime activestagestartedon) {
Expiredprocess _x = _copy();
_x.changedFields = changedFields.add("activestagestartedon");
_x.odataType = Util.nvl(odataType, "Microsoft.Dynamics.CRM.expiredprocess");
_x.activestagestartedon = activestagestartedon;
return _x;
}
@Property(name="statecode")
@JsonIgnore
public Optional getStatecode() {
return Optional.ofNullable(statecode);
}
public Expiredprocess withStatecode(Integer statecode) {
Expiredprocess _x = _copy();
_x.changedFields = changedFields.add("statecode");
_x.odataType = Util.nvl(odataType, "Microsoft.Dynamics.CRM.expiredprocess");
_x.statecode = statecode;
return _x;
}
@Property(name="completedon")
@JsonIgnore
public Optional getCompletedon() {
return Optional.ofNullable(completedon);
}
public Expiredprocess withCompletedon(OffsetDateTime completedon) {
Expiredprocess _x = _copy();
_x.changedFields = changedFields.add("completedon");
_x.odataType = Util.nvl(odataType, "Microsoft.Dynamics.CRM.expiredprocess");
_x.completedon = completedon;
return _x;
}
@Property(name="_createdby_value")
@JsonIgnore
public Optional get_createdby_value() {
return Optional.ofNullable(_createdby_value);
}
public Expiredprocess with_createdby_value(String _createdby_value) {
Expiredprocess _x = _copy();
_x.changedFields = changedFields.add("_createdby_value");
_x.odataType = Util.nvl(odataType, "Microsoft.Dynamics.CRM.expiredprocess");
_x._createdby_value = _createdby_value;
return _x;
}
@Property(name="overriddencreatedon")
@JsonIgnore
public Optional getOverriddencreatedon() {
return Optional.ofNullable(overriddencreatedon);
}
public Expiredprocess withOverriddencreatedon(OffsetDateTime overriddencreatedon) {
Expiredprocess _x = _copy();
_x.changedFields = changedFields.add("overriddencreatedon");
_x.odataType = Util.nvl(odataType, "Microsoft.Dynamics.CRM.expiredprocess");
_x.overriddencreatedon = overriddencreatedon;
return _x;
}
@NavigationProperty(name="ExpiredProcess_SyncErrors")
@JsonIgnore
public SyncerrorCollectionRequest getExpiredProcess_SyncErrors() {
return new SyncerrorCollectionRequest(
contextPath.addSegment("ExpiredProcess_SyncErrors"));
}
@NavigationProperty(name="knowledgearticleid")
@JsonIgnore
public KnowledgearticleRequest getKnowledgearticleid() {
return new KnowledgearticleRequest(contextPath.addSegment("knowledgearticleid"));
}
@NavigationProperty(name="ExpiredProcess_ProcessSessions")
@JsonIgnore
public ProcesssessionCollectionRequest getExpiredProcess_ProcessSessions() {
return new ProcesssessionCollectionRequest(
contextPath.addSegment("ExpiredProcess_ProcessSessions"));
}
@NavigationProperty(name="createdbyname")
@JsonIgnore
public SystemuserRequest getCreatedbyname() {
return new SystemuserRequest(contextPath.addSegment("createdbyname"));
}
@NavigationProperty(name="workflowlogs_expiredprocess")
@JsonIgnore
public WorkflowlogCollectionRequest getWorkflowlogs_expiredprocess() {
return new WorkflowlogCollectionRequest(
contextPath.addSegment("workflowlogs_expiredprocess"));
}
@NavigationProperty(name="organizationid")
@JsonIgnore
public OrganizationRequest getOrganizationid() {
return new OrganizationRequest(contextPath.addSegment("organizationid"));
}
@NavigationProperty(name="processid")
@JsonIgnore
public WorkflowRequest getProcessid() {
return new WorkflowRequest(contextPath.addSegment("processid"));
}
@NavigationProperty(name="activestageid")
@JsonIgnore
public ProcessstageRequest getActivestageid() {
return new ProcessstageRequest(contextPath.addSegment("activestageid"));
}
@NavigationProperty(name="transactioncurrencyid")
@JsonIgnore
public TransactioncurrencyRequest getTransactioncurrencyid() {
return new TransactioncurrencyRequest(contextPath.addSegment("transactioncurrencyid"));
}
@NavigationProperty(name="modifiedonbehalfbyname")
@JsonIgnore
public SystemuserRequest getModifiedonbehalfbyname() {
return new SystemuserRequest(contextPath.addSegment("modifiedonbehalfbyname"));
}
@NavigationProperty(name="modifiedbyname")
@JsonIgnore
public SystemuserRequest getModifiedbyname() {
return new SystemuserRequest(contextPath.addSegment("modifiedbyname"));
}
@NavigationProperty(name="createdonbehalfbyname")
@JsonIgnore
public SystemuserRequest getCreatedonbehalfbyname() {
return new SystemuserRequest(contextPath.addSegment("createdonbehalfbyname"));
}
@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 Expiredprocess patch() {
RequestHelper.patch(this, contextPath, RequestOptions.EMPTY);
Expiredprocess _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 Expiredprocess put() {
RequestHelper.put(this, contextPath, RequestOptions.EMPTY);
Expiredprocess _x = _copy();
_x.changedFields = null;
return _x;
}
private Expiredprocess _copy() {
Expiredprocess _x = new Expiredprocess();
_x.contextPath = contextPath;
_x.changedFields = changedFields;
_x.unmappedFields = unmappedFields;
_x.odataType = odataType;
_x._organizationid_value = _organizationid_value;
_x.modifiedon = modifiedon;
_x._transactioncurrencyid_value = _transactioncurrencyid_value;
_x._processid_value = _processid_value;
_x.duration = duration;
_x.traversedpath = traversedpath;
_x._knowledgearticleid_value = _knowledgearticleid_value;
_x.importsequencenumber = importsequencenumber;
_x._activestageid_value = _activestageid_value;
_x._modifiedby_value = _modifiedby_value;
_x.name = name;
_x._createdonbehalfby_value = _createdonbehalfby_value;
_x._modifiedonbehalfby_value = _modifiedonbehalfby_value;
_x.businessprocessflowinstanceid = businessprocessflowinstanceid;
_x.versionnumber = versionnumber;
_x.statuscode = statuscode;
_x.createdon = createdon;
_x.exchangerate = exchangerate;
_x.activestagestartedon = activestagestartedon;
_x.statecode = statecode;
_x.completedon = completedon;
_x._createdby_value = _createdby_value;
_x.overriddencreatedon = overriddencreatedon;
return _x;
}
@Override
public String toString() {
StringBuilder b = new StringBuilder();
b.append("Expiredprocess[");
b.append("_organizationid_value=");
b.append(this._organizationid_value);
b.append(", ");
b.append("modifiedon=");
b.append(this.modifiedon);
b.append(", ");
b.append("_transactioncurrencyid_value=");
b.append(this._transactioncurrencyid_value);
b.append(", ");
b.append("_processid_value=");
b.append(this._processid_value);
b.append(", ");
b.append("duration=");
b.append(this.duration);
b.append(", ");
b.append("traversedpath=");
b.append(this.traversedpath);
b.append(", ");
b.append("_knowledgearticleid_value=");
b.append(this._knowledgearticleid_value);
b.append(", ");
b.append("importsequencenumber=");
b.append(this.importsequencenumber);
b.append(", ");
b.append("_activestageid_value=");
b.append(this._activestageid_value);
b.append(", ");
b.append("_modifiedby_value=");
b.append(this._modifiedby_value);
b.append(", ");
b.append("name=");
b.append(this.name);
b.append(", ");
b.append("_createdonbehalfby_value=");
b.append(this._createdonbehalfby_value);
b.append(", ");
b.append("_modifiedonbehalfby_value=");
b.append(this._modifiedonbehalfby_value);
b.append(", ");
b.append("businessprocessflowinstanceid=");
b.append(this.businessprocessflowinstanceid);
b.append(", ");
b.append("versionnumber=");
b.append(this.versionnumber);
b.append(", ");
b.append("statuscode=");
b.append(this.statuscode);
b.append(", ");
b.append("createdon=");
b.append(this.createdon);
b.append(", ");
b.append("exchangerate=");
b.append(this.exchangerate);
b.append(", ");
b.append("activestagestartedon=");
b.append(this.activestagestartedon);
b.append(", ");
b.append("statecode=");
b.append(this.statecode);
b.append(", ");
b.append("completedon=");
b.append(this.completedon);
b.append(", ");
b.append("_createdby_value=");
b.append(this._createdby_value);
b.append(", ");
b.append("overriddencreatedon=");
b.append(this.overriddencreatedon);
b.append("]");
b.append(",unmappedFields=");
b.append(unmappedFields);
b.append(",odataType=");
b.append(odataType);
return b.toString();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy