Package microsoft.dynamics.crm.entity
Class Position
- java.lang.Object
-
- microsoft.dynamics.crm.entity.Crmbaseentity
-
- microsoft.dynamics.crm.entity.Position
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class Position extends Crmbaseentity implements com.github.davidmoten.odata.client.ODataEntityType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPosition.Builder
-
Field Summary
Fields Modifier and Type Field Description protected UUID_createdby_valueprotected UUID_createdonbehalfby_valueprotected UUID_modifiedby_valueprotected UUID_modifiedonbehalfby_valueprotected UUID_organizationid_valueprotected UUID_parentpositionid_valueprotected UUID_transactioncurrencyid_valueprotected OffsetDateTimecreatedonprotected Stringdescriptionprotected BigDecimalexchangerateprotected Integerimportsequencenumberprotected OffsetDateTimemodifiedonprotected Stringnameprotected OffsetDateTimeoverriddencreatedonprotected UUIDpositionidprotected Integerstatecodeprotected Integerstatuscodeprotected Integertimezoneruleversionnumberprotected Integerutcconversiontimezonecodeprotected Longversionnumber-
Fields inherited from class microsoft.dynamics.crm.entity.Crmbaseentity
changedFields, contextPath, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedPosition()
-
Method Summary
-
-
-
Field Detail
-
_createdonbehalfby_value
protected UUID _createdonbehalfby_value
-
createdon
protected OffsetDateTime createdon
-
name
protected String name
-
_modifiedby_value
protected UUID _modifiedby_value
-
_parentpositionid_value
protected UUID _parentpositionid_value
-
exchangerate
protected BigDecimal exchangerate
-
_organizationid_value
protected UUID _organizationid_value
-
_createdby_value
protected UUID _createdby_value
-
utcconversiontimezonecode
protected Integer utcconversiontimezonecode
-
positionid
protected UUID positionid
-
overriddencreatedon
protected OffsetDateTime overriddencreatedon
-
statuscode
protected Integer statuscode
-
_transactioncurrencyid_value
protected UUID _transactioncurrencyid_value
-
versionnumber
protected Long versionnumber
-
description
protected String description
-
statecode
protected Integer statecode
-
_modifiedonbehalfby_value
protected UUID _modifiedonbehalfby_value
-
timezoneruleversionnumber
protected Integer timezoneruleversionnumber
-
modifiedon
protected OffsetDateTime modifiedon
-
importsequencenumber
protected Integer importsequencenumber
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classCrmbaseentity
-
builderPosition
public static Position.Builder builderPosition()
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
-
with_createdonbehalfby_value
public Position with_createdonbehalfby_value(UUID _createdonbehalfby_value)
-
getCreatedon
public Optional<OffsetDateTime> getCreatedon()
-
withCreatedon
public Position withCreatedon(OffsetDateTime createdon)
-
with_parentpositionid_value
public Position with_parentpositionid_value(UUID _parentpositionid_value)
-
getExchangerate
public Optional<BigDecimal> getExchangerate()
-
withExchangerate
public Position withExchangerate(BigDecimal exchangerate)
-
withUtcconversiontimezonecode
public Position withUtcconversiontimezonecode(Integer utcconversiontimezonecode)
-
getOverriddencreatedon
public Optional<OffsetDateTime> getOverriddencreatedon()
-
withOverriddencreatedon
public Position withOverriddencreatedon(OffsetDateTime overriddencreatedon)
-
with_transactioncurrencyid_value
public Position with_transactioncurrencyid_value(UUID _transactioncurrencyid_value)
-
with_modifiedonbehalfby_value
public Position with_modifiedonbehalfby_value(UUID _modifiedonbehalfby_value)
-
withTimezoneruleversionnumber
public Position withTimezoneruleversionnumber(Integer timezoneruleversionnumber)
-
getModifiedon
public Optional<OffsetDateTime> getModifiedon()
-
withModifiedon
public Position withModifiedon(OffsetDateTime modifiedon)
-
withUnmappedField
public Position withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classCrmbaseentity
-
getCreatedby
public SystemuserRequest getCreatedby()
-
getCreatedonbehalfby
public SystemuserRequest getCreatedonbehalfby()
-
getModifiedby
public SystemuserRequest getModifiedby()
-
getModifiedonbehalfby
public SystemuserRequest getModifiedonbehalfby()
-
getOrganizationid
public OrganizationRequest getOrganizationid()
-
getPosition_AsyncOperations
public AsyncoperationCollectionRequest getPosition_AsyncOperations()
-
getPosition_ProcessSession
public ProcesssessionCollectionRequest getPosition_ProcessSession()
-
getPosition_users
public SystemuserCollectionRequest getPosition_users()
-
getParentpositionid
public PositionRequest getParentpositionid()
-
getPosition_parent_position
public PositionCollectionRequest getPosition_parent_position()
-
getPosition_principalobjectattributeaccess
public PrincipalobjectattributeaccessCollectionRequest getPosition_principalobjectattributeaccess()
-
getTransactioncurrencyid
public TransactioncurrencyRequest getTransactioncurrencyid()
-
getPosition_connection1
public ConnectionCollectionRequest getPosition_connection1()
-
getPosition_connection2
public ConnectionCollectionRequest getPosition_connection2()
-
getPosition_SyncErrors
public SyncerrorCollectionRequest getPosition_SyncErrors()
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classCrmbaseentity
-
patch
public Position 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 Position 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
-
-