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