Class AccessPackageResourceEnvironment

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

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

  • Method Details

    • createFromDiscriminatorValue

      @Nonnull public static AccessPackageResourceEnvironment 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 AccessPackageResourceEnvironment
    • getConnectionInfo

      @Nullable public ConnectionInfo getConnectionInfo()
      Gets the connectionInfo property value. Connection information of an environment used to connect to a resource.
      Returns:
      a ConnectionInfo
    • getCreatedDateTime

      @Nullable public OffsetDateTime getCreatedDateTime()
      Gets the createdDateTime property value. The date and time that this object was created. The DateTimeOffset 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
    • getDescription

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

      @Nullable public String getDisplayName()
      Gets the displayName property value. The display name of this object.
      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>>
    • getIsDefaultEnvironment

      @Nullable public Boolean getIsDefaultEnvironment()
      Gets the isDefaultEnvironment property value. Determines whether this is default environment or not. It is set to true for all static origin systems, such as Microsoft Entra groups and Microsoft Entra Applications.
      Returns:
      a Boolean
    • getModifiedDateTime

      @Nullable public OffsetDateTime getModifiedDateTime()
      Gets the modifiedDateTime property value. The date and time that this object was last modified. The DateTimeOffset 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
    • getOriginId

      @Nullable public String getOriginId()
      Gets the originId property value. The unique identifier of this environment in the origin system.
      Returns:
      a String
    • getOriginSystem

      @Nullable public String getOriginSystem()
      Gets the originSystem property value. The type of the resource in the origin system, that is, SharePointOnline. Requires $filter (eq).
      Returns:
      a String
    • getResources

      @Nullable public List<AccessPackageResource> getResources()
      Gets the resources property value. Read-only. Required.
      Returns:
      a List<AccessPackageResource>
    • 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
    • setConnectionInfo

      public void setConnectionInfo(@Nullable ConnectionInfo value)
      Sets the connectionInfo property value. Connection information of an environment used to connect to a resource.
      Parameters:
      value - Value to set for the connectionInfo property.
    • setCreatedDateTime

      public void setCreatedDateTime(@Nullable OffsetDateTime value)
      Sets the createdDateTime property value. The date and time that this object was created. The DateTimeOffset 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.
    • setDescription

      public void setDescription(@Nullable String value)
      Sets the description property value. The description of this object.
      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 this object.
      Parameters:
      value - Value to set for the displayName property.
    • setIsDefaultEnvironment

      public void setIsDefaultEnvironment(@Nullable Boolean value)
      Sets the isDefaultEnvironment property value. Determines whether this is default environment or not. It is set to true for all static origin systems, such as Microsoft Entra groups and Microsoft Entra Applications.
      Parameters:
      value - Value to set for the isDefaultEnvironment property.
    • setModifiedDateTime

      public void setModifiedDateTime(@Nullable OffsetDateTime value)
      Sets the modifiedDateTime property value. The date and time that this object was last modified. The DateTimeOffset 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.
    • setOriginId

      public void setOriginId(@Nullable String value)
      Sets the originId property value. The unique identifier of this environment in the origin system.
      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, that is, SharePointOnline. Requires $filter (eq).
      Parameters:
      value - Value to set for the originSystem property.
    • setResources

      public void setResources(@Nullable List<AccessPackageResource> value)
      Sets the resources property value. Read-only. Required.
      Parameters:
      value - Value to set for the resources property.