Class UploadContentResponse
New content creation response
Inherited Members
Namespace: Unity.Services.Apis.UGC
Assembly: solution.dll
Syntax
[Preserve]
public class UploadContentResponse
Constructors
UploadContentResponse(string, string, Dictionary<string, List<string>>, Dictionary<string, List<string>>, string, ContentDTO)
Initializes a new instance of the Upload
Declaration
[Preserve]
public UploadContentResponse(string uploadThumbnailUrl = null, string uploadContentUrl = null, Dictionary<string, List<string>> uploadContentHeaders = null, Dictionary<string, List<string>> uploadThumbnailHeaders = null, string version = null, ContentDTO content = null)
Parameters
Type | Name | Description |
---|---|---|
string | uploadThumbnailUrl | The URL in which to upload the content's thumbnail image. |
string | uploadContentUrl | The URL in which to upload the content. Once the Content is successfully uploaded, the Content will be created in UGC and the OptimisticContentDTO can be used safely.. |
Dictionary<string, List<string>> | uploadContentHeaders | The headers that were used when generating the Content signed url. Forward these when uploading to the UploadContentUrl. |
Dictionary<string, List<string>> | uploadThumbnailHeaders | The headers that were used when generating the Thumbnail signed url. Forward these when uploading to the UploadThumbnailUrl. |
string | version | version. |
Content |
content | content. |
Properties
Content
Gets or Sets Content
Declaration
[Preserve]
public ContentDTO Content { get; set; }
Property Value
Type | Description |
---|---|
Content |
UploadContentHeaders
The headers that were used when generating the Content signed url. Forward these when uploading to the UploadContentUrl
Declaration
[Preserve]
public Dictionary<string, List<string>> UploadContentHeaders { get; set; }
Property Value
Type | Description |
---|---|
Dictionary<string, List<string>> | The headers that were used when generating the Content signed url. Forward these when uploading to the UploadContentUrl |
UploadContentUrl
The URL in which to upload the content. Once the Content is successfully uploaded, the Content will be created in UGC and the OptimisticContentDTO can be used safely.
Declaration
[Preserve]
public string UploadContentUrl { get; set; }
Property Value
Type | Description |
---|---|
string | The URL in which to upload the content. Once the Content is successfully uploaded, the Content will be created in UGC and the OptimisticContentDTO can be used safely. |
UploadThumbnailHeaders
The headers that were used when generating the Thumbnail signed url. Forward these when uploading to the UploadThumbnailUrl
Declaration
[Preserve]
public Dictionary<string, List<string>> UploadThumbnailHeaders { get; set; }
Property Value
Type | Description |
---|---|
Dictionary<string, List<string>> | The headers that were used when generating the Thumbnail signed url. Forward these when uploading to the UploadThumbnailUrl |
UploadThumbnailUrl
The URL in which to upload the content's thumbnail image
Declaration
[Preserve]
public string UploadThumbnailUrl { get; set; }
Property Value
Type | Description |
---|---|
string | The URL in which to upload the content's thumbnail image |
_Version
Gets or Sets _Version
Declaration
[Preserve]
public string _Version { get; set; }
Property Value
Type | Description |
---|---|
string |