public class ObjectMapping extends Object implements com.github.davidmoten.odata.client.ODataType
| Modifier and Type | Class and Description |
|---|---|
static class |
ObjectMapping.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected List<AttributeMapping> |
attributeMappings |
protected String |
attributeMappingsNextLink |
protected com.github.davidmoten.odata.client.ContextPath |
contextPath |
protected Boolean |
enabled |
protected ObjectFlowTypes |
flowTypes |
protected List<MetadataEntry> |
metadata |
protected String |
metadataNextLink |
protected String |
name |
protected String |
odataType |
protected Filter |
scope |
protected String |
sourceObjectName |
protected String |
targetObjectName |
protected com.github.davidmoten.odata.client.internal.UnmappedFields |
unmappedFields |
| Modifier | Constructor and Description |
|---|---|
protected |
ObjectMapping() |
| Modifier and Type | Method and Description |
|---|---|
static ObjectMapping.Builder |
builder()
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.CollectionPage<AttributeMapping> |
getAttributeMappings() |
com.github.davidmoten.odata.client.CollectionPage<AttributeMapping> |
getAttributeMappings(com.github.davidmoten.odata.client.HttpRequestOptions options) |
Optional<Boolean> |
getEnabled() |
Optional<ObjectFlowTypes> |
getFlowTypes() |
com.github.davidmoten.odata.client.CollectionPage<MetadataEntry> |
getMetadata() |
com.github.davidmoten.odata.client.CollectionPage<MetadataEntry> |
getMetadata(com.github.davidmoten.odata.client.HttpRequestOptions options) |
Optional<String> |
getName() |
Optional<Filter> |
getScope() |
Optional<String> |
getSourceObjectName() |
Optional<String> |
getTargetObjectName() |
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
void |
postInject(boolean addKeysToContextPath) |
String |
toString() |
ObjectMapping |
withEnabled(Boolean enabled) |
ObjectMapping |
withFlowTypes(ObjectFlowTypes flowTypes) |
ObjectMapping |
withName(String name) |
ObjectMapping |
withScope(Filter scope) |
ObjectMapping |
withSourceObjectName(String sourceObjectName) |
ObjectMapping |
withTargetObjectName(String targetObjectName) |
protected com.github.davidmoten.odata.client.ContextPath contextPath
protected com.github.davidmoten.odata.client.internal.UnmappedFields unmappedFields
protected String odataType
protected List<AttributeMapping> attributeMappings
protected String attributeMappingsNextLink
protected Boolean enabled
protected ObjectFlowTypes flowTypes
protected List<MetadataEntry> metadata
protected String metadataNextLink
protected String name
protected Filter scope
protected String sourceObjectName
protected String targetObjectName
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypepublic com.github.davidmoten.odata.client.CollectionPage<AttributeMapping> getAttributeMappings()
public com.github.davidmoten.odata.client.CollectionPage<AttributeMapping> getAttributeMappings(com.github.davidmoten.odata.client.HttpRequestOptions options)
public ObjectMapping withEnabled(Boolean enabled)
public Optional<ObjectFlowTypes> getFlowTypes()
public ObjectMapping withFlowTypes(ObjectFlowTypes flowTypes)
public com.github.davidmoten.odata.client.CollectionPage<MetadataEntry> getMetadata()
public com.github.davidmoten.odata.client.CollectionPage<MetadataEntry> getMetadata(com.github.davidmoten.odata.client.HttpRequestOptions options)
public ObjectMapping withName(String name)
public ObjectMapping withScope(Filter scope)
public ObjectMapping withSourceObjectName(String sourceObjectName)
public ObjectMapping withTargetObjectName(String targetObjectName)
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 ObjectMapping.Builder builder()
Copyright © 2018–2020. All rights reserved.