public class FileClassificationRequest extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
FileClassificationRequest.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected String |
file |
protected List<String> |
sensitiveTypeIds |
protected String |
sensitiveTypeIdsNextLink |
changedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
FileClassificationRequest() |
| Modifier and Type | Method and Description |
|---|---|
static FileClassificationRequest.Builder |
builderFileClassificationRequest()
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.ChangedFields |
getChangedFields() |
Optional<com.github.davidmoten.odata.client.StreamProvider> |
getFile() |
com.github.davidmoten.odata.client.CollectionPage<String> |
getSensitiveTypeIds() |
com.github.davidmoten.odata.client.CollectionPage<String> |
getSensitiveTypeIds(com.github.davidmoten.odata.client.HttpRequestOptions options) |
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
FileClassificationRequest |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
FileClassificationRequest |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
Optional<com.github.davidmoten.odata.client.StreamUploaderChunked> |
putChunkedFile()
If metadata indicate that the stream is editable then returns
a
StreamUploaderChunked which can be used to upload the stream
to the file property. |
Optional<com.github.davidmoten.odata.client.StreamUploader> |
putFile()
If metadata indicate that the stream is editable then returns
a
StreamUploader which can be used to upload the stream
to the file property. |
<T> T |
putFile(com.github.davidmoten.odata.client.UploadStrategy<T> strategy) |
String |
toString() |
protected String file
protected String sensitiveTypeIdsNextLink
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class Entitypublic static FileClassificationRequest.Builder builderFileClassificationRequest()
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
getChangedFields in interface com.github.davidmoten.odata.client.ODataEntityTypegetChangedFields in class Entitypublic void postInject(boolean addKeysToContextPath)
postInject in interface com.github.davidmoten.odata.client.ODataTypepostInject in class Entitypublic Optional<com.github.davidmoten.odata.client.StreamProvider> getFile()
public Optional<com.github.davidmoten.odata.client.StreamUploader> putFile()
StreamUploader which can be used to upload the stream
to the file property.public Optional<com.github.davidmoten.odata.client.StreamUploaderChunked> putChunkedFile()
StreamUploaderChunked which can be used to upload the stream
to the file property.public <T> T putFile(com.github.davidmoten.odata.client.UploadStrategy<T> strategy)
public com.github.davidmoten.odata.client.CollectionPage<String> getSensitiveTypeIds()
public com.github.davidmoten.odata.client.CollectionPage<String> getSensitiveTypeIds(com.github.davidmoten.odata.client.HttpRequestOptions options)
public com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class Entitypublic FileClassificationRequest patch()
this with changed fields reset.public FileClassificationRequest put()
this
with changed fields reset (they were ignored anyway).Copyright © 2018–2020. All rights reserved.