Class SubscriptionDTO
Response for Subscription
Inherited Members
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 Subscription
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). |
Content |
content | content. |
Date |
createdAt | Date subscription was created. |
Date |
updatedAt | Date subscription was last updated. |
Date |
deletedAt | Date subscription was soft deleted. |
Properties
Content
Gets or Sets Content
Declaration
[Preserve]
public ContentDTO Content { get; set; }
Property Value
Type | Description |
---|---|
Content |
CreatedAt
Date subscription was created
Declaration
[Preserve]
public DateTime CreatedAt { get; set; }
Property Value
Type | Description |
---|---|
Date |
Date subscription was created |
DeletedAt
Date subscription was soft deleted
Declaration
[Preserve]
public DateTime? DeletedAt { get; set; }
Property Value
Type | Description |
---|---|
Date |
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 |
---|---|
Date |
Date subscription was last updated |