Class EnvironmentResponse
EnvironmentResponse
Inherited Members
Namespace: Unity.Services.Apis.Admin.Environment
Assembly: Unity.Services.Apis.dll
Syntax
[DataContract(Name = "EnvironmentResponse")]
[Preserve]
public class EnvironmentResponse
Constructors
EnvironmentResponse(string, string, string, bool, DateTime, DateTime, DateTime?)
Initializes a new instance of the Environment
Declaration
[Preserve]
public EnvironmentResponse(string id = null, string projectId = null, string name = null, bool isDefault = false, DateTime createdAt = default, DateTime updatedAt = default, DateTime? archivedAt = null)
Parameters
Type | Name | Description |
---|---|---|
string | id | ID of the environment. |
string | projectId | ID of the project. |
string | name | Name of the environment. |
bool | isDefault | Indicates if the environment is the default environment for the project. |
Date |
createdAt | UTC date and time describing when the entity was created. |
Date |
updatedAt | UTC date and time describing when the entity was last updated. |
Date |
archivedAt | UTC date and time describing when the entity was last archived (null if not archived). |
Properties
ArchivedAt
UTC date and time describing when the entity was last archived (null if not archived)
Declaration
[DataMember(Name = "archivedAt", EmitDefaultValue = true)]
[Preserve]
public DateTime? ArchivedAt { get; set; }
Property Value
Type | Description |
---|---|
Date |
UTC date and time describing when the entity was last archived (null if not archived) |
CreatedAt
UTC date and time describing when the entity was created
Declaration
[DataMember(Name = "createdAt", EmitDefaultValue = false)]
[Preserve]
public DateTime CreatedAt { get; set; }
Property Value
Type | Description |
---|---|
Date |
UTC date and time describing when the entity was created |
Id
ID of the environment
Declaration
[DataMember(Name = "id", EmitDefaultValue = false)]
[Preserve]
public string Id { get; set; }
Property Value
Type | Description |
---|---|
string | ID of the environment |
IsDefault
Indicates if the environment is the default environment for the project
Declaration
[DataMember(Name = "isDefault", EmitDefaultValue = true)]
[Preserve]
public bool IsDefault { get; set; }
Property Value
Type | Description |
---|---|
bool | Indicates if the environment is the default environment for the project |
Name
Name of the environment
Declaration
[DataMember(Name = "name", EmitDefaultValue = false)]
[Preserve]
public string Name { get; set; }
Property Value
Type | Description |
---|---|
string | Name of the environment |
ProjectId
ID of the project
Declaration
[DataMember(Name = "projectId", EmitDefaultValue = false)]
[Preserve]
public string ProjectId { get; set; }
Property Value
Type | Description |
---|---|
string | ID of the project |
UpdatedAt
UTC date and time describing when the entity was last updated
Declaration
[DataMember(Name = "updatedAt", EmitDefaultValue = false)]
[Preserve]
public DateTime UpdatedAt { get; set; }
Property Value
Type | Description |
---|---|
Date |
UTC date and time describing when the entity was last updated |