Package odata.msgraph.client.entity
Class AgreementFileLocalization
- java.lang.Object
-
- odata.msgraph.client.entity.Entity
-
- odata.msgraph.client.entity.AgreementFileProperties
-
- odata.msgraph.client.entity.AgreementFileLocalization
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class AgreementFileLocalization extends AgreementFileProperties implements com.github.davidmoten.odata.client.ODataEntityType
Org.OData.Capabilities.V1.CountRestrictions
Countable = false
Org.OData.Capabilities.V1.ExpandRestrictions
Expandable = false
Org.OData.Capabilities.V1.FilterRestrictions
Filterable = false
Org.OData.Capabilities.V1.SelectSupport
Supported = false
Org.OData.Capabilities.V1.SkipSupported
false
Org.OData.Capabilities.V1.SortRestrictions
Sortable = false
Org.OData.Capabilities.V1.TopSupported
false
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAgreementFileLocalization.Builder
-
Field Summary
Fields Modifier and Type Field Description protected List<AgreementFileVersion>versions-
Fields inherited from class odata.msgraph.client.entity.AgreementFileProperties
createdDateTime, displayName, fileData, fileName, isDefault, isMajorVersion, language
-
Fields inherited from class odata.msgraph.client.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedAgreementFileLocalization()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AgreementFileLocalization.BuilderbuilderAgreementFileLocalization()Returns a builder which is used to create a new instance of this class (given that this class is immutable).com.github.davidmoten.odata.client.internal.ChangedFieldsgetChangedFields()com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()AgreementFileVersionCollectionRequestgetVersions()StringodataTypeName()AgreementFileLocalizationpatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)AgreementFileLocalizationput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()AgreementFileLocalizationwithUnmappedField(String name, Object value)AgreementFileLocalizationwithVersions(List<AgreementFileVersion> versions)-
Methods inherited from class odata.msgraph.client.entity.AgreementFileProperties
builderAgreementFileProperties, getCreatedDateTime, getDisplayName, getFileData, getFileName, getIsDefault, getIsMajorVersion, getLanguage, withCreatedDateTime, withDisplayName, withFileData, withFileName, withIsDefault, withIsMajorVersion, withLanguage
-
-
-
-
Field Detail
-
versions
protected List<AgreementFileVersion> versions
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classAgreementFileProperties
-
builderAgreementFileLocalization
public static AgreementFileLocalization.Builder builderAgreementFileLocalization()
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 classAgreementFileProperties
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classAgreementFileProperties
-
withUnmappedField
public AgreementFileLocalization withUnmappedField(String name, Object value)
- Overrides:
withUnmappedFieldin classAgreementFileProperties
-
getVersions
public AgreementFileVersionCollectionRequest getVersions()
-
withVersions
public AgreementFileLocalization withVersions(List<AgreementFileVersion> versions)
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classAgreementFileProperties
-
patch
public AgreementFileLocalization patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.- Overrides:
patchin classAgreementFileProperties- Returns:
- a copy of
thiswith changed fields reset - Throws:
com.github.davidmoten.odata.client.ClientException- if HTTP response is not as expected
-
put
public AgreementFileLocalization put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).- Overrides:
putin classAgreementFileProperties- 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 classAgreementFileProperties
-
-