docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class ContentUserRatingDTO

    Response for getting content user rating info

    Inheritance
    object
    ContentUserRatingDTO
    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 ContentUserRatingDTO

    Constructors

    ContentUserRatingDTO(string, string, string, DateTime, DateTime, float)

    Initializes a new instance of the ContentUserRatingDTO class.

    Declaration
    [Preserve]
    public ContentUserRatingDTO(string id = null, string userId = null, string contentId = null, DateTime createdAt = default, DateTime updatedAt = default, float rating = 0)
    Parameters
    Type Name Description
    string id

    Id of content rating (required).

    string userId

    Id of user providing rating (required).

    string contentId

    Content the rating applies to (required).

    DateTime createdAt

    Date rating was first created.

    DateTime updatedAt

    Date rating was updated.

    float rating

    User rating.

    Properties

    ContentId

    Content the rating applies to

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

    Content the rating applies to

    CreatedAt

    Date rating was first created

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

    Date rating was first created

    Id

    Id of content rating

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

    Id of content rating

    Rating

    User rating

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

    User rating

    UpdatedAt

    Date rating was updated

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

    Date rating was updated

    UserId

    Id of user providing rating

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

    Id of user providing rating

    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)