Package microsoft.graph.search.complex
Class AnswerVariant
- java.lang.Object
-
- microsoft.graph.search.complex.AnswerVariant
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataType
public class AnswerVariant extends Object implements com.github.davidmoten.odata.client.ODataType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAnswerVariant.Builder
-
Field Summary
Fields Modifier and Type Field Description protected com.github.davidmoten.odata.client.ContextPathcontextPathprotected Stringdescriptionprotected StringdisplayNameprotected StringlanguageTagprotected StringodataTypeprotected DevicePlatformTypeplatformprotected com.github.davidmoten.odata.client.internal.UnmappedFieldsImplunmappedFieldsprotected StringwebUrl
-
Constructor Summary
Constructors Modifier Constructor Description protectedAnswerVariant()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AnswerVariant.Builderbuilder()Returns a builder which is used to create a new instance of this class (given that this class is immutable).Optional<String>getDescription()Optional<String>getDisplayName()Optional<String>getLanguageTag()Optional<DevicePlatformType>getPlatform()com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()Optional<String>getWebUrl()StringodataTypeName()voidpostInject(boolean addKeysToContextPath)StringtoString()AnswerVariantwithDescription(String description)AnswerVariantwithDisplayName(String displayName)AnswerVariantwithLanguageTag(String languageTag)AnswerVariantwithPlatform(DevicePlatformType platform)AnswerVariantwithUnmappedField(String name, String value)AnswerVariantwithWebUrl(String webUrl)
-
-
-
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
-
description
protected String description
-
displayName
protected String displayName
-
languageTag
protected String languageTag
-
platform
protected DevicePlatformType platform
-
webUrl
protected String webUrl
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType
-
withDescription
public AnswerVariant withDescription(String description)
-
withDisplayName
public AnswerVariant withDisplayName(String displayName)
-
withLanguageTag
public AnswerVariant withLanguageTag(String languageTag)
-
getPlatform
public Optional<DevicePlatformType> getPlatform()
-
withPlatform
public AnswerVariant withPlatform(DevicePlatformType platform)
-
withWebUrl
public AnswerVariant withWebUrl(String webUrl)
-
withUnmappedField
public AnswerVariant 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 AnswerVariant.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
-
-