Package microsoft.dynamics.crm.entity
Class Template
- java.lang.Object
-
- microsoft.dynamics.crm.entity.Crmbaseentity
-
- microsoft.dynamics.crm.entity.Template
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class Template extends Crmbaseentity implements com.github.davidmoten.odata.client.ODataEntityType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTemplate.Builder
-
Field Summary
-
Fields inherited from class microsoft.dynamics.crm.entity.Crmbaseentity
changedFields, contextPath, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedTemplate()
-
Method Summary
-
-
-
Field Detail
-
openrate
protected Integer openrate
-
replyrate
protected Integer replyrate
-
subjectpresentationxml
protected String subjectpresentationxml
-
generationtypecode
protected Integer generationtypecode
-
_createdby_value
protected UUID _createdby_value
-
mimetype
protected String mimetype
-
modifiedon
protected OffsetDateTime modifiedon
-
ismanaged
protected Boolean ismanaged
-
safehtml
protected String safehtml
-
_owningbusinessunit_value
protected UUID _owningbusinessunit_value
-
_ownerid_value
protected UUID _ownerid_value
-
description
protected String description
-
templateidunique
protected UUID templateidunique
-
entityimage_url
protected String entityimage_url
-
body
protected String body
-
solutionid
protected UUID solutionid
-
_modifiedby_value
protected UUID _modifiedby_value
-
_owningteam_value
protected UUID _owningteam_value
-
templatetypecode
protected String templatetypecode
-
ispersonal
protected Boolean ispersonal
-
usedcount
protected Integer usedcount
-
componentstate
protected Integer componentstate
-
entityimageid
protected UUID entityimageid
-
entityimage_timestamp
protected Long entityimage_timestamp
-
title
protected String title
-
importsequencenumber
protected Integer importsequencenumber
-
_owninguser_value
protected UUID _owninguser_value
-
overwritetime
protected OffsetDateTime overwritetime
-
_modifiedonbehalfby_value
protected UUID _modifiedonbehalfby_value
-
isrecommended
protected Boolean isrecommended
-
introducedversion
protected String introducedversion
-
createdon
protected OffsetDateTime createdon
-
templateid
protected UUID templateid
-
replycount
protected Integer replycount
-
presentationxml
protected String presentationxml
-
iscustomizable
protected BooleanManagedProperty iscustomizable
-
subject
protected String subject
-
entityimage
protected byte[] entityimage
-
subjectsafehtml
protected String subjectsafehtml
-
languagecode
protected Integer languagecode
-
versionnumber
protected Long versionnumber
-
opencount
protected Integer opencount
-
_createdonbehalfby_value
protected UUID _createdonbehalfby_value
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classCrmbaseentity
-
builderTemplate
public static Template.Builder builderTemplate()
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
-
withSubjectpresentationxml
public Template withSubjectpresentationxml(String subjectpresentationxml)
-
getModifiedon
public Optional<OffsetDateTime> getModifiedon()
-
withModifiedon
public Template withModifiedon(OffsetDateTime modifiedon)
-
with_owningbusinessunit_value
public Template with_owningbusinessunit_value(UUID _owningbusinessunit_value)
-
getOverwritetime
public Optional<OffsetDateTime> getOverwritetime()
-
withOverwritetime
public Template withOverwritetime(OffsetDateTime overwritetime)
-
with_modifiedonbehalfby_value
public Template with_modifiedonbehalfby_value(UUID _modifiedonbehalfby_value)
-
getCreatedon
public Optional<OffsetDateTime> getCreatedon()
-
withCreatedon
public Template withCreatedon(OffsetDateTime createdon)
-
getIscustomizable
public Optional<BooleanManagedProperty> getIscustomizable()
-
withIscustomizable
public Template withIscustomizable(BooleanManagedProperty iscustomizable)
-
getEntityimage
public Optional<byte[]> getEntityimage()
-
withEntityimage
public Template withEntityimage(byte[] entityimage)
-
with_createdonbehalfby_value
public Template with_createdonbehalfby_value(UUID _createdonbehalfby_value)
-
withUnmappedField
public Template withUnmappedField(String name, Object value)
- Overrides:
withUnmappedFieldin classCrmbaseentity
-
getCreatedby
public SystemuserRequest getCreatedby()
-
getOwningbusinessunit
public BusinessunitRequest getOwningbusinessunit()
-
getModifiedby
public SystemuserRequest getModifiedby()
-
getTemplate_AsyncOperations
public AsyncoperationCollectionRequest getTemplate_AsyncOperations()
-
getTemplate_BulkDeleteFailures
public BulkdeletefailureCollectionRequest getTemplate_BulkDeleteFailures()
-
getCreatedonbehalfby
public SystemuserRequest getCreatedonbehalfby()
-
getOwningteam
public TeamRequest getOwningteam()
-
getTemplate_activity_mime_attachments
public ActivitymimeattachmentCollectionRequest getTemplate_activity_mime_attachments()
-
getTemplate_ProcessSessions
public ProcesssessionCollectionRequest getTemplate_ProcessSessions()
-
getOwnerid
public PrincipalRequest getOwnerid()
-
getTemplate_SyncErrors
public SyncerrorCollectionRequest getTemplate_SyncErrors()
-
getOwninguser
public SystemuserRequest getOwninguser()
-
getTemplate_Organization
public OrganizationCollectionRequest getTemplate_Organization()
-
getModifiedonbehalfby
public SystemuserRequest getModifiedonbehalfby()
-
getEmail_EmailTemplate
public EmailCollectionRequest getEmail_EmailTemplate()
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classCrmbaseentity
-
patch
public Template 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 Template 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
-
-