Class UnifiedRoleManagementPolicyNotificationRule

java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.UnifiedRoleManagementPolicyRule
com.microsoft.graph.models.UnifiedRoleManagementPolicyNotificationRule
All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder, com.microsoft.kiota.serialization.Parsable, com.microsoft.kiota.store.BackedModel

@Generated("com.microsoft.kiota") public class UnifiedRoleManagementPolicyNotificationRule extends UnifiedRoleManagementPolicyRule implements com.microsoft.kiota.serialization.Parsable
  • Constructor Details

  • Method Details

    • createFromDiscriminatorValue

      @Nonnull public static UnifiedRoleManagementPolicyNotificationRule createFromDiscriminatorValue(@Nonnull com.microsoft.kiota.serialization.ParseNode parseNode)
      Creates a new instance of the appropriate class based on discriminator value
      Parameters:
      parseNode - The parse node to use to read the discriminator value and create the object
      Returns:
      a UnifiedRoleManagementPolicyNotificationRule
    • getFieldDeserializers

      @Nonnull public Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>> getFieldDeserializers()
      The deserialization information for the current model
      Specified by:
      getFieldDeserializers in interface com.microsoft.kiota.serialization.Parsable
      Overrides:
      getFieldDeserializers in class UnifiedRoleManagementPolicyRule
      Returns:
      a Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
    • getIsDefaultRecipientsEnabled

      @Nullable public Boolean getIsDefaultRecipientsEnabled()
      Gets the isDefaultRecipientsEnabled property value. Indicates whether a default recipient will receive the notification email.
      Returns:
      a Boolean
    • getNotificationLevel

      @Nullable public String getNotificationLevel()
      Gets the notificationLevel property value. The level of notification. The possible values are None, Critical, All.
      Returns:
      a String
    • getNotificationRecipients

      @Nullable public List<String> getNotificationRecipients()
      Gets the notificationRecipients property value. The list of recipients of the email notifications.
      Returns:
      a List<String>
    • getNotificationType

      @Nullable public String getNotificationType()
      Gets the notificationType property value. The type of notification. Only Email is supported.
      Returns:
      a String
    • getRecipientType

      @Nullable public String getRecipientType()
      Gets the recipientType property value. The type of recipient of the notification. The possible values are Requestor, Approver, Admin.
      Returns:
      a String
    • serialize

      public void serialize(@Nonnull com.microsoft.kiota.serialization.SerializationWriter writer)
      Serializes information the current object
      Specified by:
      serialize in interface com.microsoft.kiota.serialization.Parsable
      Overrides:
      serialize in class UnifiedRoleManagementPolicyRule
      Parameters:
      writer - Serialization writer to use to serialize this model
    • setIsDefaultRecipientsEnabled

      public void setIsDefaultRecipientsEnabled(@Nullable Boolean value)
      Sets the isDefaultRecipientsEnabled property value. Indicates whether a default recipient will receive the notification email.
      Parameters:
      value - Value to set for the isDefaultRecipientsEnabled property.
    • setNotificationLevel

      public void setNotificationLevel(@Nullable String value)
      Sets the notificationLevel property value. The level of notification. The possible values are None, Critical, All.
      Parameters:
      value - Value to set for the notificationLevel property.
    • setNotificationRecipients

      public void setNotificationRecipients(@Nullable List<String> value)
      Sets the notificationRecipients property value. The list of recipients of the email notifications.
      Parameters:
      value - Value to set for the notificationRecipients property.
    • setNotificationType

      public void setNotificationType(@Nullable String value)
      Sets the notificationType property value. The type of notification. Only Email is supported.
      Parameters:
      value - Value to set for the notificationType property.
    • setRecipientType

      public void setRecipientType(@Nullable String value)
      Sets the recipientType property value. The type of recipient of the notification. The possible values are Requestor, Approver, Admin.
      Parameters:
      value - Value to set for the recipientType property.