Class AccessPackageAssignmentPolicy

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

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

    • AccessPackageAssignmentPolicy

      public AccessPackageAssignmentPolicy()
      Instantiates a new AccessPackageAssignmentPolicy and sets the default values.
  • Method Details

    • createFromDiscriminatorValue

      @Nonnull public static AccessPackageAssignmentPolicy 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 AccessPackageAssignmentPolicy
    • getAccessPackage

      @Nullable public AccessPackage getAccessPackage()
      Gets the accessPackage property value. Access package containing this policy. Read-only. Supports $expand.
      Returns:
      a AccessPackage
    • getAllowedTargetScope

      @Nullable public AllowedTargetScope getAllowedTargetScope()
      Gets the allowedTargetScope property value. Principals that can be assigned the access package through this policy. The possible values are: notSpecified, specificDirectoryUsers, specificConnectedOrganizationUsers, specificDirectoryServicePrincipals, allMemberUsers, allDirectoryUsers, allDirectoryServicePrincipals, allConfiguredConnectedOrganizationUsers, allExternalUsers, unknownFutureValue.
      Returns:
      a AllowedTargetScope
    • getAutomaticRequestSettings

      @Nullable public AccessPackageAutomaticRequestSettings getAutomaticRequestSettings()
      Gets the automaticRequestSettings property value. This property is only present for an auto assignment policy; if absent, this is a request-based policy.
      Returns:
      a AccessPackageAutomaticRequestSettings
    • getCatalog

      @Nullable public AccessPackageCatalog getCatalog()
      Gets the catalog property value. Catalog of the access package containing this policy. Read-only.
      Returns:
      a AccessPackageCatalog
    • getCreatedDateTime

      @Nullable public OffsetDateTime getCreatedDateTime()
      Gets the createdDateTime property value. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.
      Returns:
      a OffsetDateTime
    • getCustomExtensionStageSettings

      @Nullable public List<CustomExtensionStageSetting> getCustomExtensionStageSettings()
      Gets the customExtensionStageSettings property value. The collection of stages when to execute one or more custom access package workflow extensions. Supports $expand.
      Returns:
      a List<CustomExtensionStageSetting>
    • getDescription

      @Nullable public String getDescription()
      Gets the description property value. The description of the policy.
      Returns:
      a String
    • getDisplayName

      @Nullable public String getDisplayName()
      Gets the displayName property value. The display name of the policy.
      Returns:
      a String
    • getExpiration

      @Nullable public ExpirationPattern getExpiration()
      Gets the expiration property value. The expiration date for assignments created in this policy.
      Returns:
      a ExpirationPattern
    • 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 Entity
      Returns:
      a Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
    • getModifiedDateTime

      @Nullable public OffsetDateTime getModifiedDateTime()
      Gets the modifiedDateTime property value. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.
      Returns:
      a OffsetDateTime
    • getQuestions

      @Nullable public List<AccessPackageQuestion> getQuestions()
      Gets the questions property value. Questions that are posed to the requestor.
      Returns:
      a List<AccessPackageQuestion>
    • getRequestApprovalSettings

      @Nullable public AccessPackageAssignmentApprovalSettings getRequestApprovalSettings()
      Gets the requestApprovalSettings property value. Specifies the settings for approval of requests for an access package assignment through this policy. For example, if approval is required for new requests.
      Returns:
      a AccessPackageAssignmentApprovalSettings
    • getRequestorSettings

      @Nullable public AccessPackageAssignmentRequestorSettings getRequestorSettings()
      Gets the requestorSettings property value. Provides additional settings to select who can create a request for an access package assignment through this policy, and what they can include in their request.
      Returns:
      a AccessPackageAssignmentRequestorSettings
    • getReviewSettings

      @Nullable public AccessPackageAssignmentReviewSettings getReviewSettings()
      Gets the reviewSettings property value. Settings for access reviews of assignments through this policy.
      Returns:
      a AccessPackageAssignmentReviewSettings
    • getSpecificAllowedTargets

      @Nullable public List<SubjectSet> getSpecificAllowedTargets()
      Gets the specificAllowedTargets property value. The principals that can be assigned access from an access package through this policy.
      Returns:
      a List<SubjectSet>
    • 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 Entity
      Parameters:
      writer - Serialization writer to use to serialize this model
    • setAccessPackage

      public void setAccessPackage(@Nullable AccessPackage value)
      Sets the accessPackage property value. Access package containing this policy. Read-only. Supports $expand.
      Parameters:
      value - Value to set for the accessPackage property.
    • setAllowedTargetScope

      public void setAllowedTargetScope(@Nullable AllowedTargetScope value)
      Sets the allowedTargetScope property value. Principals that can be assigned the access package through this policy. The possible values are: notSpecified, specificDirectoryUsers, specificConnectedOrganizationUsers, specificDirectoryServicePrincipals, allMemberUsers, allDirectoryUsers, allDirectoryServicePrincipals, allConfiguredConnectedOrganizationUsers, allExternalUsers, unknownFutureValue.
      Parameters:
      value - Value to set for the allowedTargetScope property.
    • setAutomaticRequestSettings

      public void setAutomaticRequestSettings(@Nullable AccessPackageAutomaticRequestSettings value)
      Sets the automaticRequestSettings property value. This property is only present for an auto assignment policy; if absent, this is a request-based policy.
      Parameters:
      value - Value to set for the automaticRequestSettings property.
    • setCatalog

      public void setCatalog(@Nullable AccessPackageCatalog value)
      Sets the catalog property value. Catalog of the access package containing this policy. Read-only.
      Parameters:
      value - Value to set for the catalog property.
    • setCreatedDateTime

      public void setCreatedDateTime(@Nullable OffsetDateTime value)
      Sets the createdDateTime property value. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.
      Parameters:
      value - Value to set for the createdDateTime property.
    • setCustomExtensionStageSettings

      public void setCustomExtensionStageSettings(@Nullable List<CustomExtensionStageSetting> value)
      Sets the customExtensionStageSettings property value. The collection of stages when to execute one or more custom access package workflow extensions. Supports $expand.
      Parameters:
      value - Value to set for the customExtensionStageSettings property.
    • setDescription

      public void setDescription(@Nullable String value)
      Sets the description property value. The description of the policy.
      Parameters:
      value - Value to set for the description property.
    • setDisplayName

      public void setDisplayName(@Nullable String value)
      Sets the displayName property value. The display name of the policy.
      Parameters:
      value - Value to set for the displayName property.
    • setExpiration

      public void setExpiration(@Nullable ExpirationPattern value)
      Sets the expiration property value. The expiration date for assignments created in this policy.
      Parameters:
      value - Value to set for the expiration property.
    • setModifiedDateTime

      public void setModifiedDateTime(@Nullable OffsetDateTime value)
      Sets the modifiedDateTime property value. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.
      Parameters:
      value - Value to set for the modifiedDateTime property.
    • setQuestions

      public void setQuestions(@Nullable List<AccessPackageQuestion> value)
      Sets the questions property value. Questions that are posed to the requestor.
      Parameters:
      value - Value to set for the questions property.
    • setRequestApprovalSettings

      public void setRequestApprovalSettings(@Nullable AccessPackageAssignmentApprovalSettings value)
      Sets the requestApprovalSettings property value. Specifies the settings for approval of requests for an access package assignment through this policy. For example, if approval is required for new requests.
      Parameters:
      value - Value to set for the requestApprovalSettings property.
    • setRequestorSettings

      public void setRequestorSettings(@Nullable AccessPackageAssignmentRequestorSettings value)
      Sets the requestorSettings property value. Provides additional settings to select who can create a request for an access package assignment through this policy, and what they can include in their request.
      Parameters:
      value - Value to set for the requestorSettings property.
    • setReviewSettings

      public void setReviewSettings(@Nullable AccessPackageAssignmentReviewSettings value)
      Sets the reviewSettings property value. Settings for access reviews of assignments through this policy.
      Parameters:
      value - Value to set for the reviewSettings property.
    • setSpecificAllowedTargets

      public void setSpecificAllowedTargets(@Nullable List<SubjectSet> value)
      Sets the specificAllowedTargets property value. The principals that can be assigned access from an access package through this policy.
      Parameters:
      value - Value to set for the specificAllowedTargets property.