Class AccessPackageMultipleChoiceQuestion
- java.lang.Object
-
- odata.msgraph.client.beta.complex.AccessPackageQuestion
-
- odata.msgraph.client.beta.complex.AccessPackageMultipleChoiceQuestion
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataType
public class AccessPackageMultipleChoiceQuestion extends AccessPackageQuestion implements com.github.davidmoten.odata.client.ODataType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAccessPackageMultipleChoiceQuestion.Builder
-
Field Summary
Fields Modifier and Type Field Description protected BooleanallowsMultipleSelectionprotected List<AccessPackageAnswerChoice>choicesprotected StringchoicesNextLink-
Fields inherited from class odata.msgraph.client.beta.complex.AccessPackageQuestion
contextPath, id, isAnswerEditable, isRequired, odataType, sequence, text, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedAccessPackageMultipleChoiceQuestion()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AccessPackageMultipleChoiceQuestion.BuilderbuilderAccessPackageMultipleChoiceQuestion()Returns a builder which is used to create a new instance of this class (given that this class is immutable).Optional<Boolean>getAllowsMultipleSelection()com.github.davidmoten.odata.client.CollectionPage<AccessPackageAnswerChoice>getChoices()com.github.davidmoten.odata.client.CollectionPage<AccessPackageAnswerChoice>getChoices(com.github.davidmoten.odata.client.HttpRequestOptions options)com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()voidpostInject(boolean addKeysToContextPath)StringtoString()AccessPackageMultipleChoiceQuestionwithAllowsMultipleSelection(Boolean allowsMultipleSelection)AccessPackageMultipleChoiceQuestionwithUnmappedField(String name, String value)-
Methods inherited from class odata.msgraph.client.beta.complex.AccessPackageQuestion
getId, getIsAnswerEditable, getIsRequired, getSequence, getText, withId, withIsAnswerEditable, withIsRequired, withSequence, withText
-
-
-
-
Field Detail
-
allowsMultipleSelection
protected Boolean allowsMultipleSelection
-
choices
protected List<AccessPackageAnswerChoice> choices
-
choicesNextLink
protected String choicesNextLink
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classAccessPackageQuestion
-
withAllowsMultipleSelection
public AccessPackageMultipleChoiceQuestion withAllowsMultipleSelection(Boolean allowsMultipleSelection)
-
getChoices
public com.github.davidmoten.odata.client.CollectionPage<AccessPackageAnswerChoice> getChoices()
-
getChoices
public com.github.davidmoten.odata.client.CollectionPage<AccessPackageAnswerChoice> getChoices(com.github.davidmoten.odata.client.HttpRequestOptions options)
-
withUnmappedField
public AccessPackageMultipleChoiceQuestion withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classAccessPackageQuestion
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classAccessPackageQuestion
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classAccessPackageQuestion
-
builderAccessPackageMultipleChoiceQuestion
public static AccessPackageMultipleChoiceQuestion.Builder builderAccessPackageMultipleChoiceQuestion()
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
-
toString
public String toString()
- Overrides:
toStringin classAccessPackageQuestion
-
-