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 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 |