Package odata.msgraph.client.complex
Class DeviceAndAppManagementData
- java.lang.Object
-
- odata.msgraph.client.complex.DeviceAndAppManagementData
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataType
public class DeviceAndAppManagementData extends Object implements com.github.davidmoten.odata.client.ODataType
“Exported Data”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDeviceAndAppManagementData.Builder
-
Field Summary
Fields Modifier and Type Field Description protected Stringcontentprotected com.github.davidmoten.odata.client.ContextPathcontextPathprotected StringodataTypeprotected com.github.davidmoten.odata.client.internal.UnmappedFieldsImplunmappedFields
-
Constructor Summary
Constructors Modifier Constructor Description protectedDeviceAndAppManagementData()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DeviceAndAppManagementData.Builderbuilder()Returns a builder which is used to create a new instance of this class (given that this class is immutable).Optional<com.github.davidmoten.odata.client.StreamProvider>getContent()com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()Optional<com.github.davidmoten.odata.client.StreamUploaderChunked>patchChunkedContent()If metadata indicate that the stream is editable then returns aStreamUploaderChunkedwhich can be used to upload the stream to thecontentproperty, using HTTP PATCH.Optional<com.github.davidmoten.odata.client.StreamUploaderSingleCall>patchContent()If metadata indicate that the stream is editable then returns aStreamUploaderwhich can be used to upload the stream to thecontentproperty, using HTTP PATCH.<T extends com.github.davidmoten.odata.client.StreamUploader<T>>
Optional<T>patchContent(com.github.davidmoten.odata.client.UploadStrategy<T> strategy)Optional<com.github.davidmoten.odata.client.StreamUploaderChunked>postChunkedContent()If metadata indicate that the stream is editable then returns aStreamUploaderChunkedwhich can be used to upload the stream to thecontentproperty, using HTTP POST.Optional<com.github.davidmoten.odata.client.StreamUploaderSingleCall>postContent()If metadata indicate that the stream is editable then returns aStreamUploaderwhich can be used to upload the stream to thecontentproperty, using HTTP POST.<T extends com.github.davidmoten.odata.client.StreamUploader<T>>
Optional<T>postContent(com.github.davidmoten.odata.client.UploadStrategy<T> strategy)voidpostInject(boolean addKeysToContextPath)Optional<com.github.davidmoten.odata.client.StreamUploaderChunked>putChunkedContent()If metadata indicate that the stream is editable then returns aStreamUploaderChunkedwhich can be used to upload the stream to thecontentproperty, using HTTP PUT.Optional<com.github.davidmoten.odata.client.StreamUploaderSingleCall>putContent()If metadata indicate that the stream is editable then returns aStreamUploaderwhich can be used to upload the stream to thecontentproperty, using HTTP PUT.<T extends com.github.davidmoten.odata.client.StreamUploader<T>>
Optional<T>putContent(com.github.davidmoten.odata.client.UploadStrategy<T> strategy)StringtoString()DeviceAndAppManagementDatawithUnmappedField(String name, Object value)
-
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType
-
getContent
public Optional<com.github.davidmoten.odata.client.StreamProvider> getContent()
-
patchContent
public Optional<com.github.davidmoten.odata.client.StreamUploaderSingleCall> patchContent()
If metadata indicate that the stream is editable then returns aStreamUploaderwhich can be used to upload the stream to thecontentproperty, using HTTP PATCH.- Returns:
- a StreamUploader if upload permitted
-
patchChunkedContent
public Optional<com.github.davidmoten.odata.client.StreamUploaderChunked> patchChunkedContent()
If metadata indicate that the stream is editable then returns aStreamUploaderChunkedwhich can be used to upload the stream to thecontentproperty, using HTTP PATCH.- Returns:
- a StreamUploaderChunked if upload permitted
-
patchContent
public <T extends com.github.davidmoten.odata.client.StreamUploader<T>> Optional<T> patchContent(com.github.davidmoten.odata.client.UploadStrategy<T> strategy)
-
putContent
public Optional<com.github.davidmoten.odata.client.StreamUploaderSingleCall> putContent()
If metadata indicate that the stream is editable then returns aStreamUploaderwhich can be used to upload the stream to thecontentproperty, using HTTP PUT.- Returns:
- a StreamUploader if upload permitted
-
putChunkedContent
public Optional<com.github.davidmoten.odata.client.StreamUploaderChunked> putChunkedContent()
If metadata indicate that the stream is editable then returns aStreamUploaderChunkedwhich can be used to upload the stream to thecontentproperty, using HTTP PUT.- Returns:
- a StreamUploaderChunked if upload permitted
-
putContent
public <T extends com.github.davidmoten.odata.client.StreamUploader<T>> Optional<T> putContent(com.github.davidmoten.odata.client.UploadStrategy<T> strategy)
-
postContent
public Optional<com.github.davidmoten.odata.client.StreamUploaderSingleCall> postContent()
If metadata indicate that the stream is editable then returns aStreamUploaderwhich can be used to upload the stream to thecontentproperty, using HTTP POST.- Returns:
- a StreamUploader if upload permitted
-
postChunkedContent
public Optional<com.github.davidmoten.odata.client.StreamUploaderChunked> postChunkedContent()
If metadata indicate that the stream is editable then returns aStreamUploaderChunkedwhich can be used to upload the stream to thecontentproperty, using HTTP POST.- Returns:
- a StreamUploaderChunked if upload permitted
-
postContent
public <T extends com.github.davidmoten.odata.client.StreamUploader<T>> Optional<T> postContent(com.github.davidmoten.odata.client.UploadStrategy<T> strategy)
-
withUnmappedField
public DeviceAndAppManagementData withUnmappedField(String name, Object value)
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType
-
builder
public static DeviceAndAppManagementData.Builder builder()
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
-
-