Class PublishScriptResponse
PublishScriptResponse
Inherited Members
Namespace: Unity.Services.Apis.Admin.CloudCode
Assembly: Unity.Services.Apis.dll
Syntax
[DataContract(Name = "PublishScriptResponse")]
[Preserve]
public class PublishScriptResponse
Constructors
PublishScriptResponse(int, DateTime)
Initializes a new instance of the Publish
Declaration
[Preserve]
public PublishScriptResponse(int version = 0, DateTime datePublished = default)
Parameters
Type | Name | Description |
---|---|---|
int | version | The version number of the newly published script version (required). |
Date |
datePublished | RFC3339 date representation (required). |
Properties
DatePublished
RFC3339 date representation
Declaration
[DataMember(Name = "datePublished", IsRequired = true, EmitDefaultValue = true)]
[Preserve]
public DateTime DatePublished { get; set; }
Property Value
Type | Description |
---|---|
Date |
RFC3339 date representation |
_Version
The version number of the newly published script version
Declaration
[DataMember(Name = "version", IsRequired = true, EmitDefaultValue = true)]
[Preserve]
public int _Version { get; set; }
Property Value
Type | Description |
---|---|
int | The version number of the newly published script version |