ci: regenerated with OpenAPI Doc 0.0.3, Speakeasy CLI 1.133.1

This commit is contained in:
speakeasybot
2024-01-05 19:51:14 +00:00
parent 7d8ced583b
commit 15b375a6e1
38 changed files with 78 additions and 55 deletions

View File

@@ -1,12 +1,12 @@
lockVersion: 2.0.0 lockVersion: 2.0.0
id: 5a8dbcbc-e0ee-41f0-9d84-b8b50567d1e9 id: 5a8dbcbc-e0ee-41f0-9d84-b8b50567d1e9
management: management:
docChecksum: 550154cf1b4d0c237436fb18c418b5db docChecksum: 34d22936f2456c2c461abdfc773e3fc4
docVersion: 0.0.3 docVersion: 0.0.3
speakeasyVersion: internal speakeasyVersion: internal
generationVersion: 2.225.2 generationVersion: 2.228.1
releaseVersion: 0.1.0 releaseVersion: 0.1.1
configChecksum: 59b865f444f644ba0d2f3cdf0cf3458c configChecksum: 6b9442beea2ea4ba03da6cae25bbe997
repoURL: https://github.com/LukeHagar/plexcsharp.git repoURL: https://github.com/LukeHagar/plexcsharp.git
repoSubDirectory: . repoSubDirectory: .
published: true published: true

View File

