Package odata.msgraph.client.complex
Class EndUserNotificationSetting
- java.lang.Object
-
- odata.msgraph.client.complex.EndUserNotificationSetting
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataType
- Direct Known Subclasses:
NoTrainingNotificationSetting,TrainingNotificationSetting
public class EndUserNotificationSetting extends Object implements com.github.davidmoten.odata.client.ODataType
-
-
Field Summary
Fields Modifier and Type Field Description protected com.github.davidmoten.odata.client.ContextPathcontextPathprotected EndUserNotificationPreferencenotificationPreferenceprotected StringodataTypeprotected PositiveReinforcementNotificationpositiveReinforcementprotected EndUserNotificationSettingTypesettingTypeprotected com.github.davidmoten.odata.client.internal.UnmappedFieldsImplunmappedFields
-
Constructor Summary
Constructors Modifier Constructor Description protectedEndUserNotificationSetting()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Optional<EndUserNotificationPreference>getNotificationPreference()Optional<PositiveReinforcementNotification>getPositiveReinforcement()Optional<EndUserNotificationSettingType>getSettingType()com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()voidpostInject(boolean addKeysToContextPath)StringtoString()EndUserNotificationSettingwithNotificationPreference(EndUserNotificationPreference notificationPreference)EndUserNotificationSettingwithPositiveReinforcement(PositiveReinforcementNotification positiveReinforcement)EndUserNotificationSettingwithSettingType(EndUserNotificationSettingType settingType)EndUserNotificationSettingwithUnmappedField(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
-
notificationPreference
protected EndUserNotificationPreference notificationPreference
-
positiveReinforcement
protected PositiveReinforcementNotification positiveReinforcement
-
settingType
protected EndUserNotificationSettingType settingType
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType
-
getNotificationPreference
public Optional<EndUserNotificationPreference> getNotificationPreference()
-
withNotificationPreference
public EndUserNotificationSetting withNotificationPreference(EndUserNotificationPreference notificationPreference)
-
getPositiveReinforcement
public Optional<PositiveReinforcementNotification> getPositiveReinforcement()
-
withPositiveReinforcement
public EndUserNotificationSetting withPositiveReinforcement(PositiveReinforcementNotification positiveReinforcement)
-
getSettingType
public Optional<EndUserNotificationSettingType> getSettingType()
-
withSettingType
public EndUserNotificationSetting withSettingType(EndUserNotificationSettingType settingType)
-
withUnmappedField
public EndUserNotificationSetting 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
-
-