public class ItemBody extends Object implements com.github.davidmoten.odata.client.ODataType
| Modifier and Type | Class and Description |
|---|---|
static class |
ItemBody.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected String |
content |
protected BodyType |
contentType |
protected com.github.davidmoten.odata.client.ContextPath |
contextPath |
protected String |
odataType |
protected com.github.davidmoten.odata.client.internal.UnmappedFields |
unmappedFields |
| Modifier | Constructor and Description |
|---|---|
protected |
ItemBody() |
| Modifier and Type | Method and Description |
|---|---|
static ItemBody.Builder |
builder()
Returns a builder which is used to create a new
instance of this class (given that this class is immutable).
|
Optional<String> |
getContent() |
Optional<BodyType> |
getContentType() |
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
void |
postInject(boolean addKeysToContextPath) |
String |
toString() |
ItemBody |
withContent(String content) |
ItemBody |
withContentType(BodyType contentType) |
protected com.github.davidmoten.odata.client.ContextPath contextPath
protected com.github.davidmoten.odata.client.internal.UnmappedFields unmappedFields
protected String odataType
protected BodyType contentType
protected String content
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypepublic 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 ItemBody.Builder builder()
Copyright © 2018–2020. All rights reserved.