Class GetScriptResponseVersionsInner
GetScriptResponseVersionsInner
Inherited Members
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 Get
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). |
Date |
dateUpdated | RFC3339 date representation (required). |
Date |
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 |
---|---|
Date |
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 |
---|---|
Date |
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 |