Package com.microsoft.graph.models
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
-
Field Summary
Fields inherited from class com.microsoft.graph.models.Entity
backingStore
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic AccessPackage
createFromDiscriminatorValue
(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueGets the accessPackagesIncompatibleWith property value.Gets the assignmentPolicies property value.Gets the catalog property value.Gets the createdDateTime property value.Gets the description property value.Gets the displayName property value.The deserialization information for the current modelGets the incompatibleAccessPackages property value.Gets the incompatibleGroups property value.Gets the isHidden property value.Gets the modifiedDateTime property value.Gets the resourceRoleScopes property value.void
serialize
(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoid
Sets the accessPackagesIncompatibleWith property value.void
Sets the assignmentPolicies property value.void
setCatalog
(AccessPackageCatalog value) Sets the catalog property value.void
setCreatedDateTime
(OffsetDateTime value) Sets the createdDateTime property value.void
setDescription
(String value) Sets the description property value.void
setDisplayName
(String value) Sets the displayName property value.void
Sets the incompatibleAccessPackages property value.void
setIncompatibleGroups
(List<Group> value) Sets the incompatibleGroups property value.void
setIsHidden
(Boolean value) Sets the isHidden property value.void
Sets the modifiedDateTime property value.void
Sets the resourceRoleScopes property value.Methods inherited from class com.microsoft.graph.models.Entity
getAdditionalData, getBackingStore, getId, getOdataType, setAdditionalData, setBackingStore, setId, setOdataType
-
Constructor Details
-
AccessPackage
public AccessPackage()Instantiates a newAccessPackage
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
Gets the accessPackagesIncompatibleWith property value. The access packages that are incompatible with this package. Read-only.- Returns:
- a
List<AccessPackage>
-
getAssignmentPolicies
Gets the assignmentPolicies property value. Read-only. Nullable. Supports $expand.- Returns:
- a
List<AccessPackageAssignmentPolicy>
-
getCatalog
Gets the catalog property value. Required when creating the access package. Read-only. Nullable.- 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. Read-only.- Returns:
- a
OffsetDateTime
-
getDescription
Gets the description property value. The description of the access package.- Returns:
- a
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 interfacecom.microsoft.kiota.serialization.Parsable
- Overrides:
getFieldDeserializers
in classEntity
- Returns:
- a
Map<String,
Consumer<com.microsoft.kiota.serialization.ParseNode>>
-
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
Gets the incompatibleGroups property value. The groups whose members are ineligible to be assigned this access package. -
getIsHidden
Gets the isHidden property value. Indicates whether the access package is hidden from the requestor.- Returns:
- a
Boolean
-
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
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 -
setAccessPackagesIncompatibleWith
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
Sets the assignmentPolicies property value. Read-only. Nullable. Supports $expand.- Parameters:
value
- Value to set for the assignmentPolicies property.
-
setCatalog
Sets the catalog property value. Required when creating the access package. Read-only. Nullable.- 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. Read-only.- Parameters:
value
- Value to set for the createdDateTime property.
-
setDescription
Sets the description property value. The description of the access package.- Parameters:
value
- Value to set for the description property.
-
setDisplayName
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
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
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
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
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
Sets the resourceRoleScopes property value. The resource roles and scopes in this access package.- Parameters:
value
- Value to set for the resourceRoleScopes property.
-