docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class GetScriptResponseVersionsInner

    GetScriptResponseVersionsInner

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

    Constructors

    GetScriptResponseVersionsInner(string, int?, bool, DateTime, DateTime)

    Initializes a new instance of the GetScriptResponseVersionsInner class.

    Declaration
    [Preserve]
    public GetScriptResponseVersionsInner(string code = null, int? version = null, bool isDraft = false, DateTime dateUpdated = default, DateTime dateCreated = default)
    Parameters
    Type Name Description
    string code

    The script code to be executed (required).

    int? version

    The version number (required).

    bool isDraft

    A flag indicating if the version is a working copy (required).

    DateTime dateUpdated

    RFC3339 date representation (required).

    DateTime dateCreated

    DateCreated is required only if the version is not the current working copy..

    Properties

    Code

    The script code to be executed

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

    The script code to be executed

    DateCreated

    DateCreated is required only if the version is not the current working copy.

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

    DateCreated is required only if the version is not the current working copy.

    DateUpdated

    RFC3339 date representation

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

    RFC3339 date representation

    IsDraft

    A flag indicating if the version is a working copy

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

    A flag indicating if the version is a working copy

    _Version

    The version number

    Declaration
    [DataMember(Name = "version", IsRequired = true, EmitDefaultValue = true)]
    [Preserve]
    public int? _Version { get; set; }
    Property Value
    Type Description
    int?

    The version number

    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)