microsoft.dynamics.crm.entity.Processtrigger 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.time.OffsetDateTime;
import java.util.Optional;
import microsoft.dynamics.crm.complex.BooleanManagedProperty;
import microsoft.dynamics.crm.entity.collection.request.SyncerrorCollectionRequest;
import microsoft.dynamics.crm.entity.request.SystemformRequest;
import microsoft.dynamics.crm.entity.request.SystemuserRequest;
import microsoft.dynamics.crm.entity.request.WorkflowRequest;
@JsonPropertyOrder({
"@odata.type",
"processtriggerid",
"_formid_value",
"methodid",
"_ownerid_value",
"scope",
"componentstate",
"_modifiedonbehalfby_value",
"owninguser",
"pipelinestage",
"controlname",
"processtriggeridunique",
"_processid_value",
"_modifiedby_value",
"primaryentitytypecode",
"modifiedon",
"_createdonbehalfby_value",
"iscustomizable",
"ismanaged",
"owningbusinessunit",
"controltype",
"versionnumber",
"event",
"solutionid",
"overwritetime",
"createdon",
"_createdby_value"})
@JsonInclude(Include.NON_NULL)
public class Processtrigger extends Crmbaseentity implements ODataEntityType {
@Override
public String odataTypeName() {
return "Microsoft.Dynamics.CRM.processtrigger";
}
@JsonProperty("processtriggerid")
protected String processtriggerid;
@JsonProperty("_formid_value")
protected String _formid_value;
@JsonProperty("methodid")
protected String methodid;
@JsonProperty("_ownerid_value")
protected String _ownerid_value;
@JsonProperty("scope")
protected Integer scope;
@JsonProperty("componentstate")
protected Integer componentstate;
@JsonProperty("_modifiedonbehalfby_value")
protected String _modifiedonbehalfby_value;
@JsonProperty("owninguser")
protected String owninguser;
@JsonProperty("pipelinestage")
protected Integer pipelinestage;
@JsonProperty("controlname")
protected String controlname;
@JsonProperty("processtriggeridunique")
protected String processtriggeridunique;
@JsonProperty("_processid_value")
protected String _processid_value;
@JsonProperty("_modifiedby_value")
protected String _modifiedby_value;
@JsonProperty("primaryentitytypecode")
protected String primaryentitytypecode;
@JsonProperty("modifiedon")
protected OffsetDateTime modifiedon;
@JsonProperty("_createdonbehalfby_value")
protected String _createdonbehalfby_value;
@JsonProperty("iscustomizable")
protected BooleanManagedProperty iscustomizable;
@JsonProperty("ismanaged")
protected Boolean ismanaged;
@JsonProperty("owningbusinessunit")
protected String owningbusinessunit;
@JsonProperty("controltype")
protected Integer controltype;
@JsonProperty("versionnumber")
protected Long versionnumber;
@JsonProperty("event")
protected String event;
@JsonProperty("solutionid")
protected String solutionid;
@JsonProperty("overwritetime")
protected OffsetDateTime overwritetime;
@JsonProperty("createdon")
protected OffsetDateTime createdon;
@JsonProperty("_createdby_value")
protected String _createdby_value;
protected Processtrigger() {
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 builderProcesstrigger() {
return new Builder();
}
public static final class Builder {
private String processtriggerid;
private String _formid_value;
private String methodid;
private String _ownerid_value;
private Integer scope;
private Integer componentstate;
private String _modifiedonbehalfby_value;
private String owninguser;
private Integer pipelinestage;
private String controlname;
private String processtriggeridunique;
private String _processid_value;
private String _modifiedby_value;
private String primaryentitytypecode;
private OffsetDateTime modifiedon;
private String _createdonbehalfby_value;
private BooleanManagedProperty iscustomizable;
private Boolean ismanaged;
private String owningbusinessunit;
private Integer controltype;
private Long versionnumber;
private String event;
private String solutionid;
private OffsetDateTime overwritetime;
private OffsetDateTime createdon;
private String _createdby_value;
private ChangedFields changedFields = new ChangedFields();
Builder() {
// prevent instantiation
}
public Builder processtriggerid(String processtriggerid) {
this.processtriggerid = processtriggerid;
this.changedFields = changedFields.add("processtriggerid");
return this;
}
public Builder _formid_value(String _formid_value) {
this._formid_value = _formid_value;
this.changedFields = changedFields.add("_formid_value");
return this;
}
public Builder methodid(String methodid) {
this.methodid = methodid;
this.changedFields = changedFields.add("methodid");
return this;
}
public Builder _ownerid_value(String _ownerid_value) {
this._ownerid_value = _ownerid_value;
this.changedFields = changedFields.add("_ownerid_value");
return this;
}
public Builder scope(Integer scope) {
this.scope = scope;
this.changedFields = changedFields.add("scope");
return this;
}
public Builder componentstate(Integer componentstate) {
this.componentstate = componentstate;
this.changedFields = changedFields.add("componentstate");
return this;
}
public Builder _modifiedonbehalfby_value(String _modifiedonbehalfby_value) {
this._modifiedonbehalfby_value = _modifiedonbehalfby_value;
this.changedFields = changedFields.add("_modifiedonbehalfby_value");
return this;
}
public Builder owninguser(String owninguser) {
this.owninguser = owninguser;
this.changedFields = changedFields.add("owninguser");
return this;
}
public Builder pipelinestage(Integer pipelinestage) {
this.pipelinestage = pipelinestage;
this.changedFields = changedFields.add("pipelinestage");
return this;
}
public Builder controlname(String controlname) {
this.controlname = controlname;
this.changedFields = changedFields.add("controlname");
return this;
}
public Builder processtriggeridunique(String processtriggeridunique) {
this.processtriggeridunique = processtriggeridunique;
this.changedFields = changedFields.add("processtriggeridunique");
return this;
}
public Builder _processid_value(String _processid_value) {
this._processid_value = _processid_value;
this.changedFields = changedFields.add("_processid_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 primaryentitytypecode(String primaryentitytypecode) {
this.primaryentitytypecode = primaryentitytypecode;
this.changedFields = changedFields.add("primaryentitytypecode");
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 iscustomizable(BooleanManagedProperty iscustomizable) {
this.iscustomizable = iscustomizable;
this.changedFields = changedFields.add("iscustomizable");
return this;
}
public Builder ismanaged(Boolean ismanaged) {
this.ismanaged = ismanaged;
this.changedFields = changedFields.add("ismanaged");
return this;
}
public Builder owningbusinessunit(String owningbusinessunit) {
this.owningbusinessunit = owningbusinessunit;
this.changedFields = changedFields.add("owningbusinessunit");
return this;
}
public Builder controltype(Integer controltype) {
this.controltype = controltype;
this.changedFields = changedFields.add("controltype");
return this;
}
public Builder versionnumber(Long versionnumber) {
this.versionnumber = versionnumber;
this.changedFields = changedFields.add("versionnumber");
return this;
}
public Builder event(String event) {
this.event = event;
this.changedFields = changedFields.add("event");
return this;
}
public Builder solutionid(String solutionid) {
this.solutionid = solutionid;
this.changedFields = changedFields.add("solutionid");
return this;
}
public Builder overwritetime(OffsetDateTime overwritetime) {
this.overwritetime = overwritetime;
this.changedFields = changedFields.add("overwritetime");
return this;
}
public Builder createdon(OffsetDateTime createdon) {
this.createdon = createdon;
this.changedFields = changedFields.add("createdon");
return this;
}
public Builder _createdby_value(String _createdby_value) {
this._createdby_value = _createdby_value;
this.changedFields = changedFields.add("_createdby_value");
return this;
}
public Processtrigger build() {
Processtrigger _x = new Processtrigger();
_x.contextPath = null;
_x.changedFields = changedFields;
_x.unmappedFields = new UnmappedFields();
_x.odataType = "Microsoft.Dynamics.CRM.processtrigger";
_x.processtriggerid = processtriggerid;
_x._formid_value = _formid_value;
_x.methodid = methodid;
_x._ownerid_value = _ownerid_value;
_x.scope = scope;
_x.componentstate = componentstate;
_x._modifiedonbehalfby_value = _modifiedonbehalfby_value;
_x.owninguser = owninguser;
_x.pipelinestage = pipelinestage;
_x.controlname = controlname;
_x.processtriggeridunique = processtriggeridunique;
_x._processid_value = _processid_value;
_x._modifiedby_value = _modifiedby_value;
_x.primaryentitytypecode = primaryentitytypecode;
_x.modifiedon = modifiedon;
_x._createdonbehalfby_value = _createdonbehalfby_value;
_x.iscustomizable = iscustomizable;
_x.ismanaged = ismanaged;
_x.owningbusinessunit = owningbusinessunit;
_x.controltype = controltype;
_x.versionnumber = versionnumber;
_x.event = event;
_x.solutionid = solutionid;
_x.overwritetime = overwritetime;
_x.createdon = createdon;
_x._createdby_value = _createdby_value;
return _x;
}
}
@Override
@JsonIgnore
public ChangedFields getChangedFields() {
return changedFields;
}
@Override
public void postInject(boolean addKeysToContextPath) {
if (addKeysToContextPath && processtriggerid != null) {
contextPath = contextPath.clearQueries().addKeys(new NameValue(processtriggerid.toString()));
}
}
@Property(name="processtriggerid")
@JsonIgnore
public Optional getProcesstriggerid() {
return Optional.ofNullable(processtriggerid);
}
public Processtrigger withProcesstriggerid(String processtriggerid) {
Processtrigger _x = _copy();
_x.changedFields = changedFields.add("processtriggerid");
_x.odataType = Util.nvl(odataType, "Microsoft.Dynamics.CRM.processtrigger");
_x.processtriggerid = processtriggerid;
return _x;
}
@Property(name="_formid_value")
@JsonIgnore
public Optional get_formid_value() {
return Optional.ofNullable(_formid_value);
}
public Processtrigger with_formid_value(String _formid_value) {
Processtrigger _x = _copy();
_x.changedFields = changedFields.add("_formid_value");
_x.odataType = Util.nvl(odataType, "Microsoft.Dynamics.CRM.processtrigger");
_x._formid_value = _formid_value;
return _x;
}
@Property(name="methodid")
@JsonIgnore
public Optional getMethodid() {
return Optional.ofNullable(methodid);
}
public Processtrigger withMethodid(String methodid) {
Processtrigger _x = _copy();
_x.changedFields = changedFields.add("methodid");
_x.odataType = Util.nvl(odataType, "Microsoft.Dynamics.CRM.processtrigger");
_x.methodid = methodid;
return _x;
}
@Property(name="_ownerid_value")
@JsonIgnore
public Optional get_ownerid_value() {
return Optional.ofNullable(_ownerid_value);
}
public Processtrigger with_ownerid_value(String _ownerid_value) {
Processtrigger _x = _copy();
_x.changedFields = changedFields.add("_ownerid_value");
_x.odataType = Util.nvl(odataType, "Microsoft.Dynamics.CRM.processtrigger");
_x._ownerid_value = _ownerid_value;
return _x;
}
@Property(name="scope")
@JsonIgnore
public Optional getScope() {
return Optional.ofNullable(scope);
}
public Processtrigger withScope(Integer scope) {
Processtrigger _x = _copy();
_x.changedFields = changedFields.add("scope");
_x.odataType = Util.nvl(odataType, "Microsoft.Dynamics.CRM.processtrigger");
_x.scope = scope;
return _x;
}
@Property(name="componentstate")
@JsonIgnore
public Optional getComponentstate() {
return Optional.ofNullable(componentstate);
}
public Processtrigger withComponentstate(Integer componentstate) {
Processtrigger _x = _copy();
_x.changedFields = changedFields.add("componentstate");
_x.odataType = Util.nvl(odataType, "Microsoft.Dynamics.CRM.processtrigger");
_x.componentstate = componentstate;
return _x;
}
@Property(name="_modifiedonbehalfby_value")
@JsonIgnore
public Optional get_modifiedonbehalfby_value() {
return Optional.ofNullable(_modifiedonbehalfby_value);
}
public Processtrigger with_modifiedonbehalfby_value(String _modifiedonbehalfby_value) {
Processtrigger _x = _copy();
_x.changedFields = changedFields.add("_modifiedonbehalfby_value");
_x.odataType = Util.nvl(odataType, "Microsoft.Dynamics.CRM.processtrigger");
_x._modifiedonbehalfby_value = _modifiedonbehalfby_value;
return _x;
}
@Property(name="owninguser")
@JsonIgnore
public Optional getOwninguser() {
return Optional.ofNullable(owninguser);
}
public Processtrigger withOwninguser(String owninguser) {
Processtrigger _x = _copy();
_x.changedFields = changedFields.add("owninguser");
_x.odataType = Util.nvl(odataType, "Microsoft.Dynamics.CRM.processtrigger");
_x.owninguser = owninguser;
return _x;
}
@Property(name="pipelinestage")
@JsonIgnore
public Optional getPipelinestage() {
return Optional.ofNullable(pipelinestage);
}
public Processtrigger withPipelinestage(Integer pipelinestage) {
Processtrigger _x = _copy();
_x.changedFields = changedFields.add("pipelinestage");
_x.odataType = Util.nvl(odataType, "Microsoft.Dynamics.CRM.processtrigger");
_x.pipelinestage = pipelinestage;
return _x;
}
@Property(name="controlname")
@JsonIgnore
public Optional getControlname() {
return Optional.ofNullable(controlname);
}
public Processtrigger withControlname(String controlname) {
Checks.checkIsAscii(controlname);
Processtrigger _x = _copy();
_x.changedFields = changedFields.add("controlname");
_x.odataType = Util.nvl(odataType, "Microsoft.Dynamics.CRM.processtrigger");
_x.controlname = controlname;
return _x;
}
@Property(name="processtriggeridunique")
@JsonIgnore
public Optional getProcesstriggeridunique() {
return Optional.ofNullable(processtriggeridunique);
}
public Processtrigger withProcesstriggeridunique(String processtriggeridunique) {
Processtrigger _x = _copy();
_x.changedFields = changedFields.add("processtriggeridunique");
_x.odataType = Util.nvl(odataType, "Microsoft.Dynamics.CRM.processtrigger");
_x.processtriggeridunique = processtriggeridunique;
return _x;
}
@Property(name="_processid_value")
@JsonIgnore
public Optional get_processid_value() {
return Optional.ofNullable(_processid_value);
}
public Processtrigger with_processid_value(String _processid_value) {
Processtrigger _x = _copy();
_x.changedFields = changedFields.add("_processid_value");
_x.odataType = Util.nvl(odataType, "Microsoft.Dynamics.CRM.processtrigger");
_x._processid_value = _processid_value;
return _x;
}
@Property(name="_modifiedby_value")
@JsonIgnore
public Optional get_modifiedby_value() {
return Optional.ofNullable(_modifiedby_value);
}
public Processtrigger with_modifiedby_value(String _modifiedby_value) {
Processtrigger _x = _copy();
_x.changedFields = changedFields.add("_modifiedby_value");
_x.odataType = Util.nvl(odataType, "Microsoft.Dynamics.CRM.processtrigger");
_x._modifiedby_value = _modifiedby_value;
return _x;
}
@Property(name="primaryentitytypecode")
@JsonIgnore
public Optional getPrimaryentitytypecode() {
return Optional.ofNullable(primaryentitytypecode);
}
public Processtrigger withPrimaryentitytypecode(String primaryentitytypecode) {
Checks.checkIsAscii(primaryentitytypecode);
Processtrigger _x = _copy();
_x.changedFields = changedFields.add("primaryentitytypecode");
_x.odataType = Util.nvl(odataType, "Microsoft.Dynamics.CRM.processtrigger");
_x.primaryentitytypecode = primaryentitytypecode;
return _x;
}
@Property(name="modifiedon")
@JsonIgnore
public Optional getModifiedon() {
return Optional.ofNullable(modifiedon);
}
public Processtrigger withModifiedon(OffsetDateTime modifiedon) {
Processtrigger _x = _copy();
_x.changedFields = changedFields.add("modifiedon");
_x.odataType = Util.nvl(odataType, "Microsoft.Dynamics.CRM.processtrigger");
_x.modifiedon = modifiedon;
return _x;
}
@Property(name="_createdonbehalfby_value")
@JsonIgnore
public Optional get_createdonbehalfby_value() {
return Optional.ofNullable(_createdonbehalfby_value);
}
public Processtrigger with_createdonbehalfby_value(String _createdonbehalfby_value) {
Processtrigger _x = _copy();
_x.changedFields = changedFields.add("_createdonbehalfby_value");
_x.odataType = Util.nvl(odataType, "Microsoft.Dynamics.CRM.processtrigger");
_x._createdonbehalfby_value = _createdonbehalfby_value;
return _x;
}
@Property(name="iscustomizable")
@JsonIgnore
public Optional getIscustomizable() {
return Optional.ofNullable(iscustomizable);
}
public Processtrigger withIscustomizable(BooleanManagedProperty iscustomizable) {
Processtrigger _x = _copy();
_x.changedFields = changedFields.add("iscustomizable");
_x.odataType = Util.nvl(odataType, "Microsoft.Dynamics.CRM.processtrigger");
_x.iscustomizable = iscustomizable;
return _x;
}
@Property(name="ismanaged")
@JsonIgnore
public Optional getIsmanaged() {
return Optional.ofNullable(ismanaged);
}
public Processtrigger withIsmanaged(Boolean ismanaged) {
Processtrigger _x = _copy();
_x.changedFields = changedFields.add("ismanaged");
_x.odataType = Util.nvl(odataType, "Microsoft.Dynamics.CRM.processtrigger");
_x.ismanaged = ismanaged;
return _x;
}
@Property(name="owningbusinessunit")
@JsonIgnore
public Optional getOwningbusinessunit() {
return Optional.ofNullable(owningbusinessunit);
}
public Processtrigger withOwningbusinessunit(String owningbusinessunit) {
Processtrigger _x = _copy();
_x.changedFields = changedFields.add("owningbusinessunit");
_x.odataType = Util.nvl(odataType, "Microsoft.Dynamics.CRM.processtrigger");
_x.owningbusinessunit = owningbusinessunit;
return _x;
}
@Property(name="controltype")
@JsonIgnore
public Optional getControltype() {
return Optional.ofNullable(controltype);
}
public Processtrigger withControltype(Integer controltype) {
Processtrigger _x = _copy();
_x.changedFields = changedFields.add("controltype");
_x.odataType = Util.nvl(odataType, "Microsoft.Dynamics.CRM.processtrigger");
_x.controltype = controltype;
return _x;
}
@Property(name="versionnumber")
@JsonIgnore
public Optional getVersionnumber() {
return Optional.ofNullable(versionnumber);
}
public Processtrigger withVersionnumber(Long versionnumber) {
Processtrigger _x = _copy();
_x.changedFields = changedFields.add("versionnumber");
_x.odataType = Util.nvl(odataType, "Microsoft.Dynamics.CRM.processtrigger");
_x.versionnumber = versionnumber;
return _x;
}
@Property(name="event")
@JsonIgnore
public Optional getEvent() {
return Optional.ofNullable(event);
}
public Processtrigger withEvent(String event) {
Checks.checkIsAscii(event);
Processtrigger _x = _copy();
_x.changedFields = changedFields.add("event");
_x.odataType = Util.nvl(odataType, "Microsoft.Dynamics.CRM.processtrigger");
_x.event = event;
return _x;
}
@Property(name="solutionid")
@JsonIgnore
public Optional getSolutionid() {
return Optional.ofNullable(solutionid);
}
public Processtrigger withSolutionid(String solutionid) {
Processtrigger _x = _copy();
_x.changedFields = changedFields.add("solutionid");
_x.odataType = Util.nvl(odataType, "Microsoft.Dynamics.CRM.processtrigger");
_x.solutionid = solutionid;
return _x;
}
@Property(name="overwritetime")
@JsonIgnore
public Optional getOverwritetime() {
return Optional.ofNullable(overwritetime);
}
public Processtrigger withOverwritetime(OffsetDateTime overwritetime) {
Processtrigger _x = _copy();
_x.changedFields = changedFields.add("overwritetime");
_x.odataType = Util.nvl(odataType, "Microsoft.Dynamics.CRM.processtrigger");
_x.overwritetime = overwritetime;
return _x;
}
@Property(name="createdon")
@JsonIgnore
public Optional getCreatedon() {
return Optional.ofNullable(createdon);
}
public Processtrigger withCreatedon(OffsetDateTime createdon) {
Processtrigger _x = _copy();
_x.changedFields = changedFields.add("createdon");
_x.odataType = Util.nvl(odataType, "Microsoft.Dynamics.CRM.processtrigger");
_x.createdon = createdon;
return _x;
}
@Property(name="_createdby_value")
@JsonIgnore
public Optional get_createdby_value() {
return Optional.ofNullable(_createdby_value);
}
public Processtrigger with_createdby_value(String _createdby_value) {
Processtrigger _x = _copy();
_x.changedFields = changedFields.add("_createdby_value");
_x.odataType = Util.nvl(odataType, "Microsoft.Dynamics.CRM.processtrigger");
_x._createdby_value = _createdby_value;
return _x;
}
@NavigationProperty(name="createdonbehalfby")
@JsonIgnore
public SystemuserRequest getCreatedonbehalfby() {
return new SystemuserRequest(contextPath.addSegment("createdonbehalfby"));
}
@NavigationProperty(name="modifiedby")
@JsonIgnore
public SystemuserRequest getModifiedby() {
return new SystemuserRequest(contextPath.addSegment("modifiedby"));
}
@NavigationProperty(name="ProcessTrigger_SyncErrors")
@JsonIgnore
public SyncerrorCollectionRequest getProcessTrigger_SyncErrors() {
return new SyncerrorCollectionRequest(
contextPath.addSegment("ProcessTrigger_SyncErrors"));
}
@NavigationProperty(name="formid")
@JsonIgnore
public SystemformRequest getFormid() {
return new SystemformRequest(contextPath.addSegment("formid"));
}
@NavigationProperty(name="processid")
@JsonIgnore
public WorkflowRequest getProcessid() {
return new WorkflowRequest(contextPath.addSegment("processid"));
}
@NavigationProperty(name="modifiedonbehalfby")
@JsonIgnore
public SystemuserRequest getModifiedonbehalfby() {
return new SystemuserRequest(contextPath.addSegment("modifiedonbehalfby"));
}
@NavigationProperty(name="createdby")
@JsonIgnore
public SystemuserRequest getCreatedby() {
return new SystemuserRequest(contextPath.addSegment("createdby"));
}
@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 Processtrigger patch() {
RequestHelper.patch(this, contextPath, RequestOptions.EMPTY);
Processtrigger _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 Processtrigger put() {
RequestHelper.put(this, contextPath, RequestOptions.EMPTY);
Processtrigger _x = _copy();
_x.changedFields = null;
return _x;
}
private Processtrigger _copy() {
Processtrigger _x = new Processtrigger();
_x.contextPath = contextPath;
_x.changedFields = changedFields;
_x.unmappedFields = unmappedFields;
_x.odataType = odataType;
_x.processtriggerid = processtriggerid;
_x._formid_value = _formid_value;
_x.methodid = methodid;
_x._ownerid_value = _ownerid_value;
_x.scope = scope;
_x.componentstate = componentstate;
_x._modifiedonbehalfby_value = _modifiedonbehalfby_value;
_x.owninguser = owninguser;
_x.pipelinestage = pipelinestage;
_x.controlname = controlname;
_x.processtriggeridunique = processtriggeridunique;
_x._processid_value = _processid_value;
_x._modifiedby_value = _modifiedby_value;
_x.primaryentitytypecode = primaryentitytypecode;
_x.modifiedon = modifiedon;
_x._createdonbehalfby_value = _createdonbehalfby_value;
_x.iscustomizable = iscustomizable;
_x.ismanaged = ismanaged;
_x.owningbusinessunit = owningbusinessunit;
_x.controltype = controltype;
_x.versionnumber = versionnumber;
_x.event = event;
_x.solutionid = solutionid;
_x.overwritetime = overwritetime;
_x.createdon = createdon;
_x._createdby_value = _createdby_value;
return _x;
}
@Override
public String toString() {
StringBuilder b = new StringBuilder();
b.append("Processtrigger[");
b.append("processtriggerid=");
b.append(this.processtriggerid);
b.append(", ");
b.append("_formid_value=");
b.append(this._formid_value);
b.append(", ");
b.append("methodid=");
b.append(this.methodid);
b.append(", ");
b.append("_ownerid_value=");
b.append(this._ownerid_value);
b.append(", ");
b.append("scope=");
b.append(this.scope);
b.append(", ");
b.append("componentstate=");
b.append(this.componentstate);
b.append(", ");
b.append("_modifiedonbehalfby_value=");
b.append(this._modifiedonbehalfby_value);
b.append(", ");
b.append("owninguser=");
b.append(this.owninguser);
b.append(", ");
b.append("pipelinestage=");
b.append(this.pipelinestage);
b.append(", ");
b.append("controlname=");
b.append(this.controlname);
b.append(", ");
b.append("processtriggeridunique=");
b.append(this.processtriggeridunique);
b.append(", ");
b.append("_processid_value=");
b.append(this._processid_value);
b.append(", ");
b.append("_modifiedby_value=");
b.append(this._modifiedby_value);
b.append(", ");
b.append("primaryentitytypecode=");
b.append(this.primaryentitytypecode);
b.append(", ");
b.append("modifiedon=");
b.append(this.modifiedon);
b.append(", ");
b.append("_createdonbehalfby_value=");
b.append(this._createdonbehalfby_value);
b.append(", ");
b.append("iscustomizable=");
b.append(this.iscustomizable);
b.append(", ");
b.append("ismanaged=");
b.append(this.ismanaged);
b.append(", ");
b.append("owningbusinessunit=");
b.append(this.owningbusinessunit);
b.append(", ");
b.append("controltype=");
b.append(this.controltype);
b.append(", ");
b.append("versionnumber=");
b.append(this.versionnumber);
b.append(", ");
b.append("event=");
b.append(this.event);
b.append(", ");
b.append("solutionid=");
b.append(this.solutionid);
b.append(", ");
b.append("overwritetime=");
b.append(this.overwritetime);
b.append(", ");
b.append("createdon=");
b.append(this.createdon);
b.append(", ");
b.append("_createdby_value=");
b.append(this._createdby_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