public class SchemaExtension extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
SchemaExtension.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected String |
description |
protected String |
owner |
protected List<ExtensionSchemaProperty> |
properties |
protected String |
propertiesNextLink |
protected String |
status |
protected List<String> |
targetTypes |
protected String |
targetTypesNextLink |
changedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
SchemaExtension() |
| Modifier and Type | Method and Description |
|---|---|
static SchemaExtension.Builder |
builderSchemaExtension()
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> |
getDescription() |
Optional<String> |
getOwner() |
com.github.davidmoten.odata.client.CollectionPage<ExtensionSchemaProperty> |
getProperties() |
Optional<String> |
getStatus() |
com.github.davidmoten.odata.client.CollectionPage<String> |
getTargetTypes() |
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
SchemaExtension |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
SchemaExtension |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
String |
toString() |
SchemaExtension |
withDescription(String description) |
SchemaExtension |
withOwner(String owner) |
SchemaExtension |
withStatus(String status) |
protected String description
protected String targetTypesNextLink
protected List<ExtensionSchemaProperty> properties
protected String propertiesNextLink
protected String status
protected String owner
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class Entitypublic static SchemaExtension.Builder builderSchemaExtension()
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
getChangedFields in interface com.github.davidmoten.odata.client.ODataEntityTypegetChangedFields in class Entitypublic void postInject(boolean addKeysToContextPath)
postInject in interface com.github.davidmoten.odata.client.ODataTypepostInject in class Entitypublic SchemaExtension withDescription(String description)
public com.github.davidmoten.odata.client.CollectionPage<String> getTargetTypes()
public com.github.davidmoten.odata.client.CollectionPage<ExtensionSchemaProperty> getProperties()
public SchemaExtension withStatus(String status)
public SchemaExtension withOwner(String owner)
public com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class Entitypublic SchemaExtension patch()
this with changed fields reset.public SchemaExtension put()
this
with changed fields reset (they were ignored anyway).Copyright © 2018–2020. All rights reserved.