Package odata.msgraph.client.complex
Class ObjectDefinition
- java.lang.Object
-
- odata.msgraph.client.complex.ObjectDefinition
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataType
public class ObjectDefinition extends Object implements com.github.davidmoten.odata.client.ODataType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classObjectDefinition.Builder
-
Field Summary
Fields Modifier and Type Field Description protected List<AttributeDefinition>attributesprotected StringattributesNextLinkprotected com.github.davidmoten.odata.client.ContextPathcontextPathprotected List<ObjectDefinitionMetadataEntry>metadataprotected StringmetadataNextLinkprotected Stringnameprotected StringodataTypeprotected List<String>supportedApisprotected StringsupportedApisNextLinkprotected com.github.davidmoten.odata.client.internal.UnmappedFieldsImplunmappedFields
-
Constructor Summary
Constructors Modifier Constructor Description protectedObjectDefinition()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ObjectDefinition.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<AttributeDefinition>getAttributes()com.github.davidmoten.odata.client.CollectionPage<AttributeDefinition>getAttributes(com.github.davidmoten.odata.client.HttpRequestOptions options)com.github.davidmoten.odata.client.CollectionPage<ObjectDefinitionMetadataEntry>getMetadata()com.github.davidmoten.odata.client.CollectionPage<ObjectDefinitionMetadataEntry>getMetadata(com.github.davidmoten.odata.client.HttpRequestOptions options)Optional<String>getName()com.github.davidmoten.odata.client.CollectionPage<String>getSupportedApis()com.github.davidmoten.odata.client.CollectionPage<String>getSupportedApis(com.github.davidmoten.odata.client.HttpRequestOptions options)com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()voidpostInject(boolean addKeysToContextPath)StringtoString()ObjectDefinitionwithName(String name)ObjectDefinitionwithUnmappedField(String name, Object 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
-
attributes
protected List<AttributeDefinition> attributes
-
attributesNextLink
protected String attributesNextLink
-
metadata
protected List<ObjectDefinitionMetadataEntry> metadata
-
metadataNextLink
protected String metadataNextLink
-
name
protected String name
-
supportedApisNextLink
protected String supportedApisNextLink
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType
-
getAttributes
public com.github.davidmoten.odata.client.CollectionPage<AttributeDefinition> getAttributes()
-
getAttributes
public com.github.davidmoten.odata.client.CollectionPage<AttributeDefinition> getAttributes(com.github.davidmoten.odata.client.HttpRequestOptions options)
-
getMetadata
public com.github.davidmoten.odata.client.CollectionPage<ObjectDefinitionMetadataEntry> getMetadata()
-
getMetadata
public com.github.davidmoten.odata.client.CollectionPage<ObjectDefinitionMetadataEntry> getMetadata(com.github.davidmoten.odata.client.HttpRequestOptions options)
-
withName
public ObjectDefinition withName(String name)
-
getSupportedApis
public com.github.davidmoten.odata.client.CollectionPage<String> getSupportedApis()
-
getSupportedApis
public com.github.davidmoten.odata.client.CollectionPage<String> getSupportedApis(com.github.davidmoten.odata.client.HttpRequestOptions options)
-
withUnmappedField
public ObjectDefinition withUnmappedField(String name, Object 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 ObjectDefinition.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
-
-