Class GetContentTrendsArgs
Support class to make a content request with IUgcService.GetContentTrendsAsync Contains all the required and optional parameters of the request
Inherited Members
Namespace: Unity.Services.Ugc.Bridge
Assembly: Unity.Services.Ugc.Bridge.Editor.dll
Syntax
public class GetContentTrendsArgs
Constructors
GetContentTrendsArgs(ContentTrendType)
Construct a new GetContentTrendsArgs object.
Declaration
public GetContentTrendsArgs(ContentTrendType trendType)
Parameters
Type | Name | Description |
---|---|---|
ContentTrendType | trendType | Trend type used to retrieve content of this trend |
Properties
IncludeTotal
Optional flag to includes the total in the search result
Declaration
public bool IncludeTotal { get; set; }
Property Value
Type | Description |
---|---|
bool |
IsSortByDescending
Optional sorting order of the results. Defaults is true.
Declaration
public bool IsSortByDescending { get; set; }
Property Value
Type | Description |
---|---|
bool |
Limit
Optional maximum number of results that will be retrieved
Declaration
public int Limit { get; set; }
Property Value
Type | Description |
---|---|
int |
Offset
Optional results offset used for pagination
Declaration
public int Offset { get; set; }
Property Value
Type | Description |
---|---|
int |
TrendType
Trend type used to retrieve content of this trend
Declaration
public ContentTrendType TrendType { get; set; }
Property Value
Type | Description |
---|---|
ContentTrendType |