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() |
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 AttributeDefinition withCaseExact(Boolean caseExact)
public AttributeDefinition withDefaultValue(String defaultValue)
public com.github.davidmoten.odata.client.CollectionPage<MetadataEntry> getMetadata()
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 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.