//------------------------------------------------------------------------------
//
// 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.Collections.Generic;
public class GetAllLibrariesDirectory
{
///
/// Indicates whether syncing is allowed.
///
[JsonProperty("allowSync")]
public bool AllowSync { get; set; } = default!;
///
/// URL for the background artwork of the media container.
///
[JsonProperty("art")]
public string Art { get; set; } = default!;
///
/// The relative path to the composite media item.
///
[JsonProperty("composite")]
public string Composite { get; set; } = default!;
///
/// UNKNOWN
///
[JsonProperty("filters")]
public bool Filters { get; set; } = default!;
///
/// Indicates whether the library is currently being refreshed or updated
///
[JsonProperty("refreshing")]
public bool Refreshing { get; set; } = default!;
///
/// URL for the thumbnail image of the media container.
///
[JsonProperty("thumb")]
public string Thumb { get; set; } = default!;
///
/// The library key representing the unique identifier
///
[JsonProperty("key")]
public string Key { get; set; } = default!;
[JsonProperty("type")]
public GetAllLibrariesType Type { get; set; } = default!;
///
/// The title of the library
///
[JsonProperty("title")]
public string Title { get; set; } = default!;
///
/// The Plex agent used to match and retrieve media metadata.
///
[JsonProperty("agent")]
public string Agent { get; set; } = default!;
///
/// UNKNOWN
///
[JsonProperty("scanner")]
public string Scanner { get; set; } = default!;
///
/// The Plex library language that has been set
///
[JsonProperty("language")]
public string Language { get; set; } = default!;
///
/// The universally unique identifier for the library.
///
[JsonProperty("uuid")]
public string Uuid { get; set; } = default!;
///
/// Unix epoch datetime in seconds
///
[JsonProperty("updatedAt")]
public long UpdatedAt { get; set; } = default!;
[JsonProperty("createdAt")]
public long? CreatedAt { get; set; }
///
/// Unix epoch datetime in seconds
///
[JsonProperty("scannedAt")]
public long ScannedAt { get; set; } = default!;
///
/// UNKNOWN
///
[JsonProperty("content")]
public bool Content { get; set; } = default!;
///
/// UNKNOWN
///
[JsonProperty("directory")]
public bool Directory { get; set; } = default!;
///
/// Timestamp (in seconds) representing the last time the content was modified.
///
///
/// NOTE: Some Plex server have some absurd values for this field, like 8457612157633039800 so it should be int64
///
///
///
[JsonProperty("contentChangedAt")]
public long ContentChangedAt { get; set; } = default!;
///
/// The Plex library visibility setting
///
[JsonProperty("hidden")]
public Hidden? Hidden { get; set; } = LukeHagar.PlexAPI.SDK.Models.Requests.Hidden.Visible;
[JsonProperty("Location")]
public List Location { get; set; } = default!;
}
}