Package odata.msgraph.client.complex
Class BookingQuestionAnswer
- java.lang.Object
-
- odata.msgraph.client.complex.BookingQuestionAnswer
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataType
public class BookingQuestionAnswer extends Object implements com.github.davidmoten.odata.client.ODataType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classBookingQuestionAnswer.Builder
-
Field Summary
Fields Modifier and Type Field Description protected Stringanswerprotected AnswerInputTypeanswerInputTypeprotected List<String>answerOptionsprotected StringanswerOptionsNextLinkprotected com.github.davidmoten.odata.client.ContextPathcontextPathprotected BooleanisRequiredprotected StringodataTypeprotected Stringquestionprotected StringquestionIdprotected List<String>selectedOptionsprotected StringselectedOptionsNextLinkprotected com.github.davidmoten.odata.client.internal.UnmappedFieldsImplunmappedFields
-
Constructor Summary
Constructors Modifier Constructor Description protectedBookingQuestionAnswer()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static BookingQuestionAnswer.Builderbuilder()Returns a builder which is used to create a new instance of this class (given that this class is immutable).Optional<String>getAnswer()Optional<AnswerInputType>getAnswerInputType()com.github.davidmoten.odata.client.CollectionPage<String>getAnswerOptions()com.github.davidmoten.odata.client.CollectionPage<String>getAnswerOptions(com.github.davidmoten.odata.client.HttpRequestOptions options)Optional<Boolean>getIsRequired()Optional<String>getQuestion()Optional<String>getQuestionId()com.github.davidmoten.odata.client.CollectionPage<String>getSelectedOptions()com.github.davidmoten.odata.client.CollectionPage<String>getSelectedOptions(com.github.davidmoten.odata.client.HttpRequestOptions options)com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()voidpostInject(boolean addKeysToContextPath)StringtoString()BookingQuestionAnswerwithAnswer(String answer)BookingQuestionAnswerwithAnswerInputType(AnswerInputType answerInputType)BookingQuestionAnswerwithIsRequired(Boolean isRequired)BookingQuestionAnswerwithQuestion(String question)BookingQuestionAnswerwithQuestionId(String questionId)BookingQuestionAnswerwithUnmappedField(String name, 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
-
answer
protected String answer
-
answerInputType
protected AnswerInputType answerInputType
-
answerOptionsNextLink
protected String answerOptionsNextLink
-
isRequired
protected Boolean isRequired
-
question
protected String question
-
questionId
protected String questionId
-
selectedOptionsNextLink
protected String selectedOptionsNextLink
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType
-
withAnswer
public BookingQuestionAnswer withAnswer(String answer)
-
getAnswerInputType
public Optional<AnswerInputType> getAnswerInputType()
-
withAnswerInputType
public BookingQuestionAnswer withAnswerInputType(AnswerInputType answerInputType)
-
getAnswerOptions
public com.github.davidmoten.odata.client.CollectionPage<String> getAnswerOptions()
-
getAnswerOptions
public com.github.davidmoten.odata.client.CollectionPage<String> getAnswerOptions(com.github.davidmoten.odata.client.HttpRequestOptions options)
-
withIsRequired
public BookingQuestionAnswer withIsRequired(Boolean isRequired)
-
withQuestion
public BookingQuestionAnswer withQuestion(String question)
-
withQuestionId
public BookingQuestionAnswer withQuestionId(String questionId)
-
getSelectedOptions
public com.github.davidmoten.odata.client.CollectionPage<String> getSelectedOptions()
-
getSelectedOptions
public com.github.davidmoten.odata.client.CollectionPage<String> getSelectedOptions(com.github.davidmoten.odata.client.HttpRequestOptions options)
-
withUnmappedField
public BookingQuestionAnswer 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 BookingQuestionAnswer.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
-
-