Package microsoft.dynamics.crm.entity
Class Activitymimeattachment
- java.lang.Object
-
- microsoft.dynamics.crm.entity.Crmbaseentity
-
- microsoft.dynamics.crm.entity.Activitymimeattachment
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class Activitymimeattachment extends Crmbaseentity implements com.github.davidmoten.odata.client.ODataEntityType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classActivitymimeattachment.Builder
-
Field Summary
Fields Modifier and Type Field Description protected UUID_attachmentid_valueprotected UUID_objectid_valueprotected UUID_ownerid_valueprotected UUID_owningbusinessunit_valueprotected UUID_owninguser_valueprotected UUIDactivitymimeattachmentidprotected UUIDactivitymimeattachmentiduniqueprotected Stringactivitysubjectprotected Stringanonymouslinkprotected Stringattachmentcontentidprotected Integerattachmentnumberprotected Stringbodyprotected byte[]body_binaryprotected Integercomponentstateprotected Stringfilenameprotected Integerfilesizeprotected Booleanisfollowedprotected Booleanismanagedprotected Stringmimetypeprotected Stringobjecttypecodeprotected OffsetDateTimeoverwritetimeprotected UUIDsolutionidprotected Stringsubjectprotected Longversionnumber-
Fields inherited from class microsoft.dynamics.crm.entity.Crmbaseentity
changedFields, contextPath, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedActivitymimeattachment()
-
Method Summary
-
-
-
Field Detail
-
componentstate
protected Integer componentstate
-
versionnumber
protected Long versionnumber
-
_ownerid_value
protected UUID _ownerid_value
-
subject
protected String subject
-
filesize
protected Integer filesize
-
isfollowed
protected Boolean isfollowed
-
ismanaged
protected Boolean ismanaged
-
activitymimeattachmentid
protected UUID activitymimeattachmentid
-
_owninguser_value
protected UUID _owninguser_value
-
attachmentcontentid
protected String attachmentcontentid
-
_attachmentid_value
protected UUID _attachmentid_value
-
objecttypecode
protected String objecttypecode
-
_owningbusinessunit_value
protected UUID _owningbusinessunit_value
-
_objectid_value
protected UUID _objectid_value
-
activitymimeattachmentidunique
protected UUID activitymimeattachmentidunique
-
mimetype
protected String mimetype
-
activitysubject
protected String activitysubject
-
solutionid
protected UUID solutionid
-
attachmentnumber
protected Integer attachmentnumber
-
anonymouslink
protected String anonymouslink
-
filename
protected String filename
-
body
protected String body
-
body_binary
protected byte[] body_binary
-
overwritetime
protected OffsetDateTime overwritetime
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classCrmbaseentity
-
builderActivitymimeattachment
public static Activitymimeattachment.Builder builderActivitymimeattachment()
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
-
withComponentstate
public Activitymimeattachment withComponentstate(Integer componentstate)
-
withVersionnumber
public Activitymimeattachment withVersionnumber(Long versionnumber)
-
with_ownerid_value
public Activitymimeattachment with_ownerid_value(UUID _ownerid_value)
-
withSubject
public Activitymimeattachment withSubject(String subject)
-
withFilesize
public Activitymimeattachment withFilesize(Integer filesize)
-
withIsfollowed
public Activitymimeattachment withIsfollowed(Boolean isfollowed)
-
withIsmanaged
public Activitymimeattachment withIsmanaged(Boolean ismanaged)
-
withActivitymimeattachmentid
public Activitymimeattachment withActivitymimeattachmentid(UUID activitymimeattachmentid)
-
with_owninguser_value
public Activitymimeattachment with_owninguser_value(UUID _owninguser_value)
-
withAttachmentcontentid
public Activitymimeattachment withAttachmentcontentid(String attachmentcontentid)
-
with_attachmentid_value
public Activitymimeattachment with_attachmentid_value(UUID _attachmentid_value)
-
withObjecttypecode
public Activitymimeattachment withObjecttypecode(String objecttypecode)
-
with_owningbusinessunit_value
public Activitymimeattachment with_owningbusinessunit_value(UUID _owningbusinessunit_value)
-
with_objectid_value
public Activitymimeattachment with_objectid_value(UUID _objectid_value)
-
withActivitymimeattachmentidunique
public Activitymimeattachment withActivitymimeattachmentidunique(UUID activitymimeattachmentidunique)
-
withMimetype
public Activitymimeattachment withMimetype(String mimetype)
-
withActivitysubject
public Activitymimeattachment withActivitysubject(String activitysubject)
-
withSolutionid
public Activitymimeattachment withSolutionid(UUID solutionid)
-
withAttachmentnumber
public Activitymimeattachment withAttachmentnumber(Integer attachmentnumber)
-
withAnonymouslink
public Activitymimeattachment withAnonymouslink(String anonymouslink)
-
withFilename
public Activitymimeattachment withFilename(String filename)
-
withBody
public Activitymimeattachment withBody(String body)
-
getBody_binary
public Optional<byte[]> getBody_binary()
-
withBody_binary
public Activitymimeattachment withBody_binary(byte[] body_binary)
-
getOverwritetime
public Optional<OffsetDateTime> getOverwritetime()
-
withOverwritetime
public Activitymimeattachment withOverwritetime(OffsetDateTime overwritetime)
-
withUnmappedField
public Activitymimeattachment withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classCrmbaseentity
-
getActivityMimeAttachment_SyncErrors
public SyncerrorCollectionRequest getActivityMimeAttachment_SyncErrors()
-
getObjectid_email
public EmailRequest getObjectid_email()
-
getObjectid_activitypointer
public ActivitypointerRequest getObjectid_activitypointer()
-
getObjectid_template
public TemplateRequest getObjectid_template()
-
getAttachmentid
public AttachmentRequest getAttachmentid()
-
getObjectid_appointment
public AppointmentRequest getObjectid_appointment()
-
getActivityMimeAttachment_AsyncOperations
public AsyncoperationCollectionRequest getActivityMimeAttachment_AsyncOperations()
-
getActivityMimeAttachment_BulkDeleteFailures
public BulkdeletefailureCollectionRequest getActivityMimeAttachment_BulkDeleteFailures()
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classCrmbaseentity
-
patch
public Activitymimeattachment 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 Activitymimeattachment 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
-
-