Package odata.msgraph.client.entity
Class AgreementFileProperties
- java.lang.Object
-
- odata.msgraph.client.entity.Entity
-
- odata.msgraph.client.entity.AgreementFileProperties
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
- Direct Known Subclasses:
AgreementFile,AgreementFileLocalization,AgreementFileVersion
public class AgreementFileProperties extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAgreementFileProperties.Builder
-
Field Summary
Fields Modifier and Type Field Description protected OffsetDateTimecreatedDateTimeprotected StringdisplayNameprotected AgreementFileDatafileDataprotected StringfileNameprotected BooleanisDefaultprotected BooleanisMajorVersionprotected Stringlanguage-
Fields inherited from class odata.msgraph.client.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedAgreementFileProperties()
-
Method Summary
-
-
-
Field Detail
-
createdDateTime
protected OffsetDateTime createdDateTime
-
displayName
protected String displayName
-
fileData
protected AgreementFileData fileData
-
fileName
protected String fileName
-
isDefault
protected Boolean isDefault
-
isMajorVersion
protected Boolean isMajorVersion
-
language
protected String language
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classEntity
-
builderAgreementFileProperties
public static AgreementFileProperties.Builder builderAgreementFileProperties()
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 classEntity
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classEntity
-
getCreatedDateTime
public Optional<OffsetDateTime> getCreatedDateTime()
-
withCreatedDateTime
public AgreementFileProperties withCreatedDateTime(OffsetDateTime createdDateTime)
-
withDisplayName
public AgreementFileProperties withDisplayName(String displayName)
-
getFileData
public Optional<AgreementFileData> getFileData()
-
withFileData
public AgreementFileProperties withFileData(AgreementFileData fileData)
-
withFileName
public AgreementFileProperties withFileName(String fileName)
-
withIsDefault
public AgreementFileProperties withIsDefault(Boolean isDefault)
-
withIsMajorVersion
public AgreementFileProperties withIsMajorVersion(Boolean isMajorVersion)
-
withLanguage
public AgreementFileProperties withLanguage(String language)
-
withUnmappedField
public AgreementFileProperties withUnmappedField(String name, Object value)
- Overrides:
withUnmappedFieldin classEntity
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classEntity
-
patch
public AgreementFileProperties patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public AgreementFileProperties put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).
-
-