mirror of
https://github.com/LukeHagar/plexjs.git
synced 2025-12-06 04:20:46 +00:00
3.6 KiB
3.6 KiB
GetServerPreferencesResponse
Example Usage
import { GetServerPreferencesResponse } from "@lukehagar/plexjs/sdk/models/operations";
let value: GetServerPreferencesResponse = {
contentType: "<value>",
statusCode: 592845,
rawResponse: new Response('{"message": "hello world"}', {
headers: { "Content-Type": "application/json" },
}),
object: {
mediaContainer: {
size: 161,
setting: [
{
id: "EnableDatabaseTrace",
label: "",
summary: "",
type: "bool",
default: false,
value: false,
hidden: true,
advanced: false,
group: "",
enumValues: "1:admin only|2:everyone",
},
],
},
},
};
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.GetServerPreferencesResponseBody | ➖ | Server Preferences |