Class UpdateScriptRequest
UpdateScriptRequest
Inherited Members
Namespace: Unity.Services.Apis.Admin.CloudCode
Assembly: Unity.Services.Apis.dll
Syntax
[DataContract(Name = "UpdateScriptRequest")]
[Preserve]
public class UpdateScriptRequest
Constructors
UpdateScriptRequest(List<ScriptParameter>, string)
Initializes a new instance of the Update
Declaration
[Preserve]
public UpdateScriptRequest(List<ScriptParameter> _params = null, string code = null)
Parameters
Type | Name | Description |
---|---|---|
List<Script |
_params | The list of parameters which can be defined for a script.. |
string | code | The script code to be executed. |
Properties
Code
The script code to be executed
Declaration
[DataMember(Name = "code", EmitDefaultValue = false)]
[Preserve]
public string Code { get; set; }
Property Value
Type | Description |
---|---|
string | The script code to be executed |
Params
The list of parameters which can be defined for a script.
Declaration
[DataMember(Name = "params", EmitDefaultValue = false)]
[Preserve]
public List<ScriptParameter> Params { get; set; }
Property Value
Type | Description |
---|---|
List<Script |
The list of parameters which can be defined for a script. |