mirror of
https://github.com/LukeHagar/plexjs.git
synced 2025-12-06 04:20:46 +00:00
5.8 KiB
5.8 KiB
GetTokenDetailsSubscription
Example Usage
import { GetTokenDetailsAuthenticationResponseStatus, GetTokenDetailsSubscription } from "@lukehagar/plexjs/sdk/models/operations";
let value: GetTokenDetailsSubscription = {
active: true,
subscribedAt: "2021-04-12T18:21:12Z",
status: GetTokenDetailsAuthenticationResponseStatus.Inactive,
};
Fields
| Field | Type | Required | Description | Example |
|---|---|---|---|---|
features |
string[] | ➖ | List of features allowed on your Plex Pass subscription | |
active |
boolean | ➖ | If the account's Plex Pass subscription is active | true |
subscribedAt |
string | ➖ | Date the account subscribed to Plex Pass | 2021-04-12T18:21:12Z |
status |
operations.GetTokenDetailsAuthenticationResponseStatus | ➖ | String representation of subscriptionActive | Inactive |
paymentService |
string | ➖ | Payment service used for your Plex Pass subscription | |
plan |
string | ➖ | Name of Plex Pass subscription plan |