Package odata.msgraph.client.complex
Class ObjectMapping
- java.lang.Object
-
- odata.msgraph.client.complex.ObjectMapping
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataType
public class ObjectMapping extends Object implements com.github.davidmoten.odata.client.ODataType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classObjectMapping.Builder
-
Field Summary
Fields Modifier and Type Field Description protected List<AttributeMapping>attributeMappingsprotected StringattributeMappingsNextLinkprotected com.github.davidmoten.odata.client.ContextPathcontextPathprotected Booleanenabledprotected ObjectFlowTypesflowTypesprotected List<ObjectMappingMetadataEntry>metadataprotected StringmetadataNextLinkprotected Stringnameprotected StringodataTypeprotected Filterscopeprotected StringsourceObjectNameprotected StringtargetObjectNameprotected com.github.davidmoten.odata.client.internal.UnmappedFieldsImplunmappedFields
-
Constructor Summary
Constructors Modifier Constructor Description protectedObjectMapping()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ObjectMapping.Builderbuilder()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<ObjectMappingMetadataEntry>getMetadata()com.github.davidmoten.odata.client.CollectionPage<ObjectMappingMetadataEntry>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.UnmappedFieldsgetUnmappedFields()StringodataTypeName()voidpostInject(boolean addKeysToContextPath)StringtoString()ObjectMappingwithEnabled(Boolean enabled)ObjectMappingwithFlowTypes(ObjectFlowTypes flowTypes)ObjectMappingwithName(String name)ObjectMappingwithScope(Filter scope)ObjectMappingwithSourceObjectName(String sourceObjectName)ObjectMappingwithTargetObjectName(String targetObjectName)ObjectMappingwithUnmappedField(String name, String value)
-
-
-
Field Detail
-
contextPath
protected com.github.davidmoten.odata.client.ContextPath contextPath
-
unmappedFields
protected com.github.davidmoten.odata.client.internal.UnmappedFieldsImpl unmappedFields
-
odataType
protected String odataType
-
attributeMappings
protected List<AttributeMapping> attributeMappings
-
attributeMappingsNextLink
protected String attributeMappingsNextLink
-
enabled
protected Boolean enabled
-
flowTypes
protected ObjectFlowTypes flowTypes
-
metadata
protected List<ObjectMappingMetadataEntry> metadata
-
metadataNextLink
protected String metadataNextLink
-
name
protected String name
-
scope
protected Filter scope
-
sourceObjectName
protected String sourceObjectName
-
targetObjectName
protected String targetObjectName
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType
-
getAttributeMappings
public com.github.davidmoten.odata.client.CollectionPage<AttributeMapping> getAttributeMappings()
-
getAttributeMappings
public com.github.davidmoten.odata.client.CollectionPage<AttributeMapping> getAttributeMappings(com.github.davidmoten.odata.client.HttpRequestOptions options)
-
withEnabled
public ObjectMapping withEnabled(Boolean enabled)
-
getFlowTypes
public Optional<ObjectFlowTypes> getFlowTypes()
-
withFlowTypes
public ObjectMapping withFlowTypes(ObjectFlowTypes flowTypes)
-
getMetadata
public com.github.davidmoten.odata.client.CollectionPage<ObjectMappingMetadataEntry> getMetadata()
-
getMetadata
public com.github.davidmoten.odata.client.CollectionPage<ObjectMappingMetadataEntry> getMetadata(com.github.davidmoten.odata.client.HttpRequestOptions options)
-
withName
public ObjectMapping withName(String name)
-
withScope
public ObjectMapping withScope(Filter scope)
-
withSourceObjectName
public ObjectMapping withSourceObjectName(String sourceObjectName)
-
withTargetObjectName
public ObjectMapping withTargetObjectName(String targetObjectName)
-
withUnmappedField
public ObjectMapping withUnmappedField(String name, String value)
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType
-
builder
public static ObjectMapping.Builder builder()
Returns a builder which is used to create a new instance of this class (given that this class is immutable).- Returns:
- a new Builder for this class
-
-