Package odata.msgraph.client.complex
Class VisualInfo
- java.lang.Object
-
- odata.msgraph.client.complex.VisualInfo
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataType
public class VisualInfo extends Object implements com.github.davidmoten.odata.client.ODataType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVisualInfo.Builder
-
Field Summary
Fields Modifier and Type Field Description protected ImageInfoattributionprotected StringbackgroundColorprotected Jsoncontentprotected com.github.davidmoten.odata.client.ContextPathcontextPathprotected Stringdescriptionprotected StringdisplayTextprotected StringodataTypeprotected com.github.davidmoten.odata.client.internal.UnmappedFieldsImplunmappedFields
-
Constructor Summary
Constructors Modifier Constructor Description protectedVisualInfo()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VisualInfo.Builderbuilder()Returns a builder which is used to create a new instance of this class (given that this class is immutable).Optional<ImageInfo>getAttribution()Optional<String>getBackgroundColor()Optional<Json>getContent()Optional<String>getDescription()Optional<String>getDisplayText()com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()voidpostInject(boolean addKeysToContextPath)StringtoString()VisualInfowithAttribution(ImageInfo attribution)VisualInfowithBackgroundColor(String backgroundColor)VisualInfowithContent(Json content)VisualInfowithDescription(String description)VisualInfowithDisplayText(String displayText)VisualInfowithUnmappedField(String name, Object 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
-
attribution
protected ImageInfo attribution
-
backgroundColor
protected String backgroundColor
-
content
protected Json content
-
description
protected String description
-
displayText
protected String displayText
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType
-
withAttribution
public VisualInfo withAttribution(ImageInfo attribution)
-
withBackgroundColor
public VisualInfo withBackgroundColor(String backgroundColor)
-
withContent
public VisualInfo withContent(Json content)
-
withDescription
public VisualInfo withDescription(String description)
-
withDisplayText
public VisualInfo withDisplayText(String displayText)
-
withUnmappedField
public VisualInfo 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 VisualInfo.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
-
-