Package odata.msgraph.client.entity
Class FileStorage
- java.lang.Object
-
- odata.msgraph.client.entity.Entity
-
- odata.msgraph.client.entity.FileStorage
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class FileStorage extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classFileStorage.Builder
-
Field Summary
Fields Modifier and Type Field Description protected List<FileStorageContainer>containersprotected List<FileStorageContainer>deletedContainers-
Fields inherited from class odata.msgraph.client.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedFileStorage()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static FileStorage.BuilderbuilderFileStorage()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()FileStorageContainerCollectionRequestgetContainers()FileStorageContainerCollectionRequestgetDeletedContainers()com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()FileStoragepatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)FileStorageput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()FileStoragewithContainers(List<FileStorageContainer> containers)FileStoragewithDeletedContainers(List<FileStorageContainer> deletedContainers)FileStoragewithUnmappedField(String name, Object value)
-
-
-
Field Detail
-
containers
protected List<FileStorageContainer> containers
-
deletedContainers
protected List<FileStorageContainer> deletedContainers
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classEntity
-
builderFileStorage
public static FileStorage.Builder builderFileStorage()
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
-
withUnmappedField
public FileStorage withUnmappedField(String name, Object value)
- Overrides:
withUnmappedFieldin classEntity
-
getContainers
public FileStorageContainerCollectionRequest getContainers()
-
getDeletedContainers
public FileStorageContainerCollectionRequest getDeletedContainers()
-
withContainers
public FileStorage withContainers(List<FileStorageContainer> containers)
-
withDeletedContainers
public FileStorage withDeletedContainers(List<FileStorageContainer> deletedContainers)
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classEntity
-
patch
public FileStorage patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public FileStorage put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).
-
-