ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.526.6

This commit is contained in:
speakeasybot
2025-03-31 17:08:42 +00:00
parent 9831457f45
commit 01b116a71c
26 changed files with 247 additions and 233 deletions

File diff suppressed because one or more lines are too long

View File

@@ -15,7 +15,7 @@ generation:
oAuth2ClientCredentialsEnabled: true oAuth2ClientCredentialsEnabled: true
oAuth2PasswordEnabled: false oAuth2PasswordEnabled: false
csharp: csharp:
version: 0.14.2 version: 0.14.3
additionalDependencies: [] additionalDependencies: []
author: LukeHagar author: LukeHagar
clientServerStatusCodesAsErrors: true clientServerStatusCodesAsErrors: true

View File

@@ -1,4 +1,4 @@
speakeasyVersion: 1.513.4 speakeasyVersion: 1.526.6
sources: sources:
my-source: my-source:
sourceNamespace: my-source sourceNamespace: my-source
@@ -16,19 +16,19 @@ sources:
- main - main
plexapi: plexapi:
sourceNamespace: plexapi sourceNamespace: plexapi
sourceRevisionDigest: sha256:2066ba94b55e21d651c79003e3cf402fb77c52a0969fc52310b3383fbed038f4 sourceRevisionDigest: sha256:cffb18feaa0523b300655a6f0073caad99133b143f5a420fddbb1e1efe47bcaf
sourceBlobDigest: sha256:1737023e29cd9cf36c07ccd8c8c48c47e14f47ce22b4d6ba9ee241afbbd8f351 sourceBlobDigest: sha256:1737023e29cd9cf36c07ccd8c8c48c47e14f47ce22b4d6ba9ee241afbbd8f351
tags: tags:
- latest - latest
- speakeasy-sdk-regen-1741479619 - speakeasy-sdk-regen-1743440848
targets: targets:
plexcsharp: plexcsharp:
source: plexapi source: plexapi
sourceNamespace: plexapi sourceNamespace: plexapi
sourceRevisionDigest: sha256:2066ba94b55e21d651c79003e3cf402fb77c52a0969fc52310b3383fbed038f4 sourceRevisionDigest: sha256:cffb18feaa0523b300655a6f0073caad99133b143f5a420fddbb1e1efe47bcaf
sourceBlobDigest: sha256:1737023e29cd9cf36c07ccd8c8c48c47e14f47ce22b4d6ba9ee241afbbd8f351 sourceBlobDigest: sha256:1737023e29cd9cf36c07ccd8c8c48c47e14f47ce22b4d6ba9ee241afbbd8f351
codeSamplesNamespace: code-samples-csharp-plexcsharp codeSamplesNamespace: code-samples-csharp-plexcsharp
codeSamplesRevisionDigest: sha256:6c2afa1814b37e276f0e8369b50baff64065a76786acbe0a3843972f1f3f60c4 codeSamplesRevisionDigest: sha256:36679bc4a33eb1818b5319c430b0df8bb509889279a83bc67d878bddc99f4798
workflow: workflow:
workflowVersion: 1.0.0 workflowVersion: 1.0.0
speakeasyVersion: latest speakeasyVersion: latest
@@ -47,3 +47,5 @@ workflow:
output: codeSamples.yaml output: codeSamples.yaml
registry: registry:
location: registry.speakeasyapi.dev/plexapi/plexapi/code-samples-csharp-plexcsharp location: registry.speakeasyapi.dev/plexapi/plexapi/code-samples-csharp-plexcsharp
labelOverride:
fixedValue: PlexCSharp

View File

@@ -12,8 +12,8 @@ targets:
nuget: nuget:
apiKey: $nuget_api_key apiKey: $nuget_api_key
codeSamples: codeSamples:
labelOverride:
fixedValue: PlexCSharp
output: codeSamples.yaml output: codeSamples.yaml
registry: registry:
location: registry.speakeasyapi.dev/plexapi/plexapi/code-samples-csharp-plexcsharp location: registry.speakeasyapi.dev/plexapi/plexapi/code-samples-csharp-plexcsharp
labelOverride:
fixedValue: PlexCSharp

View File

@@ -74,10 +74,10 @@ namespace LukeHagar.PlexAPI.SDK
{ {
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.14.2"; private const string _sdkVersion = "0.14.3";
private const string _sdkGenVersion = "2.545.4"; private const string _sdkGenVersion = "2.563.1";
private const string _openapiDocVersion = "0.0.3"; private const string _openapiDocVersion = "0.0.3";
private const string _userAgent = "speakeasy-sdk/csharp 0.14.2 2.545.4 0.0.3 LukeHagar.PlexAPI.SDK"; private const string _userAgent = "speakeasy-sdk/csharp 0.14.3 2.563.1 0.0.3 LukeHagar.PlexAPI.SDK";
private string _serverUrl = ""; private string _serverUrl = "";
private ISpeakeasyHttpClient _client; private ISpeakeasyHttpClient _client;
private Func<LukeHagar.PlexAPI.SDK.Models.Components.Security>? _securitySource; private Func<LukeHagar.PlexAPI.SDK.Models.Components.Security>? _securitySource;
@@ -104,7 +104,7 @@ namespace LukeHagar.PlexAPI.SDK
httpRequest = new SecurityMetadata(_securitySource).Apply(httpRequest); httpRequest = new SecurityMetadata(_securitySource).Apply(httpRequest);
} }
var hookCtx = new HookContext("getServerActivities", null, _securitySource); var hookCtx = new HookContext(baseUrl, "getServerActivities", new List<string> { }, _securitySource);
httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest);
@@ -208,7 +208,7 @@ namespace LukeHagar.PlexAPI.SDK
httpRequest = new SecurityMetadata(_securitySource).Apply(httpRequest); httpRequest = new SecurityMetadata(_securitySource).Apply(httpRequest);
} }
var hookCtx = new HookContext("cancelServerActivities", null, _securitySource); var hookCtx = new HookContext(baseUrl, "cancelServerActivities", new List<string> { }, _securitySource);
httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest);

View File

@@ -95,10 +95,10 @@ namespace LukeHagar.PlexAPI.SDK
}; };
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.14.2"; private const string _sdkVersion = "0.14.3";
private const string _sdkGenVersion = "2.545.4"; private const string _sdkGenVersion = "2.563.1";
private const string _openapiDocVersion = "0.0.3"; private const string _openapiDocVersion = "0.0.3";
private const string _userAgent = "speakeasy-sdk/csharp 0.14.2 2.545.4 0.0.3 LukeHagar.PlexAPI.SDK"; private const string _userAgent = "speakeasy-sdk/csharp 0.14.3 2.563.1 0.0.3 LukeHagar.PlexAPI.SDK";
private string _serverUrl = ""; private string _serverUrl = "";
private ISpeakeasyHttpClient _client; private ISpeakeasyHttpClient _client;
private Func<LukeHagar.PlexAPI.SDK.Models.Components.Security>? _securitySource; private Func<LukeHagar.PlexAPI.SDK.Models.Components.Security>? _securitySource;
@@ -129,7 +129,7 @@ namespace LukeHagar.PlexAPI.SDK
httpRequest = new SecurityMetadata(_securitySource).Apply(httpRequest); httpRequest = new SecurityMetadata(_securitySource).Apply(httpRequest);
} }
var hookCtx = new HookContext("getTransientToken", null, _securitySource); var hookCtx = new HookContext(baseUrl, "getTransientToken", new List<string> { }, _securitySource);
httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest);
@@ -225,7 +225,7 @@ namespace LukeHagar.PlexAPI.SDK
httpRequest = new SecurityMetadata(_securitySource).Apply(httpRequest); httpRequest = new SecurityMetadata(_securitySource).Apply(httpRequest);
} }
var hookCtx = new HookContext("getSourceConnectionInformation", null, _securitySource); var hookCtx = new HookContext(baseUrl, "getSourceConnectionInformation", new List<string> { }, _securitySource);
httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest);
@@ -323,7 +323,7 @@ namespace LukeHagar.PlexAPI.SDK
httpRequest = new SecurityMetadata(_securitySource).Apply(httpRequest); httpRequest = new SecurityMetadata(_securitySource).Apply(httpRequest);
} }
var hookCtx = new HookContext("getTokenDetails", null, _securitySource); var hookCtx = new HookContext(baseUrl, "getTokenDetails", new List<string> { }, _securitySource);
httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest);
@@ -431,7 +431,7 @@ namespace LukeHagar.PlexAPI.SDK
httpRequest.Content = serializedBody; httpRequest.Content = serializedBody;
} }
var hookCtx = new HookContext("post-users-sign-in-data", null, null); var hookCtx = new HookContext(baseUrl, "post-users-sign-in-data", new List<string> { }, null);
httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest);

View File

@@ -101,10 +101,10 @@ namespace LukeHagar.PlexAPI.SDK
{ {
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.14.2"; private const string _sdkVersion = "0.14.3";
private const string _sdkGenVersion = "2.545.4"; private const string _sdkGenVersion = "2.563.1";
private const string _openapiDocVersion = "0.0.3"; private const string _openapiDocVersion = "0.0.3";
private const string _userAgent = "speakeasy-sdk/csharp 0.14.2 2.545.4 0.0.3 LukeHagar.PlexAPI.SDK"; private const string _userAgent = "speakeasy-sdk/csharp 0.14.3 2.563.1 0.0.3 LukeHagar.PlexAPI.SDK";
private string _serverUrl = ""; private string _serverUrl = "";
private ISpeakeasyHttpClient _client; private ISpeakeasyHttpClient _client;
private Func<LukeHagar.PlexAPI.SDK.Models.Components.Security>? _securitySource; private Func<LukeHagar.PlexAPI.SDK.Models.Components.Security>? _securitySource;
@@ -131,7 +131,7 @@ namespace LukeHagar.PlexAPI.SDK
httpRequest = new SecurityMetadata(_securitySource).Apply(httpRequest); httpRequest = new SecurityMetadata(_securitySource).Apply(httpRequest);
} }
var hookCtx = new HookContext("getButlerTasks", null, _securitySource); var hookCtx = new HookContext(baseUrl, "getButlerTasks", new List<string> { }, _securitySource);
httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest);
@@ -232,7 +232,7 @@ namespace LukeHagar.PlexAPI.SDK
httpRequest = new SecurityMetadata(_securitySource).Apply(httpRequest); httpRequest = new SecurityMetadata(_securitySource).Apply(httpRequest);
} }
var hookCtx = new HookContext("startAllTasks", null, _securitySource); var hookCtx = new HookContext(baseUrl, "startAllTasks", new List<string> { }, _securitySource);
httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest);
@@ -325,7 +325,7 @@ namespace LukeHagar.PlexAPI.SDK
httpRequest = new SecurityMetadata(_securitySource).Apply(httpRequest); httpRequest = new SecurityMetadata(_securitySource).Apply(httpRequest);
} }
var hookCtx = new HookContext("stopAllTasks", null, _securitySource); var hookCtx = new HookContext(baseUrl, "stopAllTasks", new List<string> { }, _securitySource);
httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest);
@@ -421,7 +421,7 @@ namespace LukeHagar.PlexAPI.SDK
httpRequest = new SecurityMetadata(_securitySource).Apply(httpRequest); httpRequest = new SecurityMetadata(_securitySource).Apply(httpRequest);
} }
var hookCtx = new HookContext("startTask", null, _securitySource); var hookCtx = new HookContext(baseUrl, "startTask", new List<string> { }, _securitySource);
httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest);
@@ -517,7 +517,7 @@ namespace LukeHagar.PlexAPI.SDK
httpRequest = new SecurityMetadata(_securitySource).Apply(httpRequest); httpRequest = new SecurityMetadata(_securitySource).Apply(httpRequest);
} }
var hookCtx = new HookContext("stopTask", null, _securitySource); var hookCtx = new HookContext(baseUrl, "stopTask", new List<string> { }, _securitySource);
httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest);

View File

