Files
plexjs/docs/sdk/models/operations/plexdevice.md
2024-09-08 03:06:14 +00:00

11 KiB

PlexDevice

Example Usage

import { PlexDevice } from "@lukehagar/plexjs/sdk/models/operations";

let value: PlexDevice = {
    name: "<value>",
    product: "Oriental Metal Computer",
    productVersion: "<value>",
    platform: "<value>",
    platformVersion: "<value>",
    device: "<value>",
    clientIdentifier: "<value>",
    createdAt: new Date("2024-02-29T19:31:16.563Z"),
    lastSeenAt: new Date("2023-12-03T08:28:56.752Z"),
    provides: "<value>",
    ownerId: 582020,
    sourceTitle: "<value>",
    publicAddress: "<value>",
    accessToken: "<value>",
    owned: false,
    home: false,
    synced: false,
    relay: false,
    presence: false,
    httpsRequired: false,
    publicAddressMatches: false,
    dnsRebindingProtection: false,
    natLoopbackSupported: false,
    connections: [
        {
            protocol: "<value>",
            address: "59751 Jaren Ford",
            port: 1863.32,
            uri: "https://several-increase.biz",
            local: false,
            relay: false,
            iPv6: false,
        },
    ],
};

Fields

Field Type Required Description
name string ✔️ N/A
product string ✔️ N/A
productVersion string ✔️ N/A
platform string ✔️ N/A
platformVersion string ✔️ N/A
device string ✔️ N/A
clientIdentifier string ✔️ N/A
createdAt Date ✔️ N/A
lastSeenAt Date ✔️ N/A
provides string ✔️ N/A
ownerId number ✔️ ownerId is null when the device is owned by the token used to send the request
sourceTitle string ✔️ N/A
publicAddress string ✔️ N/A
accessToken string ✔️ N/A
owned boolean ✔️ N/A
home boolean ✔️ N/A
synced boolean ✔️ N/A
relay boolean ✔️ N/A
presence boolean ✔️ N/A
httpsRequired boolean ✔️ N/A
publicAddressMatches boolean ✔️ N/A
dnsRebindingProtection boolean ✔️ N/A
natLoopbackSupported boolean ✔️ N/A
connections operations.Connections[] ✔️ N/A