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() |
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 ObjectMapping withEnabled(Boolean enabled)
public Optional<ObjectFlowTypes> getFlowTypes()
public ObjectMapping withFlowTypes(ObjectFlowTypes flowTypes)
public com.github.davidmoten.odata.client.CollectionPage<MetadataEntry> getMetadata()
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.