Class AccessPackageQuestion
- java.lang.Object
-
- odata.msgraph.client.beta.complex.AccessPackageQuestion
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataType
- Direct Known Subclasses:
AccessPackageMultipleChoiceQuestion,AccessPackageTextInputQuestion
public class AccessPackageQuestion extends Object implements com.github.davidmoten.odata.client.ODataType
-
-
Field Summary
Fields Modifier and Type Field Description protected com.github.davidmoten.odata.client.ContextPathcontextPathprotected Stringidprotected BooleanisAnswerEditableprotected BooleanisRequiredprotected StringodataTypeprotected Integersequenceprotected AccessPackageLocalizedContenttextprotected com.github.davidmoten.odata.client.internal.UnmappedFieldsImplunmappedFields
-
Constructor Summary
Constructors Modifier Constructor Description protectedAccessPackageQuestion()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Optional<String>getId()Optional<Boolean>getIsAnswerEditable()Optional<Boolean>getIsRequired()Optional<Integer>getSequence()Optional<AccessPackageLocalizedContent>getText()com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()voidpostInject(boolean addKeysToContextPath)StringtoString()AccessPackageQuestionwithId(String id)AccessPackageQuestionwithIsAnswerEditable(Boolean isAnswerEditable)AccessPackageQuestionwithIsRequired(Boolean isRequired)AccessPackageQuestionwithSequence(Integer sequence)AccessPackageQuestionwithText(AccessPackageLocalizedContent text)AccessPackageQuestionwithUnmappedField(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
-
id
protected String id
-
isAnswerEditable
protected Boolean isAnswerEditable
-
isRequired
protected Boolean isRequired
-
sequence
protected Integer sequence
-
text
protected AccessPackageLocalizedContent text
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType
-
withId
public AccessPackageQuestion withId(String id)
-
withIsAnswerEditable
public AccessPackageQuestion withIsAnswerEditable(Boolean isAnswerEditable)
-
withIsRequired
public AccessPackageQuestion withIsRequired(Boolean isRequired)
-
withSequence
public AccessPackageQuestion withSequence(Integer sequence)
-
getText
public Optional<AccessPackageLocalizedContent> getText()
-
withText
public AccessPackageQuestion withText(AccessPackageLocalizedContent text)
-
withUnmappedField
public AccessPackageQuestion 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
-
-