public class OpenTypeExtension extends Extension implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
OpenTypeExtension.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected String |
extensionName |
changedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
OpenTypeExtension() |
| Modifier and Type | Method and Description |
|---|---|
static OpenTypeExtension.Builder |
builderOpenTypeExtension()
Returns a builder which is used to create a new
instance of this class (given that this class is immutable).
|
com.github.davidmoten.odata.client.internal.ChangedFields |
getChangedFields() |
Optional<String> |
getExtensionName() |
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
OpenTypeExtension |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
OpenTypeExtension |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
String |
toString() |
OpenTypeExtension |
withExtensionName(String extensionName) |
protected String extensionName
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class Extensionpublic static OpenTypeExtension.Builder builderOpenTypeExtension()
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
getChangedFields in interface com.github.davidmoten.odata.client.ODataEntityTypegetChangedFields in class Extensionpublic void postInject(boolean addKeysToContextPath)
postInject in interface com.github.davidmoten.odata.client.ODataTypepostInject in class Extensionpublic OpenTypeExtension withExtensionName(String extensionName)
public com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class Extensionpublic OpenTypeExtension patch()
this with changed fields reset.public OpenTypeExtension put()
this
with changed fields reset (they were ignored anyway).Copyright © 2018–2020. All rights reserved.