public class ContentInfo extends Object implements com.github.davidmoten.odata.client.ODataType
| Modifier and Type | Class and Description |
|---|---|
static class |
ContentInfo.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected com.github.davidmoten.odata.client.ContextPath |
contextPath |
protected ContentFormat |
format |
protected String |
identifier |
protected List<KeyValuePair> |
metadata |
protected String |
metadataNextLink |
protected String |
odataType |
protected ContentState |
state |
protected com.github.davidmoten.odata.client.internal.UnmappedFields |
unmappedFields |
| Modifier | Constructor and Description |
|---|---|
protected |
ContentInfo() |
| Modifier and Type | Method and Description |
|---|---|
static ContentInfo.Builder |
builder()
Returns a builder which is used to create a new
instance of this class (given that this class is immutable).
|
Optional<ContentFormat> |
getFormat() |
Optional<String> |
getIdentifier() |
com.github.davidmoten.odata.client.CollectionPage<KeyValuePair> |
getMetadata() |
Optional<ContentState> |
getState() |
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
void |
postInject(boolean addKeysToContextPath) |
String |
toString() |
ContentInfo |
withFormat(ContentFormat format) |
ContentInfo |
withIdentifier(String identifier) |
ContentInfo |
withState(ContentState state) |
protected com.github.davidmoten.odata.client.ContextPath contextPath
protected com.github.davidmoten.odata.client.internal.UnmappedFields unmappedFields
protected String odataType
protected ContentFormat format
protected ContentState state
protected String identifier
protected List<KeyValuePair> metadata
protected String metadataNextLink
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypepublic Optional<ContentFormat> getFormat()
public ContentInfo withFormat(ContentFormat format)
public Optional<ContentState> getState()
public ContentInfo withState(ContentState state)
public ContentInfo withIdentifier(String identifier)
public com.github.davidmoten.odata.client.CollectionPage<KeyValuePair> getMetadata()
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 ContentInfo.Builder builder()
Copyright © 2018–2020. All rights reserved.