Package microsoft.dynamics.crm.entity
Class Documenttemplate
- java.lang.Object
-
- microsoft.dynamics.crm.entity.Crmbaseentity
-
- microsoft.dynamics.crm.entity.Documenttemplate
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class Documenttemplate extends Crmbaseentity implements com.github.davidmoten.odata.client.ODataEntityType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDocumenttemplate.Builder
-
Field Summary
Fields Modifier and Type Field Description protected String_createdby_valueprotected String_createdonbehalfby_valueprotected String_modifiedby_valueprotected String_modifiedonbehalfby_valueprotected String_organizationid_valueprotected Stringassociatedentitytypecodeprotected Stringclientdataprotected Stringcontentprotected OffsetDateTimecreatedonprotected Stringdescriptionprotected Stringdocumenttemplateidprotected Integerdocumenttypeprotected Integerlanguagecodeprotected OffsetDateTimemodifiedonprotected Stringnameprotected Booleanstatusprotected Longversionnumber-
Fields inherited from class microsoft.dynamics.crm.entity.Crmbaseentity
changedFields, contextPath, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedDocumenttemplate()
-
Method Summary
-
-
-
Field Detail
-
documenttype
protected Integer documenttype
-
_modifiedby_value
protected String _modifiedby_value
-
name
protected String name
-
_modifiedonbehalfby_value
protected String _modifiedonbehalfby_value
-
_createdby_value
protected String _createdby_value
-
associatedentitytypecode
protected String associatedentitytypecode
-
documenttemplateid
protected String documenttemplateid
-
clientdata
protected String clientdata
-
modifiedon
protected OffsetDateTime modifiedon
-
versionnumber
protected Long versionnumber
-
description
protected String description
-
createdon
protected OffsetDateTime createdon
-
_organizationid_value
protected String _organizationid_value
-
status
protected Boolean status
-
content
protected String content
-
languagecode
protected Integer languagecode
-
_createdonbehalfby_value
protected String _createdonbehalfby_value
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classCrmbaseentity
-
builderDocumenttemplate
public static Documenttemplate.Builder builderDocumenttemplate()
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
-
withDocumenttype
public Documenttemplate withDocumenttype(Integer documenttype)
-
with_modifiedby_value
public Documenttemplate with_modifiedby_value(String _modifiedby_value)
-
withName
public Documenttemplate withName(String name)
-
with_modifiedonbehalfby_value
public Documenttemplate with_modifiedonbehalfby_value(String _modifiedonbehalfby_value)
-
with_createdby_value
public Documenttemplate with_createdby_value(String _createdby_value)
-
withAssociatedentitytypecode
public Documenttemplate withAssociatedentitytypecode(String associatedentitytypecode)
-
withDocumenttemplateid
public Documenttemplate withDocumenttemplateid(String documenttemplateid)
-
withClientdata
public Documenttemplate withClientdata(String clientdata)
-
getModifiedon
public Optional<OffsetDateTime> getModifiedon()
-
withModifiedon
public Documenttemplate withModifiedon(OffsetDateTime modifiedon)
-
withVersionnumber
public Documenttemplate withVersionnumber(Long versionnumber)
-
withDescription
public Documenttemplate withDescription(String description)
-
getCreatedon
public Optional<OffsetDateTime> getCreatedon()
-
withCreatedon
public Documenttemplate withCreatedon(OffsetDateTime createdon)
-
with_organizationid_value
public Documenttemplate with_organizationid_value(String _organizationid_value)
-
withStatus
public Documenttemplate withStatus(Boolean status)
-
withContent
public Documenttemplate withContent(String content)
-
withLanguagecode
public Documenttemplate withLanguagecode(Integer languagecode)
-
with_createdonbehalfby_value
public Documenttemplate with_createdonbehalfby_value(String _createdonbehalfby_value)
-
withUnmappedField
public Documenttemplate withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classCrmbaseentity
-
getCreatedonbehalfby
public SystemuserRequest getCreatedonbehalfby()
-
getModifiedonbehalfby
public SystemuserRequest getModifiedonbehalfby()
-
getCreatedby
public SystemuserRequest getCreatedby()
-
getOrganizationid
public OrganizationRequest getOrganizationid()
-
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 Documenttemplate 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 Documenttemplate 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
-
-