@@ -70,10 +70,10 @@ namespace PlexAPI
{ {
public SDKConfig SDKConfiguration { get; private set; } public SDKConfig SDKConfiguration { get; private set; }
private const string _language = "csharp"; private const string _language = "csharp";
private const string _sdkVersion = "0.1.0"; private const string _sdkVersion = "0.1.1";
private const string _sdkGenVersion = "2.225.2"; private const string _sdkGenVersion = "2.228.1";
private const string _openapiDocVersion = "0.0.3"; private const string _openapiDocVersion = "0.0.3";
private const string _userAgent = "speakeasy-sdk/csharp 0.1.0 2.225.2 0.0.3 Plex-API"; private const string _userAgent = "speakeasy-sdk/csharp 0.1.1 2.228.1 0.0.3 Plex-API";
private string _serverUrl = ""; private string _serverUrl = "";
private ISpeakeasyHttpClient _defaultClient; private ISpeakeasyHttpClient _defaultClient;
private ISpeakeasyHttpClient _securityClient; private ISpeakeasyHttpClient _securityClient;

View File

@@ -97,10 +97,10 @@ namespace PlexAPI
{ {
public SDKConfig SDKConfiguration { get; private set; } public SDKConfig SDKConfiguration { get; private set; }
private const string _language = "csharp"; private const string _language = "csharp";
private const string _sdkVersion = "0.1.0"; private const string _sdkVersion = "0.1.1";
private const string _sdkGenVersion = "2.225.2"; private const string _sdkGenVersion = "2.228.1";
private const string _openapiDocVersion = "0.0.3"; private const string _openapiDocVersion = "0.0.3";
private const string _userAgent = "speakeasy-sdk/csharp 0.1.0 2.225.2 0.0.3 Plex-API"; private const string _userAgent = "speakeasy-sdk/csharp 0.1.1 2.228.1 0.0.3 Plex-API";
private string _serverUrl = ""; private string _serverUrl = "";
private ISpeakeasyHttpClient _defaultClient; private ISpeakeasyHttpClient _defaultClient;
private ISpeakeasyHttpClient _securityClient; private ISpeakeasyHttpClient _securityClient;

View File

@@ -59,10 +59,10 @@ namespace PlexAPI
{ {
public SDKConfig SDKConfiguration { get; private set; } public SDKConfig SDKConfiguration { get; private set; }
private const string _language = "csharp"; private const string _language = "csharp";
private const string _sdkVersion = "0.1.0"; private const string _sdkVersion = "0.1.1";
private const string _sdkGenVersion = "2.225.2"; private const string _sdkGenVersion = "2.228.1";
private const string _openapiDocVersion = "0.0.3"; private const string _openapiDocVersion = "0.0.3";
private const string _userAgent = "speakeasy-sdk/csharp 0.1.0 2.225.2 0.0.3 Plex-API"; private const string _userAgent = "speakeasy-sdk/csharp 0.1.1 2.228.1 0.0.3 Plex-API";
private string _serverUrl = ""; private string _serverUrl = "";
private ISpeakeasyHttpClient _defaultClient; private ISpeakeasyHttpClient _defaultClient;
private ISpeakeasyHttpClient _securityClient; private ISpeakeasyHttpClient _securityClient;

View File

@@ -181,10 +181,10 @@ namespace PlexAPI
{ {
public SDKConfig SDKConfiguration { get; private set; } public SDKConfig SDKConfiguration { get; private set; }
private const string _language = "csharp"; private const string _language = "csharp";
private const string _sdkVersion = "0.1.0"; private const string _sdkVersion = "0.1.1";
private const string _sdkGenVersion = "2.225.2"; private const string _sdkGenVersion = "2.228.1";
private const string _openapiDocVersion = "0.0.3"; private const string _openapiDocVersion = "0.0.3";
private const string _userAgent = "speakeasy-sdk/csharp 0.1.0 2.225.2 0.0.3 Plex-API"; private const string _userAgent = "speakeasy-sdk/csharp 0.1.1 2.228.1 0.0.3 Plex-API";
private string _serverUrl = ""; private string _serverUrl = "";
private ISpeakeasyHttpClient _defaultClient; private ISpeakeasyHttpClient _defaultClient;
private ISpeakeasyHttpClient _securityClient; private ISpeakeasyHttpClient _securityClient;

View File

@@ -70,10 +70,10 @@ namespace PlexAPI
{ {
public SDKConfig SDKConfiguration { get; private set; } public SDKConfig SDKConfiguration { get; private set; }
private const string _language = "csharp"; private const string _language = "csharp";
private const string _sdkVersion = "0.1.0"; private const string _sdkVersion = "0.1.1";
private const string _sdkGenVersion = "2.225.2"; private const string _sdkGenVersion = "2.228.1";
private const string _openapiDocVersion = "0.0.3"; private const string _openapiDocVersion = "0.0.3";
private const string _userAgent = "speakeasy-sdk/csharp 0.1.0 2.225.2 0.0.3 Plex-API"; private const string _userAgent = "speakeasy-sdk/csharp 0.1.1 2.228.1 0.0.3 Plex-API";
private string _serverUrl = ""; private string _serverUrl = "";
private ISpeakeasyHttpClient _defaultClient; private ISpeakeasyHttpClient _defaultClient;
private ISpeakeasyHttpClient _securityClient; private ISpeakeasyHttpClient _securityClient;

View File

@@ -68,10 +68,10 @@ namespace PlexAPI
{ {
public SDKConfig SDKConfiguration { get; private set; } public SDKConfig SDKConfiguration { get; private set; }
private const string _language = "csharp"; private const string _language = "csharp";
private const string _sdkVersion = "0.1.0"; private const string _sdkVersion = "0.1.1";
private const string _sdkGenVersion = "2.225.2"; private const string _sdkGenVersion = "2.228.1";
private const string _openapiDocVersion = "0.0.3"; private const string _openapiDocVersion = "0.0.3";
private const string _userAgent = "speakeasy-sdk/csharp 0.1.0 2.225.2 0.0.3 Plex-API"; private const string _userAgent = "speakeasy-sdk/csharp 0.1.1 2.228.1 0.0.3 Plex-API";
private string _serverUrl = ""; private string _serverUrl = "";
private ISpeakeasyHttpClient _defaultClient; private ISpeakeasyHttpClient _defaultClient;
private ISpeakeasyHttpClient _securityClient; private ISpeakeasyHttpClient _securityClient;

View File

@@ -19,4 +19,5 @@ namespace PlexAPI.Models.Requests
Zero = 0, Zero = 0,
One = 1, One = 1,
} }
} }

View File

@@ -24,4 +24,5 @@ namespace PlexAPI.Models.Requests
Zero = 0, Zero = 0,
One = 1, One = 1,
} }
} }

View File

@@ -24,4 +24,5 @@ namespace PlexAPI.Models.Requests
Zero = 0, Zero = 0,
One = 1, One = 1,
} }
} }

