ci: regenerated with OpenAPI Doc 0.0.3, Speakeasy CLI 1.148.0

This commit is contained in:
speakeasybot
2024-01-20 03:10:31 +00:00
parent 9df2a4face
commit 0c390dec3b
42 changed files with 456 additions and 85 deletions

View File

@@ -1,12 +1,12 @@
lockVersion: 2.0.0
id: 5a8dbcbc-e0ee-41f0-9d84-b8b50567d1e9
management:
docChecksum: a14d0ae27d4f5bd83b80747112f74352
docChecksum: 1e8e82037a237e1d1467721fbd2c7ab0
docVersion: 0.0.3
speakeasyVersion: internal
generationVersion: 2.237.2
releaseVersion: 0.1.3
configChecksum: 118f41d4e58820369dd7cd8400642873
generationVersion: 2.237.3
releaseVersion: 0.1.4
configChecksum: 2355fec2a6caedf505c0100382e8bb81
repoURL: https://github.com/LukeHagar/plexcsharp.git
repoSubDirectory: .
published: true
@@ -53,6 +53,8 @@ generatedFiles:
- PlexAPI/Models/Requests/GetServerCapabilitiesResponseBody.cs
- PlexAPI/Models/Requests/GetServerCapabilitiesResponse.cs
- PlexAPI/Models/Requests/GetServerPreferencesErrors.cs
- PlexAPI/Models/Requests/GetServerPreferencesServerResponseBody.cs
- PlexAPI/Models/Requests/GetServerPreferencesMediaContainer.cs
- PlexAPI/Models/Requests/GetServerPreferencesResponseBody.cs
- PlexAPI/Models/Requests/GetServerPreferencesResponse.cs
- PlexAPI/Models/Requests/GetAvailableClientsErrors.cs
@@ -196,6 +198,12 @@ generatedFiles:
- PlexAPI/Models/Requests/GetLibraryErrors.cs
- PlexAPI/Models/Requests/GetLibraryLibraryResponseBody.cs
- PlexAPI/Models/Requests/GetLibraryDirectory.cs
- PlexAPI/Models/Requests/Filter.cs
- PlexAPI/Models/Requests/Sort.cs
- PlexAPI/Models/Requests/Field.cs
- PlexAPI/Models/Requests/GetLibraryType.cs
- PlexAPI/Models/Requests/Operator.cs
- PlexAPI/Models/Requests/FieldType.cs
- PlexAPI/Models/Requests/GetLibraryMediaContainer.cs
- PlexAPI/Models/Requests/GetLibraryResponseBody.cs
- PlexAPI/Models/Requests/GetLibraryResponse.cs
@@ -346,6 +354,8 @@ generatedFiles:
- docs/Models/Requests/GetServerCapabilitiesResponseBody.md
- docs/Models/Requests/GetServerCapabilitiesResponse.md
- docs/Models/Requests/GetServerPreferencesErrors.md
- docs/Models/Requests/GetServerPreferencesServerResponseBody.md
- docs/Models/Requests/GetServerPreferencesMediaContainer.md
- docs/Models/Requests/GetServerPreferencesResponseBody.md
- docs/Models/Requests/GetServerPreferencesResponse.md
- docs/Models/Requests/GetAvailableClientsErrors.md
@@ -489,6 +499,12 @@ generatedFiles:
- docs/Models/Requests/GetLibraryErrors.md
- docs/Models/Requests/GetLibraryLibraryResponseBody.md
- docs/Models/Requests/GetLibraryDirectory.md
- docs/Models/Requests/Filter.md
- docs/Models/Requests/Sort.md
- docs/Models/Requests/Field.md
- docs/Models/Requests/GetLibraryType.md
- docs/Models/Requests/Operator.md
- docs/Models/Requests/FieldType.md
- docs/Models/Requests/GetLibraryMediaContainer.md
- docs/Models/Requests/GetLibraryResponseBody.md
- docs/Models/Requests/GetLibraryResponse.md

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -0,0 +1,30 @@
//------------------------------------------------------------------------------
// <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 Field
{
[JsonProperty("key")]
public string? Key { get; set; }
[JsonProperty("title")]
public string? Title { get; set; }
[JsonProperty("type")]
public string? Type { get; set; }
[JsonProperty("subType")]
public string? SubType { 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;
public class FieldType
{
[JsonProperty("type")]
public string? Type { get; set; }
[JsonProperty("Operator")]
public List<Operator>? Operator { get; set; }
}
}

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 Filter
{
[JsonProperty("filter")]
public string? FilterValue { get; set; }
[JsonProperty("filterType")]
public string? FilterType { get; set; }
[JsonProperty("key")]
public string? Key { get; set; }
[JsonProperty("title")]
public string? Title { get; set; }
[JsonProperty("type")]
public string? Type { get; set; }
}
}

