Skip to content

Commit d2fe110

Browse files
authored
fix: add audio-only enum option in resolution_tier for Static Rendition responses (#75)
1 parent 83e0bd7 commit d2fe110

File tree

7 files changed

+18
-14
lines changed

7 files changed

+18
-14
lines changed

Mux.Csharp.Sdk.sln

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ Microsoft Visual Studio Solution File, Format Version 12.00
22
# Visual Studio 14
33
VisualStudioVersion = 14.0.25420.1
44
MinimumVisualStudioVersion = 10.0.40219.1
5-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Mux.Csharp.Sdk", "src\Mux.Csharp.Sdk\Mux.Csharp.Sdk.csproj", "{31A080D5-404E-4699-83EF-56752050AF6B}"
5+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Mux.Csharp.Sdk", "src\Mux.Csharp.Sdk\Mux.Csharp.Sdk.csproj", "{774F32CB-5292-4985-BAA4-204DFB4F8367}"
66
EndProject
77
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Mux.Csharp.Sdk.Test", "src\Mux.Csharp.Sdk.Test\Mux.Csharp.Sdk.Test.csproj", "{19F1DEBC-DE5E-4517-8062-F000CD499087}"
88
EndProject
@@ -12,10 +12,10 @@ Global
1212
Release|Any CPU = Release|Any CPU
1313
EndGlobalSection
1414
GlobalSection(ProjectConfigurationPlatforms) = postSolution
15-
{31A080D5-404E-4699-83EF-56752050AF6B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
16-
{31A080D5-404E-4699-83EF-56752050AF6B}.Debug|Any CPU.Build.0 = Debug|Any CPU
17-
{31A080D5-404E-4699-83EF-56752050AF6B}.Release|Any CPU.ActiveCfg = Release|Any CPU
18-
{31A080D5-404E-4699-83EF-56752050AF6B}.Release|Any CPU.Build.0 = Release|Any CPU
15+
{774F32CB-5292-4985-BAA4-204DFB4F8367}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
16+
{774F32CB-5292-4985-BAA4-204DFB4F8367}.Debug|Any CPU.Build.0 = Debug|Any CPU
17+
{774F32CB-5292-4985-BAA4-204DFB4F8367}.Release|Any CPU.ActiveCfg = Release|Any CPU
18+
{774F32CB-5292-4985-BAA4-204DFB4F8367}.Release|Any CPU.Build.0 = Release|Any CPU
1919
{19F1DEBC-DE5E-4517-8062-F000CD499087}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
2020
{19F1DEBC-DE5E-4517-8062-F000CD499087}.Debug|Any CPU.Build.0 = Debug|Any CPU
2121
{19F1DEBC-DE5E-4517-8062-F000CD499087}.Release|Any CPU.ActiveCfg = Release|Any CPU

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Mux is how developers build online video. This API encompasses both Mux Video an
1818
At this moment, this SDK is not suitable for parsing or modeling webhook payloads, due to some incompatibilities in our API spec and our SDK generation tooling. We are working on resolving these issues, but for now you should only use this SDK for Mux's REST APIs.
1919

2020
- API version: v1
21-
- SDK version: 2.0.0
21+
- SDK version: 2.0.1
2222
[https://docs.mux.com](https://docs.mux.com)
2323

2424
<a name="frameworks-supported"></a>

gen/generator-config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"!!source": "https://github.com/OpenAPITools/openapi-generator/blob/master/docs/generators/csharp-netcore.md",
3-
"packageVersion": "2.0.0",
3+
"packageVersion": "2.0.1",
44
"caseInsensitiveResponseHeaders": true,
55
"disallowAdditionalPropertiesIfNotPresent": false,
66
"licenseID": "MIT",

gen/templates/README.mustache

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@
1515
{{{appDescriptionWithNewLines}}}
1616
{{/appDescriptionWithNewLines}}
1717

18-
**PLEASE NOTE:** This is an early build of the Mux C# SDK, as evidenced by its pre-1.0 status, but we're reasonably certain of its stability and usability against the Mux API.. Documentation is currently best-effort, but it'll improve over time! Instead of contacting Mux Support, please file an issue on this repository or email [Mux DevEx]([email protected]) for assistance.
19-
2018
## Usage With Webhooks
2119

2220
At this moment, this SDK is not suitable for parsing or modeling webhook payloads, due to some incompatibilities in our API spec and our SDK generation tooling. We are working on resolving these issues, but for now you should only use this SDK for Mux's REST APIs.

src/Mux.Csharp.Sdk/Client/Configuration.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ public class Configuration : IReadableConfiguration
3232
/// Version of the package.
3333
/// </summary>
3434
/// <value>Version of the package.</value>
35-
public const string Version = "2.0.0";
35+
public const string Version = "2.0.1";
3636

3737
/// <summary>
3838
/// Identifier for ISO 8601 DateTime Format
@@ -102,7 +102,7 @@ public class Configuration : IReadableConfiguration
102102
public Configuration()
103103
{
104104
Proxy = null;
105-
UserAgent = "Mux C# | 2.0.0";
105+
UserAgent = "Mux C# | 2.0.1";
106106
BasePath = "https://api.mux.com";
107107
DefaultHeaders = new ConcurrentDictionary<string, string>();
108108
ApiKey = new ConcurrentDictionary<string, string>();
@@ -447,7 +447,7 @@ public static string ToDebugReport()
447447
report += " OS: " + System.Environment.OSVersion + "\n";
448448
report += " .NET Framework Version: " + System.Environment.Version + "\n";
449449
report += " Version of the API: v1\n";
450-
report += " SDK Package Version: 2.0.0\n";
450+
report += " SDK Package Version: 2.0.1\n";
451451

452452
return report;
453453
}

src/Mux.Csharp.Sdk/Model/StaticRendition.cs

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,13 @@ public enum ResolutionTierEnum
257257
/// Enum _720p for value: 720p
258258
/// </summary>
259259
[EnumMember(Value = "720p")]
260-
_720p = 4
260+
_720p = 4,
261+
262+
/// <summary>
263+
/// Enum AudioOnly for value: audio-only
264+
/// </summary>
265+
[EnumMember(Value = "audio-only")]
266+
AudioOnly = 5
261267

262268
}
263269

src/Mux.Csharp.Sdk/Mux.Csharp.Sdk.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<Description>The Mux API SDK for .NET Framework and .NET Core. Check https://github.com/muxinc/mux-csharp for release notes and visit https://docs.mux.com for details on using Mux.</Description>
1313
<Copyright>(C) 2023 Mux, Inc.</Copyright>
1414
<RootNamespace>Mux.Csharp.Sdk</RootNamespace>
15-
<Version>2.0.0</Version>
15+
<Version>2.0.1</Version>
1616
<DocumentationFile>bin\$(Configuration)\$(TargetFramework)\Mux.Csharp.Sdk.xml</DocumentationFile>
1717
<RepositoryUrl>https://github.com/GIT_USER_ID/GIT_REPO_ID.git</RepositoryUrl>
1818
<RepositoryType>git</RepositoryType>

0 commit comments

Comments
 (0)