ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.401.2

This commit is contained in:
speakeasybot
2024-09-21 00:21:00 +00:00
parent 3b6806d2db
commit 4b10ba72ca
123 changed files with 1656 additions and 2081 deletions

View File

@@ -9,30 +9,52 @@
#nullable enable
namespace LukeHagar.PlexAPI.SDK.Models.Requests
{
using LukeHagar.PlexAPI.SDK.Models.Requests;
using LukeHagar.PlexAPI.SDK.Utils;
using Newtonsoft.Json;
public class Connections
{
/// <summary>
/// The protocol used for the connection (http, https, etc)
/// </summary>
[JsonProperty("protocol")]
public string Protocol { get; set; } = default!;
public Protocol Protocol { get; set; } = default!;
/// <summary>
/// The (ip) address or domain name used for the connection
/// </summary>
[JsonProperty("address")]
public string Address { get; set; } = default!;
/// <summary>
/// The port used for the connection
/// </summary>
[JsonProperty("port")]
public double Port { get; set; } = default!;
public int Port { get; set; } = default!;
/// <summary>
/// The full URI of the connection
/// </summary>
[JsonProperty("uri")]
public string Uri { get; set; } = default!;
/// <summary>
/// If the connection is local address
/// </summary>
[JsonProperty("local")]
public bool Local { get; set; } = default!;
/// <summary>
/// If the connection is relayed through plex.direct
/// </summary>
[JsonProperty("relay")]
public bool Relay { get; set; } = default!;
/// <summary>
/// If the connection is using IPv6
/// </summary>
[JsonProperty("IPv6")]
public bool IPv6 { get; set; } = default!;
}