View File

@@ -15,6 +15,12 @@ namespace PlexAPI.Models.Requests
public class GetLibraryDirectory
{
[JsonProperty("key")]
public string? Key { get; set; }
[JsonProperty("title")]
public string? Title { get; set; }
[JsonProperty("secondary")]
public bool? Secondary { get; set; }
@@ -23,11 +29,5 @@ namespace PlexAPI.Models.Requests
[JsonProperty("search")]
public bool? Search { get; set; }
[JsonProperty("key")]
public string? Key { get; set; }
[JsonProperty("title")]
public string? Title { get; set; }
}
}

View File

@@ -54,5 +54,11 @@ namespace PlexAPI.Models.Requests
[JsonProperty("Directory")]
public List<GetLibraryDirectory>? Directory { get; set; }
[JsonProperty("Type")]
public List<GetLibraryType>? Type { get; set; }
[JsonProperty("FieldType")]
public List<FieldType>? FieldType { get; set; }
}
}

View File

@@ -0,0 +1,40 @@
//------------------------------------------------------------------------------
// <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 GetLibraryType
{
[JsonProperty("key")]
public string? Key { get; set; }
[JsonProperty("type")]
public string? Type { get; set; }
[JsonProperty("title")]
public string? Title { get; set; }
[JsonProperty("active")]
public bool? Active { get; set; }
[JsonProperty("Filter")]
public List<Filter>? Filter { get; set; }
[JsonProperty("Sort")]
public List<Sort>? Sort { get; set; }
[JsonProperty("Field")]
public List<Field>? Field { 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;
public class GetServerPreferencesMediaContainer
{
[JsonProperty("size")]
public int? Size { get; set; }
[JsonProperty("Setting")]
public List<object>? Setting { get; set; }
}
}

View File

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

View File

@@ -11,15 +11,14 @@
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.
/// Server Preferences
/// </summary>
public class GetServerPreferencesResponseBody
{
[JsonProperty("errors")]
public List<GetServerPreferencesErrors>? Errors { get; set; }
[JsonProperty("MediaContainer")]
public GetServerPreferencesMediaContainer? MediaContainer { 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 GetServerPreferencesServerResponseBody
{
[JsonProperty("errors")]
public List<GetServerPreferencesErrors>? Errors { get; set; }
}
}

View File

@@ -0,0 +1,24 @@
//------------------------------------------------------------------------------
// <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 Operator
{
[JsonProperty("key")]
public string? Key { get; set; }
[JsonProperty("title")]
public string? Title { get; set; }
}
}

View File

@@ -0,0 +1,36 @@
//------------------------------------------------------------------------------
// <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 Sort
{
[JsonProperty("default")]
public string? Default { get; set; }
[JsonProperty("defaultDirection")]
public string? DefaultDirection { get; set; }
[JsonProperty("descKey")]
public string? DescKey { get; set; }
[JsonProperty("firstCharacterKey")]
public string? FirstCharacterKey { get; set; }
[JsonProperty("key")]
public string? Key { get; set; }
[JsonProperty("title")]
public string? Title { get; set; }
}
}

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -38,4 +38,12 @@ 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] .
- [csharp v0.1.3] .
## 2024-01-20 03:10:20
### Changes
Based on:
- OpenAPI Doc 0.0.3
- Speakeasy CLI 1.148.0 (2.237.3) https://github.com/speakeasy-api/speakeasy
### Generated
- [csharp v0.1.4] .

View File

@@ -0,0 +1,11 @@
# Field
## Fields
| Field | Type | Required | Description | Example |
| ------------------ | ------------------ | ------------------ | ------------------ | ------------------ |
| `Key` | *string* | :heavy_minus_sign: | N/A | label |
| `Title` | *string* | :heavy_minus_sign: | N/A | Label |
| `Type` | *string* | :heavy_minus_sign: | N/A | tag |
| `SubType` | *string* | :heavy_minus_sign: | N/A | bitrate |

View File

@@ -0,0 +1,9 @@
# FieldType
## Fields
| Field | Type | Required | Description | Example |
| --------------------------------------------------- | --------------------------------------------------- | --------------------------------------------------- | --------------------------------------------------- | --------------------------------------------------- |
| `Type` | *string* | :heavy_minus_sign: | N/A | resolution |
| `Operator` | List<[Operator](../../Models/Requests/Operator.md)> | :heavy_minus_sign: | N/A | [{"key":"=","title":"is"}] |

View File

@@ -0,0 +1,12 @@
# Filter
## Fields
| Field | Type | Required | Description | Example |
| ------------------------- | ------------------------- | ------------------------- | ------------------------- | ------------------------- |
| `Filter` | *string* | :heavy_minus_sign: | N/A | label |
| `FilterType` | *string* | :heavy_minus_sign: | N/A | string |
| `Key` | *string* | :heavy_minus_sign: | N/A | /library/sections/1/label |
| `Title` | *string* | :heavy_minus_sign: | N/A | Labels |
| `Type` | *string* | :heavy_minus_sign: | N/A | filter |

View File

@@ -5,8 +5,8 @@
| Field | Type | Required | Description | Example |
| ------------------ | ------------------ | ------------------ | ------------------ | ------------------ |
| `Key` | *string* | :heavy_minus_sign: | N/A | search?type=1 |
| `Title` | *string* | :heavy_minus_sign: | N/A | Search... |
| `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... |
| `Search` | *bool* | :heavy_minus_sign: | N/A | true |

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,14 @@
# GetLibraryType
## Fields
| Field | Type | Required | Description | Example |
| ---------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `Key` | *string* | :heavy_minus_sign: | N/A | /library/sections/1/all?type=1 |
| `Type` | *string* | :heavy_minus_sign: | N/A | movie |
| `Title` | *string* | :heavy_minus_sign: | N/A | Movies |
| `Active` | *bool* | :heavy_minus_sign: | N/A | false |
| `Filter` | List<[Filter](../../Models/Requests/Filter.md)> | :heavy_minus_sign: | N/A | [{"filter":"label","filterType":"string","key":"/library/sections/1/label","title":"Labels","type":"filter"}] |
| `Sort` | List<[Sort](../../Models/Requests/Sort.md)> | :heavy_minus_sign: | N/A | [{"default":"asc","defaultDirection":"desc","descKey":"random:desc","firstCharacterKey":"/library/sections/1/firstCharacter","key":"random","title":"Randomly"}] |
| `Field` | List<[Field](../../Models/Requests/Field.md)> | :heavy_minus_sign: | N/A | [{"key":"label","subType":"bitrate","title":"Label","type":"tag"}] |

View File

@@ -0,0 +1,9 @@
# GetServerPreferencesMediaContainer
## Fields
| Field | Type | Required | Description | Example |
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| `Size` | *int* | :heavy_minus_sign: | N/A | 161 |
| `Setting` | List<*object*> | :heavy_minus_sign: | N/A | [{"advanced":false,"default":"","group":"general","hidden":false,"id":"FriendlyName","label":"Friendly name","summary":"This name will be used to identify this media server to other computers on your network. If you leave it blank, your computer's name will be used instead.","type":"text","value":"Hera"},{"advanced":false,"default":3600,"enumValues":"900:every 15 minutes\|1800:every 30 minutes\|3600:hourly\|7200:every 2 hours\|21600:every 6 hours\|43200:every 12 hours\|86400:daily","group":"library","hidden":false,"id":"ScheduledLibraryUpdateInterval","label":"Library scan interval","summary":"","type":"int","value":3600}] |

View File

@@ -8,4 +8,5 @@
| `ContentType` | *string* | :heavy_check_mark: | HTTP response content type 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 |
| `Object` | [GetServerPreferencesResponseBody](../../Models/Requests/GetServerPreferencesResponseBody.md) | :heavy_minus_sign: | Unauthorized - Returned if the X-Plex-Token is missing from the header or query. |
| `TwoHundredApplicationJsonObject` | [GetServerPreferencesResponseBody](../../Models/Requests/GetServerPreferencesResponseBody.md) | :heavy_minus_sign: | Server Preferences |
| `FourHundredAndOneApplicationJsonObject` | [GetServerPreferencesServerResponseBody](../../Models/Requests/GetServerPreferencesServerResponseBody.md) | :heavy_minus_sign: | Unauthorized - Returned if the X-Plex-Token is missing from the header or query. |

View File

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

View File

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

View File

@@ -0,0 +1,9 @@
# Operator
## Fields
| Field | Type | Required | Description | Example |
| ------------------ | ------------------ | ------------------ | ------------------ | ------------------ |
| `Key` | *string* | :heavy_minus_sign: | N/A | = |
| `Title` | *string* | :heavy_minus_sign: | N/A | is |

View File

@@ -0,0 +1,13 @@
# Sort
## Fields
| Field | Type | Required | Description | Example |
| ---------------------------------- | ---------------------------------- | ---------------------------------- | ---------------------------------- | ---------------------------------- |
| `Default` | *string* | :heavy_minus_sign: | N/A | asc |
| `DefaultDirection` | *string* | :heavy_minus_sign: | N/A | desc |
| `DescKey` | *string* | :heavy_minus_sign: | N/A | random:desc |
| `FirstCharacterKey` | *string* | :heavy_minus_sign: | N/A | /library/sections/1/firstCharacter |
| `Key` | *string* | :heavy_minus_sign: | N/A | random |
| `Title` | *string* | :heavy_minus_sign: | N/A | Randomly |

View File

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