Package odata.msgraph.client.entity
Class AccessPackageQuestion
- java.lang.Object
-
- odata.msgraph.client.entity.Entity
-
- odata.msgraph.client.entity.AccessPackageQuestion
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
- Direct Known Subclasses:
AccessPackageMultipleChoiceQuestion,AccessPackageTextInputQuestion
public class AccessPackageQuestion extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
-
-
Field Summary
Fields Modifier and Type Field Description protected BooleanisAnswerEditableprotected BooleanisRequiredprotected List<AccessPackageLocalizedText>localizationsprotected StringlocalizationsNextLinkprotected Integersequenceprotected Stringtext-
Fields inherited from class odata.msgraph.client.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedAccessPackageQuestion()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.github.davidmoten.odata.client.internal.ChangedFieldsgetChangedFields()Optional<Boolean>getIsAnswerEditable()Optional<Boolean>getIsRequired()com.github.davidmoten.odata.client.CollectionPage<AccessPackageLocalizedText>getLocalizations()com.github.davidmoten.odata.client.CollectionPage<AccessPackageLocalizedText>getLocalizations(com.github.davidmoten.odata.client.HttpRequestOptions options)Optional<Integer>getSequence()Optional<String>getText()com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()AccessPackageQuestionpatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)AccessPackageQuestionput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()AccessPackageQuestionwithIsAnswerEditable(Boolean isAnswerEditable)AccessPackageQuestionwithIsRequired(Boolean isRequired)AccessPackageQuestionwithLocalizations(List<AccessPackageLocalizedText> localizations)AccessPackageQuestionwithSequence(Integer sequence)AccessPackageQuestionwithText(String text)AccessPackageQuestionwithUnmappedField(String name, Object value)
-
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classEntity
-
getChangedFields
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
- Specified by:
getChangedFieldsin interfacecom.github.davidmoten.odata.client.ODataEntityType- Overrides:
getChangedFieldsin classEntity
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classEntity
-
withIsAnswerEditable
public AccessPackageQuestion withIsAnswerEditable(Boolean isAnswerEditable)
-
withIsRequired
public AccessPackageQuestion withIsRequired(Boolean isRequired)
-
getLocalizations
public com.github.davidmoten.odata.client.CollectionPage<AccessPackageLocalizedText> getLocalizations()
-
withLocalizations
public AccessPackageQuestion withLocalizations(List<AccessPackageLocalizedText> localizations)
-
getLocalizations
public com.github.davidmoten.odata.client.CollectionPage<AccessPackageLocalizedText> getLocalizations(com.github.davidmoten.odata.client.HttpRequestOptions options)
-
withSequence
public AccessPackageQuestion withSequence(Integer sequence)
-
withText
public AccessPackageQuestion withText(String text)
-
withUnmappedField
public AccessPackageQuestion withUnmappedField(String name, Object value)
- Overrides:
withUnmappedFieldin classEntity
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classEntity
-
patch
public AccessPackageQuestion patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public AccessPackageQuestion put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).
-
-