//------------------------------------------------------------------------------ // // This code was generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. // // Changes to this file may cause incorrect behavior and will be lost when // the code is regenerated. // //------------------------------------------------------------------------------ #nullable enable namespace PlexAPI { using PlexAPI.Utils; using System; public interface IPlex { public ITv Tv { get; } } public class Plex: IPlex { public SDKConfig SDKConfiguration { get; private set; } private const string _language = "csharp"; private const string _sdkVersion = "0.2.0"; private const string _sdkGenVersion = "2.248.6"; private const string _openapiDocVersion = "0.0.3"; private const string _userAgent = "speakeasy-sdk/csharp 0.2.0 2.248.6 0.0.3 Plex-API"; private string _serverUrl = ""; private ISpeakeasyHttpClient _defaultClient; private ISpeakeasyHttpClient _securityClient; public ITv Tv { get; private set; } public Plex(ISpeakeasyHttpClient defaultClient, ISpeakeasyHttpClient securityClient, string serverUrl, SDKConfig config) { _defaultClient = defaultClient; _securityClient = securityClient; _serverUrl = serverUrl; SDKConfiguration = config; Tv = new Tv(_defaultClient, _securityClient, _serverUrl, SDKConfiguration); } } }