//------------------------------------------------------------------------------
//
// 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;
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
public class Friend
{
///
/// The account email address
///
[JsonProperty("email")]
public string Email { get; set; } = default!;
///
/// The account full name
///
[JsonProperty("friendlyName", NullValueHandling = NullValueHandling.Include)]
public string? FriendlyName { get; set; }
///
/// If the account is a Plex Home user
///
[JsonProperty("home")]
public bool Home { get; set; } = default!;
///
/// The Plex account ID
///
[JsonProperty("id")]
public int Id { get; set; } = default!;
///
/// If the account is a Plex Home managed user
///
[JsonProperty("restricted")]
public bool? Restricted { get; set; } = false;
[JsonProperty("sharedServers")]
public List SharedServers { get; set; } = default!;
[JsonProperty("sharedSources")]
public List SharedSources { get; set; } = default!;
///
/// Current friend request status
///
[JsonProperty("status")]
public Status Status { get; set; } = default!;
///
/// URL of the account thumbnail
///
[JsonProperty("thumb")]
public string Thumb { get; set; } = default!;
///
/// The title of the account (username or friendly name)
///
[JsonProperty("title")]
public string Title { get; set; } = default!;
///
/// The account username
///
[JsonProperty("username")]
public string Username { get; set; } = default!;
///
/// The account Universally Unique Identifier (UUID)
///
[JsonProperty("uuid")]
public string Uuid { get; set; } = default!;
}
}