Package odata.msgraph.client.complex
Class AttributeDefinition
- java.lang.Object
-
- odata.msgraph.client.complex.AttributeDefinition
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataType
public class AttributeDefinition extends Object implements com.github.davidmoten.odata.client.ODataType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAttributeDefinition.Builder
-
Field Summary
Fields Modifier and Type Field Description protected Booleananchorprotected List<StringKeyStringValuePair>apiExpressionsprotected StringapiExpressionsNextLinkprotected BooleancaseExactprotected com.github.davidmoten.odata.client.ContextPathcontextPathprotected StringdefaultValueprotected BooleanflowNullValuesprotected List<AttributeDefinitionMetadataEntry>metadataprotected StringmetadataNextLinkprotected Booleanmultivaluedprotected Mutabilitymutabilityprotected Stringnameprotected StringodataTypeprotected List<ReferencedObject>referencedObjectsprotected StringreferencedObjectsNextLinkprotected Booleanrequiredprotected AttributeTypetypeprotected com.github.davidmoten.odata.client.internal.UnmappedFieldsImplunmappedFields
-
Constructor Summary
Constructors Modifier Constructor Description protectedAttributeDefinition()
-
Method Summary
-
-
-
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
-
anchor
protected Boolean anchor
-
apiExpressions
protected List<StringKeyStringValuePair> apiExpressions
-
apiExpressionsNextLink
protected String apiExpressionsNextLink
-
caseExact
protected Boolean caseExact
-
defaultValue
protected String defaultValue
-
flowNullValues
protected Boolean flowNullValues
-
metadata
protected List<AttributeDefinitionMetadataEntry> metadata
-
metadataNextLink
protected String metadataNextLink
-
multivalued
protected Boolean multivalued
-
mutability
protected Mutability mutability
-
name
protected String name
-
referencedObjects
protected List<ReferencedObject> referencedObjects
-
referencedObjectsNextLink
protected String referencedObjectsNextLink
-
required
protected Boolean required
-
type
protected AttributeType type
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType
-
withAnchor
public AttributeDefinition withAnchor(Boolean anchor)
-
getApiExpressions
public com.github.davidmoten.odata.client.CollectionPage<StringKeyStringValuePair> getApiExpressions()
-
getApiExpressions
public com.github.davidmoten.odata.client.CollectionPage<StringKeyStringValuePair> getApiExpressions(com.github.davidmoten.odata.client.HttpRequestOptions options)
-
withCaseExact
public AttributeDefinition withCaseExact(Boolean caseExact)
-
withDefaultValue
public AttributeDefinition withDefaultValue(String defaultValue)
-
withFlowNullValues
public AttributeDefinition withFlowNullValues(Boolean flowNullValues)
-
getMetadata
public com.github.davidmoten.odata.client.CollectionPage<AttributeDefinitionMetadataEntry> getMetadata()
-
getMetadata
public com.github.davidmoten.odata.client.CollectionPage<AttributeDefinitionMetadataEntry> getMetadata(com.github.davidmoten.odata.client.HttpRequestOptions options)
-
withMultivalued
public AttributeDefinition withMultivalued(Boolean multivalued)
-
getMutability
public Optional<Mutability> getMutability()
-
withMutability
public AttributeDefinition withMutability(Mutability mutability)
-
withName
public AttributeDefinition withName(String name)
-
getReferencedObjects
public com.github.davidmoten.odata.client.CollectionPage<ReferencedObject> getReferencedObjects()
-
getReferencedObjects
public com.github.davidmoten.odata.client.CollectionPage<ReferencedObject> getReferencedObjects(com.github.davidmoten.odata.client.HttpRequestOptions options)
-
withRequired
public AttributeDefinition withRequired(Boolean required)
-
getType
public Optional<AttributeType> getType()
-
withType
public AttributeDefinition withType(AttributeType type)
-
withUnmappedField
public AttributeDefinition 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 AttributeDefinition.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
-
-