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