@@ -17,12 +17,14 @@ namespace LukeHagar.PlexAPI.SDK.Hooks
public class HookContext public class HookContext
{ {
public string BaseURL { get; set; } = "";
public string OperationID { get; set; } public string OperationID { get; set; }
public List<string>? Oauth2Scopes { get; set; } public List<string>? Oauth2Scopes { get; set; }
public Func<object>? SecuritySource { get; set; } public Func<object>? SecuritySource { get; set; }
public HookContext(string operationID, List<string>? oauth2Scopes, Func<object>? securitySource) public HookContext(string baseURL, string operationID, List<string>? oauth2Scopes, Func<object>? securitySource)
{ {
BaseURL = baseURL;
OperationID = operationID; OperationID = operationID;
Oauth2Scopes = oauth2Scopes; Oauth2Scopes = oauth2Scopes;
SecuritySource = securitySource; SecuritySource = securitySource;
@@ -32,19 +34,19 @@ namespace LukeHagar.PlexAPI.SDK.Hooks
public class BeforeRequestContext : HookContext public class BeforeRequestContext : HookContext
{ {
public BeforeRequestContext(HookContext hookCtx) public BeforeRequestContext(HookContext hookCtx)
: base(hookCtx.OperationID, hookCtx.Oauth2Scopes, hookCtx.SecuritySource) { } : base(hookCtx.BaseURL, hookCtx.OperationID, hookCtx.Oauth2Scopes, hookCtx.SecuritySource) { }
} }
public class AfterSuccessContext : HookContext public class AfterSuccessContext : HookContext
{ {
public AfterSuccessContext(HookContext hookCtx) public AfterSuccessContext(HookContext hookCtx)
: base(hookCtx.OperationID, hookCtx.Oauth2Scopes, hookCtx.SecuritySource) { } : base(hookCtx.BaseURL, hookCtx.OperationID, hookCtx.Oauth2Scopes, hookCtx.SecuritySource) { }
} }
public class AfterErrorContext : HookContext public class AfterErrorContext : HookContext
{ {
public AfterErrorContext(HookContext hookCtx) public AfterErrorContext(HookContext hookCtx)
: base(hookCtx.OperationID, hookCtx.Oauth2Scopes, hookCtx.SecuritySource) { } : base(hookCtx.BaseURL, hookCtx.OperationID, hookCtx.Oauth2Scopes, hookCtx.SecuritySource) { }
} }
/// <summary> /// <summary>

View File

@@ -73,10 +73,10 @@ namespace LukeHagar.PlexAPI.SDK
{ {
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.14.2"; private const string _sdkVersion = "0.14.3";
private const string _sdkGenVersion = "2.545.4"; private const string _sdkGenVersion = "2.563.1";
private const string _openapiDocVersion = "0.0.3"; private const string _openapiDocVersion = "0.0.3";
private const string _userAgent = "speakeasy-sdk/csharp 0.14.2 2.545.4 0.0.3 LukeHagar.PlexAPI.SDK"; private const string _userAgent = "speakeasy-sdk/csharp 0.14.3 2.563.1 0.0.3 LukeHagar.PlexAPI.SDK";
private string _serverUrl = ""; private string _serverUrl = "";
private ISpeakeasyHttpClient _client; private ISpeakeasyHttpClient _client;
private Func<LukeHagar.PlexAPI.SDK.Models.Components.Security>? _securitySource; private Func<LukeHagar.PlexAPI.SDK.Models.Components.Security>? _securitySource;
@@ -107,7 +107,7 @@ namespace LukeHagar.PlexAPI.SDK
httpRequest = new SecurityMetadata(_securitySource).Apply(httpRequest); httpRequest = new SecurityMetadata(_securitySource).Apply(httpRequest);
} }
var hookCtx = new HookContext("getGlobalHubs", null, _securitySource); var hookCtx = new HookContext(baseUrl, "getGlobalHubs", new List<string> { }, _securitySource);
httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest);
@@ -207,7 +207,7 @@ namespace LukeHagar.PlexAPI.SDK
httpRequest = new SecurityMetadata(_securitySource).Apply(httpRequest); httpRequest = new SecurityMetadata(_securitySource).Apply(httpRequest);
} }
var hookCtx = new HookContext("get-recently-added", null, _securitySource); var hookCtx = new HookContext(baseUrl, "get-recently-added", new List<string> { }, _securitySource);
httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest);
@@ -291,7 +291,7 @@ namespace LukeHagar.PlexAPI.SDK
httpRequest = new SecurityMetadata(_securitySource).Apply(httpRequest); httpRequest = new SecurityMetadata(_securitySource).Apply(httpRequest);
} }
var hookCtx = new HookContext("getLibraryHubs", null, _securitySource); var hookCtx = new HookContext(baseUrl, "getLibraryHubs", new List<string> { }, _securitySource);
httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest);

View File

@@ -282,10 +282,10 @@ namespace LukeHagar.PlexAPI.SDK
{ {
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.14.2"; private const string _sdkVersion = "0.14.3";
private const string _sdkGenVersion = "2.545.4"; private const string _sdkGenVersion = "2.563.1";
private const string _openapiDocVersion = "0.0.3"; private const string _openapiDocVersion = "0.0.3";
private const string _userAgent = "speakeasy-sdk/csharp 0.14.2 2.545.4 0.0.3 LukeHagar.PlexAPI.SDK"; private const string _userAgent = "speakeasy-sdk/csharp 0.14.3 2.563.1 0.0.3 LukeHagar.PlexAPI.SDK";
private string _serverUrl = ""; private string _serverUrl = "";
private ISpeakeasyHttpClient _client; private ISpeakeasyHttpClient _client;
private Func<LukeHagar.PlexAPI.SDK.Models.Components.Security>? _securitySource; private Func<LukeHagar.PlexAPI.SDK.Models.Components.Security>? _securitySource;
@@ -316,7 +316,7 @@ namespace LukeHagar.PlexAPI.SDK
httpRequest = new SecurityMetadata(_securitySource).Apply(httpRequest); httpRequest = new SecurityMetadata(_securitySource).Apply(httpRequest);
} }
var hookCtx = new HookContext("getFileHash", null, _securitySource); var hookCtx = new HookContext(baseUrl, "getFileHash", new List<string> { }, _securitySource);
httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest);
@@ -408,7 +408,7 @@ namespace LukeHagar.PlexAPI.SDK
httpRequest = new SecurityMetadata(_securitySource).Apply(httpRequest); httpRequest = new SecurityMetadata(_securitySource).Apply(httpRequest);
} }
var hookCtx = new HookContext("get-recently-added-library", null, _securitySource); var hookCtx = new HookContext(baseUrl, "get-recently-added-library", new List<string> { }, _securitySource);
httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest);
@@ -509,7 +509,7 @@ namespace LukeHagar.PlexAPI.SDK
httpRequest = new SecurityMetadata(_securitySource).Apply(httpRequest); httpRequest = new SecurityMetadata(_securitySource).Apply(httpRequest);
} }
var hookCtx = new HookContext("get-all-libraries", null, _securitySource); var hookCtx = new HookContext(baseUrl, "get-all-libraries", new List<string> { }, _securitySource);
httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest);
@@ -614,7 +614,7 @@ namespace LukeHagar.PlexAPI.SDK
httpRequest = new SecurityMetadata(_securitySource).Apply(httpRequest); httpRequest = new SecurityMetadata(_securitySource).Apply(httpRequest);
} }
var hookCtx = new HookContext("get-library-details", null, _securitySource); var hookCtx = new HookContext(baseUrl, "get-library-details", new List<string> { }, _securitySource);
httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest);
@@ -718,7 +718,7 @@ namespace LukeHagar.PlexAPI.SDK
httpRequest = new SecurityMetadata(_securitySource).Apply(httpRequest); httpRequest = new SecurityMetadata(_securitySource).Apply(httpRequest);
} }
var hookCtx = new HookContext("deleteLibrary", null, _securitySource); var hookCtx = new HookContext(baseUrl, "deleteLibrary", new List<string> { }, _securitySource);
httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest);
@@ -810,7 +810,7 @@ namespace LukeHagar.PlexAPI.SDK
httpRequest = new SecurityMetadata(_securitySource).Apply(httpRequest); httpRequest = new SecurityMetadata(_securitySource).Apply(httpRequest);
} }
var hookCtx = new HookContext("get-library-items", null, _securitySource); var hookCtx = new HookContext(baseUrl, "get-library-items", new List<string> { }, _securitySource);
httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest);
@@ -910,7 +910,7 @@ namespace LukeHagar.PlexAPI.SDK
httpRequest = new SecurityMetadata(_securitySource).Apply(httpRequest); httpRequest = new SecurityMetadata(_securitySource).Apply(httpRequest);
} }
var hookCtx = new HookContext("get-all-media-library", null, _securitySource); var hookCtx = new HookContext(baseUrl, "get-all-media-library", new List<string> { }, _securitySource);
httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest);
@@ -1015,7 +1015,7 @@ namespace LukeHagar.PlexAPI.SDK
httpRequest = new SecurityMetadata(_securitySource).Apply(httpRequest); httpRequest = new SecurityMetadata(_securitySource).Apply(httpRequest);
} }
var hookCtx = new HookContext("get-refresh-library-metadata", null, _securitySource); var hookCtx = new HookContext(baseUrl, "get-refresh-library-metadata", new List<string> { }, _securitySource);
httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest);
@@ -1112,7 +1112,7 @@ namespace LukeHagar.PlexAPI.SDK
httpRequest = new SecurityMetadata(_securitySource).Apply(httpRequest); httpRequest = new SecurityMetadata(_securitySource).Apply(httpRequest);
} }
var hookCtx = new HookContext("get-search-library", null, _securitySource); var hookCtx = new HookContext(baseUrl, "get-search-library", new List<string> { }, _securitySource);
httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest);
@@ -1217,7 +1217,7 @@ namespace LukeHagar.PlexAPI.SDK
httpRequest = new SecurityMetadata(_securitySource).Apply(httpRequest); httpRequest = new SecurityMetadata(_securitySource).Apply(httpRequest);
} }
var hookCtx = new HookContext("get-genres-library", null, _securitySource); var hookCtx = new HookContext(baseUrl, "get-genres-library", new List<string> { }, _securitySource);
httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest);
@@ -1322,7 +1322,7 @@ namespace LukeHagar.PlexAPI.SDK
httpRequest = new SecurityMetadata(_securitySource).Apply(httpRequest); httpRequest = new SecurityMetadata(_securitySource).Apply(httpRequest);
} }
var hookCtx = new HookContext("get-countries-library", null, _securitySource); var hookCtx = new HookContext(baseUrl, "get-countries-library", new List<string> { }, _securitySource);
httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest);
@@ -1427,7 +1427,7 @@ namespace LukeHagar.PlexAPI.SDK
httpRequest = new SecurityMetadata(_securitySource).Apply(httpRequest); httpRequest = new SecurityMetadata(_securitySource).Apply(httpRequest);
} }
var hookCtx = new HookContext("get-actors-library", null, _securitySource); var hookCtx = new HookContext(baseUrl, "get-actors-library", new List<string> { }, _securitySource);
httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest);
@@ -1528,7 +1528,7 @@ namespace LukeHagar.PlexAPI.SDK
httpRequest = new SecurityMetadata(_securitySource).Apply(httpRequest); httpRequest = new SecurityMetadata(_securitySource).Apply(httpRequest);
} }
var hookCtx = new HookContext("get-search-all-libraries", null, _securitySource); var hookCtx = new HookContext(baseUrl, "get-search-all-libraries", new List<string> { }, _securitySource);
httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest);
@@ -1628,7 +1628,7 @@ namespace LukeHagar.PlexAPI.SDK
httpRequest = new SecurityMetadata(_securitySource).Apply(httpRequest); httpRequest = new SecurityMetadata(_securitySource).Apply(httpRequest);
} }
var hookCtx = new HookContext("get-media-meta-data", null, _securitySource); var hookCtx = new HookContext(baseUrl, "get-media-meta-data", new List<string> { }, _securitySource);
httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest);
@@ -1733,7 +1733,7 @@ namespace LukeHagar.PlexAPI.SDK
httpRequest = new SecurityMetadata(_securitySource).Apply(httpRequest); httpRequest = new SecurityMetadata(_securitySource).Apply(httpRequest);
} }
var hookCtx = new HookContext("getMetadataChildren", null, _securitySource); var hookCtx = new HookContext(baseUrl, "getMetadataChildren", new List<string> { }, _securitySource);
httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest);
@@ -1838,7 +1838,7 @@ namespace LukeHagar.PlexAPI.SDK
httpRequest = new SecurityMetadata(_securitySource).Apply(httpRequest); httpRequest = new SecurityMetadata(_securitySource).Apply(httpRequest);
} }
var hookCtx = new HookContext("getTopWatchedContent", null, _securitySource); var hookCtx = new HookContext(baseUrl, "getTopWatchedContent", new List<string> { }, _securitySource);
httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest);

