Package microsoft.dynamics.crm.entity
Class Email
- java.lang.Object
-
- microsoft.dynamics.crm.entity.Crmbaseentity
-
- microsoft.dynamics.crm.entity.Activitypointer
-
- microsoft.dynamics.crm.entity.Email
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class Email extends Activitypointer implements com.github.davidmoten.odata.client.ODataEntityType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classEmail.Builder
-
Field Summary
-
Fields inherited from class microsoft.dynamics.crm.entity.Activitypointer
_createdby_value, _createdonbehalfby_value, _modifiedby_value, _modifiedonbehalfby_value, _ownerid_value, _owningbusinessunit_value, _owningteam_value, _owninguser_value, _regardingobjectid_value, _sendermailboxid_value, _slaid_value, _slainvokedid_value, _transactioncurrencyid_value, activityadditionalparams, activityid, activitytypecode, actualdurationminutes, actualend, actualstart, community, createdon, deliverylastattemptedon, deliveryprioritycode, description, exchangeitemid, exchangerate, exchangeweblink, instancetypecode, isbilled, ismapiprivate, isregularactivity, isworkflowcreated, lastonholdtime, leftvoicemail, modifiedon, onholdtime, postponeactivityprocessinguntil, prioritycode, processid, scheduleddurationminutes, scheduledend, scheduledstart, senton, seriesid, sortdate, stageid, statecode, statuscode, subject, timezoneruleversionnumber, traversedpath, utcconversiontimezonecode, versionnumber
-
Fields inherited from class microsoft.dynamics.crm.entity.Crmbaseentity
changedFields, contextPath, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedEmail()
-
Method Summary
-
Methods inherited from class microsoft.dynamics.crm.entity.Activitypointer
get_createdby_value, get_createdonbehalfby_value, get_modifiedby_value, get_modifiedonbehalfby_value, get_ownerid_value, get_owningbusinessunit_value, get_owningteam_value, get_owninguser_value, get_regardingobjectid_value, get_sendermailboxid_value, get_slaid_value, get_slainvokedid_value, get_transactioncurrencyid_value, getActivity_pointer_activity_mime_attachment, getActivity_pointer_appointment, getActivity_pointer_email, getActivity_pointer_fax, getActivity_pointer_letter, getActivity_pointer_phonecall, getActivity_pointer_recurrencerule, getActivity_pointer_recurringappointmentmaster, getActivity_pointer_socialactivity, getActivity_pointer_task, getActivityadditionalparams, getActivityid, getActivitypointer_activity_parties, getActivityPointer_AsyncOperations, getActivityPointer_BulkDeleteFailures, getActivitypointer_connections1, getActivitypointer_connections2, getActivityPointer_QueueItem, getActivitytypecode, getActualdurationminutes, getActualend, getActualstart, getCommunity, getCreatedby, getCreatedon, getCreatedonbehalfby, getDeliverylastattemptedon, getDeliveryprioritycode, getDescription, getExchangeitemid, getExchangerate, getExchangeweblink, getInstancetypecode, getIsbilled, getIsmapiprivate, getIsregularactivity, getIsworkflowcreated, getLastonholdtime, getLeftvoicemail, getModifiedby, getModifiedon, getModifiedonbehalfby, getOnholdtime, getOwnerid, getOwningbusinessunit, getOwningteam, getOwninguser, getPostponeactivityprocessinguntil, getPrioritycode, getProcessid, getRegardingobjectid_account, getRegardingobjectid_contact, getRegardingobjectid_knowledgearticle, getRegardingobjectid_knowledgebaserecord, getRegardingobjectid_new_interactionforemail, getScheduleddurationminutes, getScheduledend, getScheduledstart, getSendermailboxid, getSenton, getSeriesid, getSla_activitypointer_sla, getSlainvokedid_activitypointer_sla, getSlakpiinstance_activitypointer, getSortdate, getStageid, getStatecode, getStatuscode, getSubject, getTimezoneruleversionnumber, getTransactioncurrencyid, getTraversedpath, getUtcconversiontimezonecode, getVersionnumber, with_createdby_value, with_createdonbehalfby_value, with_modifiedby_value, with_modifiedonbehalfby_value, with_ownerid_value, with_owningbusinessunit_value, with_owningteam_value, with_owninguser_value, with_regardingobjectid_value, with_sendermailboxid_value, with_slaid_value, with_slainvokedid_value, with_transactioncurrencyid_value, withActivityadditionalparams, withActivityid, withActivitytypecode, withActualdurationminutes, withActualend, withActualstart, withCommunity, withCreatedon, withDeliverylastattemptedon, withDeliveryprioritycode, withDescription, withExchangeitemid, withExchangerate, withExchangeweblink, withInstancetypecode, withIsbilled, withIsmapiprivate, withIsregularactivity, withIsworkflowcreated, withLastonholdtime, withLeftvoicemail, withModifiedon, withOnholdtime, withPostponeactivityprocessinguntil, withPrioritycode, withProcessid, withScheduleddurationminutes, withScheduledend, withScheduledstart, withSenton, withSeriesid, withSortdate, withStageid, withStatecode, withStatuscode, withSubject, withTimezoneruleversionnumber, withTraversedpath, withUtcconversiontimezonecode, withVersionnumber
-
-
-
-
Field Detail
-
reminderactioncardid
protected String reminderactioncardid
-
trackingtoken
protected String trackingtoken
-
overriddencreatedon
protected OffsetDateTime overriddencreatedon
-
readreceiptrequested
protected Boolean readreceiptrequested
-
messageid
protected String messageid
-
compressed
protected Boolean compressed
-
emailremindertext
protected String emailremindertext
-
emailtrackingid
protected String emailtrackingid
-
emailreminderexpirytime
protected OffsetDateTime emailreminderexpirytime
-
attachmentopencount
protected Integer attachmentopencount
-
isunsafe
protected Integer isunsafe
-
subcategory
protected String subcategory
-
_parentactivityid_value
protected String _parentactivityid_value
-
postponeemailprocessinguntil
protected OffsetDateTime postponeemailprocessinguntil
-
category
protected String category
-
replycount
protected Integer replycount
-
directioncode
protected Boolean directioncode
-
correlationmethod
protected Integer correlationmethod
-
_sendersaccount_value
protected String _sendersaccount_value
-
emailreminderstatus
protected Integer emailreminderstatus
-
linksclickedcount
protected Integer linksclickedcount
-
submittedby
protected String submittedby
-
deliveryreceiptrequested
protected Boolean deliveryreceiptrequested
-
notifications
protected Integer notifications
-
conversationtrackingid
protected String conversationtrackingid
-
deliveryattempts
protected Integer deliveryattempts
-
opencount
protected Integer opencount
-
torecipients
protected String torecipients
-
emailremindertype
protected Integer emailremindertype
-
delayedemailsendtime
protected OffsetDateTime delayedemailsendtime
-
mimetype
protected String mimetype
-
followemailuserpreference
protected Boolean followemailuserpreference
-
_templateid_value
protected String _templateid_value
-
_emailsender_value
protected String _emailsender_value
-
inreplyto
protected String inreplyto
-
attachmentcount
protected Integer attachmentcount
-
lastopenedtime
protected OffsetDateTime lastopenedtime
-
importsequencenumber
protected Integer importsequencenumber
-
isemailreminderset
protected Boolean isemailreminderset
-
isemailfollowed
protected Boolean isemailfollowed
-
conversationindex
protected String conversationindex
-
baseconversationindexhash
protected Integer baseconversationindexhash
-
sender
protected String sender
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classActivitypointer
-
builderEmail
public static Email.Builder builderEmail()
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 classActivitypointer
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classActivitypointer
-
getOverriddencreatedon
public Optional<OffsetDateTime> getOverriddencreatedon()
-
withOverriddencreatedon
public Email withOverriddencreatedon(OffsetDateTime overriddencreatedon)
-
getEmailreminderexpirytime
public Optional<OffsetDateTime> getEmailreminderexpirytime()
-
withEmailreminderexpirytime
public Email withEmailreminderexpirytime(OffsetDateTime emailreminderexpirytime)
-
with_parentactivityid_value
public Email with_parentactivityid_value(String _parentactivityid_value)
-
getPostponeemailprocessinguntil
public Optional<OffsetDateTime> getPostponeemailprocessinguntil()
-
withPostponeemailprocessinguntil
public Email withPostponeemailprocessinguntil(OffsetDateTime postponeemailprocessinguntil)
-
withDeliveryreceiptrequested
public Email withDeliveryreceiptrequested(Boolean deliveryreceiptrequested)
-
getDelayedemailsendtime
public Optional<OffsetDateTime> getDelayedemailsendtime()
-
withDelayedemailsendtime
public Email withDelayedemailsendtime(OffsetDateTime delayedemailsendtime)
-
withFollowemailuserpreference
public Email withFollowemailuserpreference(Boolean followemailuserpreference)
-
getLastopenedtime
public Optional<OffsetDateTime> getLastopenedtime()
-
withLastopenedtime
public Email withLastopenedtime(OffsetDateTime lastopenedtime)
-
withBaseconversationindexhash
public Email withBaseconversationindexhash(Integer baseconversationindexhash)
-
withUnmappedField
public Email withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classActivitypointer
-
getRegardingobjectid_knowledgebaserecord_email
public KnowledgebaserecordRequest getRegardingobjectid_knowledgebaserecord_email()
-
getEmail_SyncErrors
public SyncerrorCollectionRequest getEmail_SyncErrors()
-
getTransactioncurrencyid_email
public TransactioncurrencyRequest getTransactioncurrencyid_email()
-
getRegardingobjectid_asyncoperation
public AsyncoperationRequest getRegardingobjectid_asyncoperation()
-
getSendersaccount
public AccountRequest getSendersaccount()
-
getEmailsender_account
public AccountRequest getEmailsender_account()
-
getActivityid_activitypointer
public ActivitypointerRequest getActivityid_activitypointer()
-
getSla_email_sla
public SlaRequest getSla_email_sla()
-
getEmail_AsyncOperations
public AsyncoperationCollectionRequest getEmail_AsyncOperations()
-
getEmail_DuplicateBaseRecord
public DuplicaterecordCollectionRequest getEmail_DuplicateBaseRecord()
-
getEmail_connections1
public ConnectionCollectionRequest getEmail_connections1()
-
getSendermailboxid_email
public MailboxRequest getSendermailboxid_email()
-
getEmail_activity_mime_attachment
public ActivitymimeattachmentCollectionRequest getEmail_activity_mime_attachment()
-
getSlakpiinstance_email
public SlakpiinstanceCollectionRequest getSlakpiinstance_email()
-
getEmail_connections2
public ConnectionCollectionRequest getEmail_connections2()
-
getOwningbusinessunit_email
public BusinessunitRequest getOwningbusinessunit_email()
-
getEmailsender_contact
public ContactRequest getEmailsender_contact()
-
getOwninguser_email
public SystemuserRequest getOwninguser_email()
-
getModifiedby_email
public SystemuserRequest getModifiedby_email()
-
getOwningteam_email
public TeamRequest getOwningteam_email()
-
getEmailsender_queue
public QueueRequest getEmailsender_queue()
-
getSlainvokedid_email_sla
public SlaRequest getSlainvokedid_email_sla()
-
getEmail_Annotation
public AnnotationCollectionRequest getEmail_Annotation()
-
getEmail_BulkDeleteFailures
public BulkdeletefailureCollectionRequest getEmail_BulkDeleteFailures()
-
getEmail_ProcessSessions
public ProcesssessionCollectionRequest getEmail_ProcessSessions()
-
getCreatedonbehalfby_email
public SystemuserRequest getCreatedonbehalfby_email()
-
getEmail_activity_parties
public ActivitypartyCollectionRequest getEmail_activity_parties()
-
getRegardingobjectid_knowledgearticle_email
public KnowledgearticleRequest getRegardingobjectid_knowledgearticle_email()
-
getEmail_actioncard
public ActioncardCollectionRequest getEmail_actioncard()
-
getEmail_DuplicateMatchingRecord
public DuplicaterecordCollectionRequest getEmail_DuplicateMatchingRecord()
-
getEmail_principalobjectattributeaccess
public PrincipalobjectattributeaccessCollectionRequest getEmail_principalobjectattributeaccess()
-
getModifiedonbehalfby_email
public SystemuserRequest getModifiedonbehalfby_email()
-
getRegardingobjectid_account_email
public AccountRequest getRegardingobjectid_account_email()
-
getCreatedby_email
public SystemuserRequest getCreatedby_email()
-
getEmailsender_systemuser
public SystemuserRequest getEmailsender_systemuser()
-
getTemplateid
public TemplateRequest getTemplateid()
-
getStageid_processstage
public ProcessstageRequest getStageid_processstage()
-
getRegardingobjectid_contact_email
public ContactRequest getRegardingobjectid_contact_email()
-
getEmail_QueueItem
public QueueitemCollectionRequest getEmail_QueueItem()
-
getParentactivityid
public EmailRequest getParentactivityid()
-
getEmail_email_parentactivityid
public EmailCollectionRequest getEmail_email_parentactivityid()
-
getOwnerid_email
public PrincipalRequest getOwnerid_email()
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classActivitypointer
-
patch
public Email patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.- Overrides:
patchin classActivitypointer- Returns:
- a copy of
thiswith changed fields reset - Throws:
com.github.davidmoten.odata.client.ClientException- if HTTP response is not as expected
-
put
public Email put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).- Overrides:
putin classActivitypointer- Returns:
- a copy of
thiswith changed fields reset - Throws:
com.github.davidmoten.odata.client.ClientException- if HTTP response is not as expected
-
deliverImmediatePromoteEmail
public com.github.davidmoten.odata.client.ActionRequestReturningNonCollectionUnwrapped<Email> deliverImmediatePromoteEmail(String messageId, String subject, String from, String to, String cc, String bcc, OffsetDateTime receivedOn, String submittedBy, String importance, String body, List<String> attachmentIds, String eWSUrl, String attachmentToken, Crmbaseentity extraProperties)
-
deliverPromoteEmail
public com.github.davidmoten.odata.client.ActionRequestReturningNonCollectionUnwrapped<Email> deliverPromoteEmail(String messageId, String subject, String from, String to, String cc, String bcc, OffsetDateTime receivedOn, String submittedBy, String importance, String body, List<Attachment> attachments, Crmbaseentity extraProperties)
-
sendEmail
public com.github.davidmoten.odata.client.ActionRequestReturningNonCollectionUnwrapped<SendEmailResponse> sendEmail(Boolean issueSend, String trackingToken)
-
toString
public String toString()
- Overrides:
toStringin classActivitypointer
-
-