Package microsoft.graph.search.entity
Class Acronym
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- microsoft.graph.search.entity.SearchAnswer
-
- microsoft.graph.search.entity.Acronym
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class Acronym extends SearchAnswer implements com.github.davidmoten.odata.client.ODataEntityType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAcronym.Builder
-
Field Summary
Fields Modifier and Type Field Description protected StringstandsForprotected AnswerStatestate-
Fields inherited from class microsoft.graph.search.entity.SearchAnswer
description, displayName, lastModifiedBy, lastModifiedDateTime, webUrl
-
Fields inherited from class odata.msgraph.client.beta.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedAcronym()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Acronym.BuilderbuilderAcronym()Returns a builder which is used to create a new instance of this class (given that this class is immutable).com.github.davidmoten.odata.client.internal.ChangedFieldsgetChangedFields()Optional<String>getStandsFor()Optional<AnswerState>getState()com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()Acronympatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)Acronymput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()AcronymwithStandsFor(String standsFor)AcronymwithState(AnswerState state)AcronymwithUnmappedField(String name, String value)-
Methods inherited from class microsoft.graph.search.entity.SearchAnswer
builderSearchAnswer, getDescription, getDisplayName, getLastModifiedBy, getLastModifiedDateTime, getWebUrl, withDescription, withDisplayName, withLastModifiedBy, withLastModifiedDateTime, withWebUrl
-
-
-
-
Field Detail
-
standsFor
protected String standsFor
-
state
protected AnswerState state
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classSearchAnswer
-
builderAcronym
public static Acronym.Builder builderAcronym()
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
-
getChangedFields
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
- Specified by:
getChangedFieldsin interfacecom.github.davidmoten.odata.client.ODataEntityType- Overrides:
getChangedFieldsin classSearchAnswer
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classSearchAnswer
-
getState
public Optional<AnswerState> getState()
-
withState
public Acronym withState(AnswerState state)
-
withUnmappedField
public Acronym withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classSearchAnswer
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classSearchAnswer
-
patch
public Acronym patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.- Overrides:
patchin classSearchAnswer- Returns:
- a copy of
thiswith changed fields reset - Throws:
com.github.davidmoten.odata.client.ClientException- if HTTP response is not as expected
-
put
public Acronym put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).- Overrides:
putin classSearchAnswer- Returns:
- a copy of
thiswith changed fields reset - Throws:
com.github.davidmoten.odata.client.ClientException- if HTTP response is not as expected
-
toString
public String toString()
- Overrides:
toStringin classSearchAnswer
-
-