View File

@@ -31,4 +31,5 @@ namespace PlexAPI.Models.Requests
Three = 3, Three = 3,
Four = 4, Four = 4,
} }
} }

View File

@@ -19,4 +19,5 @@ namespace PlexAPI.Models.Requests
Zero = 0, Zero = 0,
One = 1, One = 1,
} }
} }

View File

@@ -19,4 +19,5 @@ namespace PlexAPI.Models.Requests
Zero = 0, Zero = 0,
One = 1, One = 1,
} }
} }

View File

@@ -80,4 +80,5 @@ namespace PlexAPI.Models.Requests
throw new Exception($"Unknown value {value} for enum PathParamTaskName"); throw new Exception($"Unknown value {value} for enum PathParamTaskName");
} }
} }
} }

View File

@@ -58,4 +58,5 @@ namespace PlexAPI.Models.Requests
throw new Exception($"Unknown value {value} for enum PlaylistType"); throw new Exception($"Unknown value {value} for enum PlaylistType");
} }
} }
} }

View File

@@ -19,4 +19,5 @@ namespace PlexAPI.Models.Requests
Zero = 0, Zero = 0,
One = 1, One = 1,
} }
} }

View File

@@ -19,4 +19,5 @@ namespace PlexAPI.Models.Requests
Zero = 0, Zero = 0,
One = 1, One = 1,
} }
} }

View File

@@ -54,4 +54,5 @@ namespace PlexAPI.Models.Requests
throw new Exception($"Unknown value {value} for enum QueryParamType"); throw new Exception($"Unknown value {value} for enum QueryParamType");
} }
} }
} }

View File

@@ -54,4 +54,5 @@ namespace PlexAPI.Models.Requests
throw new Exception($"Unknown value {value} for enum Scope"); throw new Exception($"Unknown value {value} for enum Scope");
} }
} }
} }

View File

@@ -19,4 +19,5 @@ namespace PlexAPI.Models.Requests
Zero = 0, Zero = 0,
One = 1, One = 1,
} }
} }

View File

@@ -19,4 +19,5 @@ namespace PlexAPI.Models.Requests
Zero = 0, Zero = 0,
One = 1, One = 1,
} }
} }

View File

@@ -58,4 +58,5 @@ namespace PlexAPI.Models.Requests
throw new Exception($"Unknown value {value} for enum State"); throw new Exception($"Unknown value {value} for enum State");
} }
} }
} }

View File

@@ -80,4 +80,5 @@ namespace PlexAPI.Models.Requests
throw new Exception($"Unknown value {value} for enum TaskName"); throw new Exception($"Unknown value {value} for enum TaskName");
} }
} }
} }

View File

@@ -19,4 +19,5 @@ namespace PlexAPI.Models.Requests
Zero = 0, Zero = 0,
One = 1, One = 1,
} }
} }

View File

@@ -58,4 +58,5 @@ namespace PlexAPI.Models.Requests
throw new Exception($"Unknown value {value} for enum Type"); throw new Exception($"Unknown value {value} for enum Type");
} }
} }
} }

View File

@@ -19,4 +19,5 @@ namespace PlexAPI.Models.Requests
Zero = 0, Zero = 0,
One = 1, One = 1,
} }
} }

View File

