Package odata.msgraph.client.entity
Class AgreementFile
- java.lang.Object
-
- odata.msgraph.client.entity.Entity
-
- odata.msgraph.client.entity.AgreementFileProperties
-
- odata.msgraph.client.entity.AgreementFile
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class AgreementFile 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 classAgreementFile.Builder
-
Field Summary
Fields Modifier and Type Field Description protected List<AgreementFileLocalization>localizations-
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 protectedAgreementFile()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AgreementFile.BuilderbuilderAgreementFile()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()AgreementFileLocalizationCollectionRequestgetLocalizations()com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()AgreementFilepatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)AgreementFileput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()AgreementFilewithLocalizations(List<AgreementFileLocalization> localizations)AgreementFilewithUnmappedField(String name, Object value)-
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
-
localizations
protected List<AgreementFileLocalization> localizations
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classAgreementFileProperties
-
builderAgreementFile
public static AgreementFile.Builder builderAgreementFile()
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 AgreementFile withUnmappedField(String name, Object value)
- Overrides:
withUnmappedFieldin classAgreementFileProperties
-
getLocalizations
public AgreementFileLocalizationCollectionRequest getLocalizations()
-
withLocalizations
public AgreementFile withLocalizations(List<AgreementFileLocalization> localizations)
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classAgreementFileProperties
-
patch
public AgreementFile 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 AgreementFile 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
-
-