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

3.2 KiB
Raw Blame History

GetServerIdentityResponse

Example Usage

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

let value: GetServerIdentityResponse = {
    contentType: "<value>",
    statusCode: 602763,
    rawResponse: new Response('{"message": "hello world"}', {
        headers: { "Content-Type": "application/json" },
    }),
    object: {
        mediaContainer: {
            size: 0,
            machineIdentifier: "96f2fe7a78c9dc1f16a16bedbe90f98149be16b4",
            version: "1.31.3.6868-28fc46b27",
        },
    },
};

Fields

Field Type Required Description
contentType string ✔️ HTTP response content type for this operation
statusCode number ✔️ HTTP response status code for this operation
rawResponse Response ✔️ Raw HTTP response; suitable for custom response parsing
object operations.GetServerIdentityResponseBody The Server Identity information