docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class Config

    A config object

    Inheritance
    object
    Config
    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.RemoteConfig
    Assembly: Unity.Services.Apis.dll
    Syntax
    [DataContract(Name = "Config")]
    [Preserve]
    public class Config

    Constructors

    Config(string, string, string, TypeEnum, List<Setting>, DateTime, DateTime)

    Initializes a new instance of the Config class.

    Declaration
    [Preserve]
    public Config(string id = null, string projectId = null, string environmentId = null, Config.TypeEnum type = (Config.TypeEnum)0, List<Setting> value = null, DateTime createdAt = default, DateTime updatedAt = default)
    Parameters
    Type Name Description
    string id

    id.

    string projectId

    projectId.

    string environmentId

    environmentId (required).

    Config.TypeEnum type

    We currently only support one config type. (required).

    List<Setting> value

    Array of Setting objects that represent the default values in your game. (required).

    DateTime createdAt

    createdAt.

    DateTime updatedAt

    updatedAt.

    Properties

    CreatedAt

    Gets or Sets CreatedAt

    Declaration
    [DataMember(Name = "createdAt", EmitDefaultValue = false)]
    [Preserve]
    public DateTime CreatedAt { get; set; }
    Property Value
    Type Description
    DateTime

    EnvironmentId

    Gets or Sets EnvironmentId

    Declaration
    [DataMember(Name = "environmentId", IsRequired = true, EmitDefaultValue = true)]
    [Preserve]
    public string EnvironmentId { get; set; }
    Property Value
    Type Description
    string

    Id

    Gets or Sets Id

    Declaration
    [DataMember(Name = "id", EmitDefaultValue = false)]
    [Preserve]
    public string Id { get; set; }
    Property Value
    Type Description
    string

    ProjectId

    Gets or Sets ProjectId

    Declaration
    [DataMember(Name = "projectId", EmitDefaultValue = false)]
    [Preserve]
    public string ProjectId { get; set; }
    Property Value
    Type Description
    string

    Type

    We currently only support one config type.

    Declaration
    [DataMember(Name = "type", IsRequired = true, EmitDefaultValue = true)]
    [Preserve]
    public Config.TypeEnum Type { get; set; }
    Property Value
    Type Description
    Config.TypeEnum

    We currently only support one config type.

    UpdatedAt

    Gets or Sets UpdatedAt

    Declaration
    [DataMember(Name = "updatedAt", EmitDefaultValue = false)]
    [Preserve]
    public DateTime UpdatedAt { get; set; }
    Property Value
    Type Description
    DateTime

    Value

    Array of Setting objects that represent the default values in your game.

    Declaration
    [DataMember(Name = "value", IsRequired = true, EmitDefaultValue = true)]
    [Preserve]
    public List<Setting> Value { get; set; }
    Property Value
    Type Description
    List<Setting>

    Array of Setting objects that represent the default values in your game.

    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)