mirror of
https://github.com/LukeHagar/plexjs.git
synced 2025-12-06 04:20:46 +00:00
2.4 KiB
2.4 KiB
GetUserFriendsResponse
Example Usage
import { GetUserFriendsResponse, Status } from "@lukehagar/plexjs/sdk/models/operations";
let value: GetUserFriendsResponse = {
contentType: "<value>",
statusCode: 100,
rawResponse: new Response("{\"message\": \"hello world\"}", {
headers: { "Content-Type": "application/json" },
}),
friends: [
{
email: "username@email.com",
friendlyName: "exampleUser",
home: true,
id: 0,
sharedServers: [],
sharedSources: [],
status: Status.Accepted,
thumb: "https://plex.tv/users/7d1916e0d8f6e76b/avatar?c=1694481578",
title: "username123",
username: "username123",
uuid: "7d1916e0d8f6e76b",
},
],
};
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 |
friends |
operations.Friend[] | ➖ | Friends Data |