docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class ContentDTO

    Response for getting content info

    Inheritance
    object
    ContentDTO
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Unity.Services.Apis.UGC
    Assembly: solution.dll
    Syntax
    [Preserve]
    public class ContentDTO

    Constructors

    ContentDTO(string, string, string, string, ContentVisibility?, ModerationStatus?, string, DateTime, DateTime, DateTime?, string, string, string, string, string, string, string, string, string, List<TagDTO>, List<TagDTO>, float?, int?, int?, ContentStatistics, bool, ContentUploadStatus?, ContentUploadStatus?, string)

    Initializes a new instance of the ContentDTO class.

    Declaration
    [Preserve]
    public ContentDTO(string id = null, string name = null, string customId = null, string description = null, ContentVisibility? visibility = null, ModerationStatus? moderationStatus = null, string version = null, DateTime createdAt = default, DateTime updatedAt = default, DateTime? deletedAt = null, string projectId = null, string environmentId = null, string creatorAccountId = null, string thumbnailUrl = null, string downloadUrl = null, string portalUrl = null, string contentMd5Hash = null, string thumbnailMd5Hash = null, string metadata = null, List<TagDTO> tags = null, List<TagDTO> discoveryTags = null, float? averageRating = null, int? ratingCount = null, int? subscriptionCount = null, ContentStatistics statistics = null, bool isUserSubscribed = false, ContentUploadStatus? assetUploadStatus = null, ContentUploadStatus? thumbnailUploadStatus = null, string webhookEventName = null)
    Parameters
    Type Name Description
    string id

    Content item guid (required).

    string name

    Display name.

    string customId

    Client supplied id for content.

    string description

    Description.

    ContentVisibility? visibility

    visibility.

    ModerationStatus? moderationStatus

    moderationStatus.

    string version

    Current live version of content.

    DateTime createdAt

    Date content was created.

    DateTime updatedAt

    Date content was last updated.

    DateTime? deletedAt

    Date content was soft deleted.

    string projectId

    Owning project id (required).

    string environmentId

    Owning environment id (required).

    string creatorAccountId

    Account id that uploaded content (required).

    string thumbnailUrl

    Image url for thumbnail.

    string downloadUrl

    Download url for raw content.

    string portalUrl

    Content portal url.

    string contentMd5Hash

    Md5 hash of the content binary.

    string thumbnailMd5Hash

    Md5 hash of the content thumbnail.

    string metadata

    Content metadata.

    List<TagDTO> tags

    Tag Ids.

    List<TagDTO> discoveryTags

    Content Discovery Tags.

    float? averageRating

    Average user rating.

    int? ratingCount

    Number of user ratings.

    int? subscriptionCount

    Number of subscriptions.

    ContentStatistics statistics

    statistics.

    bool isUserSubscribed

    User is subscribed.

    ContentUploadStatus? assetUploadStatus

    assetUploadStatus.

    ContentUploadStatus? thumbnailUploadStatus

    thumbnailUploadStatus.

    string webhookEventName

    webhookEventName.

    Properties

    AssetUploadStatus

    Gets or Sets AssetUploadStatus

    Declaration
    [Preserve]
    public ContentUploadStatus? AssetUploadStatus { get; set; }
    Property Value
    Type Description
    ContentUploadStatus?

    AverageRating

    Average user rating

    Declaration
    [Preserve]
    public float? AverageRating { get; set; }
    Property Value
    Type Description
    float?

    Average user rating

    ContentMd5Hash

    Md5 hash of the content binary

    Declaration
    [Preserve]
    public string ContentMd5Hash { get; set; }
    Property Value
    Type Description
    string

    Md5 hash of the content binary

    CreatedAt

    Date content was created

    Declaration
    [Preserve]
    public DateTime CreatedAt { get; set; }
    Property Value
    Type Description
    DateTime

    Date content was created

    CreatorAccountId

    Account id that uploaded content

    Declaration
    [Preserve]
    public string CreatorAccountId { get; set; }
    Property Value
    Type Description
    string

    Account id that uploaded content

    CustomId

    Client supplied id for content

    Declaration
    [Preserve]
    public string CustomId { get; set; }
    Property Value
    Type Description
    string

    Client supplied id for content

    DeletedAt

    Date content was soft deleted

    Declaration
    [Preserve]
    public DateTime? DeletedAt { get; set; }
    Property Value
    Type Description
    DateTime?

    Date content was soft deleted

    Description

    Description

    Declaration
    [Preserve]
    public string Description { get; set; }
    Property Value
    Type Description
    string

    Description

    DiscoveryTags

    Content Discovery Tags

    Declaration
    [Preserve]
    public List<TagDTO> DiscoveryTags { get; set; }
    Property Value
    Type Description
    List<TagDTO>

    Content Discovery Tags

    DownloadUrl

    Download url for raw content

    Declaration
    [Preserve]
    public string DownloadUrl { get; set; }
    Property Value
    Type Description
    string

    Download url for raw content

    EnvironmentId

    Owning environment id

    Declaration
    [Preserve]
    public string EnvironmentId { get; set; }
    Property Value
    Type Description
    string

    Owning environment id

    Id

    Content item guid

    Declaration
    [Preserve]
    public string Id { get; set; }
    Property Value
    Type Description
    string

    Content item guid

    IsUserSubscribed

    User is subscribed

    Declaration
    [Preserve]
    public bool IsUserSubscribed { get; set; }
    Property Value
    Type Description
    bool

    User is subscribed

    Metadata

    Content metadata

    Declaration
    [Preserve]
    public string Metadata { get; set; }
    Property Value
    Type Description
    string

    Content metadata

    ModerationStatus

    Gets or Sets ModerationStatus

    Declaration
    [Preserve]
    public ModerationStatus? ModerationStatus { get; set; }
    Property Value
    Type Description
    ModerationStatus?

    Name

    Display name

    Declaration
    [Preserve]
    public string Name { get; set; }
    Property Value
    Type Description
    string

    Display name

    PortalUrl

    Content portal url

    Declaration
    [Preserve]
    public string PortalUrl { get; set; }
    Property Value
    Type Description
    string

    Content portal url

    ProjectId

    Owning project id

    Declaration
    [Preserve]
    public string ProjectId { get; set; }
    Property Value
    Type Description
    string

    Owning project id

    RatingCount

    Number of user ratings

    Declaration
    [Obsolete]
    [Preserve]
    public int? RatingCount { get; set; }
    Property Value
    Type Description
    int?

    Number of user ratings

    Statistics

    Gets or Sets Statistics

    Declaration
    [Preserve]
    public ContentStatistics Statistics { get; set; }
    Property Value
    Type Description
    ContentStatistics

    SubscriptionCount

    Number of subscriptions

    Declaration
    [Obsolete]
    [Preserve]
    public int? SubscriptionCount { get; set; }
    Property Value
    Type Description
    int?

    Number of subscriptions

    Tags

    Tag Ids

    Declaration
    [Preserve]
    public List<TagDTO> Tags { get; set; }
    Property Value
    Type Description
    List<TagDTO>

    Tag Ids

    ThumbnailMd5Hash

    Md5 hash of the content thumbnail

    Declaration
    [Preserve]
    public string ThumbnailMd5Hash { get; set; }
    Property Value
    Type Description
    string

    Md5 hash of the content thumbnail

    ThumbnailUploadStatus

    Gets or Sets ThumbnailUploadStatus

    Declaration
    [Preserve]
    public ContentUploadStatus? ThumbnailUploadStatus { get; set; }
    Property Value
    Type Description
    ContentUploadStatus?

    ThumbnailUrl

    Image url for thumbnail

    Declaration
    [Preserve]
    public string ThumbnailUrl { get; set; }
    Property Value
    Type Description
    string

    Image url for thumbnail

    UpdatedAt

    Date content was last updated

    Declaration
    [Preserve]
    public DateTime UpdatedAt { get; set; }
    Property Value
    Type Description
    DateTime

    Date content was last updated

    Visibility

    Gets or Sets Visibility

    Declaration
    [Preserve]
    public ContentVisibility? Visibility { get; set; }
    Property Value
    Type Description
    ContentVisibility?

    WebhookEventName

    Gets or Sets WebhookEventName

    Declaration
    [Preserve]
    public string WebhookEventName { get; set; }
    Property Value
    Type Description
    string

    _Version

    Current live version of content

    Declaration
    [Preserve]
    public string _Version { get; set; }
    Property Value
    Type Description
    string

    Current live version of content

    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)