Package microsoft.dynamics.crm.entity
Class Newprocess
- java.lang.Object
-
- microsoft.dynamics.crm.entity.Crmbaseentity
-
- microsoft.dynamics.crm.entity.Newprocess
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class Newprocess extends Crmbaseentity implements com.github.davidmoten.odata.client.ODataEntityType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classNewprocess.Builder
-
Field Summary
Fields Modifier and Type Field Description protected String_activestageid_valueprotected String_createdby_valueprotected String_createdonbehalfby_valueprotected String_knowledgearticleid_valueprotected String_modifiedby_valueprotected String_modifiedonbehalfby_valueprotected String_organizationid_valueprotected String_processid_valueprotected String_transactioncurrencyid_valueprotected OffsetDateTimeactivestagestartedonprotected Stringbusinessprocessflowinstanceidprotected OffsetDateTimecompletedonprotected OffsetDateTimecreatedonprotected Integerdurationprotected BigDecimalexchangerateprotected Integerimportsequencenumberprotected OffsetDateTimemodifiedonprotected Stringnameprotected OffsetDateTimeoverriddencreatedonprotected Integerstatecodeprotected Integerstatuscodeprotected Stringtraversedpathprotected Longversionnumber-
Fields inherited from class microsoft.dynamics.crm.entity.Crmbaseentity
changedFields, contextPath, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedNewprocess()
-
Method Summary
-
-
-
Field Detail
-
statuscode
protected Integer statuscode
-
createdon
protected OffsetDateTime createdon
-
_modifiedonbehalfby_value
protected String _modifiedonbehalfby_value
-
_createdby_value
protected String _createdby_value
-
_organizationid_value
protected String _organizationid_value
-
completedon
protected OffsetDateTime completedon
-
statecode
protected Integer statecode
-
_modifiedby_value
protected String _modifiedby_value
-
_transactioncurrencyid_value
protected String _transactioncurrencyid_value
-
activestagestartedon
protected OffsetDateTime activestagestartedon
-
modifiedon
protected OffsetDateTime modifiedon
-
_createdonbehalfby_value
protected String _createdonbehalfby_value
-
duration
protected Integer duration
-
overriddencreatedon
protected OffsetDateTime overriddencreatedon
-
exchangerate
protected BigDecimal exchangerate
-
importsequencenumber
protected Integer importsequencenumber
-
name
protected String name
-
traversedpath
protected String traversedpath
-
versionnumber
protected Long versionnumber
-
_knowledgearticleid_value
protected String _knowledgearticleid_value
-
_processid_value
protected String _processid_value
-
_activestageid_value
protected String _activestageid_value
-
businessprocessflowinstanceid
protected String businessprocessflowinstanceid
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classCrmbaseentity
-
builderNewprocess
public static Newprocess.Builder builderNewprocess()
Returns a builder which is used to create a new instance of this class (given that this class is immutable).- Returns:
- a new Builder for this class
-
getChangedFields
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
- Specified by:
getChangedFieldsin interfacecom.github.davidmoten.odata.client.ODataEntityType- Overrides:
getChangedFieldsin classCrmbaseentity
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classCrmbaseentity
-
withStatuscode
public Newprocess withStatuscode(Integer statuscode)
-
getCreatedon
public Optional<OffsetDateTime> getCreatedon()
-
withCreatedon
public Newprocess withCreatedon(OffsetDateTime createdon)
-
with_modifiedonbehalfby_value
public Newprocess with_modifiedonbehalfby_value(String _modifiedonbehalfby_value)
-
with_createdby_value
public Newprocess with_createdby_value(String _createdby_value)
-
with_organizationid_value
public Newprocess with_organizationid_value(String _organizationid_value)
-
getCompletedon
public Optional<OffsetDateTime> getCompletedon()
-
withCompletedon
public Newprocess withCompletedon(OffsetDateTime completedon)
-
withStatecode
public Newprocess withStatecode(Integer statecode)
-
with_modifiedby_value
public Newprocess with_modifiedby_value(String _modifiedby_value)
-
with_transactioncurrencyid_value
public Newprocess with_transactioncurrencyid_value(String _transactioncurrencyid_value)
-
getActivestagestartedon
public Optional<OffsetDateTime> getActivestagestartedon()
-
withActivestagestartedon
public Newprocess withActivestagestartedon(OffsetDateTime activestagestartedon)
-
getModifiedon
public Optional<OffsetDateTime> getModifiedon()
-
withModifiedon
public Newprocess withModifiedon(OffsetDateTime modifiedon)
-
with_createdonbehalfby_value
public Newprocess with_createdonbehalfby_value(String _createdonbehalfby_value)
-
withDuration
public Newprocess withDuration(Integer duration)
-
getOverriddencreatedon
public Optional<OffsetDateTime> getOverriddencreatedon()
-
withOverriddencreatedon
public Newprocess withOverriddencreatedon(OffsetDateTime overriddencreatedon)
-
getExchangerate
public Optional<BigDecimal> getExchangerate()
-
withExchangerate
public Newprocess withExchangerate(BigDecimal exchangerate)
-
withImportsequencenumber
public Newprocess withImportsequencenumber(Integer importsequencenumber)
-
withName
public Newprocess withName(String name)
-
withTraversedpath
public Newprocess withTraversedpath(String traversedpath)
-
withVersionnumber
public Newprocess withVersionnumber(Long versionnumber)
-
with_knowledgearticleid_value
public Newprocess with_knowledgearticleid_value(String _knowledgearticleid_value)
-
with_processid_value
public Newprocess with_processid_value(String _processid_value)
-
with_activestageid_value
public Newprocess with_activestageid_value(String _activestageid_value)
-
withBusinessprocessflowinstanceid
public Newprocess withBusinessprocessflowinstanceid(String businessprocessflowinstanceid)
-
withUnmappedField
public Newprocess withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classCrmbaseentity
-
getCreatedbyname
public SystemuserRequest getCreatedbyname()
-
getModifiedbyname
public SystemuserRequest getModifiedbyname()
-
getKnowledgearticleid
public KnowledgearticleRequest getKnowledgearticleid()
-
getNewProcess_ProcessSessions
public ProcesssessionCollectionRequest getNewProcess_ProcessSessions()
-
getActivestageid
public ProcessstageRequest getActivestageid()
-
getCreatedonbehalfbyname
public SystemuserRequest getCreatedonbehalfbyname()
-
getWorkflowlogs_newprocess
public WorkflowlogCollectionRequest getWorkflowlogs_newprocess()
-
getProcessid
public WorkflowRequest getProcessid()
-
getTransactioncurrencyid
public TransactioncurrencyRequest getTransactioncurrencyid()
-
getOrganizationid
public OrganizationRequest getOrganizationid()
-
getModifiedonbehalfbyname
public SystemuserRequest getModifiedonbehalfbyname()
-
getNewProcess_SyncErrors
public SyncerrorCollectionRequest getNewProcess_SyncErrors()
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classCrmbaseentity
-
patch
public Newprocess patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.- Overrides:
patchin classCrmbaseentity- Returns:
- a copy of
thiswith changed fields reset - Throws:
com.github.davidmoten.odata.client.ClientException- if HTTP response is not as expected
-
put
public Newprocess put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).- Overrides:
putin classCrmbaseentity- Returns:
- a copy of
thiswith changed fields reset - Throws:
com.github.davidmoten.odata.client.ClientException- if HTTP response is not as expected
-
toString
public String toString()
- Overrides:
toStringin classCrmbaseentity
-
-