View File

@@ -94,10 +94,10 @@ namespace LukeHagar.PlexAPI.SDK
{ {
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.14.2"; private const string _sdkVersion = "0.14.3";
private const string _sdkGenVersion = "2.545.4"; private const string _sdkGenVersion = "2.563.1";
private const string _openapiDocVersion = "0.0.3"; private const string _openapiDocVersion = "0.0.3";
private const string _userAgent = "speakeasy-sdk/csharp 0.14.2 2.545.4 0.0.3 LukeHagar.PlexAPI.SDK"; private const string _userAgent = "speakeasy-sdk/csharp 0.14.3 2.563.1 0.0.3 LukeHagar.PlexAPI.SDK";
private string _serverUrl = ""; private string _serverUrl = "";
private ISpeakeasyHttpClient _client; private ISpeakeasyHttpClient _client;
private Func<LukeHagar.PlexAPI.SDK.Models.Components.Security>? _securitySource; private Func<LukeHagar.PlexAPI.SDK.Models.Components.Security>? _securitySource;
@@ -129,7 +129,7 @@ namespace LukeHagar.PlexAPI.SDK
httpRequest = new SecurityMetadata(_securitySource).Apply(httpRequest); httpRequest = new SecurityMetadata(_securitySource).Apply(httpRequest);
} }
var hookCtx = new HookContext("logLine", null, _securitySource); var hookCtx = new HookContext(baseUrl, "logLine", new List<string> { }, _securitySource);
httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest);
@@ -228,7 +228,7 @@ namespace LukeHagar.PlexAPI.SDK
httpRequest = new SecurityMetadata(_securitySource).Apply(httpRequest); httpRequest = new SecurityMetadata(_securitySource).Apply(httpRequest);
} }
var hookCtx = new HookContext("logMultiLine", null, _securitySource); var hookCtx = new HookContext(baseUrl, "logMultiLine", new List<string> { }, _securitySource);
httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest);
@@ -321,7 +321,7 @@ namespace LukeHagar.PlexAPI.SDK
httpRequest = new SecurityMetadata(_securitySource).Apply(httpRequest); httpRequest = new SecurityMetadata(_securitySource).Apply(httpRequest);
} }
var hookCtx = new HookContext("enablePaperTrail", null, _securitySource); var hookCtx = new HookContext(baseUrl, "enablePaperTrail", new List<string> { }, _securitySource);
httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest);

View File

@@ -3,7 +3,7 @@
<PropertyGroup> <PropertyGroup>
<IsPackable>true</IsPackable> <IsPackable>true</IsPackable>
<PackageId>LukeHagar.PlexAPI.SDK</PackageId> <PackageId>LukeHagar.PlexAPI.SDK</PackageId>
<Version>0.14.2</Version> <Version>0.14.3</Version>
<TargetFramework>net8.0</TargetFramework> <TargetFramework>net8.0</TargetFramework>
<Authors>LukeHagar</Authors> <Authors>LukeHagar</Authors>
<Copyright>Copyright (c) LukeHagar 2025</Copyright> <Copyright>Copyright (c) LukeHagar 2025</Copyright>

View File

@@ -90,10 +90,10 @@ namespace LukeHagar.PlexAPI.SDK
{ {
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.14.2"; private const string _sdkVersion = "0.14.3";
private const string _sdkGenVersion = "2.545.4"; private const string _sdkGenVersion = "2.563.1";
private const string _openapiDocVersion = "0.0.3"; private const string _openapiDocVersion = "0.0.3";
private const string _userAgent = "speakeasy-sdk/csharp 0.14.2 2.545.4 0.0.3 LukeHagar.PlexAPI.SDK"; private const string _userAgent = "speakeasy-sdk/csharp 0.14.3 2.563.1 0.0.3 LukeHagar.PlexAPI.SDK";
private string _serverUrl = ""; private string _serverUrl = "";
private ISpeakeasyHttpClient _client; private ISpeakeasyHttpClient _client;
private Func<LukeHagar.PlexAPI.SDK.Models.Components.Security>? _securitySource; private Func<LukeHagar.PlexAPI.SDK.Models.Components.Security>? _securitySource;
@@ -123,7 +123,7 @@ namespace LukeHagar.PlexAPI.SDK
httpRequest = new SecurityMetadata(_securitySource).Apply(httpRequest); httpRequest = new SecurityMetadata(_securitySource).Apply(httpRequest);
} }
var hookCtx = new HookContext("markPlayed", null, _securitySource); var hookCtx = new HookContext(baseUrl, "markPlayed", new List<string> { }, _securitySource);
httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest);
@@ -219,7 +219,7 @@ namespace LukeHagar.PlexAPI.SDK
httpRequest = new SecurityMetadata(_securitySource).Apply(httpRequest); httpRequest = new SecurityMetadata(_securitySource).Apply(httpRequest);
} }
var hookCtx = new HookContext("markUnplayed", null, _securitySource); var hookCtx = new HookContext(baseUrl, "markUnplayed", new List<string> { }, _securitySource);
httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest);
@@ -317,7 +317,7 @@ namespace LukeHagar.PlexAPI.SDK
httpRequest = new SecurityMetadata(_securitySource).Apply(httpRequest); httpRequest = new SecurityMetadata(_securitySource).Apply(httpRequest);
} }
var hookCtx = new HookContext("updatePlayProgress", null, _securitySource); var hookCtx = new HookContext(baseUrl, "updatePlayProgress", new List<string> { }, _securitySource);
httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest);
@@ -410,7 +410,7 @@ namespace LukeHagar.PlexAPI.SDK
httpRequest = new SecurityMetadata(_securitySource).Apply(httpRequest); httpRequest = new SecurityMetadata(_securitySource).Apply(httpRequest);
} }
var hookCtx = new HookContext("get-banner-image", null, _securitySource); var hookCtx = new HookContext(baseUrl, "get-banner-image", new List<string> { }, _securitySource);
httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest);
@@ -510,7 +510,7 @@ namespace LukeHagar.PlexAPI.SDK
httpRequest = new SecurityMetadata(_securitySource).Apply(httpRequest); httpRequest = new SecurityMetadata(_securitySource).Apply(httpRequest);
} }
var hookCtx = new HookContext("get-thumb-image", null, _securitySource); var hookCtx = new HookContext(baseUrl, "get-thumb-image", new List<string> { }, _securitySource);
httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest);

View File

@@ -146,10 +146,10 @@ namespace LukeHagar.PlexAPI.SDK
{ {
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.14.2"; private const string _sdkVersion = "0.14.3";
private const string _sdkGenVersion = "2.545.4"; private const string _sdkGenVersion = "2.563.1";
private const string _openapiDocVersion = "0.0.3"; private const string _openapiDocVersion = "0.0.3";
private const string _userAgent = "speakeasy-sdk/csharp 0.14.2 2.545.4 0.0.3 LukeHagar.PlexAPI.SDK"; private const string _userAgent = "speakeasy-sdk/csharp 0.14.3 2.563.1 0.0.3 LukeHagar.PlexAPI.SDK";
private string _serverUrl = ""; private string _serverUrl = "";
private ISpeakeasyHttpClient _client; private ISpeakeasyHttpClient _client;
private Func<LukeHagar.PlexAPI.SDK.Models.Components.Security>? _securitySource; private Func<LukeHagar.PlexAPI.SDK.Models.Components.Security>? _securitySource;
@@ -175,7 +175,7 @@ namespace LukeHagar.PlexAPI.SDK
httpRequest = new SecurityMetadata(_securitySource).Apply(httpRequest); httpRequest = new SecurityMetadata(_securitySource).Apply(httpRequest);
} }
var hookCtx = new HookContext("createPlaylist", null, _securitySource); var hookCtx = new HookContext(baseUrl, "createPlaylist", new List<string> { }, _securitySource);
httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest);
@@ -280,7 +280,7 @@ namespace LukeHagar.PlexAPI.SDK
httpRequest = new SecurityMetadata(_securitySource).Apply(httpRequest); httpRequest = new SecurityMetadata(_securitySource).Apply(httpRequest);
} }
var hookCtx = new HookContext("getPlaylists", null, _securitySource); var hookCtx = new HookContext(baseUrl, "getPlaylists", new List<string> { }, _securitySource);
httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest);
@@ -384,7 +384,7 @@ namespace LukeHagar.PlexAPI.SDK
httpRequest = new SecurityMetadata(_securitySource).Apply(httpRequest); httpRequest = new SecurityMetadata(_securitySource).Apply(httpRequest);
} }
var hookCtx = new HookContext("getPlaylist", null, _securitySource); var hookCtx = new HookContext(baseUrl, "getPlaylist", new List<string> { }, _securitySource);
httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest);
@@ -488,7 +488,7 @@ namespace LukeHagar.PlexAPI.SDK
httpRequest = new SecurityMetadata(_securitySource).Apply(httpRequest); httpRequest = new SecurityMetadata(_securitySource).Apply(httpRequest);
} }
var hookCtx = new HookContext("deletePlaylist", null, _securitySource); var hookCtx = new HookContext(baseUrl, "deletePlaylist", new List<string> { }, _securitySource);
httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest);
@@ -586,7 +586,7 @@ namespace LukeHagar.PlexAPI.SDK
httpRequest = new SecurityMetadata(_securitySource).Apply(httpRequest); httpRequest = new SecurityMetadata(_securitySource).Apply(httpRequest);
} }
var hookCtx = new HookContext("updatePlaylist", null, _securitySource); var hookCtx = new HookContext(baseUrl, "updatePlaylist", new List<string> { }, _securitySource);
httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest);
@@ -683,7 +683,7 @@ namespace LukeHagar.PlexAPI.SDK
httpRequest = new SecurityMetadata(_securitySource).Apply(httpRequest); httpRequest = new SecurityMetadata(_securitySource).Apply(httpRequest);
} }
var hookCtx = new HookContext("getPlaylistContents", null, _securitySource); var hookCtx = new HookContext(baseUrl, "getPlaylistContents", new List<string> { }, _securitySource);
httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest);
@@ -787,7 +787,7 @@ namespace LukeHagar.PlexAPI.SDK
httpRequest = new SecurityMetadata(_securitySource).Apply(httpRequest); httpRequest = new SecurityMetadata(_securitySource).Apply(httpRequest);
} }
var hookCtx = new HookContext("clearPlaylistContents", null, _securitySource); var hookCtx = new HookContext(baseUrl, "clearPlaylistContents", new List<string> { }, _securitySource);
httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest);
@@ -885,7 +885,7 @@ namespace LukeHagar.PlexAPI.SDK
httpRequest = new SecurityMetadata(_securitySource).Apply(httpRequest); httpRequest = new SecurityMetadata(_securitySource).Apply(httpRequest);
} }
var hookCtx = new HookContext("addPlaylistContents", null, _securitySource); var hookCtx = new HookContext(baseUrl, "addPlaylistContents", new List<string> { }, _securitySource);
httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest);
@@ -991,7 +991,7 @@ namespace LukeHagar.PlexAPI.SDK
httpRequest = new SecurityMetadata(_securitySource).Apply(httpRequest); httpRequest = new SecurityMetadata(_securitySource).Apply(httpRequest);
} }
var hookCtx = new HookContext("uploadPlaylist", null, _securitySource); var hookCtx = new HookContext(baseUrl, "uploadPlaylist", new List<string> { }, _securitySource);
httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest);

