docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class SubscriptionDTO

    Response for Subscription

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

    Constructors

    SubscriptionDTO(string, string, ContentDTO, DateTime, DateTime, DateTime?)

    Initializes a new instance of the SubscriptionDTO class.

    Declaration
    [Preserve]
    public SubscriptionDTO(string id = null, string playerId = null, ContentDTO content = null, DateTime createdAt = default, DateTime updatedAt = default, DateTime? deletedAt = null)
    Parameters
    Type Name Description
    string id

    Id of the subscription (required).

    string playerId

    Id of the player (required).

    ContentDTO content

    content.

    DateTime createdAt

    Date subscription was created.

    DateTime updatedAt

    Date subscription was last updated.

    DateTime? deletedAt

    Date subscription was soft deleted.

    Properties

    Content

    Gets or Sets Content

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

    CreatedAt

    Date subscription was created

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

    Date subscription was created

    DeletedAt

    Date subscription was soft deleted

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

    Date subscription was soft deleted

    Id

    Id of the subscription

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

    Id of the subscription

    PlayerId

    Id of the player

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

    Id of the player

    UpdatedAt

    Date subscription was last updated

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

    Date subscription was last updated

    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)