ci: regenerated with OpenAPI Doc 0.0.3, Speakeasy CLI 1.166.0

This commit is contained in:
speakeasybot
2024-02-05 00:40:10 +00:00
parent 966fd34307
commit 22f8f60b6f
87 changed files with 1811 additions and 358 deletions

44
PlexAPI/Plex.cs Normal file
View File

@@ -0,0 +1,44 @@
//------------------------------------------------------------------------------
// <auto-generated>
// 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.
// </auto-generated>
//------------------------------------------------------------------------------
#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);
}
}
}