ci: regenerated with OpenAPI Doc 0.0.3, Speakeasy CLI 1.147.0

This commit is contained in:
speakeasybot
2024-01-19 17:27:33 +00:00
parent a2574b38a7
commit 9df2a4face
28 changed files with 232 additions and 46 deletions

View File

@@ -1,12 +1,12 @@
lockVersion: 2.0.0 lockVersion: 2.0.0
id: 5a8dbcbc-e0ee-41f0-9d84-b8b50567d1e9 id: 5a8dbcbc-e0ee-41f0-9d84-b8b50567d1e9
management: management:
docChecksum: 45c73686e6dbe8c29b7e2857b6194ccf docChecksum: a14d0ae27d4f5bd83b80747112f74352
docVersion: 0.0.3 docVersion: 0.0.3
speakeasyVersion: internal speakeasyVersion: internal
generationVersion: 2.237.2 generationVersion: 2.237.2
releaseVersion: 0.1.2 releaseVersion: 0.1.3
configChecksum: 507f77da627cd2f7f1d5a580b89775fa configChecksum: 118f41d4e58820369dd7cd8400642873
repoURL: https://github.com/LukeHagar/plexcsharp.git repoURL: https://github.com/LukeHagar/plexcsharp.git
repoSubDirectory: . repoSubDirectory: .
published: true published: true
@@ -194,6 +194,9 @@ generatedFiles:
- PlexAPI/Models/Requests/IncludeDetails.cs - PlexAPI/Models/Requests/IncludeDetails.cs
- PlexAPI/Models/Requests/GetLibraryRequest.cs - PlexAPI/Models/Requests/GetLibraryRequest.cs
- PlexAPI/Models/Requests/GetLibraryErrors.cs - PlexAPI/Models/Requests/GetLibraryErrors.cs
- PlexAPI/Models/Requests/GetLibraryLibraryResponseBody.cs
- PlexAPI/Models/Requests/GetLibraryDirectory.cs
- PlexAPI/Models/Requests/GetLibraryMediaContainer.cs
- PlexAPI/Models/Requests/GetLibraryResponseBody.cs - PlexAPI/Models/Requests/GetLibraryResponseBody.cs
- PlexAPI/Models/Requests/GetLibraryResponse.cs - PlexAPI/Models/Requests/GetLibraryResponse.cs
- PlexAPI/Models/Requests/DeleteLibraryRequest.cs - PlexAPI/Models/Requests/DeleteLibraryRequest.cs
@@ -484,6 +487,9 @@ generatedFiles:
- docs/Models/Requests/IncludeDetails.md - docs/Models/Requests/IncludeDetails.md
- docs/Models/Requests/GetLibraryRequest.md - docs/Models/Requests/GetLibraryRequest.md
- docs/Models/Requests/GetLibraryErrors.md - docs/Models/Requests/GetLibraryErrors.md
- docs/Models/Requests/GetLibraryLibraryResponseBody.md
- docs/Models/Requests/GetLibraryDirectory.md
- docs/Models/Requests/GetLibraryMediaContainer.md
- docs/Models/Requests/GetLibraryResponseBody.md - docs/Models/Requests/GetLibraryResponseBody.md
- docs/Models/Requests/GetLibraryResponse.md - docs/Models/Requests/GetLibraryResponse.md
- docs/Models/Requests/DeleteLibraryRequest.md - docs/Models/Requests/DeleteLibraryRequest.md

View File

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

View File

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

View File

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

View File

@@ -181,10 +181,10 @@ namespace PlexAPI
{ {
public SDKConfig SDKConfiguration { get; private set; } public SDKConfig SDKConfiguration { get; private set; }
private const string _language = "csharp"; private const string _language = "csharp";
private const string _sdkVersion = "0.1.2"; private const string _sdkVersion = "0.1.3";
private const string _sdkGenVersion = "2.237.2"; private const string _sdkGenVersion = "2.237.2";
private const string _openapiDocVersion = "0.0.3"; private const string _openapiDocVersion = "0.0.3";
private const string _userAgent = "speakeasy-sdk/csharp 0.1.2 2.237.2 0.0.3 Plex-API"; private const string _userAgent = "speakeasy-sdk/csharp 0.1.3 2.237.2 0.0.3 Plex-API";
private string _serverUrl = ""; private string _serverUrl = "";
private ISpeakeasyHttpClient _defaultClient; private ISpeakeasyHttpClient _defaultClient;
private ISpeakeasyHttpClient _securityClient; private ISpeakeasyHttpClient _securityClient;
@@ -368,7 +368,16 @@ namespace PlexAPI
RawResponse = httpResponse RawResponse = httpResponse
}; };
if((response.StatusCode == 200) || (response.StatusCode == 400)) if((response.StatusCode == 200))
{
if(Utilities.IsContentTypeMatch("application/json",response.ContentType))
{
response.TwoHundredApplicationJsonObject = JsonConvert.DeserializeObject<GetLibraryResponseBody>(await httpResponse.Content.ReadAsStringAsync(), new JsonSerializerSettings(){ NullValueHandling = NullValueHandling.Ignore, Converters = new JsonConverter[] { new FlexibleObjectDeserializer(), new EnumSerializer() }});
}
return response;
}
if((response.StatusCode == 400))
{ {
return response; return response;
@@ -377,7 +386,7 @@ namespace PlexAPI
{ {
if(Utilities.IsContentTypeMatch("application/json",response.ContentType)) if(Utilities.IsContentTypeMatch("application/json",response.ContentType))
{ {
response.Object = JsonConvert.DeserializeObject<GetLibraryResponseBody>(await httpResponse.Content.ReadAsStringAsync(), new JsonSerializerSettings(){ NullValueHandling = NullValueHandling.Ignore, Converters = new JsonConverter[] { new FlexibleObjectDeserializer(), new EnumSerializer() }}); response.FourHundredAndOneApplicationJsonObject = JsonConvert.DeserializeObject<GetLibraryLibraryResponseBody>(await httpResponse.Content.ReadAsStringAsync(), new JsonSerializerSettings(){ NullValueHandling = NullValueHandling.Ignore, Converters = new JsonConverter[] { new FlexibleObjectDeserializer(), new EnumSerializer() }});
} }
return response; return response;

View File

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

View File

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

View File

@@ -0,0 +1,33 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
//
// Changes to this file may cause incorrect behavior and will be lost when
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
#nullable enable
namespace PlexAPI.Models.Requests
{
using Newtonsoft.Json;
public class GetLibraryDirectory
{
[JsonProperty("secondary")]
public bool? Secondary { get; set; }
[JsonProperty("prompt")]
public string? Prompt { get; set; }
[JsonProperty("search")]
public bool? Search { get; set; }
[JsonProperty("key")]
public string? Key { get; set; }
[JsonProperty("title")]
public string? Title { get; set; }
}
}

View File

@@ -0,0 +1,25 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
//
// Changes to this file may cause incorrect behavior and will be lost when
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
#nullable enable
namespace PlexAPI.Models.Requests
{
using Newtonsoft.Json;
using System.Collections.Generic;
/// <summary>
/// Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
/// </summary>
public class GetLibraryLibraryResponseBody
{
[JsonProperty("errors")]
public List<GetLibraryErrors>? Errors { get; set; }
}
}

View File

@@ -0,0 +1,58 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
//
// Changes to this file may cause incorrect behavior and will be lost when
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
#nullable enable
namespace PlexAPI.Models.Requests
{
using Newtonsoft.Json;
using System.Collections.Generic;
public class GetLibraryMediaContainer
{
[JsonProperty("size")]
public int? Size { get; set; }
[JsonProperty("allowSync")]
public bool? AllowSync { get; set; }
[JsonProperty("art")]
public string? Art { get; set; }
[JsonProperty("content")]
public string? Content { get; set; }
[JsonProperty("identifier")]
public string? Identifier { get; set; }
[JsonProperty("librarySectionID")]
public int? LibrarySectionID { get; set; }
[JsonProperty("mediaTagPrefix")]
public string? MediaTagPrefix { get; set; }
[JsonProperty("mediaTagVersion")]
public int? MediaTagVersion { get; set; }
[JsonProperty("thumb")]
public string? Thumb { get; set; }
[JsonProperty("title1")]
public string? Title1 { get; set; }
[JsonProperty("viewGroup")]
public string? ViewGroup { get; set; }
[JsonProperty("viewMode")]
public int? ViewMode { get; set; }
[JsonProperty("Directory")]
public List<GetLibraryDirectory>? Directory { get; set; }
}
}

View File

@@ -31,9 +31,14 @@ namespace PlexAPI.Models.Requests
/// </summary> /// </summary>
public HttpResponseMessage RawResponse { get; set; } = default!; public HttpResponseMessage RawResponse { get; set; } = default!;
/// <summary>
/// The details of the library
/// </summary>
public GetLibraryResponseBody? TwoHundredApplicationJsonObject { get; set; }
/// <summary> /// <summary>
/// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
/// </summary> /// </summary>
public GetLibraryResponseBody? Object { get; set; } public GetLibraryLibraryResponseBody? FourHundredAndOneApplicationJsonObject { get; set; }
} }
} }

View File

@@ -11,15 +11,14 @@
namespace PlexAPI.Models.Requests namespace PlexAPI.Models.Requests
{ {
using Newtonsoft.Json; using Newtonsoft.Json;
using System.Collections.Generic;
/// <summary> /// <summary>
/// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. /// The details of the library
/// </summary> /// </summary>
public class GetLibraryResponseBody public class GetLibraryResponseBody
{ {
[JsonProperty("errors")] [JsonProperty("MediaContainer")]
public List<GetLibraryErrors>? Errors { get; set; } public GetLibraryMediaContainer? MediaContainer { get; set; }
} }
} }

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -31,3 +31,11 @@ Based on:
- Speakeasy CLI 1.147.0 (2.237.2) https://github.com/speakeasy-api/speakeasy - Speakeasy CLI 1.147.0 (2.237.2) https://github.com/speakeasy-api/speakeasy
### Generated ### Generated
- [csharp v0.1.2] . - [csharp v0.1.2] .
## 2024-01-19 17:27:22
### Changes
Based on:
- OpenAPI Doc 0.0.3
- Speakeasy CLI 1.147.0 (2.237.2) https://github.com/speakeasy-api/speakeasy
### Generated
- [csharp v0.1.3] .