@@ -142,10 +142,10 @@ namespace PlexAPI
{ {
public SDKConfig SDKConfiguration { get; private set; } public SDKConfig SDKConfiguration { get; private set; }
private const string _language = "csharp"; private const string _language = "csharp";
private const string _sdkVersion = "0.1.0"; private const string _sdkVersion = "0.1.1";
private const string _sdkGenVersion = "2.225.2"; private const string _sdkGenVersion = "2.228.1";
private const string _openapiDocVersion = "0.0.3"; private const string _openapiDocVersion = "0.0.3";
private const string _userAgent = "speakeasy-sdk/csharp 0.1.0 2.225.2 0.0.3 Plex-API"; private const string _userAgent = "speakeasy-sdk/csharp 0.1.1 2.228.1 0.0.3 Plex-API";
private string _serverUrl = ""; private string _serverUrl = "";
private ISpeakeasyHttpClient _defaultClient; private ISpeakeasyHttpClient _defaultClient;
private ISpeakeasyHttpClient _securityClient; private ISpeakeasyHttpClient _securityClient;

View File

@@ -2,7 +2,7 @@
<PropertyGroup> <PropertyGroup>
<IsPackable>true</IsPackable> <IsPackable>true</IsPackable>
<PackageId>Plex-API</PackageId> <PackageId>Plex-API</PackageId>
<Version>0.1.0</Version> <Version>0.1.1</Version>
<Authors>LukeHagar</Authors> <Authors>LukeHagar</Authors>
<TargetFramework>net5.0</TargetFramework> <TargetFramework>net5.0</TargetFramework>
<Nullable>enable</Nullable> <Nullable>enable</Nullable>

View File

@@ -63,6 +63,7 @@ namespace PlexAPI
throw new Exception($"Unknown value {value} for enum ServerProtocol"); throw new Exception($"Unknown value {value} for enum ServerProtocol");
} }
} }
/// <summary> /// <summary>
/// Plex-API: A Plex Media Server API Map /// Plex-API: A Plex Media Server API Map
/// ///
@@ -205,7 +206,6 @@ namespace PlexAPI
{ {
public static string[] ServerList = new string[] public static string[] ServerList = new string[]
{ {
"http://10.10.10.47:32400",
"{protocol}://{ip}:{port}", "{protocol}://{ip}:{port}",
}; };
/// Contains the list of servers available to the SDK /// Contains the list of servers available to the SDK
@@ -235,10 +235,10 @@ namespace PlexAPI
public SDKConfig SDKConfiguration { get; private set; } public SDKConfig SDKConfiguration { get; private set; }
private const string _language = "csharp"; private const string _language = "csharp";
private const string _sdkVersion = "0.1.0"; private const string _sdkVersion = "0.1.1";
private const string _sdkGenVersion = "2.225.2"; private const string _sdkGenVersion = "2.228.1";
private const string _openapiDocVersion = "0.0.3"; private const string _openapiDocVersion = "0.0.3";
private const string _userAgent = "speakeasy-sdk/csharp 0.1.0 2.225.2 0.0.3 Plex-API"; private const string _userAgent = "speakeasy-sdk/csharp 0.1.1 2.228.1 0.0.3 Plex-API";
private string _serverUrl = ""; private string _serverUrl = "";
private ISpeakeasyHttpClient _defaultClient; private ISpeakeasyHttpClient _defaultClient;
private ISpeakeasyHttpClient _securityClient; private ISpeakeasyHttpClient _securityClient;
@@ -266,9 +266,6 @@ namespace PlexAPI
} }
List<Dictionary<string, string>> serverDefaults = new List<Dictionary<string, string>>() List<Dictionary<string, string>> serverDefaults = new List<Dictionary<string, string>>()
{ {
new Dictionary<string, string>()
{
},
new Dictionary<string, string>() new Dictionary<string, string>()
{ {
{"protocol", protocol == null ? "http" : ServerProtocolExtension.Value(protocol.Value)}, {"protocol", protocol == null ? "http" : ServerProtocolExtension.Value(protocol.Value)},

View File

@@ -83,10 +83,10 @@ namespace PlexAPI
{ {
public SDKConfig SDKConfiguration { get; private set; } public SDKConfig SDKConfiguration { get; private set; }
private const string _language = "csharp"; private const string _language = "csharp";
private const string _sdkVersion = "0.1.0"; private const string _sdkVersion = "0.1.1";
private const string _sdkGenVersion = "2.225.2"; private const string _sdkGenVersion = "2.228.1";
private const string _openapiDocVersion = "0.0.3"; private const string _openapiDocVersion = "0.0.3";
private const string _userAgent = "speakeasy-sdk/csharp 0.1.0 2.225.2 0.0.3 Plex-API"; private const string _userAgent = "speakeasy-sdk/csharp 0.1.1 2.228.1 0.0.3 Plex-API";
private string _serverUrl = ""; private string _serverUrl = "";
private ISpeakeasyHttpClient _defaultClient; private ISpeakeasyHttpClient _defaultClient;
private ISpeakeasyHttpClient _securityClient; private ISpeakeasyHttpClient _securityClient;

View File

@@ -61,10 +61,10 @@ namespace PlexAPI
{ {
public SDKConfig SDKConfiguration { get; private set; } public SDKConfig SDKConfiguration { get; private set; }
private const string _language = "csharp"; private const string _language = "csharp";
private const string _sdkVersion = "0.1.0"; private const string _sdkVersion = "0.1.1";
private const string _sdkGenVersion = "2.225.2"; private const string _sdkGenVersion = "2.228.1";
private const string _openapiDocVersion = "0.0.3"; private const string _openapiDocVersion = "0.0.3";
private const string _userAgent = "speakeasy-sdk/csharp 0.1.0 2.225.2 0.0.3 Plex-API"; private const string _userAgent = "speakeasy-sdk/csharp 0.1.1 2.228.1 0.0.3 Plex-API";
private string _serverUrl = ""; private string _serverUrl = "";
private ISpeakeasyHttpClient _defaultClient; private ISpeakeasyHttpClient _defaultClient;
private ISpeakeasyHttpClient _securityClient; private ISpeakeasyHttpClient _securityClient;

View File

@@ -114,10 +114,10 @@ namespace PlexAPI
{ {
public SDKConfig SDKConfiguration { get; private set; } public SDKConfig SDKConfiguration { get; private set; }
private const string _language = "csharp"; private const string _language = "csharp";
private const string _sdkVersion = "0.1.0"; private const string _sdkVersion = "0.1.1";
private const string _sdkGenVersion = "2.225.2"; private const string _sdkGenVersion = "2.228.1";
private const string _openapiDocVersion = "0.0.3"; private const string _openapiDocVersion = "0.0.3";
private const string _userAgent = "speakeasy-sdk/csharp 0.1.0 2.225.2 0.0.3 Plex-API"; private const string _userAgent = "speakeasy-sdk/csharp 0.1.1 2.228.1 0.0.3 Plex-API";
private string _serverUrl = ""; private string _serverUrl = "";
private ISpeakeasyHttpClient _defaultClient; private ISpeakeasyHttpClient _defaultClient;
private ISpeakeasyHttpClient _securityClient; private ISpeakeasyHttpClient _securityClient;

View File

@@ -76,10 +76,10 @@ namespace PlexAPI
{ {
public SDKConfig SDKConfiguration { get; private set; } public SDKConfig SDKConfiguration { get; private set; }
private const string _language = "csharp"; private const string _language = "csharp";
private const string _sdkVersion = "0.1.0"; private const string _sdkVersion = "0.1.1";
private const string _sdkGenVersion = "2.225.2"; private const string _sdkGenVersion = "2.228.1";
private const string _openapiDocVersion = "0.0.3"; private const string _openapiDocVersion = "0.0.3";
private const string _userAgent = "speakeasy-sdk/csharp 0.1.0 2.225.2 0.0.3 Plex-API"; private const string _userAgent = "speakeasy-sdk/csharp 0.1.1 2.228.1 0.0.3 Plex-API";
private string _serverUrl = ""; private string _serverUrl = "";
private ISpeakeasyHttpClient _defaultClient; private ISpeakeasyHttpClient _defaultClient;
private ISpeakeasyHttpClient _securityClient; private ISpeakeasyHttpClient _securityClient;

View File

@@ -70,10 +70,10 @@ namespace PlexAPI
{ {
public SDKConfig SDKConfiguration { get; private set; } public SDKConfig SDKConfiguration { get; private set; }
private const string _language = "csharp"; private const string _language = "csharp";
private const string _sdkVersion = "0.1.0"; private const string _sdkVersion = "0.1.1";
private const string _sdkGenVersion = "2.225.2"; private const string _sdkGenVersion = "2.228.1";
private const string _openapiDocVersion = "0.0.3"; private const string _openapiDocVersion = "0.0.3";
private const string _userAgent = "speakeasy-sdk/csharp 0.1.0 2.225.2 0.0.3 Plex-API"; private const string _userAgent = "speakeasy-sdk/csharp 0.1.1 2.228.1 0.0.3 Plex-API";
private string _serverUrl = ""; private string _serverUrl = "";
private ISpeakeasyHttpClient _defaultClient; private ISpeakeasyHttpClient _defaultClient;
private ISpeakeasyHttpClient _securityClient; private ISpeakeasyHttpClient _securityClient;

View File

@@ -58,10 +58,10 @@ namespace PlexAPI
{ {
public SDKConfig SDKConfiguration { get; private set; } public SDKConfig SDKConfiguration { get; private set; }
private const string _language = "csharp"; private const string _language = "csharp";
private const string _sdkVersion = "0.1.0"; private const string _sdkVersion = "0.1.1";
private const string _sdkGenVersion = "2.225.2"; private const string _sdkGenVersion = "2.228.1";
private const string _openapiDocVersion = "0.0.3"; private const string _openapiDocVersion = "0.0.3";
private const string _userAgent = "speakeasy-sdk/csharp 0.1.0 2.225.2 0.0.3 Plex-API"; private const string _userAgent = "speakeasy-sdk/csharp 0.1.1 2.228.1 0.0.3 Plex-API";
private string _serverUrl = ""; private string _serverUrl = "";
private ISpeakeasyHttpClient _defaultClient; private ISpeakeasyHttpClient _defaultClient;
private ISpeakeasyHttpClient _securityClient; private ISpeakeasyHttpClient _securityClient;

View File

@@ -158,8 +158,7 @@ You can override the default server globally by passing a server index to the `s
| # | Server | Variables | | # | Server | Variables |
| - | ------ | --------- | | - | ------ | --------- |
| 0 | `http://10.10.10.47:32400` | None | | 0 | `{protocol}://{ip}:{port}` | `protocol` (default is `http`), `ip` (default is `10.10.10.47`), `port` (default is `32400`) |
| 1 | `{protocol}://{ip}:{port}` | `protocol` (default is `http`), `ip` (default is `10.10.10.47`), `port` (default is `32400`) |

View File

@@ -15,3 +15,11 @@ Based on:
- Speakeasy CLI 1.130.1 (2.225.2) https://github.com/speakeasy-api/speakeasy - Speakeasy CLI 1.130.1 (2.225.2) https://github.com/speakeasy-api/speakeasy
### Generated ### Generated
- [csharp v0.1.0] . - [csharp v0.1.0] .
## 2024-01-05 19:51:02
### Changes
Based on:
- OpenAPI Doc 0.0.3
- Speakeasy CLI 1.133.1 (2.228.1) https://github.com/speakeasy-api/speakeasy
### Generated
- [csharp v0.1.1] .

View File

@@ -8,7 +8,7 @@ generation:
fixes: fixes:
nameResolutionDec2023: false nameResolutionDec2023: false
csharp: csharp:
version: 0.1.0 version: 0.1.1
author: LukeHagar author: LukeHagar
dotnetVersion: net5.0 dotnetVersion: net5.0
imports: imports: