Package odata.msgraph.client.complex
Class AttributeDefinitionMetadataEntry
- java.lang.Object
-
- odata.msgraph.client.complex.AttributeDefinitionMetadataEntry
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataType
public class AttributeDefinitionMetadataEntry extends Object implements com.github.davidmoten.odata.client.ODataType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAttributeDefinitionMetadataEntry.Builder
-
Field Summary
Fields Modifier and Type Field Description protected com.github.davidmoten.odata.client.ContextPathcontextPathprotected AttributeDefinitionMetadatakeyprotected StringodataTypeprotected com.github.davidmoten.odata.client.internal.UnmappedFieldsImplunmappedFieldsprotected Stringvalue
-
Constructor Summary
Constructors Modifier Constructor Description protectedAttributeDefinitionMetadataEntry()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AttributeDefinitionMetadataEntry.Builderbuilder()Returns a builder which is used to create a new instance of this class (given that this class is immutable).Optional<AttributeDefinitionMetadata>getKey()com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()Optional<String>getValue()StringodataTypeName()voidpostInject(boolean addKeysToContextPath)StringtoString()AttributeDefinitionMetadataEntrywithKey(AttributeDefinitionMetadata key)AttributeDefinitionMetadataEntrywithUnmappedField(String name, String value)AttributeDefinitionMetadataEntrywithValue(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
-
key
protected AttributeDefinitionMetadata key
-
value
protected String value
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType
-
getKey
public Optional<AttributeDefinitionMetadata> getKey()
-
withKey
public AttributeDefinitionMetadataEntry withKey(AttributeDefinitionMetadata key)
-
withValue
public AttributeDefinitionMetadataEntry withValue(String value)
-
withUnmappedField
public AttributeDefinitionMetadataEntry 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 AttributeDefinitionMetadataEntry.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
-
-