//------------------------------------------------------------------------------
//
// 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 Connections
{
///
/// The protocol used for the connection (http, https, etc)
///
[JsonProperty("protocol")]
public Protocol Protocol { get; set; } = default!;
///
/// The (ip) address or domain name used for the connection
///
[JsonProperty("address")]
public string Address { get; set; } = default!;
///
/// The port used for the connection
///
[JsonProperty("port")]
public int Port { get; set; } = default!;
///
/// The full URI of the connection
///
[JsonProperty("uri")]
public string Uri { get; set; } = default!;
///
/// If the connection is local address
///
[JsonProperty("local")]
public bool Local { get; set; } = default!;
///
/// If the connection is relayed through plex.direct
///
[JsonProperty("relay")]
public bool Relay { get; set; } = default!;
///
/// If the connection is using IPv6
///
[JsonProperty("IPv6")]
public bool IPv6 { get; set; } = default!;
}
}