View File

@@ -143,10 +143,10 @@ namespace LukeHagar.PlexAPI.SDK
}; };
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.14.2"; private const string _sdkVersion = "0.14.3";
private const string _sdkGenVersion = "2.545.4"; private const string _sdkGenVersion = "2.563.1";
private const string _openapiDocVersion = "0.0.3"; private const string _openapiDocVersion = "0.0.3";
private const string _userAgent = "speakeasy-sdk/csharp 0.14.2 2.545.4 0.0.3 LukeHagar.PlexAPI.SDK"; private const string _userAgent = "speakeasy-sdk/csharp 0.14.3 2.563.1 0.0.3 LukeHagar.PlexAPI.SDK";
private string _serverUrl = ""; private string _serverUrl = "";
private ISpeakeasyHttpClient _client; private ISpeakeasyHttpClient _client;
private Func<LukeHagar.PlexAPI.SDK.Models.Components.Security>? _securitySource; private Func<LukeHagar.PlexAPI.SDK.Models.Components.Security>? _securitySource;
@@ -178,7 +178,7 @@ namespace LukeHagar.PlexAPI.SDK
httpRequest = new SecurityMetadata(_securitySource).Apply(httpRequest); httpRequest = new SecurityMetadata(_securitySource).Apply(httpRequest);
} }
var hookCtx = new HookContext("getCompanionsData", null, _securitySource); var hookCtx = new HookContext(baseUrl, "getCompanionsData", new List<string> { }, _securitySource);
httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest);
@@ -284,7 +284,7 @@ namespace LukeHagar.PlexAPI.SDK
httpRequest = new SecurityMetadata(_securitySource).Apply(httpRequest); httpRequest = new SecurityMetadata(_securitySource).Apply(httpRequest);
} }
var hookCtx = new HookContext("getUserFriends", null, _securitySource); var hookCtx = new HookContext(baseUrl, "getUserFriends", new List<string> { }, _securitySource);
httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest);
@@ -385,7 +385,7 @@ namespace LukeHagar.PlexAPI.SDK
var httpRequest = new HttpRequestMessage(HttpMethod.Get, urlString); var httpRequest = new HttpRequestMessage(HttpMethod.Get, urlString);
httpRequest.Headers.Add("user-agent", _userAgent); httpRequest.Headers.Add("user-agent", _userAgent);
var hookCtx = new HookContext("getGeoData", null, null); var hookCtx = new HookContext(baseUrl, "getGeoData", new List<string> { }, null);
httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest);
@@ -486,7 +486,7 @@ namespace LukeHagar.PlexAPI.SDK
httpRequest = new SecurityMetadata(_securitySource).Apply(httpRequest); httpRequest = new SecurityMetadata(_securitySource).Apply(httpRequest);
} }
var hookCtx = new HookContext("getHomeData", null, _securitySource); var hookCtx = new HookContext(baseUrl, "getHomeData", new List<string> { }, _securitySource);
httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest);
@@ -599,7 +599,7 @@ namespace LukeHagar.PlexAPI.SDK
httpRequest = new SecurityMetadata(_securitySource).Apply(httpRequest); httpRequest = new SecurityMetadata(_securitySource).Apply(httpRequest);
} }
var hookCtx = new HookContext("get-server-resources", null, _securitySource); var hookCtx = new HookContext(baseUrl, "get-server-resources", new List<string> { }, _securitySource);
httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest);
@@ -700,7 +700,7 @@ namespace LukeHagar.PlexAPI.SDK
httpRequest.Headers.Add("user-agent", _userAgent); httpRequest.Headers.Add("user-agent", _userAgent);
HeaderSerializer.PopulateHeaders(ref httpRequest, request); HeaderSerializer.PopulateHeaders(ref httpRequest, request);
var hookCtx = new HookContext("getPin", null, null); var hookCtx = new HookContext(baseUrl, "getPin", new List<string> { }, null);
httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest);
@@ -790,7 +790,7 @@ namespace LukeHagar.PlexAPI.SDK
httpRequest.Headers.Add("user-agent", _userAgent); httpRequest.Headers.Add("user-agent", _userAgent);
HeaderSerializer.PopulateHeaders(ref httpRequest, request); HeaderSerializer.PopulateHeaders(ref httpRequest, request);
var hookCtx = new HookContext("getTokenByPinId", null, null); var hookCtx = new HookContext(baseUrl, "getTokenByPinId", new List<string> { }, null);
httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest);

View File

@@ -327,10 +327,10 @@ namespace LukeHagar.PlexAPI.SDK
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.14.2"; private const string _sdkVersion = "0.14.3";
private const string _sdkGenVersion = "2.545.4"; private const string _sdkGenVersion = "2.563.1";
private const string _openapiDocVersion = "0.0.3"; private const string _openapiDocVersion = "0.0.3";
private const string _userAgent = "speakeasy-sdk/csharp 0.14.2 2.545.4 0.0.3 LukeHagar.PlexAPI.SDK"; private const string _userAgent = "speakeasy-sdk/csharp 0.14.3 2.563.1 0.0.3 LukeHagar.PlexAPI.SDK";
private string _serverUrl = ""; private string _serverUrl = "";
private int _serverIndex = 0; private int _serverIndex = 0;
private ISpeakeasyHttpClient _client; private ISpeakeasyHttpClient _client;

View File

@@ -87,10 +87,10 @@ namespace LukeHagar.PlexAPI.SDK
{ {
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.14.2"; private const string _sdkVersion = "0.14.3";
private const string _sdkGenVersion = "2.545.4"; private const string _sdkGenVersion = "2.563.1";
private const string _openapiDocVersion = "0.0.3"; private const string _openapiDocVersion = "0.0.3";
private const string _userAgent = "speakeasy-sdk/csharp 0.14.2 2.545.4 0.0.3 LukeHagar.PlexAPI.SDK"; private const string _userAgent = "speakeasy-sdk/csharp 0.14.3 2.563.1 0.0.3 LukeHagar.PlexAPI.SDK";
private string _serverUrl = ""; private string _serverUrl = "";
private ISpeakeasyHttpClient _client; private ISpeakeasyHttpClient _client;
private Func<LukeHagar.PlexAPI.SDK.Models.Components.Security>? _securitySource; private Func<LukeHagar.PlexAPI.SDK.Models.Components.Security>? _securitySource;
@@ -122,7 +122,7 @@ namespace LukeHagar.PlexAPI.SDK
httpRequest = new SecurityMetadata(_securitySource).Apply(httpRequest); httpRequest = new SecurityMetadata(_securitySource).Apply(httpRequest);
} }
var hookCtx = new HookContext("performSearch", null, _securitySource); var hookCtx = new HookContext(baseUrl, "performSearch", new List<string> { }, _securitySource);
httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest);
@@ -220,7 +220,7 @@ namespace LukeHagar.PlexAPI.SDK
httpRequest = new SecurityMetadata(_securitySource).Apply(httpRequest); httpRequest = new SecurityMetadata(_securitySource).Apply(httpRequest);
} }
var hookCtx = new HookContext("performVoiceSearch", null, _securitySource); var hookCtx = new HookContext(baseUrl, "performVoiceSearch", new List<string> { }, _securitySource);
httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest);
@@ -316,7 +316,7 @@ namespace LukeHagar.PlexAPI.SDK
httpRequest = new SecurityMetadata(_securitySource).Apply(httpRequest); httpRequest = new SecurityMetadata(_securitySource).Apply(httpRequest);
} }
var hookCtx = new HookContext("getSearchResults", null, _securitySource); var hookCtx = new HookContext(baseUrl, "getSearchResults", new List<string> { }, _securitySource);
httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest);

View File

@@ -126,10 +126,10 @@ namespace LukeHagar.PlexAPI.SDK
{ {
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.14.2"; private const string _sdkVersion = "0.14.3";
private const string _sdkGenVersion = "2.545.4"; private const string _sdkGenVersion = "2.563.1";
private const string _openapiDocVersion = "0.0.3"; private const string _openapiDocVersion = "0.0.3";
private const string _userAgent = "speakeasy-sdk/csharp 0.14.2 2.545.4 0.0.3 LukeHagar.PlexAPI.SDK"; private const string _userAgent = "speakeasy-sdk/csharp 0.14.3 2.563.1 0.0.3 LukeHagar.PlexAPI.SDK";
private string _serverUrl = ""; private string _serverUrl = "";
private ISpeakeasyHttpClient _client; private ISpeakeasyHttpClient _client;
private Func<LukeHagar.PlexAPI.SDK.Models.Components.Security>? _securitySource; private Func<LukeHagar.PlexAPI.SDK.Models.Components.Security>? _securitySource;
@@ -156,7 +156,7 @@ namespace LukeHagar.PlexAPI.SDK
httpRequest = new SecurityMetadata(_securitySource).Apply(httpRequest); httpRequest = new SecurityMetadata(_securitySource).Apply(httpRequest);
} }
var hookCtx = new HookContext("getServerCapabilities", null, _securitySource); var hookCtx = new HookContext(baseUrl, "getServerCapabilities", new List<string> { }, _securitySource);
httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest);
@@ -257,7 +257,7 @@ namespace LukeHagar.PlexAPI.SDK
httpRequest = new SecurityMetadata(_securitySource).Apply(httpRequest); httpRequest = new SecurityMetadata(_securitySource).Apply(httpRequest);
} }
var hookCtx = new HookContext("getServerPreferences", null, _securitySource); var hookCtx = new HookContext(baseUrl, "getServerPreferences", new List<string> { }, _securitySource);
httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest);
@@ -358,7 +358,7 @@ namespace LukeHagar.PlexAPI.SDK
httpRequest = new SecurityMetadata(_securitySource).Apply(httpRequest); httpRequest = new SecurityMetadata(_securitySource).Apply(httpRequest);
} }
var hookCtx = new HookContext("getAvailableClients", null, _securitySource); var hookCtx = new HookContext(baseUrl, "getAvailableClients", new List<string> { }, _securitySource);
httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest);
@@ -459,7 +459,7 @@ namespace LukeHagar.PlexAPI.SDK
httpRequest = new SecurityMetadata(_securitySource).Apply(httpRequest); httpRequest = new SecurityMetadata(_securitySource).Apply(httpRequest);
} }
var hookCtx = new HookContext("getDevices", null, _securitySource); var hookCtx = new HookContext(baseUrl, "getDevices", new List<string> { }, _securitySource);
httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest);
@@ -555,7 +555,7 @@ namespace LukeHagar.PlexAPI.SDK
var httpRequest = new HttpRequestMessage(HttpMethod.Get, urlString); var httpRequest = new HttpRequestMessage(HttpMethod.Get, urlString);
httpRequest.Headers.Add("user-agent", _userAgent); httpRequest.Headers.Add("user-agent", _userAgent);
var hookCtx = new HookContext("get-server-identity", null, null); var hookCtx = new HookContext(baseUrl, "get-server-identity", new List<string> { }, null);
httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest);
@@ -645,7 +645,7 @@ namespace LukeHagar.PlexAPI.SDK
httpRequest = new SecurityMetadata(_securitySource).Apply(httpRequest); httpRequest = new SecurityMetadata(_securitySource).Apply(httpRequest);
} }
var hookCtx = new HookContext("getMyPlexAccount", null, _securitySource); var hookCtx = new HookContext(baseUrl, "getMyPlexAccount", new List<string> { }, _securitySource);
httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest);
@@ -745,7 +745,7 @@ namespace LukeHagar.PlexAPI.SDK
httpRequest = new SecurityMetadata(_securitySource).Apply(httpRequest); httpRequest = new SecurityMetadata(_securitySource).Apply(httpRequest);
} }
var hookCtx = new HookContext("getResizedPhoto", null, _securitySource); var hookCtx = new HookContext(baseUrl, "getResizedPhoto", new List<string> { }, _securitySource);
httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest);
@@ -843,7 +843,7 @@ namespace LukeHagar.PlexAPI.SDK
httpRequest = new SecurityMetadata(_securitySource).Apply(httpRequest); httpRequest = new SecurityMetadata(_securitySource).Apply(httpRequest);
} }
var hookCtx = new HookContext("get-media-providers", null, _securitySource); var hookCtx = new HookContext(baseUrl, "get-media-providers", new List<string> { }, _securitySource);
httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest);
@@ -944,7 +944,7 @@ namespace LukeHagar.PlexAPI.SDK
httpRequest = new SecurityMetadata(_securitySource).Apply(httpRequest); httpRequest = new SecurityMetadata(_securitySource).Apply(httpRequest);
} }
var hookCtx = new HookContext("getServerList", null, _securitySource); var hookCtx = new HookContext(baseUrl, "getServerList", new List<string> { }, _securitySource);
httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest);

View File

@@ -80,10 +80,10 @@ namespace LukeHagar.PlexAPI.SDK
{ {
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.14.2"; private const string _sdkVersion = "0.14.3";
private const string _sdkGenVersion = "2.545.4"; private const string _sdkGenVersion = "2.563.1";
private const string _openapiDocVersion = "0.0.3"; private const string _openapiDocVersion = "0.0.3";
private const string _userAgent = "speakeasy-sdk/csharp 0.14.2 2.545.4 0.0.3 LukeHagar.PlexAPI.SDK"; private const string _userAgent = "speakeasy-sdk/csharp 0.14.3 2.563.1 0.0.3 LukeHagar.PlexAPI.SDK";
private string _serverUrl = ""; private string _serverUrl = "";
private ISpeakeasyHttpClient _client; private ISpeakeasyHttpClient _client;
private Func<LukeHagar.PlexAPI.SDK.Models.Components.Security>? _securitySource; private Func<LukeHagar.PlexAPI.SDK.Models.Components.Security>? _securitySource;
@@ -110,7 +110,7 @@ namespace LukeHagar.PlexAPI.SDK
httpRequest = new SecurityMetadata(_securitySource).Apply(httpRequest); httpRequest = new SecurityMetadata(_securitySource).Apply(httpRequest);
} }
var hookCtx = new HookContext("getSessions", null, _securitySource); var hookCtx = new HookContext(baseUrl, "getSessions", new List<string> { }, _securitySource);
httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest);
@@ -217,7 +217,7 @@ namespace LukeHagar.PlexAPI.SDK
httpRequest = new SecurityMetadata(_securitySource).Apply(httpRequest); httpRequest = new SecurityMetadata(_securitySource).Apply(httpRequest);
} }
var hookCtx = new HookContext("getSessionHistory", null, _securitySource); var hookCtx = new HookContext(baseUrl, "getSessionHistory", new List<string> { }, _securitySource);
httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest);
@@ -318,7 +318,7 @@ namespace LukeHagar.PlexAPI.SDK
httpRequest = new SecurityMetadata(_securitySource).Apply(httpRequest); httpRequest = new SecurityMetadata(_securitySource).Apply(httpRequest);
} }
var hookCtx = new HookContext("getTranscodeSessions", null, _securitySource); var hookCtx = new HookContext(baseUrl, "getTranscodeSessions", new List<string> { }, _securitySource);
httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest);
@@ -422,7 +422,7 @@ namespace LukeHagar.PlexAPI.SDK
httpRequest = new SecurityMetadata(_securitySource).Apply(httpRequest); httpRequest = new SecurityMetadata(_securitySource).Apply(httpRequest);
} }
var hookCtx = new HookContext("stopTranscodeSession", null, _securitySource); var hookCtx = new HookContext(baseUrl, "stopTranscodeSession", new List<string> { }, _securitySource);
httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest);

View File

@@ -71,10 +71,10 @@ namespace LukeHagar.PlexAPI.SDK
{ {
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.14.2"; private const string _sdkVersion = "0.14.3";
private const string _sdkGenVersion = "2.545.4"; private const string _sdkGenVersion = "2.563.1";
private const string _openapiDocVersion = "0.0.3"; private const string _openapiDocVersion = "0.0.3";
private const string _userAgent = "speakeasy-sdk/csharp 0.14.2 2.545.4 0.0.3 LukeHagar.PlexAPI.SDK"; private const string _userAgent = "speakeasy-sdk/csharp 0.14.3 2.563.1 0.0.3 LukeHagar.PlexAPI.SDK";
private string _serverUrl = ""; private string _serverUrl = "";
private ISpeakeasyHttpClient _client; private ISpeakeasyHttpClient _client;
private Func<LukeHagar.PlexAPI.SDK.Models.Components.Security>? _securitySource; private Func<LukeHagar.PlexAPI.SDK.Models.Components.Security>? _securitySource;
@@ -104,7 +104,7 @@ namespace LukeHagar.PlexAPI.SDK
httpRequest = new SecurityMetadata(_securitySource).Apply(httpRequest); httpRequest = new SecurityMetadata(_securitySource).Apply(httpRequest);
} }
var hookCtx = new HookContext("getStatistics", null, _securitySource); var hookCtx = new HookContext(baseUrl, "getStatistics", new List<string> { }, _securitySource);
httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest);
@@ -208,7 +208,7 @@ namespace LukeHagar.PlexAPI.SDK
httpRequest = new SecurityMetadata(_securitySource).Apply(httpRequest); httpRequest = new SecurityMetadata(_securitySource).Apply(httpRequest);
} }
var hookCtx = new HookContext("getResourcesStatistics", null, _securitySource); var hookCtx = new HookContext(baseUrl, "getResourcesStatistics", new List<string> { }, _securitySource);
httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest);
@@ -312,7 +312,7 @@ namespace LukeHagar.PlexAPI.SDK
httpRequest = new SecurityMetadata(_securitySource).Apply(httpRequest); httpRequest = new SecurityMetadata(_securitySource).Apply(httpRequest);
} }
var hookCtx = new HookContext("getBandwidthStatistics", null, _securitySource); var hookCtx = new HookContext(baseUrl, "getBandwidthStatistics", new List<string> { }, _securitySource);
httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest);

View File

@@ -74,10 +74,10 @@ namespace LukeHagar.PlexAPI.SDK
{ {
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.14.2"; private const string _sdkVersion = "0.14.3";
private const string _sdkGenVersion = "2.545.4"; private const string _sdkGenVersion = "2.563.1";
private const string _openapiDocVersion = "0.0.3"; private const string _openapiDocVersion = "0.0.3";
private const string _userAgent = "speakeasy-sdk/csharp 0.14.2 2.545.4 0.0.3 LukeHagar.PlexAPI.SDK"; private const string _userAgent = "speakeasy-sdk/csharp 0.14.3 2.563.1 0.0.3 LukeHagar.PlexAPI.SDK";
private string _serverUrl = ""; private string _serverUrl = "";
private ISpeakeasyHttpClient _client; private ISpeakeasyHttpClient _client;
private Func<LukeHagar.PlexAPI.SDK.Models.Components.Security>? _securitySource; private Func<LukeHagar.PlexAPI.SDK.Models.Components.Security>? _securitySource;
@@ -104,7 +104,7 @@ namespace LukeHagar.PlexAPI.SDK
httpRequest = new SecurityMetadata(_securitySource).Apply(httpRequest); httpRequest = new SecurityMetadata(_securitySource).Apply(httpRequest);
} }
var hookCtx = new HookContext("getUpdateStatus", null, _securitySource); var hookCtx = new HookContext(baseUrl, "getUpdateStatus", new List<string> { }, _securitySource);
httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest);
@@ -208,7 +208,7 @@ namespace LukeHagar.PlexAPI.SDK
httpRequest = new SecurityMetadata(_securitySource).Apply(httpRequest); httpRequest = new SecurityMetadata(_securitySource).Apply(httpRequest);
} }
var hookCtx = new HookContext("checkForUpdates", null, _securitySource); var hookCtx = new HookContext(baseUrl, "checkForUpdates", new List<string> { }, _securitySource);
httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest);
@@ -305,7 +305,7 @@ namespace LukeHagar.PlexAPI.SDK
httpRequest = new SecurityMetadata(_securitySource).Apply(httpRequest); httpRequest = new SecurityMetadata(_securitySource).Apply(httpRequest);
} }
var hookCtx = new HookContext("applyUpdates", null, _securitySource); var hookCtx = new HookContext(baseUrl, "applyUpdates", new List<string> { }, _securitySource);
httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest);

View File

@@ -45,10 +45,10 @@ namespace LukeHagar.PlexAPI.SDK
}; };
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.14.2"; private const string _sdkVersion = "0.14.3";
private const string _sdkGenVersion = "2.545.4"; private const string _sdkGenVersion = "2.563.1";
private const string _openapiDocVersion = "0.0.3"; private const string _openapiDocVersion = "0.0.3";
private const string _userAgent = "speakeasy-sdk/csharp 0.14.2 2.545.4 0.0.3 LukeHagar.PlexAPI.SDK"; private const string _userAgent = "speakeasy-sdk/csharp 0.14.3 2.563.1 0.0.3 LukeHagar.PlexAPI.SDK";
private string _serverUrl = ""; private string _serverUrl = "";
private ISpeakeasyHttpClient _client; private ISpeakeasyHttpClient _client;
private Func<LukeHagar.PlexAPI.SDK.Models.Components.Security>? _securitySource; private Func<LukeHagar.PlexAPI.SDK.Models.Components.Security>? _securitySource;
@@ -76,7 +76,7 @@ namespace LukeHagar.PlexAPI.SDK
httpRequest.Headers.Add("user-agent", _userAgent); httpRequest.Headers.Add("user-agent", _userAgent);
HeaderSerializer.PopulateHeaders(ref httpRequest, request); HeaderSerializer.PopulateHeaders(ref httpRequest, request);
var hookCtx = new HookContext("get-users", null, null); var hookCtx = new HookContext(baseUrl, "get-users", new List<string> { }, null);
httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest);

View File

@@ -62,10 +62,10 @@ namespace LukeHagar.PlexAPI.SDK
{ {
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.14.2"; private const string _sdkVersion = "0.14.3";
private const string _sdkGenVersion = "2.545.4"; private const string _sdkGenVersion = "2.563.1";
private const string _openapiDocVersion = "0.0.3"; private const string _openapiDocVersion = "0.0.3";
private const string _userAgent = "speakeasy-sdk/csharp 0.14.2 2.545.4 0.0.3 LukeHagar.PlexAPI.SDK"; private const string _userAgent = "speakeasy-sdk/csharp 0.14.3 2.563.1 0.0.3 LukeHagar.PlexAPI.SDK";
private string _serverUrl = ""; private string _serverUrl = "";
private ISpeakeasyHttpClient _client; private ISpeakeasyHttpClient _client;
private Func<LukeHagar.PlexAPI.SDK.Models.Components.Security>? _securitySource; private Func<LukeHagar.PlexAPI.SDK.Models.Components.Security>? _securitySource;
@@ -91,7 +91,7 @@ namespace LukeHagar.PlexAPI.SDK
httpRequest = new SecurityMetadata(_securitySource).Apply(httpRequest); httpRequest = new SecurityMetadata(_securitySource).Apply(httpRequest);
} }
var hookCtx = new HookContext("getTimeline", null, _securitySource); var hookCtx = new HookContext(baseUrl, "getTimeline", new List<string> { }, _securitySource);
httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest);
@@ -183,7 +183,7 @@ namespace LukeHagar.PlexAPI.SDK
httpRequest = new SecurityMetadata(_securitySource).Apply(httpRequest); httpRequest = new SecurityMetadata(_securitySource).Apply(httpRequest);
} }
var hookCtx = new HookContext("startUniversalTranscode", null, _securitySource); var hookCtx = new HookContext(baseUrl, "startUniversalTranscode", new List<string> { }, _securitySource);
httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest);

View File

@@ -59,10 +59,10 @@ namespace LukeHagar.PlexAPI.SDK
}; };
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.14.2"; private const string _sdkVersion = "0.14.3";
private const string _sdkGenVersion = "2.545.4"; private const string _sdkGenVersion = "2.563.1";
private const string _openapiDocVersion = "0.0.3"; private const string _openapiDocVersion = "0.0.3";
private const string _userAgent = "speakeasy-sdk/csharp 0.14.2 2.545.4 0.0.3 LukeHagar.PlexAPI.SDK"; private const string _userAgent = "speakeasy-sdk/csharp 0.14.3 2.563.1 0.0.3 LukeHagar.PlexAPI.SDK";
private string _serverUrl = ""; private string _serverUrl = "";
private ISpeakeasyHttpClient _client; private ISpeakeasyHttpClient _client;
private Func<LukeHagar.PlexAPI.SDK.Models.Components.Security>? _securitySource; private Func<LukeHagar.PlexAPI.SDK.Models.Components.Security>? _securitySource;
@@ -94,7 +94,7 @@ namespace LukeHagar.PlexAPI.SDK
httpRequest = new SecurityMetadata(_securitySource).Apply(httpRequest); httpRequest = new SecurityMetadata(_securitySource).Apply(httpRequest);
} }
var hookCtx = new HookContext("get-watch-list", null, _securitySource); var hookCtx = new HookContext(baseUrl, "get-watch-list", new List<string> { }, _securitySource);
httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest);

View File

@@ -515,3 +515,13 @@ Based on:
- [csharp v0.14.2] . - [csharp v0.14.2] .
### Releases ### Releases
- [NuGet v0.14.2] https://www.nuget.org/packages/LukeHagar.PlexAPI.SDK/0.14.2 - . - [NuGet v0.14.2] https://www.nuget.org/packages/LukeHagar.PlexAPI.SDK/0.14.2 - .
## 2025-03-31 17:07:12
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.526.6 (2.563.1) https://github.com/speakeasy-api/speakeasy
### Generated
- [csharp v0.14.3] .
### Releases
- [NuGet v0.14.3] https://www.nuget.org/packages/LukeHagar.PlexAPI.SDK/0.14.3 - .

View File

