docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class EnvironmentResponse

    EnvironmentResponse

    Inheritance
    object
    EnvironmentResponse
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    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 EnvironmentResponse class.

    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.

    DateTime createdAt

    UTC date and time describing when the entity was created.

    DateTime updatedAt

    UTC date and time describing when the entity was last updated.

    DateTime? 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
    DateTime?

    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
    DateTime

    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
    DateTime

    UTC date and time describing when the entity was last updated

    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)