Package microsoft.dynamics.crm.entity
Class Annotation
- java.lang.Object
-
- microsoft.dynamics.crm.entity.Crmbaseentity
-
- microsoft.dynamics.crm.entity.Annotation
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class Annotation extends Crmbaseentity implements com.github.davidmoten.odata.client.ODataEntityType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAnnotation.Builder
-
Field Summary
Fields Modifier and Type Field Description protected UUID_createdby_valueprotected UUID_createdonbehalfby_valueprotected UUID_modifiedby_valueprotected UUID_modifiedonbehalfby_valueprotected UUID_objectid_valueprotected UUID_ownerid_valueprotected UUID_owningbusinessunit_valueprotected UUID_owningteam_valueprotected UUID_owninguser_valueprotected UUIDannotationidprotected OffsetDateTimecreatedonprotected Stringdocumentbodyprotected byte[]documentbody_binaryprotected Stringdummyfilenameprotected Stringdummyregardingprotected Stringfilenameprotected Integerfilesizeprotected Integerimportsequencenumberprotected Booleanisdocumentprotected Stringlangidprotected Stringmimetypeprotected OffsetDateTimemodifiedonprotected Stringnotetextprotected Stringobjecttypecodeprotected OffsetDateTimeoverriddencreatedonprotected Stringprefixprotected Stringstepidprotected Stringsubjectprotected Longversionnumber-
Fields inherited from class microsoft.dynamics.crm.entity.Crmbaseentity
changedFields, contextPath, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedAnnotation()
-
Method Summary
-
-
-
Field Detail
-
importsequencenumber
protected Integer importsequencenumber
-
_modifiedby_value
protected UUID _modifiedby_value
-
_owningbusinessunit_value
protected UUID _owningbusinessunit_value
-
notetext
protected String notetext
-
_objectid_value
protected UUID _objectid_value
-
objecttypecode
protected String objecttypecode
-
createdon
protected OffsetDateTime createdon
-
dummyregarding
protected String dummyregarding
-
dummyfilename
protected String dummyfilename
-
annotationid
protected UUID annotationid
-
mimetype
protected String mimetype
-
_createdonbehalfby_value
protected UUID _createdonbehalfby_value
-
_createdby_value
protected UUID _createdby_value
-
prefix
protected String prefix
-
modifiedon
protected OffsetDateTime modifiedon
-
_ownerid_value
protected UUID _ownerid_value
-
_modifiedonbehalfby_value
protected UUID _modifiedonbehalfby_value
-
langid
protected String langid
-
documentbody
protected String documentbody
-
documentbody_binary
protected byte[] documentbody_binary
-
isdocument
protected Boolean isdocument
-
_owningteam_value
protected UUID _owningteam_value
-
versionnumber
protected Long versionnumber
-
filesize
protected Integer filesize
-
_owninguser_value
protected UUID _owninguser_value
-
stepid
protected String stepid
-
filename
protected String filename
-
overriddencreatedon
protected OffsetDateTime overriddencreatedon
-
subject
protected String subject
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classCrmbaseentity
-
builderAnnotation
public static Annotation.Builder builderAnnotation()
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
-
withImportsequencenumber
public Annotation withImportsequencenumber(Integer importsequencenumber)
-
with_modifiedby_value
public Annotation with_modifiedby_value(UUID _modifiedby_value)
-
with_owningbusinessunit_value
public Annotation with_owningbusinessunit_value(UUID _owningbusinessunit_value)
-
withNotetext
public Annotation withNotetext(String notetext)
-
with_objectid_value
public Annotation with_objectid_value(UUID _objectid_value)
-
withObjecttypecode
public Annotation withObjecttypecode(String objecttypecode)
-
getCreatedon
public Optional<OffsetDateTime> getCreatedon()
-
withCreatedon
public Annotation withCreatedon(OffsetDateTime createdon)
-
withDummyregarding
public Annotation withDummyregarding(String dummyregarding)
-
withDummyfilename
public Annotation withDummyfilename(String dummyfilename)
-
withAnnotationid
public Annotation withAnnotationid(UUID annotationid)
-
withMimetype
public Annotation withMimetype(String mimetype)
-
with_createdonbehalfby_value
public Annotation with_createdonbehalfby_value(UUID _createdonbehalfby_value)
-
with_createdby_value
public Annotation with_createdby_value(UUID _createdby_value)
-
withPrefix
public Annotation withPrefix(String prefix)
-
getModifiedon
public Optional<OffsetDateTime> getModifiedon()
-
withModifiedon
public Annotation withModifiedon(OffsetDateTime modifiedon)
-
with_ownerid_value
public Annotation with_ownerid_value(UUID _ownerid_value)
-
with_modifiedonbehalfby_value
public Annotation with_modifiedonbehalfby_value(UUID _modifiedonbehalfby_value)
-
withLangid
public Annotation withLangid(String langid)
-
withDocumentbody
public Annotation withDocumentbody(String documentbody)
-
getDocumentbody_binary
public Optional<byte[]> getDocumentbody_binary()
-
withDocumentbody_binary
public Annotation withDocumentbody_binary(byte[] documentbody_binary)
-
withIsdocument
public Annotation withIsdocument(Boolean isdocument)
-
with_owningteam_value
public Annotation with_owningteam_value(UUID _owningteam_value)
-
withVersionnumber
public Annotation withVersionnumber(Long versionnumber)
-
withFilesize
public Annotation withFilesize(Integer filesize)
-
with_owninguser_value
public Annotation with_owninguser_value(UUID _owninguser_value)
-
withStepid
public Annotation withStepid(String stepid)
-
withFilename
public Annotation withFilename(String filename)
-
getOverriddencreatedon
public Optional<OffsetDateTime> getOverriddencreatedon()
-
withOverriddencreatedon
public Annotation withOverriddencreatedon(OffsetDateTime overriddencreatedon)
-
withSubject
public Annotation withSubject(String subject)
-
withUnmappedField
public Annotation withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classCrmbaseentity
-
getObjectid_knowledgearticle
public KnowledgearticleRequest getObjectid_knowledgearticle()
-
getObjectid_knowledgebaserecord
public KnowledgebaserecordRequest getObjectid_knowledgebaserecord()
-
getObjectid_account
public AccountRequest getObjectid_account()
-
getModifiedonbehalfby
public SystemuserRequest getModifiedonbehalfby()
-
getObjectid_kbarticle
public KbarticleRequest getObjectid_kbarticle()
-
getObjectid_appointment
public AppointmentRequest getObjectid_appointment()
-
getOwningbusinessunit
public BusinessunitRequest getOwningbusinessunit()
-
getAnnotation_BulkDeleteFailures
public BulkdeletefailureCollectionRequest getAnnotation_BulkDeleteFailures()
-
getObjectid_sla
public SlaRequest getObjectid_sla()
-
getObjectid_calendar
public CalendarRequest getObjectid_calendar()
-
getCreatedby
public SystemuserRequest getCreatedby()
-
getObjectid_fax
public FaxRequest getObjectid_fax()
-
getObjectid_contact
public ContactRequest getObjectid_contact()
-
getOwninguser
public SystemuserRequest getOwninguser()
-
getObjectid_letter
public LetterRequest getObjectid_letter()
-
getOwnerid
public PrincipalRequest getOwnerid()
-
getObjectid_goal
public GoalRequest getObjectid_goal()
-
getObjectid_task
public TaskRequest getObjectid_task()
-
getObjectid_email
public EmailRequest getObjectid_email()
-
getObjectid_workflow
public WorkflowRequest getObjectid_workflow()
-
getCreatedonbehalfby
public SystemuserRequest getCreatedonbehalfby()
-
getModifiedby
public SystemuserRequest getModifiedby()
-
getAnnotation_AsyncOperations
public AsyncoperationCollectionRequest getAnnotation_AsyncOperations()
-
getAnnotation_ProcessSessions
public ProcesssessionCollectionRequest getAnnotation_ProcessSessions()
-
getObjectid_mailbox
public MailboxRequest getObjectid_mailbox()
-
getObjectid_socialactivity
public SocialactivityRequest getObjectid_socialactivity()
-
getOwningteam
public TeamRequest getOwningteam()
-
getObjectid_duplicaterule
public DuplicateruleRequest getObjectid_duplicaterule()
-
getAnnotation_SyncErrors
public SyncerrorCollectionRequest getAnnotation_SyncErrors()
-
getObjectid_phonecall
public PhonecallRequest getObjectid_phonecall()
-
getObjectid_emailserverprofile
public EmailserverprofileRequest getObjectid_emailserverprofile()
-
getObjectid_recurringappointmentmaster
public RecurringappointmentmasterRequest getObjectid_recurringappointmentmaster()
-
getObjectid_msdyn_aimodel
public Msdyn_aimodelRequest getObjectid_msdyn_aimodel()
-
getObjectid_msdyn_aifptrainingdocument
public Msdyn_aifptrainingdocumentRequest getObjectid_msdyn_aifptrainingdocument()
-
getObjectid_msdyn_aiodimage
public Msdyn_aiodimageRequest getObjectid_msdyn_aiodimage()
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classCrmbaseentity
-
patch
public Annotation 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 Annotation 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
-
-