mirror of
https://github.com/LukeHagar/plexcsharp.git
synced 2025-12-06 20:47:49 +00:00
59 lines
2.2 KiB
C#
59 lines
2.2 KiB
C#
//------------------------------------------------------------------------------
|
|
// <auto-generated>
|
|
// 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.
|
|
// </auto-generated>
|
|
//------------------------------------------------------------------------------
|
|
#nullable enable
|
|
namespace PlexAPI.Models.Requests
|
|
{
|
|
using PlexAPI.Models.Requests;
|
|
using PlexAPI.Utils;
|
|
|
|
public class GetServerResourcesRequest
|
|
{
|
|
|
|
/// <summary>
|
|
/// Plex Authentication Token
|
|
/// </summary>
|
|
[SpeakeasyMetadata("queryParam:style=form,explode=true,name=X-Plex-Token")]
|
|
public string XPlexToken { get; set; } = default!;
|
|
|
|
/// <summary>
|
|
/// The unique identifier for the client application<br/>
|
|
///
|
|
/// <remarks>
|
|
/// This is used to track the client application and its usage<br/>
|
|
/// (UUID, serial number, or other number unique per device)<br/>
|
|
///
|
|
/// </remarks>
|
|
/// </summary>
|
|
[SpeakeasyMetadata("queryParam:style=form,explode=true,name=X-Plex-Client-Identifier")]
|
|
public string? XPlexClientIdentifier { get; set; }
|
|
|
|
/// <summary>
|
|
/// Include Https entries in the results
|
|
/// </summary>
|
|
[SpeakeasyMetadata("queryParam:style=form,explode=true,name=includeHttps")]
|
|
public IncludeHttps? IncludeHttps { get; set; } = PlexAPI.Models.Requests.IncludeHttps.Zero;
|
|
|
|
/// <summary>
|
|
/// Include Relay addresses in the results <br/>
|
|
///
|
|
/// <remarks>
|
|
/// E.g: https://10-0-0-25.bbf8e10c7fa20447cacee74cd9914cde.plex.direct:32400<br/>
|
|
///
|
|
/// </remarks>
|
|
/// </summary>
|
|
[SpeakeasyMetadata("queryParam:style=form,explode=true,name=includeRelay")]
|
|
public IncludeRelay? IncludeRelay { get; set; } = PlexAPI.Models.Requests.IncludeRelay.Zero;
|
|
|
|
/// <summary>
|
|
/// Include IPv6 entries in the results
|
|
/// </summary>
|
|
[SpeakeasyMetadata("queryParam:style=form,explode=true,name=includeIPv6")]
|
|
public IncludeIPv6? IncludeIPv6 { get; set; } = PlexAPI.Models.Requests.IncludeIPv6.Zero;
|
|
}
|
|
} |