Class EnvironmentDTO
EnvironmentDTO
Inherited Members
Namespace: Unity.Services.Apis.UGC
Assembly: solution.dll
Syntax
[Preserve]
public class EnvironmentDTO
Constructors
EnvironmentDTO(string, string, string, bool, DateTime, DateTime, DateTime?, DateTime?, EnvironmentStatisticsDTO)
Initializes a new instance of the EnvironmentDTO class.
Declaration
[Preserve]
public EnvironmentDTO(string id = null, string name = null, string projectId = null, bool isDefault = false, DateTime createdAt = default, DateTime updatedAt = default, DateTime? archivedAt = null, DateTime? deletedAt = null, EnvironmentStatisticsDTO statistics = null)
Parameters
Type | Name | Description |
---|---|---|
string | id | Environment id (required). |
string | name | Environment name. |
string | projectId | Project id (required). |
bool | isDefault | Is the default environment for this project. |
DateTime | createdAt | The date the environment was created upstream. |
DateTime | updatedAt | The date the environment was last updated upstream. |
DateTime? | archivedAt | The date the environment was archived upstream. |
DateTime? | deletedAt | The date the environment was soft deleted upstream. |
EnvironmentStatisticsDTO | statistics | statistics. |
Properties
ArchivedAt
The date the environment was archived upstream
Declaration
[Preserve]
public DateTime? ArchivedAt { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | The date the environment was archived upstream |
CreatedAt
The date the environment was created upstream
Declaration
[Preserve]
public DateTime CreatedAt { get; set; }
Property Value
Type | Description |
---|---|
DateTime | The date the environment was created upstream |
DeletedAt
The date the environment was soft deleted upstream
Declaration
[Preserve]
public DateTime? DeletedAt { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | The date the environment was soft deleted upstream |
Id
Environment id
Declaration
[Preserve]
public string Id { get; set; }
Property Value
Type | Description |
---|---|
string | Environment id |
IsDefault
Is the default environment for this project
Declaration
[Preserve]
public bool IsDefault { get; set; }
Property Value
Type | Description |
---|---|
bool | Is the default environment for this project |
Name
Environment name
Declaration
[Preserve]
public string Name { get; set; }
Property Value
Type | Description |
---|---|
string | Environment name |
ProjectId
Project id
Declaration
[Preserve]
public string ProjectId { get; set; }
Property Value
Type | Description |
---|---|
string | Project id |
Statistics
Gets or Sets Statistics
Declaration
[Preserve]
public EnvironmentStatisticsDTO Statistics { get; set; }
Property Value
Type | Description |
---|---|
EnvironmentStatisticsDTO |
UpdatedAt
The date the environment was last updated upstream
Declaration
[Preserve]
public DateTime UpdatedAt { get; set; }
Property Value
Type | Description |
---|---|
DateTime | The date the environment was last updated upstream |