//------------------------------------------------------------------------------
//
// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
//
// Changes to this file may cause incorrect behavior and will be lost when
// the code is regenerated.
//
//------------------------------------------------------------------------------
#nullable enable
namespace LukeHagar.PlexAPI.SDK.Models.Requests
{
using LukeHagar.PlexAPI.SDK.Models.Requests;
using LukeHagar.PlexAPI.SDK.Utils;
using Newtonsoft.Json;
public class Server
{
///
/// Unique ID of the server of the connected user
///
[JsonProperty("id")]
public long Id { get; set; } = default!;
///
/// ID of the actual Plex server.
///
[JsonProperty("serverId")]
public long ServerId { get; set; } = default!;
///
/// Machine identifier of the Plex server.
///
[JsonProperty("machineIdentifier")]
public string MachineIdentifier { get; set; } = default!;
///
/// Name of the Plex server of the connected user.
///
[JsonProperty("name")]
public string Name { get; set; } = default!;
///
/// Unix epoch datetime in seconds
///
[JsonProperty("lastSeenAt")]
public long LastSeenAt { get; set; } = default!;
///
/// Number of libraries in the server this user has access to.
///
[JsonProperty("numLibraries")]
public long NumLibraries { get; set; } = default!;
[JsonProperty("allLibraries")]
public AllLibraries? AllLibraries { get; set; } = LukeHagar.PlexAPI.SDK.Models.Requests.AllLibraries.Disable;
[JsonProperty("owned")]
public Owned? Owned { get; set; } = LukeHagar.PlexAPI.SDK.Models.Requests.Owned.Disable;
[JsonProperty("pending")]
public Pending? Pending { get; set; } = LukeHagar.PlexAPI.SDK.Models.Requests.Pending.Disable;
}
}