Package odata.msgraph.client.beta.entity
Class UnifiedRoleManagementPolicyNotificationRule
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- odata.msgraph.client.beta.entity.UnifiedRoleManagementPolicyRule
-
- odata.msgraph.client.beta.entity.UnifiedRoleManagementPolicyNotificationRule
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class UnifiedRoleManagementPolicyNotificationRule extends UnifiedRoleManagementPolicyRule implements com.github.davidmoten.odata.client.ODataEntityType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classUnifiedRoleManagementPolicyNotificationRule.Builder
-
Field Summary
Fields Modifier and Type Field Description protected BooleanisDefaultRecipientsEnabledprotected StringnotificationLevelprotected List<String>notificationRecipientsprotected StringnotificationRecipientsNextLinkprotected StringnotificationTypeprotected StringrecipientType-
Fields inherited from class odata.msgraph.client.beta.entity.UnifiedRoleManagementPolicyRule
target
-
Fields inherited from class odata.msgraph.client.beta.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedUnifiedRoleManagementPolicyNotificationRule()
-
Method Summary
-
Methods inherited from class odata.msgraph.client.beta.entity.UnifiedRoleManagementPolicyRule
getTarget, withTarget
-
-
-
-
Field Detail
-
isDefaultRecipientsEnabled
protected Boolean isDefaultRecipientsEnabled
-
notificationLevel
protected String notificationLevel
-
notificationRecipientsNextLink
protected String notificationRecipientsNextLink
-
notificationType
protected String notificationType
-
recipientType
protected String recipientType
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classUnifiedRoleManagementPolicyRule
-
builderUnifiedRoleManagementPolicyNotificationRule
public static UnifiedRoleManagementPolicyNotificationRule.Builder builderUnifiedRoleManagementPolicyNotificationRule()
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
-
getChangedFields
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
- Specified by:
getChangedFieldsin interfacecom.github.davidmoten.odata.client.ODataEntityType- Overrides:
getChangedFieldsin classUnifiedRoleManagementPolicyRule
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classUnifiedRoleManagementPolicyRule
-
withIsDefaultRecipientsEnabled
public UnifiedRoleManagementPolicyNotificationRule withIsDefaultRecipientsEnabled(Boolean isDefaultRecipientsEnabled)
-
withNotificationLevel
public UnifiedRoleManagementPolicyNotificationRule withNotificationLevel(String notificationLevel)
-
getNotificationRecipients
public com.github.davidmoten.odata.client.CollectionPage<String> getNotificationRecipients()
-
withNotificationRecipients
public UnifiedRoleManagementPolicyNotificationRule withNotificationRecipients(List<String> notificationRecipients)
-
getNotificationRecipients
public com.github.davidmoten.odata.client.CollectionPage<String> getNotificationRecipients(com.github.davidmoten.odata.client.HttpRequestOptions options)
-
withNotificationType
public UnifiedRoleManagementPolicyNotificationRule withNotificationType(String notificationType)
-
withRecipientType
public UnifiedRoleManagementPolicyNotificationRule withRecipientType(String recipientType)
-
withUnmappedField
public UnifiedRoleManagementPolicyNotificationRule withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classUnifiedRoleManagementPolicyRule
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classUnifiedRoleManagementPolicyRule
-
patch
public UnifiedRoleManagementPolicyNotificationRule patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.- Overrides:
patchin classUnifiedRoleManagementPolicyRule- Returns:
- a copy of
thiswith changed fields reset - Throws:
com.github.davidmoten.odata.client.ClientException- if HTTP response is not as expected
-
put
public UnifiedRoleManagementPolicyNotificationRule put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).- Overrides:
putin classUnifiedRoleManagementPolicyRule- Returns:
- a copy of
thiswith changed fields reset - Throws:
com.github.davidmoten.odata.client.ClientException- if HTTP response is not as expected
-
toString
public String toString()
- Overrides:
toStringin classUnifiedRoleManagementPolicyRule
-
-