View File

@@ -0,0 +1,12 @@
# GetLibraryDirectory
## Fields
| Field | Type | Required | Description | Example |
| ------------------ | ------------------ | ------------------ | ------------------ | ------------------ |
| `Secondary` | *bool* | :heavy_minus_sign: | N/A | true |
| `Prompt` | *string* | :heavy_minus_sign: | N/A | Search Movies |
| `Search` | *bool* | :heavy_minus_sign: | N/A | true |
| `Key` | *string* | :heavy_minus_sign: | N/A | search?type=1 |
| `Title` | *string* | :heavy_minus_sign: | N/A | Search... |

View File

@@ -0,0 +1,10 @@
# GetLibraryLibraryResponseBody
Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
## Fields
| Field | Type | Required | Description |
| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- |
| `Errors` | List<[GetLibraryErrors](../../Models/Requests/GetLibraryErrors.md)> | :heavy_minus_sign: | N/A |

View File

@@ -0,0 +1,20 @@
# GetLibraryMediaContainer
## Fields
| Field | Type | Required | Description | Example |
| ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- |
| `Size` | *int* | :heavy_minus_sign: | N/A | 20 |
| `AllowSync` | *bool* | :heavy_minus_sign: | N/A | false |
| `Art` | *string* | :heavy_minus_sign: | N/A | /:/resources/movie-fanart.jpg |
| `Content` | *string* | :heavy_minus_sign: | N/A | secondary |
| `Identifier` | *string* | :heavy_minus_sign: | N/A | com.plexapp.plugins.library |
| `LibrarySectionID` | *int* | :heavy_minus_sign: | N/A | 1 |
| `MediaTagPrefix` | *string* | :heavy_minus_sign: | N/A | /system/bundle/media/flags/ |
| `MediaTagVersion` | *int* | :heavy_minus_sign: | N/A | 1698860922 |
| `Thumb` | *string* | :heavy_minus_sign: | N/A | /:/resources/movie.png |
| `Title1` | *string* | :heavy_minus_sign: | N/A | Movies |
| `ViewGroup` | *string* | :heavy_minus_sign: | N/A | secondary |
| `ViewMode` | *int* | :heavy_minus_sign: | N/A | 65592 |
| `Directory` | List<[GetLibraryDirectory](../../Models/Requests/GetLibraryDirectory.md)> | :heavy_minus_sign: | N/A | [{"key":"search?type=1","prompt":"Search Movies","search":true,"secondary":true,"title":"Search..."}] |

View File

@@ -8,4 +8,5 @@
| `ContentType` | *string* | :heavy_check_mark: | HTTP response content type for this operation | | `ContentType` | *string* | :heavy_check_mark: | HTTP response content type for this operation |
| `StatusCode` | *int* | :heavy_check_mark: | HTTP response status code for this operation | | `StatusCode` | *int* | :heavy_check_mark: | HTTP response status code for this operation |
| `RawResponse` | [HttpResponseMessage](https://learn.microsoft.com/en-us/dotnet/api/system.net.http.httpresponsemessage?view=net-5.0) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | | `RawResponse` | [HttpResponseMessage](https://learn.microsoft.com/en-us/dotnet/api/system.net.http.httpresponsemessage?view=net-5.0) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing |
| `Object` | [GetLibraryResponseBody](../../Models/Requests/GetLibraryResponseBody.md) | :heavy_minus_sign: | Unauthorized - Returned if the X-Plex-Token is missing from the header or query. | | `TwoHundredApplicationJsonObject` | [GetLibraryResponseBody](../../Models/Requests/GetLibraryResponseBody.md) | :heavy_minus_sign: | The details of the library |
| `FourHundredAndOneApplicationJsonObject` | [GetLibraryLibraryResponseBody](../../Models/Requests/GetLibraryLibraryResponseBody.md) | :heavy_minus_sign: | Unauthorized - Returned if the X-Plex-Token is missing from the header or query. |

View File

@@ -1,10 +1,10 @@
# GetLibraryResponseBody # GetLibraryResponseBody
Unauthorized - Returned if the X-Plex-Token is missing from the header or query. The details of the library
## Fields ## Fields
| Field | Type | Required | Description | | Field | Type | Required | Description |
| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- |
| `Errors` | List<[GetLibraryErrors](../../Models/Requests/GetLibraryErrors.md)> | :heavy_minus_sign: | N/A | | `MediaContainer` | [GetLibraryMediaContainer](../../Models/Requests/GetLibraryMediaContainer.md) | :heavy_minus_sign: | N/A |

View File

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