Package com.microsoft.graph.models
Class AccessPackageResource
java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.AccessPackageResource
- All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder
,com.microsoft.kiota.serialization.Parsable
,com.microsoft.kiota.store.BackedModel
@Generated("com.microsoft.kiota")
public class AccessPackageResource
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 AccessPackageResource
createFromDiscriminatorValue
(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueGets the attributes property value.Gets the createdDateTime property value.Gets the description property value.Gets the displayName property value.Gets the environment property value.The deserialization information for the current modelGets the modifiedDateTime property value.Gets the originId property value.Gets the originSystem property value.getRoles()
Gets the roles property value.Gets the scopes property value.void
serialize
(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoid
Sets the attributes 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 environment property value.void
Sets the modifiedDateTime property value.void
setOriginId
(String value) Sets the originId property value.void
setOriginSystem
(String value) Sets the originSystem property value.void
setRoles
(List<AccessPackageResourceRole> value) Sets the roles property value.void
setScopes
(List<AccessPackageResourceScope> value) Sets the scopes property value.Methods inherited from class com.microsoft.graph.models.Entity
getAdditionalData, getBackingStore, getId, getOdataType, setAdditionalData, setBackingStore, setId, setOdataType
-
Constructor Details
-
AccessPackageResource
public AccessPackageResource()Instantiates a newAccessPackageResource
and sets the default values.
-
-
Method Details
-
createFromDiscriminatorValue
@Nonnull public static AccessPackageResource 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
AccessPackageResource
-
getAttributes
Gets the attributes property value. Contains information about the attributes to be collected from the requestor and sent to the resource application.- Returns:
- a
List<AccessPackageResourceAttribute>
-
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. A description for the resource.- Returns:
- a
String
-
getDisplayName
Gets the displayName property value. The display name of the resource, such as the application name, group name or site name.- Returns:
- a
String
-
getEnvironment
Gets the environment property value. Contains the environment information for the resource. This can be set using either the @odata.bind annotation or the environment's originId.Supports $expand.- Returns:
- a
AccessPackageResourceEnvironment
-
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. Read-only.- Returns:
- a
OffsetDateTime
-
getOriginId
Gets the originId property value. The unique identifier of the resource in the origin system. For a Microsoft Entra group, this is the identifier of the group.- Returns:
- a
String
-
getOriginSystem
Gets the originSystem property value. The type of the resource in the origin system, such as SharePointOnline, AadApplication or AadGroup.- Returns:
- a
String
-
getRoles
Gets the roles property value. Read-only. Nullable. Supports $expand.- Returns:
- a
List<AccessPackageResourceRole>
-
getScopes
Gets the scopes property value. Read-only. Nullable. Supports $expand.- Returns:
- a
List<AccessPackageResourceScope>
-
serialize
public void serialize(@Nonnull com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current object -
setAttributes
Sets the attributes property value. Contains information about the attributes to be collected from the requestor and sent to the resource application.- Parameters:
value
- Value to set for the attributes 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. A description for the resource.- Parameters:
value
- Value to set for the description property.
-
setDisplayName
Sets the displayName property value. The display name of the resource, such as the application name, group name or site name.- Parameters:
value
- Value to set for the displayName property.
-
setEnvironment
Sets the environment property value. Contains the environment information for the resource. This can be set using either the @odata.bind annotation or the environment's originId.Supports $expand.- Parameters:
value
- Value to set for the environment 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.
-
setOriginId
Sets the originId property value. The unique identifier of the resource in the origin system. For a Microsoft Entra group, this is the identifier of the group.- Parameters:
value
- Value to set for the originId property.
-
setOriginSystem
Sets the originSystem property value. The type of the resource in the origin system, such as SharePointOnline, AadApplication or AadGroup.- Parameters:
value
- Value to set for the originSystem property.
-
setRoles
Sets the roles property value. Read-only. Nullable. Supports $expand.- Parameters:
value
- Value to set for the roles property.
-
setScopes
Sets the scopes property value. Read-only. Nullable. Supports $expand.- Parameters:
value
- Value to set for the scopes property.
-