Package com.microsoft.graph.models
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
-
Field Summary
Fields inherited from class com.microsoft.graph.models.Entity
backingStore
-
Constructor Summary
ConstructorsConstructorDescriptionInstantiates a newAccessPackageAssignmentPolicy
and sets the default values. -
Method Summary
Modifier and TypeMethodDescriptioncreateFromDiscriminatorValue
(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueGets the accessPackage property value.Gets the allowedTargetScope property value.Gets the automaticRequestSettings property value.Gets the catalog property value.Gets the createdDateTime property value.Gets the customExtensionStageSettings property value.Gets the description property value.Gets the displayName property value.Gets the expiration property value.The deserialization information for the current modelGets the modifiedDateTime property value.Gets the questions property value.Gets the requestApprovalSettings property value.Gets the requestorSettings property value.Gets the reviewSettings property value.Gets the specificAllowedTargets property value.void
serialize
(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoid
setAccessPackage
(AccessPackage value) Sets the accessPackage property value.void
Sets the allowedTargetScope property value.void
Sets the automaticRequestSettings property value.void
setCatalog
(AccessPackageCatalog value) Sets the catalog property value.void
setCreatedDateTime
(OffsetDateTime value) Sets the createdDateTime property value.void
Sets the customExtensionStageSettings property value.void
setDescription
(String value) Sets the description property value.void
setDisplayName
(String value) Sets the displayName property value.void
setExpiration
(ExpirationPattern value) Sets the expiration property value.void
Sets the modifiedDateTime property value.void
setQuestions
(List<AccessPackageQuestion> value) Sets the questions property value.void
Sets the requestApprovalSettings property value.void
Sets the requestorSettings property value.void
Sets the reviewSettings property value.void
setSpecificAllowedTargets
(List<SubjectSet> value) Sets the specificAllowedTargets property value.Methods inherited from class com.microsoft.graph.models.Entity
getAdditionalData, getBackingStore, getId, getOdataType, setAdditionalData, setBackingStore, setId, setOdataType
-
Constructor Details
-
AccessPackageAssignmentPolicy
public AccessPackageAssignmentPolicy()Instantiates a newAccessPackageAssignmentPolicy
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
Gets the accessPackage property value. Access package containing this policy. Read-only. Supports $expand.- Returns:
- a
AccessPackage
-
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
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
Gets the catalog property value. Catalog of the access package containing this policy. Read-only.- Returns:
- a
AccessPackageCatalog
-
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
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
Gets the description property value. The description of the policy.- Returns:
- a
String
-
getDisplayName
Gets the displayName property value. The display name of the policy.- Returns:
- a
String
-
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 interfacecom.microsoft.kiota.serialization.Parsable
- Overrides:
getFieldDeserializers
in classEntity
- Returns:
- a
Map<String,
Consumer<com.microsoft.kiota.serialization.ParseNode>>
-
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
Gets the questions property value. Questions that are posed to the requestor.- Returns:
- a
List<AccessPackageQuestion>
-
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
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
Gets the reviewSettings property value. Settings for access reviews of assignments through this policy.- Returns:
- a
AccessPackageAssignmentReviewSettings
-
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 -
setAccessPackage
Sets the accessPackage property value. Access package containing this policy. Read-only. Supports $expand.- Parameters:
value
- Value to set for the accessPackage property.
-
setAllowedTargetScope
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
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
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
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
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
Sets the description property value. The description of the policy.- Parameters:
value
- Value to set for the description property.
-
setDisplayName
Sets the displayName property value. The display name of the policy.- Parameters:
value
- Value to set for the displayName property.
-
setExpiration
Sets the expiration property value. The expiration date for assignments created in this policy.- Parameters:
value
- Value to set for the expiration property.
-
setModifiedDateTime
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
Sets the questions property value. Questions that are posed to the requestor.- Parameters:
value
- Value to set for the questions property.
-
setRequestApprovalSettings
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
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
Sets the reviewSettings property value. Settings for access reviews of assignments through this policy.- Parameters:
value
- Value to set for the reviewSettings property.
-
setSpecificAllowedTargets
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.
-