public class Thumbnail extends Object implements com.github.davidmoten.odata.client.ODataType
| Modifier and Type | Class and Description |
|---|---|
static class |
Thumbnail.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected String |
content |
protected com.github.davidmoten.odata.client.ContextPath |
contextPath |
protected Integer |
height |
protected String |
odataType |
protected String |
sourceItemId |
protected com.github.davidmoten.odata.client.internal.UnmappedFields |
unmappedFields |
protected String |
url |
protected Integer |
width |
| Modifier | Constructor and Description |
|---|---|
protected |
Thumbnail() |
| Modifier and Type | Method and Description |
|---|---|
static Thumbnail.Builder |
builder()
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() |
Optional<Integer> |
getHeight() |
Optional<String> |
getSourceItemId() |
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
Optional<String> |
getUrl() |
Optional<Integer> |
getWidth() |
String |
odataTypeName() |
void |
postInject(boolean addKeysToContextPath) |
Optional<com.github.davidmoten.odata.client.StreamUploaderChunked> |
putChunkedContent()
If metadata indicate that the stream is editable then returns
a
StreamUploaderChunked which can be used to upload the stream
to the content property. |
Optional<com.github.davidmoten.odata.client.StreamUploader> |
putContent()
If metadata indicate that the stream is editable then returns
a
StreamUploader which can be used to upload the stream
to the content property. |
<T> T |
putContent(com.github.davidmoten.odata.client.UploadStrategy<T> strategy) |
String |
toString() |
Thumbnail |
withHeight(Integer height) |
Thumbnail |
withSourceItemId(String sourceItemId) |
Thumbnail |
withUrl(String url) |
Thumbnail |
withWidth(Integer width) |
protected com.github.davidmoten.odata.client.ContextPath contextPath
protected com.github.davidmoten.odata.client.internal.UnmappedFields unmappedFields
protected String odataType
protected String content
protected Integer height
protected String sourceItemId
protected String url
protected Integer width
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypepublic Optional<com.github.davidmoten.odata.client.StreamProvider> getContent()
public Optional<com.github.davidmoten.odata.client.StreamUploader> putContent()
StreamUploader which can be used to upload the stream
to the content property.public Optional<com.github.davidmoten.odata.client.StreamUploaderChunked> putChunkedContent()
StreamUploaderChunked which can be used to upload the stream
to the content property.public <T> T putContent(com.github.davidmoten.odata.client.UploadStrategy<T> strategy)
public com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypepublic void postInject(boolean addKeysToContextPath)
postInject in interface com.github.davidmoten.odata.client.ODataTypepublic static Thumbnail.Builder builder()
Copyright © 2018–2020. All rights reserved.