@@ -7,7 +7,7 @@ actions:
update: update:
x-codeSamples: x-codeSamples:
- lang: csharp - lang: csharp
label: getServerCapabilities label: PlexCSharp
source: |- source: |-
using LukeHagar.PlexAPI.SDK; using LukeHagar.PlexAPI.SDK;
using LukeHagar.PlexAPI.SDK.Models.Components; using LukeHagar.PlexAPI.SDK.Models.Components;
@@ -21,7 +21,7 @@ actions:
update: update:
x-codeSamples: x-codeSamples:
- lang: csharp - lang: csharp
label: getServerPreferences label: PlexCSharp
source: |- source: |-
using LukeHagar.PlexAPI.SDK; using LukeHagar.PlexAPI.SDK;
using LukeHagar.PlexAPI.SDK.Models.Components; using LukeHagar.PlexAPI.SDK.Models.Components;
@@ -35,7 +35,7 @@ actions:
update: update:
x-codeSamples: x-codeSamples:
- lang: csharp - lang: csharp
label: updatePlayProgress label: PlexCSharp
source: |- source: |-
using LukeHagar.PlexAPI.SDK; using LukeHagar.PlexAPI.SDK;
using LukeHagar.PlexAPI.SDK.Models.Components; using LukeHagar.PlexAPI.SDK.Models.Components;
@@ -53,7 +53,7 @@ actions:
update: update:
x-codeSamples: x-codeSamples:
- lang: csharp - lang: csharp
label: markPlayed label: PlexCSharp
source: |- source: |-
using LukeHagar.PlexAPI.SDK; using LukeHagar.PlexAPI.SDK;
using LukeHagar.PlexAPI.SDK.Models.Components; using LukeHagar.PlexAPI.SDK.Models.Components;
@@ -67,7 +67,7 @@ actions:
update: update:
x-codeSamples: x-codeSamples:
- lang: csharp - lang: csharp
label: getTimeline label: PlexCSharp
source: |- source: |-
using LukeHagar.PlexAPI.SDK; using LukeHagar.PlexAPI.SDK;
using LukeHagar.PlexAPI.SDK.Models.Components; using LukeHagar.PlexAPI.SDK.Models.Components;
@@ -95,7 +95,7 @@ actions:
update: update:
x-codeSamples: x-codeSamples:
- lang: csharp - lang: csharp
label: markUnplayed label: PlexCSharp
source: |- source: |-
using LukeHagar.PlexAPI.SDK; using LukeHagar.PlexAPI.SDK;
using LukeHagar.PlexAPI.SDK.Models.Components; using LukeHagar.PlexAPI.SDK.Models.Components;
@@ -109,7 +109,7 @@ actions:
update: update:
x-codeSamples: x-codeSamples:
- lang: csharp - lang: csharp
label: getServerActivities label: PlexCSharp
source: |- source: |-
using LukeHagar.PlexAPI.SDK; using LukeHagar.PlexAPI.SDK;
using LukeHagar.PlexAPI.SDK.Models.Components; using LukeHagar.PlexAPI.SDK.Models.Components;
@@ -123,7 +123,7 @@ actions:
update: update:
x-codeSamples: x-codeSamples:
- lang: csharp - lang: csharp
label: cancelServerActivities label: PlexCSharp
source: |- source: |-
using LukeHagar.PlexAPI.SDK; using LukeHagar.PlexAPI.SDK;
using LukeHagar.PlexAPI.SDK.Models.Components; using LukeHagar.PlexAPI.SDK.Models.Components;
@@ -137,7 +137,7 @@ actions:
update: update:
x-codeSamples: x-codeSamples:
- lang: csharp - lang: csharp
label: stopAllTasks label: PlexCSharp
source: |- source: |-
using LukeHagar.PlexAPI.SDK; using LukeHagar.PlexAPI.SDK;
using LukeHagar.PlexAPI.SDK.Models.Components; using LukeHagar.PlexAPI.SDK.Models.Components;
@@ -151,7 +151,7 @@ actions:
update: update:
x-codeSamples: x-codeSamples:
- lang: csharp - lang: csharp
label: getButlerTasks label: PlexCSharp
source: |- source: |-
using LukeHagar.PlexAPI.SDK; using LukeHagar.PlexAPI.SDK;
using LukeHagar.PlexAPI.SDK.Models.Components; using LukeHagar.PlexAPI.SDK.Models.Components;
@@ -165,7 +165,7 @@ actions:
update: update:
x-codeSamples: x-codeSamples:
- lang: csharp - lang: csharp
label: startAllTasks label: PlexCSharp
source: |- source: |-
using LukeHagar.PlexAPI.SDK; using LukeHagar.PlexAPI.SDK;
using LukeHagar.PlexAPI.SDK.Models.Components; using LukeHagar.PlexAPI.SDK.Models.Components;
@@ -179,7 +179,7 @@ actions:
update: update:
x-codeSamples: x-codeSamples:
- lang: csharp - lang: csharp
label: stopTask label: PlexCSharp
source: |- source: |-
using LukeHagar.PlexAPI.SDK; using LukeHagar.PlexAPI.SDK;
using LukeHagar.PlexAPI.SDK.Models.Components; using LukeHagar.PlexAPI.SDK.Models.Components;
@@ -194,7 +194,7 @@ actions:
update: update:
x-codeSamples: x-codeSamples:
- lang: csharp - lang: csharp
label: startTask label: PlexCSharp
source: |- source: |-
using LukeHagar.PlexAPI.SDK; using LukeHagar.PlexAPI.SDK;
using LukeHagar.PlexAPI.SDK.Models.Components; using LukeHagar.PlexAPI.SDK.Models.Components;
@@ -209,7 +209,7 @@ actions:
update: update:
x-codeSamples: x-codeSamples:
- lang: csharp - lang: csharp
label: getAvailableClients label: PlexCSharp
source: |- source: |-
using LukeHagar.PlexAPI.SDK; using LukeHagar.PlexAPI.SDK;
using LukeHagar.PlexAPI.SDK.Models.Components; using LukeHagar.PlexAPI.SDK.Models.Components;
@@ -223,7 +223,7 @@ actions:
update: update:
x-codeSamples: x-codeSamples:
- lang: csharp - lang: csharp
label: getCompanionsData label: PlexCSharp
source: |- source: |-
using LukeHagar.PlexAPI.SDK; using LukeHagar.PlexAPI.SDK;
using LukeHagar.PlexAPI.SDK.Models.Components; using LukeHagar.PlexAPI.SDK.Models.Components;
@@ -237,7 +237,7 @@ actions:
update: update:
x-codeSamples: x-codeSamples:
- lang: csharp - lang: csharp
label: getDevices label: PlexCSharp
source: |- source: |-
using LukeHagar.PlexAPI.SDK; using LukeHagar.PlexAPI.SDK;
using LukeHagar.PlexAPI.SDK.Models.Components; using LukeHagar.PlexAPI.SDK.Models.Components;
@@ -251,7 +251,7 @@ actions:
update: update:
x-codeSamples: x-codeSamples:
- lang: csharp - lang: csharp
label: getUserFriends label: PlexCSharp
source: |- source: |-
using LukeHagar.PlexAPI.SDK; using LukeHagar.PlexAPI.SDK;
using LukeHagar.PlexAPI.SDK.Models.Components; using LukeHagar.PlexAPI.SDK.Models.Components;
@@ -265,7 +265,7 @@ actions:
update: update:
x-codeSamples: x-codeSamples:
- lang: csharp - lang: csharp
label: getGeoData label: PlexCSharp
source: |- source: |-
using LukeHagar.PlexAPI.SDK; using LukeHagar.PlexAPI.SDK;
@@ -278,7 +278,7 @@ actions:
update: update:
x-codeSamples: x-codeSamples:
- lang: csharp - lang: csharp
label: getHomeData label: PlexCSharp
source: |- source: |-
using LukeHagar.PlexAPI.SDK; using LukeHagar.PlexAPI.SDK;
using LukeHagar.PlexAPI.SDK.Models.Components; using LukeHagar.PlexAPI.SDK.Models.Components;
@@ -292,7 +292,7 @@ actions:
update: update:
x-codeSamples: x-codeSamples:
- lang: csharp - lang: csharp
label: getGlobalHubs label: PlexCSharp
source: |- source: |-
using LukeHagar.PlexAPI.SDK; using LukeHagar.PlexAPI.SDK;
using LukeHagar.PlexAPI.SDK.Models.Components; using LukeHagar.PlexAPI.SDK.Models.Components;
@@ -310,7 +310,7 @@ actions:
update: update:
x-codeSamples: x-codeSamples:
- lang: csharp - lang: csharp
label: get-recently-added label: PlexCSharp
source: |- source: |-
using LukeHagar.PlexAPI.SDK; using LukeHagar.PlexAPI.SDK;
using LukeHagar.PlexAPI.SDK.Models.Components; using LukeHagar.PlexAPI.SDK.Models.Components;
@@ -331,7 +331,7 @@ actions:
update: update:
x-codeSamples: x-codeSamples:
- lang: csharp - lang: csharp
label: performSearch label: PlexCSharp
source: |- source: |-
using LukeHagar.PlexAPI.SDK; using LukeHagar.PlexAPI.SDK;
using LukeHagar.PlexAPI.SDK.Models.Components; using LukeHagar.PlexAPI.SDK.Models.Components;
@@ -349,7 +349,7 @@ actions:
update: update:
x-codeSamples: x-codeSamples:
- lang: csharp - lang: csharp
label: performVoiceSearch label: PlexCSharp
source: |- source: |-
using LukeHagar.PlexAPI.SDK; using LukeHagar.PlexAPI.SDK;
using LukeHagar.PlexAPI.SDK.Models.Components; using LukeHagar.PlexAPI.SDK.Models.Components;
@@ -367,7 +367,7 @@ actions:
update: update:
x-codeSamples: x-codeSamples:
- lang: csharp - lang: csharp
label: getLibraryHubs label: PlexCSharp
source: |- source: |-
using LukeHagar.PlexAPI.SDK; using LukeHagar.PlexAPI.SDK;
using LukeHagar.PlexAPI.SDK.Models.Components; using LukeHagar.PlexAPI.SDK.Models.Components;
@@ -386,7 +386,7 @@ actions:
update: update:
x-codeSamples: x-codeSamples:
- lang: csharp - lang: csharp
label: get-server-identity label: PlexCSharp
source: |- source: |-
using LukeHagar.PlexAPI.SDK; using LukeHagar.PlexAPI.SDK;
@@ -399,7 +399,7 @@ actions:
update: update:
x-codeSamples: x-codeSamples:
- lang: csharp - lang: csharp
label: getTopWatchedContent label: PlexCSharp
source: |- source: |-
using LukeHagar.PlexAPI.SDK; using LukeHagar.PlexAPI.SDK;
using LukeHagar.PlexAPI.SDK.Models.Components; using LukeHagar.PlexAPI.SDK.Models.Components;
@@ -417,7 +417,7 @@ actions:
update: update:
x-codeSamples: x-codeSamples:
- lang: csharp - lang: csharp
label: getFileHash label: PlexCSharp
source: |- source: |-
using LukeHagar.PlexAPI.SDK; using LukeHagar.PlexAPI.SDK;
using LukeHagar.PlexAPI.SDK.Models.Components; using LukeHagar.PlexAPI.SDK.Models.Components;
@@ -434,7 +434,7 @@ actions:
update: update:
x-codeSamples: x-codeSamples:
- lang: csharp - lang: csharp
label: get-media-meta-data label: PlexCSharp
source: |- source: |-
using LukeHagar.PlexAPI.SDK; using LukeHagar.PlexAPI.SDK;
using LukeHagar.PlexAPI.SDK.Models.Components; using LukeHagar.PlexAPI.SDK.Models.Components;
@@ -466,7 +466,7 @@ actions:
update: update:
x-codeSamples: x-codeSamples:
- lang: csharp - lang: csharp
label: get-banner-image label: PlexCSharp
source: |- source: |-
using LukeHagar.PlexAPI.SDK; using LukeHagar.PlexAPI.SDK;
using LukeHagar.PlexAPI.SDK.Models.Components; using LukeHagar.PlexAPI.SDK.Models.Components;
@@ -490,7 +490,7 @@ actions:
update: update:
x-codeSamples: x-codeSamples:
- lang: csharp - lang: csharp
label: getMetadataChildren label: PlexCSharp
source: |- source: |-
using LukeHagar.PlexAPI.SDK; using LukeHagar.PlexAPI.SDK;
using LukeHagar.PlexAPI.SDK.Models.Components; using LukeHagar.PlexAPI.SDK.Models.Components;
@@ -507,7 +507,7 @@ actions:
update: update:
x-codeSamples: x-codeSamples:
- lang: csharp - lang: csharp
label: get-thumb-image label: PlexCSharp
source: |- source: |-
using LukeHagar.PlexAPI.SDK; using LukeHagar.PlexAPI.SDK;
using LukeHagar.PlexAPI.SDK.Models.Components; using LukeHagar.PlexAPI.SDK.Models.Components;
@@ -531,7 +531,7 @@ actions:
update: update:
x-codeSamples: x-codeSamples:
- lang: csharp - lang: csharp
label: get-recently-added-library label: PlexCSharp
source: |- source: |-
using LukeHagar.PlexAPI.SDK; using LukeHagar.PlexAPI.SDK;
using LukeHagar.PlexAPI.SDK.Models.Components; using LukeHagar.PlexAPI.SDK.Models.Components;
@@ -567,7 +567,7 @@ actions:
update: update:
x-codeSamples: x-codeSamples:
- lang: csharp - lang: csharp
label: get-search-all-libraries label: PlexCSharp
source: |- source: |-
using LukeHagar.PlexAPI.SDK; using LukeHagar.PlexAPI.SDK;
using LukeHagar.PlexAPI.SDK.Models.Components; using LukeHagar.PlexAPI.SDK.Models.Components;
@@ -591,7 +591,7 @@ actions:
update: update:
x-codeSamples: x-codeSamples:
- lang: csharp - lang: csharp
label: get-all-libraries label: PlexCSharp
source: |- source: |-
using LukeHagar.PlexAPI.SDK; using LukeHagar.PlexAPI.SDK;
using LukeHagar.PlexAPI.SDK.Models.Components; using LukeHagar.PlexAPI.SDK.Models.Components;
@@ -605,7 +605,7 @@ actions:
update: update:
x-codeSamples: x-codeSamples:
- lang: csharp - lang: csharp
label: get-watch-list label: PlexCSharp
source: |- source: |-
using LukeHagar.PlexAPI.SDK; using LukeHagar.PlexAPI.SDK;
using LukeHagar.PlexAPI.SDK.Models.Components; using LukeHagar.PlexAPI.SDK.Models.Components;
@@ -625,7 +625,7 @@ actions:
update: update:
x-codeSamples: x-codeSamples:
- lang: csharp - lang: csharp
label: deleteLibrary label: PlexCSharp
source: |- source: |-
using LukeHagar.PlexAPI.SDK; using LukeHagar.PlexAPI.SDK;
using LukeHagar.PlexAPI.SDK.Models.Components; using LukeHagar.PlexAPI.SDK.Models.Components;
@@ -639,7 +639,7 @@ actions:
update: update:
x-codeSamples: x-codeSamples:
- lang: csharp - lang: csharp
label: get-library-details label: PlexCSharp
source: |- source: |-
using LukeHagar.PlexAPI.SDK; using LukeHagar.PlexAPI.SDK;
using LukeHagar.PlexAPI.SDK.Models.Components; using LukeHagar.PlexAPI.SDK.Models.Components;
@@ -657,7 +657,7 @@ actions:
update: update:
x-codeSamples: x-codeSamples:
- lang: csharp - lang: csharp
label: get-actors-library label: PlexCSharp
source: |- source: |-
using LukeHagar.PlexAPI.SDK; using LukeHagar.PlexAPI.SDK;
using LukeHagar.PlexAPI.SDK.Models.Components; using LukeHagar.PlexAPI.SDK.Models.Components;
@@ -675,7 +675,7 @@ actions:
update: update:
x-codeSamples: x-codeSamples:
- lang: csharp - lang: csharp
label: get-all-media-library label: PlexCSharp
source: |- source: |-
using LukeHagar.PlexAPI.SDK; using LukeHagar.PlexAPI.SDK;
using LukeHagar.PlexAPI.SDK.Models.Components; using LukeHagar.PlexAPI.SDK.Models.Components;
@@ -695,7 +695,7 @@ actions:
update: update:
x-codeSamples: x-codeSamples:
- lang: csharp - lang: csharp
label: get-countries-library label: PlexCSharp
source: |- source: |-
using LukeHagar.PlexAPI.SDK; using LukeHagar.PlexAPI.SDK;
using LukeHagar.PlexAPI.SDK.Models.Components; using LukeHagar.PlexAPI.SDK.Models.Components;
@@ -713,7 +713,7 @@ actions:
update: update:
x-codeSamples: x-codeSamples:
- lang: csharp - lang: csharp
label: get-genres-library label: PlexCSharp
source: |- source: |-
using LukeHagar.PlexAPI.SDK; using LukeHagar.PlexAPI.SDK;
using LukeHagar.PlexAPI.SDK.Models.Components; using LukeHagar.PlexAPI.SDK.Models.Components;
@@ -731,7 +731,7 @@ actions:
update: update:
x-codeSamples: x-codeSamples:
- lang: csharp - lang: csharp
label: get-refresh-library-metadata label: PlexCSharp
source: |- source: |-
using LukeHagar.PlexAPI.SDK; using LukeHagar.PlexAPI.SDK;
using LukeHagar.PlexAPI.SDK.Models.Components; using LukeHagar.PlexAPI.SDK.Models.Components;
@@ -749,7 +749,7 @@ actions:
update: update:
x-codeSamples: x-codeSamples:
- lang: csharp - lang: csharp
label: get-search-library label: PlexCSharp
source: |- source: |-
using LukeHagar.PlexAPI.SDK; using LukeHagar.PlexAPI.SDK;
using LukeHagar.PlexAPI.SDK.Models.Components; using LukeHagar.PlexAPI.SDK.Models.Components;
@@ -767,7 +767,7 @@ actions:
update: update:
x-codeSamples: x-codeSamples:
- lang: csharp - lang: csharp
label: get-library-items label: PlexCSharp
source: |- source: |-
using LukeHagar.PlexAPI.SDK; using LukeHagar.PlexAPI.SDK;
using LukeHagar.PlexAPI.SDK.Models.Components; using LukeHagar.PlexAPI.SDK.Models.Components;
@@ -788,7 +788,7 @@ actions:
update: update:
x-codeSamples: x-codeSamples:
- lang: csharp - lang: csharp
label: logLine label: PlexCSharp
source: |- source: |-
using LukeHagar.PlexAPI.SDK; using LukeHagar.PlexAPI.SDK;
using LukeHagar.PlexAPI.SDK.Models.Components; using LukeHagar.PlexAPI.SDK.Models.Components;
@@ -807,7 +807,7 @@ actions:
update: update:
x-codeSamples: x-codeSamples:
- lang: csharp - lang: csharp
label: logMultiLine label: PlexCSharp
source: |- source: |-
using LukeHagar.PlexAPI.SDK; using LukeHagar.PlexAPI.SDK;
using LukeHagar.PlexAPI.SDK.Models.Components; using LukeHagar.PlexAPI.SDK.Models.Components;
@@ -825,7 +825,7 @@ actions:
update: update:
x-codeSamples: x-codeSamples:
- lang: csharp - lang: csharp
label: enablePaperTrail label: PlexCSharp
source: |- source: |-
using LukeHagar.PlexAPI.SDK; using LukeHagar.PlexAPI.SDK;
using LukeHagar.PlexAPI.SDK.Models.Components; using LukeHagar.PlexAPI.SDK.Models.Components;
@@ -839,7 +839,7 @@ actions:
update: update:
x-codeSamples: x-codeSamples:
- lang: csharp - lang: csharp
label: get-media-providers label: PlexCSharp
source: |- source: |-
using LukeHagar.PlexAPI.SDK; using LukeHagar.PlexAPI.SDK;
using LukeHagar.PlexAPI.SDK.Models.Components; using LukeHagar.PlexAPI.SDK.Models.Components;
@@ -853,7 +853,7 @@ actions:
update: update:
x-codeSamples: x-codeSamples:
- lang: csharp - lang: csharp
label: getMyPlexAccount label: PlexCSharp
source: |- source: |-
using LukeHagar.PlexAPI.SDK; using LukeHagar.PlexAPI.SDK;
using LukeHagar.PlexAPI.SDK.Models.Components; using LukeHagar.PlexAPI.SDK.Models.Components;
@@ -867,7 +867,7 @@ actions:
update: update:
x-codeSamples: x-codeSamples:
- lang: csharp - lang: csharp
label: getResizedPhoto label: PlexCSharp
source: |- source: |-
using LukeHagar.PlexAPI.SDK; using LukeHagar.PlexAPI.SDK;
using LukeHagar.PlexAPI.SDK.Models.Components; using LukeHagar.PlexAPI.SDK.Models.Components;
@@ -892,7 +892,7 @@ actions:
update: update:
x-codeSamples: x-codeSamples:
- lang: csharp - lang: csharp
label: getPin label: PlexCSharp
source: |- source: |-
using LukeHagar.PlexAPI.SDK; using LukeHagar.PlexAPI.SDK;
using LukeHagar.PlexAPI.SDK.Models.Requests; using LukeHagar.PlexAPI.SDK.Models.Requests;
@@ -914,7 +914,7 @@ actions:
update: update:
x-codeSamples: x-codeSamples:
- lang: csharp - lang: csharp
label: getTokenByPinId label: PlexCSharp
source: |- source: |-
using LukeHagar.PlexAPI.SDK; using LukeHagar.PlexAPI.SDK;
using LukeHagar.PlexAPI.SDK.Models.Requests; using LukeHagar.PlexAPI.SDK.Models.Requests;
@@ -937,7 +937,7 @@ actions:
update: update:
x-codeSamples: x-codeSamples:
- lang: csharp - lang: csharp
label: getPlaylists label: PlexCSharp
source: |- source: |-
using LukeHagar.PlexAPI.SDK; using LukeHagar.PlexAPI.SDK;
using LukeHagar.PlexAPI.SDK.Models.Components; using LukeHagar.PlexAPI.SDK.Models.Components;
@@ -955,7 +955,7 @@ actions:
update: update:
x-codeSamples: x-codeSamples:
- lang: csharp - lang: csharp
label: createPlaylist label: PlexCSharp
source: |- source: |-
using LukeHagar.PlexAPI.SDK; using LukeHagar.PlexAPI.SDK;
using LukeHagar.PlexAPI.SDK.Models.Components; using LukeHagar.PlexAPI.SDK.Models.Components;
@@ -977,7 +977,7 @@ actions:
update: update:
x-codeSamples: x-codeSamples:
- lang: csharp - lang: csharp
label: uploadPlaylist label: PlexCSharp
source: |- source: |-
using LukeHagar.PlexAPI.SDK; using LukeHagar.PlexAPI.SDK;
using LukeHagar.PlexAPI.SDK.Models.Components; using LukeHagar.PlexAPI.SDK.Models.Components;
@@ -996,7 +996,7 @@ actions:
update: update:
x-codeSamples: x-codeSamples:
- lang: csharp - lang: csharp
label: deletePlaylist label: PlexCSharp
source: |- source: |-
using LukeHagar.PlexAPI.SDK; using LukeHagar.PlexAPI.SDK;
using LukeHagar.PlexAPI.SDK.Models.Components; using LukeHagar.PlexAPI.SDK.Models.Components;
@@ -1010,7 +1010,7 @@ actions:
update: update:
x-codeSamples: x-codeSamples:
- lang: csharp - lang: csharp
label: getPlaylist label: PlexCSharp
source: |- source: |-
using LukeHagar.PlexAPI.SDK; using LukeHagar.PlexAPI.SDK;
using LukeHagar.PlexAPI.SDK.Models.Components; using LukeHagar.PlexAPI.SDK.Models.Components;
@@ -1024,7 +1024,7 @@ actions:
update: update:
x-codeSamples: x-codeSamples:
- lang: csharp - lang: csharp
label: updatePlaylist label: PlexCSharp
source: |- source: |-
using LukeHagar.PlexAPI.SDK; using LukeHagar.PlexAPI.SDK;
using LukeHagar.PlexAPI.SDK.Models.Components; using LukeHagar.PlexAPI.SDK.Models.Components;
@@ -1042,7 +1042,7 @@ actions:
update: update:
x-codeSamples: x-codeSamples:
- lang: csharp - lang: csharp
label: clearPlaylistContents label: PlexCSharp
source: |- source: |-
using LukeHagar.PlexAPI.SDK; using LukeHagar.PlexAPI.SDK;
using LukeHagar.PlexAPI.SDK.Models.Components; using LukeHagar.PlexAPI.SDK.Models.Components;
@@ -1056,7 +1056,7 @@ actions:
update: update:
x-codeSamples: x-codeSamples:
- lang: csharp - lang: csharp
label: getPlaylistContents label: PlexCSharp
source: |- source: |-
using LukeHagar.PlexAPI.SDK; using LukeHagar.PlexAPI.SDK;
using LukeHagar.PlexAPI.SDK.Models.Components; using LukeHagar.PlexAPI.SDK.Models.Components;
@@ -1074,7 +1074,7 @@ actions:
update: update:
x-codeSamples: x-codeSamples:
- lang: csharp - lang: csharp
label: addPlaylistContents label: PlexCSharp
source: |- source: |-
using LukeHagar.PlexAPI.SDK; using LukeHagar.PlexAPI.SDK;
using LukeHagar.PlexAPI.SDK.Models.Components; using LukeHagar.PlexAPI.SDK.Models.Components;
@@ -1092,7 +1092,7 @@ actions:
update: update:
x-codeSamples: x-codeSamples:
- lang: csharp - lang: csharp
label: get-server-resources label: PlexCSharp
source: |- source: |-
using LukeHagar.PlexAPI.SDK; using LukeHagar.PlexAPI.SDK;
using LukeHagar.PlexAPI.SDK.Models.Components; using LukeHagar.PlexAPI.SDK.Models.Components;
@@ -1112,7 +1112,7 @@ actions:
update: update:
x-codeSamples: x-codeSamples:
- lang: csharp - lang: csharp
label: getSearchResults label: PlexCSharp
source: |- source: |-
using LukeHagar.PlexAPI.SDK; using LukeHagar.PlexAPI.SDK;
using LukeHagar.PlexAPI.SDK.Models.Components; using LukeHagar.PlexAPI.SDK.Models.Components;
@@ -1126,7 +1126,7 @@ actions:
update: update:
x-codeSamples: x-codeSamples:
- lang: csharp - lang: csharp
label: getSourceConnectionInformation label: PlexCSharp
source: |- source: |-
using LukeHagar.PlexAPI.SDK; using LukeHagar.PlexAPI.SDK;
using LukeHagar.PlexAPI.SDK.Models.Components; using LukeHagar.PlexAPI.SDK.Models.Components;
@@ -1140,7 +1140,7 @@ actions:
update: update:
x-codeSamples: x-codeSamples:
- lang: csharp - lang: csharp
label: getTransientToken label: PlexCSharp
source: |- source: |-
using LukeHagar.PlexAPI.SDK; using LukeHagar.PlexAPI.SDK;
using LukeHagar.PlexAPI.SDK.Models.Components; using LukeHagar.PlexAPI.SDK.Models.Components;
@@ -1158,7 +1158,7 @@ actions:
update: update:
x-codeSamples: x-codeSamples:
- lang: csharp - lang: csharp
label: getServerList label: PlexCSharp
source: |- source: |-
using LukeHagar.PlexAPI.SDK; using LukeHagar.PlexAPI.SDK;
using LukeHagar.PlexAPI.SDK.Models.Components; using LukeHagar.PlexAPI.SDK.Models.Components;
@@ -1172,7 +1172,7 @@ actions:
update: update:
x-codeSamples: x-codeSamples:
- lang: csharp - lang: csharp
label: getBandwidthStatistics label: PlexCSharp
source: |- source: |-
using LukeHagar.PlexAPI.SDK; using LukeHagar.PlexAPI.SDK;
using LukeHagar.PlexAPI.SDK.Models.Components; using LukeHagar.PlexAPI.SDK.Models.Components;
@@ -1186,7 +1186,7 @@ actions:
update: update:
x-codeSamples: x-codeSamples:
- lang: csharp - lang: csharp
label: getStatistics label: PlexCSharp
source: |- source: |-
using LukeHagar.PlexAPI.SDK; using LukeHagar.PlexAPI.SDK;
using LukeHagar.PlexAPI.SDK.Models.Components; using LukeHagar.PlexAPI.SDK.Models.Components;
@@ -1200,7 +1200,7 @@ actions:
update: update:
x-codeSamples: x-codeSamples:
- lang: csharp - lang: csharp
label: getResourcesStatistics label: PlexCSharp
source: |- source: |-
using LukeHagar.PlexAPI.SDK; using LukeHagar.PlexAPI.SDK;
using LukeHagar.PlexAPI.SDK.Models.Components; using LukeHagar.PlexAPI.SDK.Models.Components;
@@ -1214,7 +1214,7 @@ actions:
update: update:
x-codeSamples: x-codeSamples:
- lang: csharp - lang: csharp
label: getSessions label: PlexCSharp
source: |- source: |-
using LukeHagar.PlexAPI.SDK; using LukeHagar.PlexAPI.SDK;
using LukeHagar.PlexAPI.SDK.Models.Components; using LukeHagar.PlexAPI.SDK.Models.Components;
@@ -1228,7 +1228,7 @@ actions:
update: update:
x-codeSamples: x-codeSamples:
- lang: csharp - lang: csharp
label: getSessionHistory label: PlexCSharp
source: |- source: |-
using LukeHagar.PlexAPI.SDK; using LukeHagar.PlexAPI.SDK;
using LukeHagar.PlexAPI.SDK.Models.Components; using LukeHagar.PlexAPI.SDK.Models.Components;
@@ -1248,7 +1248,7 @@ actions:
update: update:
x-codeSamples: x-codeSamples:
- lang: csharp - lang: csharp
label: getTranscodeSessions label: PlexCSharp
source: |- source: |-
using LukeHagar.PlexAPI.SDK; using LukeHagar.PlexAPI.SDK;
using LukeHagar.PlexAPI.SDK.Models.Components; using LukeHagar.PlexAPI.SDK.Models.Components;
@@ -1262,7 +1262,7 @@ actions:
update: update:
x-codeSamples: x-codeSamples:
- lang: csharp - lang: csharp
label: stopTranscodeSession label: PlexCSharp
source: |- source: |-
using LukeHagar.PlexAPI.SDK; using LukeHagar.PlexAPI.SDK;
using LukeHagar.PlexAPI.SDK.Models.Components; using LukeHagar.PlexAPI.SDK.Models.Components;
@@ -1276,7 +1276,7 @@ actions:
update: update:
x-codeSamples: x-codeSamples:
- lang: csharp - lang: csharp
label: applyUpdates label: PlexCSharp
source: |- source: |-
using LukeHagar.PlexAPI.SDK; using LukeHagar.PlexAPI.SDK;
using LukeHagar.PlexAPI.SDK.Models.Components; using LukeHagar.PlexAPI.SDK.Models.Components;
@@ -1294,7 +1294,7 @@ actions:
update: update:
x-codeSamples: x-codeSamples:
- lang: csharp - lang: csharp
label: checkForUpdates label: PlexCSharp
source: |- source: |-
using LukeHagar.PlexAPI.SDK; using LukeHagar.PlexAPI.SDK;
using LukeHagar.PlexAPI.SDK.Models.Components; using LukeHagar.PlexAPI.SDK.Models.Components;
@@ -1309,7 +1309,7 @@ actions:
update: update:
x-codeSamples: x-codeSamples:
- lang: csharp - lang: csharp
label: getUpdateStatus label: PlexCSharp
source: |- source: |-
using LukeHagar.PlexAPI.SDK; using LukeHagar.PlexAPI.SDK;
using LukeHagar.PlexAPI.SDK.Models.Components; using LukeHagar.PlexAPI.SDK.Models.Components;
@@ -1323,7 +1323,7 @@ actions:
update: update:
x-codeSamples: x-codeSamples:
- lang: csharp - lang: csharp
label: getTokenDetails label: PlexCSharp
source: |- source: |-
using LukeHagar.PlexAPI.SDK; using LukeHagar.PlexAPI.SDK;
using LukeHagar.PlexAPI.SDK.Models.Components; using LukeHagar.PlexAPI.SDK.Models.Components;
@@ -1337,7 +1337,7 @@ actions:
update: update:
x-codeSamples: x-codeSamples:
- lang: csharp - lang: csharp
label: get-users label: PlexCSharp
source: |- source: |-
using LukeHagar.PlexAPI.SDK; using LukeHagar.PlexAPI.SDK;
using LukeHagar.PlexAPI.SDK.Models.Requests; using LukeHagar.PlexAPI.SDK.Models.Requests;
@@ -1367,7 +1367,7 @@ actions:
update: update:
x-codeSamples: x-codeSamples:
- lang: csharp - lang: csharp
label: post-users-sign-in-data label: PlexCSharp
source: |- source: |-
using LukeHagar.PlexAPI.SDK; using LukeHagar.PlexAPI.SDK;
using LukeHagar.PlexAPI.SDK.Models.Requests; using LukeHagar.PlexAPI.SDK.Models.Requests;
@@ -1394,7 +1394,7 @@ actions:
update: update:
x-codeSamples: x-codeSamples:
- lang: csharp - lang: csharp
label: startUniversalTranscode label: PlexCSharp
source: |- source: |-
using LukeHagar.PlexAPI.SDK; using LukeHagar.PlexAPI.SDK;
using LukeHagar.PlexAPI.SDK.Models.Components; using LukeHagar.PlexAPI.SDK.Models.Components;