public class AttributeDefinition extends Object implements com.github.davidmoten.odata.client.ODataType
| Modifier and Type | Class and Description |
|---|---|
static class |
AttributeDefinition.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected Boolean |
anchor |
protected List<StringKeyStringValuePair> |
apiExpressions |
protected String |
apiExpressionsNextLink |
protected Boolean |
caseExact |
protected com.github.davidmoten.odata.client.ContextPath |
contextPath |
protected String |
defaultValue |
protected List<MetadataEntry> |
metadata |
protected String |
metadataNextLink |
protected Boolean |
multivalued |
protected Mutability |
mutability |
protected String |
name |
protected String |
odataType |
protected List<ReferencedObject> |
referencedObjects |
protected String |
referencedObjectsNextLink |
protected Boolean |
required |
protected AttributeType |
type |
protected com.github.davidmoten.odata.client.internal.UnmappedFields |
unmappedFields |
| Modifier | Constructor and Description |
|---|---|
protected |
AttributeDefinition() |
| Modifier and Type | Method and Description |
|---|---|
static AttributeDefinition.Builder |
builder()
Returns a builder which is used to create a new
instance of this class (given that this class is immutable).
|
Optional<Boolean> |
getAnchor() |
com.github.davidmoten.odata.client.CollectionPage<StringKeyStringValuePair> |
getApiExpressions() |
com.github.davidmoten.odata.client.CollectionPage<StringKeyStringValuePair> |
getApiExpressions(com.github.davidmoten.odata.client.HttpRequestOptions options) |
Optional<Boolean> |
getCaseExact() |
Optional<String> |
getDefaultValue() |
com.github.davidmoten.odata.client.CollectionPage<MetadataEntry> |
getMetadata() |
com.github.davidmoten.odata.client.CollectionPage<MetadataEntry> |
getMetadata(com.github.davidmoten.odata.client.HttpRequestOptions options) |
Optional<Boolean> |
getMultivalued() |
Optional<Mutability> |
getMutability() |
Optional<String> |
getName() |
com.github.davidmoten.odata.client.CollectionPage<ReferencedObject> |
getReferencedObjects() |
com.github.davidmoten.odata.client.CollectionPage<ReferencedObject> |
getReferencedObjects(com.github.davidmoten.odata.client.HttpRequestOptions options) |
Optional<Boolean> |
getRequired() |
Optional<AttributeType> |
getType() |
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
void |
postInject(boolean addKeysToContextPath) |
String |
toString() |
AttributeDefinition |
withAnchor(Boolean anchor) |
AttributeDefinition |
withCaseExact(Boolean caseExact) |
AttributeDefinition |
withDefaultValue(String defaultValue) |
AttributeDefinition |
withMultivalued(Boolean multivalued) |
AttributeDefinition |
withMutability(Mutability mutability) |
AttributeDefinition |
withName(String name) |
AttributeDefinition |
withRequired(Boolean required) |
AttributeDefinition |
withType(AttributeType type) |
protected com.github.davidmoten.odata.client.ContextPath contextPath
protected com.github.davidmoten.odata.client.internal.UnmappedFields unmappedFields
protected String odataType
protected Boolean anchor
protected List<StringKeyStringValuePair> apiExpressions
protected String apiExpressionsNextLink
protected Boolean caseExact
protected String defaultValue
protected List<MetadataEntry> metadata
protected String metadataNextLink
protected Boolean multivalued
protected Mutability mutability
protected String name
protected Boolean required
protected List<ReferencedObject> referencedObjects
protected String referencedObjectsNextLink
protected AttributeType type
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypepublic AttributeDefinition withAnchor(Boolean anchor)
public com.github.davidmoten.odata.client.CollectionPage<StringKeyStringValuePair> getApiExpressions()
public com.github.davidmoten.odata.client.CollectionPage<StringKeyStringValuePair> getApiExpressions(com.github.davidmoten.odata.client.HttpRequestOptions options)
public AttributeDefinition withCaseExact(Boolean caseExact)
public AttributeDefinition withDefaultValue(String defaultValue)
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 AttributeDefinition withMultivalued(Boolean multivalued)
public Optional<Mutability> getMutability()
public AttributeDefinition withMutability(Mutability mutability)
public AttributeDefinition withName(String name)
public AttributeDefinition withRequired(Boolean required)
public com.github.davidmoten.odata.client.CollectionPage<ReferencedObject> getReferencedObjects()
public com.github.davidmoten.odata.client.CollectionPage<ReferencedObject> getReferencedObjects(com.github.davidmoten.odata.client.HttpRequestOptions options)
public Optional<AttributeType> getType()
public AttributeDefinition withType(AttributeType type)
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 AttributeDefinition.Builder builder()
Copyright © 2018–2020. All rights reserved.