Package com.microsoft.graph.models
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
-
Field Summary
Fields inherited from class com.microsoft.graph.models.Entity
backingStore
-
Constructor Summary
ConstructorsConstructorDescriptionInstantiates a newAccessPackageResourceEnvironment
and sets the default values. -
Method Summary
Modifier and TypeMethodDescriptioncreateFromDiscriminatorValue
(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueGets the connectionInfo 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 isDefaultEnvironment property value.Gets the modifiedDateTime property value.Gets the originId property value.Gets the originSystem property value.Gets the resources property value.void
serialize
(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoid
setConnectionInfo
(ConnectionInfo value) Sets the connectionInfo 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
setIsDefaultEnvironment
(Boolean value) Sets the isDefaultEnvironment 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
setResources
(List<AccessPackageResource> value) Sets the resources property value.Methods inherited from class com.microsoft.graph.models.Entity
getAdditionalData, getBackingStore, getId, getOdataType, setAdditionalData, setBackingStore, setId, setOdataType
-
Constructor Details
-
AccessPackageResourceEnvironment
public AccessPackageResourceEnvironment()Instantiates a newAccessPackageResourceEnvironment
and sets the default values.
-
-
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
Gets the connectionInfo property value. Connection information of an environment used to connect to a resource.- Returns:
- a
ConnectionInfo
-
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
Gets the description property value. The description of this object.- Returns:
- a
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 interfacecom.microsoft.kiota.serialization.Parsable
- Overrides:
getFieldDeserializers
in classEntity
- Returns:
- a
Map<String,
Consumer<com.microsoft.kiota.serialization.ParseNode>>
-
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
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
Gets the originId property value. The unique identifier of this environment in the origin system.- Returns:
- a
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
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 -
setConnectionInfo
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
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
Sets the description property value. The description of this object.- Parameters:
value
- Value to set for the description property.
-
setDisplayName
Sets the displayName property value. The display name of this object.- Parameters:
value
- Value to set for the displayName property.
-
setIsDefaultEnvironment
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
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
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
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
Sets the resources property value. Read-only. Required.- Parameters:
value
- Value to set for the resources property.
-