mirror of
https://github.com/LukeHagar/plexjs.git
synced 2025-12-06 12:37:46 +00:00
26 lines
5.1 KiB
Markdown
26 lines
5.1 KiB
Markdown
# Subscription
|
||
|
||
If the account’s Plex Pass subscription is active
|
||
|
||
## Example Usage
|
||
|
||
```typescript
|
||
import { GetTokenDetailsAuthenticationStatus, Subscription } from "@lukehagar/plexjs/sdk/models/operations";
|
||
|
||
let value: Subscription = {
|
||
active: true,
|
||
subscribedAt: "2021-04-12T18:21:12Z",
|
||
status: GetTokenDetailsAuthenticationStatus.Inactive,
|
||
};
|
||
```
|
||
|
||
## Fields
|
||
|
||
| Field | Type | Required | Description | Example |
|
||
| ----------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- |
|
||
| `features` | *string*[] | :heavy_minus_sign: | List of features allowed on your Plex Pass subscription | |
|
||
| `active` | *boolean* | :heavy_minus_sign: | If the account's Plex Pass subscription is active | true |
|
||
| `subscribedAt` | *string* | :heavy_minus_sign: | Date the account subscribed to Plex Pass | 2021-04-12T18:21:12Z |
|
||
| `status` | [operations.GetTokenDetailsAuthenticationStatus](../../../sdk/models/operations/gettokendetailsauthenticationstatus.md) | :heavy_minus_sign: | String representation of subscriptionActive | Inactive |
|
||
| `paymentService` | *string* | :heavy_minus_sign: | Payment service used for your Plex Pass subscription | |
|
||
| `plan` | *string* | :heavy_minus_sign: | Name of Plex Pass subscription plan | | |