Package microsoft.dynamics.crm.entity
Class Personaldocumenttemplate
- java.lang.Object
-
- microsoft.dynamics.crm.entity.Crmbaseentity
-
- microsoft.dynamics.crm.entity.Personaldocumenttemplate
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class Personaldocumenttemplate extends Crmbaseentity implements com.github.davidmoten.odata.client.ODataEntityType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPersonaldocumenttemplate.Builder
-
Field Summary
Fields Modifier and Type Field Description protected String_createdby_valueprotected String_createdonbehalfby_valueprotected String_modifiedby_valueprotected String_modifiedonbehalfby_valueprotected String_ownerid_valueprotected String_owningbusinessunit_valueprotected String_owningteam_valueprotected String_owninguser_valueprotected Stringassociatedentitytypecodeprotected Stringclientdataprotected Stringcontentprotected OffsetDateTimecreatedonprotected Stringdescriptionprotected Integerdocumenttypeprotected Integerlanguagecodeprotected OffsetDateTimemodifiedonprotected Stringnameprotected Stringpersonaldocumenttemplateidprotected Booleanstatusprotected Longversionnumber-
Fields inherited from class microsoft.dynamics.crm.entity.Crmbaseentity
changedFields, contextPath, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedPersonaldocumenttemplate()
-
Method Summary
-
-
-
Field Detail
-
_modifiedonbehalfby_value
protected String _modifiedonbehalfby_value
-
createdon
protected OffsetDateTime createdon
-
personaldocumenttemplateid
protected String personaldocumenttemplateid
-
_owninguser_value
protected String _owninguser_value
-
content
protected String content
-
_createdonbehalfby_value
protected String _createdonbehalfby_value
-
status
protected Boolean status
-
name
protected String name
-
documenttype
protected Integer documenttype
-
clientdata
protected String clientdata
-
modifiedon
protected OffsetDateTime modifiedon
-
_createdby_value
protected String _createdby_value
-
_modifiedby_value
protected String _modifiedby_value
-
_ownerid_value
protected String _ownerid_value
-
_owningteam_value
protected String _owningteam_value
-
languagecode
protected Integer languagecode
-
description
protected String description
-
_owningbusinessunit_value
protected String _owningbusinessunit_value
-
versionnumber
protected Long versionnumber
-
associatedentitytypecode
protected String associatedentitytypecode
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classCrmbaseentity
-
builderPersonaldocumenttemplate
public static Personaldocumenttemplate.Builder builderPersonaldocumenttemplate()
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_modifiedonbehalfby_value
public Personaldocumenttemplate with_modifiedonbehalfby_value(String _modifiedonbehalfby_value)
-
getCreatedon
public Optional<OffsetDateTime> getCreatedon()
-
withCreatedon
public Personaldocumenttemplate withCreatedon(OffsetDateTime createdon)
-
withPersonaldocumenttemplateid
public Personaldocumenttemplate withPersonaldocumenttemplateid(String personaldocumenttemplateid)
-
with_owninguser_value
public Personaldocumenttemplate with_owninguser_value(String _owninguser_value)
-
withContent
public Personaldocumenttemplate withContent(String content)
-
with_createdonbehalfby_value
public Personaldocumenttemplate with_createdonbehalfby_value(String _createdonbehalfby_value)
-
withStatus
public Personaldocumenttemplate withStatus(Boolean status)
-
withName
public Personaldocumenttemplate withName(String name)
-
withDocumenttype
public Personaldocumenttemplate withDocumenttype(Integer documenttype)
-
withClientdata
public Personaldocumenttemplate withClientdata(String clientdata)
-
getModifiedon
public Optional<OffsetDateTime> getModifiedon()
-
withModifiedon
public Personaldocumenttemplate withModifiedon(OffsetDateTime modifiedon)
-
with_createdby_value
public Personaldocumenttemplate with_createdby_value(String _createdby_value)
-
with_modifiedby_value
public Personaldocumenttemplate with_modifiedby_value(String _modifiedby_value)
-
with_ownerid_value
public Personaldocumenttemplate with_ownerid_value(String _ownerid_value)
-
with_owningteam_value
public Personaldocumenttemplate with_owningteam_value(String _owningteam_value)
-
withLanguagecode
public Personaldocumenttemplate withLanguagecode(Integer languagecode)
-
withDescription
public Personaldocumenttemplate withDescription(String description)
-
with_owningbusinessunit_value
public Personaldocumenttemplate with_owningbusinessunit_value(String _owningbusinessunit_value)
-
withVersionnumber
public Personaldocumenttemplate withVersionnumber(Long versionnumber)
-
withAssociatedentitytypecode
public Personaldocumenttemplate withAssociatedentitytypecode(String associatedentitytypecode)
-
withUnmappedField
public Personaldocumenttemplate withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classCrmbaseentity
-
getOwnerid
public PrincipalRequest getOwnerid()
-
getModifiedonbehalfby
public SystemuserRequest getModifiedonbehalfby()
-
getCreatedby
public SystemuserRequest getCreatedby()
-
getCreatedonbehalfby
public SystemuserRequest getCreatedonbehalfby()
-
getOwningbusinessunit
public BusinessunitRequest getOwningbusinessunit()
-
getModifiedby
public SystemuserRequest getModifiedby()
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classCrmbaseentity
-
patch
public Personaldocumenttemplate 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 Personaldocumenttemplate 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
-
-