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
  • Constructor Details

    • AccessPackageResource

      public AccessPackageResource()
      Instantiates a new AccessPackageResource 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

      @Nullable public List<AccessPackageResourceAttribute> 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

      @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. A description for the resource.
      Returns:
      a String
    • getDisplayName

      @Nullable public 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

      @Nullable public AccessPackageResourceEnvironment 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 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. Read-only.
      Returns:
      a OffsetDateTime
    • getOriginId

      @Nullable public String 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

      @Nullable public 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

      @Nullable public List<AccessPackageResourceRole> getRoles()
      Gets the roles property value. Read-only. Nullable. Supports $expand.
      Returns:
      a List<AccessPackageResourceRole>
    • getScopes

      @Nullable public List<AccessPackageResourceScope> 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
      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
    • setAttributes

      public void setAttributes(@Nullable List<AccessPackageResourceAttribute> value)
      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

      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. A description for the resource.
      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 resource, such as the application name, group name or site name.
      Parameters:
      value - Value to set for the displayName property.
    • setEnvironment

      public void setEnvironment(@Nullable AccessPackageResourceEnvironment value)
      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

      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.
    • setOriginId

      public void setOriginId(@Nullable String value)
      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

      public void setOriginSystem(@Nullable String value)
      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

      public void setRoles(@Nullable List<AccessPackageResourceRole> value)
      Sets the roles property value. Read-only. Nullable. Supports $expand.
      Parameters:
      value - Value to set for the roles property.
    • setScopes

      public void setScopes(@Nullable List<AccessPackageResourceScope> value)
      Sets the scopes property value. Read-only. Nullable. Supports $expand.
      Parameters:
      value - Value to set for the scopes property.