Package microsoft.dynamics.crm.entity
Class Fileattachment
- java.lang.Object
-
- microsoft.dynamics.crm.entity.Crmbaseentity
-
- microsoft.dynamics.crm.entity.Fileattachment
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class Fileattachment extends Crmbaseentity implements com.github.davidmoten.odata.client.ODataEntityType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classFileattachment.Builder
-
Field Summary
Fields Modifier and Type Field Description protected UUID_objectid_valueprotected OffsetDateTimecreatedonprotected UUIDfileattachmentidprotected Stringfilenameprotected Longfilesizeinbytesprotected Stringmimetypeprotected Stringobjecttypecodeprotected Stringregardingfieldnameprotected Longversionnumber-
Fields inherited from class microsoft.dynamics.crm.entity.Crmbaseentity
changedFields, contextPath, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedFileattachment()
-
Method Summary
-
-
-
Field Detail
-
regardingfieldname
protected String regardingfieldname
-
filename
protected String filename
-
_objectid_value
protected UUID _objectid_value
-
fileattachmentid
protected UUID fileattachmentid
-
createdon
protected OffsetDateTime createdon
-
mimetype
protected String mimetype
-
versionnumber
protected Long versionnumber
-
filesizeinbytes
protected Long filesizeinbytes
-
objecttypecode
protected String objecttypecode
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classCrmbaseentity
-
builderFileattachment
public static Fileattachment.Builder builderFileattachment()
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
-
withRegardingfieldname
public Fileattachment withRegardingfieldname(String regardingfieldname)
-
withFilename
public Fileattachment withFilename(String filename)
-
with_objectid_value
public Fileattachment with_objectid_value(UUID _objectid_value)
-
withFileattachmentid
public Fileattachment withFileattachmentid(UUID fileattachmentid)
-
getCreatedon
public Optional<OffsetDateTime> getCreatedon()
-
withCreatedon
public Fileattachment withCreatedon(OffsetDateTime createdon)
-
withMimetype
public Fileattachment withMimetype(String mimetype)
-
withVersionnumber
public Fileattachment withVersionnumber(Long versionnumber)
-
withFilesizeinbytes
public Fileattachment withFilesizeinbytes(Long filesizeinbytes)
-
withObjecttypecode
public Fileattachment withObjecttypecode(String objecttypecode)
-
withUnmappedField
public Fileattachment withUnmappedField(String name, Object value)
- Overrides:
withUnmappedFieldin classCrmbaseentity
-
getFileAttachment_SyncErrors
public SyncerrorCollectionRequest getFileAttachment_SyncErrors()
-
getFileAttachment_Solution
public SolutionRequest getFileAttachment_Solution()
-
getSolution_fileid
public SolutionCollectionRequest getSolution_fileid()
-
getObjectid_stagesolutionupload
public StagesolutionuploadRequest getObjectid_stagesolutionupload()
-
getObjectid_exportsolutionupload
public ExportsolutionuploadRequest getObjectid_exportsolutionupload()
-
getObjectid_asyncoperation
public AsyncoperationRequest getObjectid_asyncoperation()
-
getFileAttachment_AsyncOperation_DataBlobId
public AsyncoperationCollectionRequest getFileAttachment_AsyncOperation_DataBlobId()
-
getObjectid_workflowlog
public WorkflowlogRequest getObjectid_workflowlog()
-
getObjectid_flowsession
public FlowsessionRequest getObjectid_flowsession()
-
getObjectid_workflowbinary
public WorkflowbinaryRequest getObjectid_workflowbinary()
-
getObjectid_msdyn_knowledgearticleimage
public Msdyn_knowledgearticleimageRequest getObjectid_msdyn_knowledgearticleimage()
-
getObjectid_msdyn_aiconfiguration
public Msdyn_aiconfigurationRequest getObjectid_msdyn_aiconfiguration()
-
getObjectid_msdyn_aibfile
public Msdyn_aibfileRequest getObjectid_msdyn_aibfile()
-
getObjectid_cascadegrantrevokeaccessrecordstracker
public CascadegrantrevokeaccessrecordstrackerRequest getObjectid_cascadegrantrevokeaccessrecordstracker()
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classCrmbaseentity
-
patch
public Fileattachment 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 Fileattachment 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
-
-