Class AccessPackage

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

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

    • AccessPackage

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

    • createFromDiscriminatorValue

      @Nonnull public static AccessPackage 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 AccessPackage
    • getAccessPackagesIncompatibleWith

      @Nullable public List<AccessPackage> getAccessPackagesIncompatibleWith()
      Gets the accessPackagesIncompatibleWith property value. The access packages that are incompatible with this package. Read-only.
      Returns:
      a List<AccessPackage>
    • getAssignmentPolicies

      @Nullable public List<AccessPackageAssignmentPolicy> getAssignmentPolicies()
      Gets the assignmentPolicies property value. Read-only. Nullable. Supports $expand.
      Returns:
      a List<AccessPackageAssignmentPolicy>
    • getCatalog

      @Nullable public AccessPackageCatalog getCatalog()
      Gets the catalog property value. Required when creating the access package. Read-only. Nullable.
      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. Read-only.
      Returns:
      a OffsetDateTime
    • getDescription

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

      @Nullable public String getDisplayName()
      Gets the displayName property value. Required. The display name of the access package. Supports $filter (eq, contains).
      Returns:
      a String
    • 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>>
    • getIncompatibleAccessPackages

      @Nullable public List<AccessPackage> getIncompatibleAccessPackages()
      Gets the incompatibleAccessPackages property value. The access packages whose assigned users are ineligible to be assigned this access package.
      Returns:
      a List<AccessPackage>
    • getIncompatibleGroups

      @Nullable public List<Group> getIncompatibleGroups()
      Gets the incompatibleGroups property value. The groups whose members are ineligible to be assigned this access package.
      Returns:
      a List<Group>
    • getIsHidden

      @Nullable public Boolean getIsHidden()
      Gets the isHidden property value. Indicates whether the access package is hidden from the requestor.
      Returns:
      a Boolean
    • 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. Read-only.
      Returns:
      a OffsetDateTime
    • getResourceRoleScopes

      @Nullable public List<AccessPackageResourceRoleScope> getResourceRoleScopes()
      Gets the resourceRoleScopes property value. The resource roles and scopes in this access package.
      Returns:
      a List<AccessPackageResourceRoleScope>
    • 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
    • setAccessPackagesIncompatibleWith

      public void setAccessPackagesIncompatibleWith(@Nullable List<AccessPackage> value)
      Sets the accessPackagesIncompatibleWith property value. The access packages that are incompatible with this package. Read-only.
      Parameters:
      value - Value to set for the accessPackagesIncompatibleWith property.
    • setAssignmentPolicies

      public void setAssignmentPolicies(@Nullable List<AccessPackageAssignmentPolicy> value)
      Sets the assignmentPolicies property value. Read-only. Nullable. Supports $expand.
      Parameters:
      value - Value to set for the assignmentPolicies property.
    • setCatalog

      public void setCatalog(@Nullable AccessPackageCatalog value)
      Sets the catalog property value. Required when creating the access package. Read-only. Nullable.
      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. Read-only.
      Parameters:
      value - Value to set for the createdDateTime property.
    • setDescription

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

      public void setDisplayName(@Nullable String value)
      Sets the displayName property value. Required. The display name of the access package. Supports $filter (eq, contains).
      Parameters:
      value - Value to set for the displayName property.
    • setIncompatibleAccessPackages

      public void setIncompatibleAccessPackages(@Nullable List<AccessPackage> value)
      Sets the incompatibleAccessPackages property value. The access packages whose assigned users are ineligible to be assigned this access package.
      Parameters:
      value - Value to set for the incompatibleAccessPackages property.
    • setIncompatibleGroups

      public void setIncompatibleGroups(@Nullable List<Group> value)
      Sets the incompatibleGroups property value. The groups whose members are ineligible to be assigned this access package.
      Parameters:
      value - Value to set for the incompatibleGroups property.
    • setIsHidden

      public void setIsHidden(@Nullable Boolean value)
      Sets the isHidden property value. Indicates whether the access package is hidden from the requestor.
      Parameters:
      value - Value to set for the isHidden 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. Read-only.
      Parameters:
      value - Value to set for the modifiedDateTime property.
    • setResourceRoleScopes

      public void setResourceRoleScopes(@Nullable List<AccessPackageResourceRoleScope> value)
      Sets the resourceRoleScopes property value. The resource roles and scopes in this access package.
      Parameters:
      value - Value to set for the resourceRoleScopes property.