Class UpdateContentRequest
Update the meta data about a content item
Inherited Members
Namespace: Unity.Services.Apis.UGC
Assembly: solution.dll
Syntax
[Preserve]
public class UpdateContentRequest
Constructors
UpdateContentRequest(string, string, string, ContentVisibility?, int, List<string>, string, string)
Initializes a new instance of the Update
Declaration
[Preserve]
public UpdateContentRequest(string name = null, string description = null, string customId = null, ContentVisibility? visibility = null, int contentTypeId = 0, List<string> tagsId = null, string version = null, string metadata = null)
Parameters
Type | Name | Description |
---|---|---|
string | name | New name or null to ignore (required). |
string | description | New description or null to ignore (required). |
string | customId | customId. |
Content |
visibility | visibility. |
int | contentTypeId | New Content Type id or zero to ignore. |
List<string> | tagsId | tagsId. |
string | version | Version id of content. |
string | metadata | metadata. |
Properties
ContentTypeId
New Content Type id or zero to ignore
Declaration
[Preserve]
public int ContentTypeId { get; set; }
Property Value
Type | Description |
---|---|
int | New Content Type id or zero to ignore |
CustomId
Gets or Sets CustomId
Declaration
[Preserve]
public string CustomId { get; set; }
Property Value
Type | Description |
---|---|
string |
Description
New description or null to ignore
Declaration
[Preserve]
public string Description { get; set; }
Property Value
Type | Description |
---|---|
string | New description or null to ignore |
Metadata
Gets or Sets Metadata
Declaration
[Preserve]
public string Metadata { get; set; }
Property Value
Type | Description |
---|---|
string |
Name
New name or null to ignore
Declaration
[Preserve]
public string Name { get; set; }
Property Value
Type | Description |
---|---|
string | New name or null to ignore |
TagsId
Gets or Sets TagsId
Declaration
[Preserve]
public List<string> TagsId { get; set; }
Property Value
Visibility
Gets or Sets Visibility
Declaration
[Preserve]
public ContentVisibility? Visibility { get; set; }
Property Value
Type | Description |
---|---|
Content |
_Version
Version id of content
Declaration
[Preserve]
public string _Version { get; set; }
Property Value
Type | Description |
---|---|
string | Version id of content |