Class ExternalItemContent
- java.lang.Object
-
- odata.msgraph.client.beta.complex.ExternalItemContent
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataType
public class ExternalItemContent extends Object implements com.github.davidmoten.odata.client.ODataType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classExternalItemContent.Builder
-
Field Summary
Fields Modifier and Type Field Description protected com.github.davidmoten.odata.client.ContextPathcontextPathprotected StringodataTypeprotected ExternalItemContentTypetypeprotected com.github.davidmoten.odata.client.internal.UnmappedFieldsImplunmappedFieldsprotected Stringvalue
-
Constructor Summary
Constructors Modifier Constructor Description protectedExternalItemContent()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ExternalItemContent.Builderbuilder()Returns a builder which is used to create a new instance of this class (given that this class is immutable).Optional<ExternalItemContentType>getType()com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()Optional<String>getValue()StringodataTypeName()voidpostInject(boolean addKeysToContextPath)StringtoString()ExternalItemContentwithType(ExternalItemContentType type)ExternalItemContentwithUnmappedField(String name, String value)ExternalItemContentwithValue(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
-
type
protected ExternalItemContentType type
-
value
protected String value
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType
-
getType
public Optional<ExternalItemContentType> getType()
-
withType
public ExternalItemContent withType(ExternalItemContentType type)
-
withValue
public ExternalItemContent withValue(String value)
-
withUnmappedField
public ExternalItemContent 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 ExternalItemContent.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
-
-