Skip to content

Commit

Permalink
Renerate latest spec (#38)
Browse files Browse the repository at this point in the history
  • Loading branch information
philcluff authored Nov 7, 2023
1 parent 7d4cc94 commit 959c5b1
Show file tree
Hide file tree
Showing 10 changed files with 30 additions and 25 deletions.
10 changes: 5 additions & 5 deletions Mux.Csharp.Sdk.sln
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 14
VisualStudioVersion = 14.0.25420.1
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Mux.Csharp.Sdk", "src\Mux.Csharp.Sdk\Mux.Csharp.Sdk.csproj", "{994DAD54-ED4E-4C01-9690-A50219306D2C}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Mux.Csharp.Sdk", "src\Mux.Csharp.Sdk\Mux.Csharp.Sdk.csproj", "{4D7FF162-6A60-48E3-BB97-49709840505A}"
EndProject
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}"
EndProject
Expand All @@ -12,10 +12,10 @@ Global
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{994DAD54-ED4E-4C01-9690-A50219306D2C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{994DAD54-ED4E-4C01-9690-A50219306D2C}.Debug|Any CPU.Build.0 = Debug|Any CPU
{994DAD54-ED4E-4C01-9690-A50219306D2C}.Release|Any CPU.ActiveCfg = Release|Any CPU
{994DAD54-ED4E-4C01-9690-A50219306D2C}.Release|Any CPU.Build.0 = Release|Any CPU
{4D7FF162-6A60-48E3-BB97-49709840505A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{4D7FF162-6A60-48E3-BB97-49709840505A}.Debug|Any CPU.Build.0 = Debug|Any CPU
{4D7FF162-6A60-48E3-BB97-49709840505A}.Release|Any CPU.ActiveCfg = Release|Any CPU
{4D7FF162-6A60-48E3-BB97-49709840505A}.Release|Any CPU.Build.0 = Release|Any CPU
{19F1DEBC-DE5E-4517-8062-F000CD499087}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{19F1DEBC-DE5E-4517-8062-F000CD499087}.Debug|Any CPU.Build.0 = Debug|Any CPU
{19F1DEBC-DE5E-4517-8062-F000CD499087}.Release|Any CPU.ActiveCfg = Release|Any CPU
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Mux is how developers build online video. This API encompasses both Mux Video an
**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.

- API version: v1
- SDK version: 0.7.0
- SDK version: 0.7.1
[https://docs.mux.com](https://docs.mux.com)

<a name="frameworks-supported"></a>
Expand Down
2 changes: 1 addition & 1 deletion docs/Asset.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Name | Type | Description | Notes
**MaxStoredResolution** | **string** | This field is deprecated. Please use &#x60;resolution_tier&#x60; instead. The maximum resolution that has been stored for the asset. The asset may be delivered at lower resolutions depending on the device and bandwidth, however it cannot be delivered at a higher value than is stored. | [optional]
**ResolutionTier** | **string** | The resolution tier that the asset was ingested at, affecting billing for ingest &amp; storage. This field also represents the highest resolution tier that the content can be delivered at, however the actual resolution may be lower depending on the device, bandwidth, and exact resolution of the uploaded asset. | [optional]
**MaxResolutionTier** | **string** | Max resolution tier can be used to control the maximum &#x60;resolution_tier&#x60; your asset is encoded, stored, and streamed at. If not set, this defaults to &#x60;1080p&#x60;. | [optional]
**EncodingTier** | **string** | The encoding tier informs the cost, quality, and available platform features for the asset. By default the &#x60;smart&#x60; encoding tier is used. | [optional]
**EncodingTier** | **string** | The encoding tier informs the cost, quality, and available platform features for the asset. By default the &#x60;smart&#x60; encoding tier is used. [See the guide for more details.](https://docs.mux.com/guides/video/use-encoding-tiers) | [optional]
**MaxStoredFrameRate** | **double** | The maximum frame rate that has been stored for the asset. The asset may be delivered at lower frame rates depending on the device and bandwidth, however it cannot be delivered at a higher value than is stored. This field may return -1 if the frame rate of the input cannot be reliably determined. | [optional]
**AspectRatio** | **string** | The aspect ratio of the asset in the form of &#x60;width:height&#x60;, for example &#x60;16:9&#x60;. | [optional]
**PlaybackIds** | [**List&lt;PlaybackID&gt;**](PlaybackID.md) | An array of Playback ID objects. Use these to create HLS playback URLs. See [Play your videos](https://docs.mux.com/guides/video/play-your-videos) for more details. | [optional]
Expand Down
2 changes: 1 addition & 1 deletion docs/CreateAssetRequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Name | Type | Description | Notes
**MasterAccess** | **string** | Specify what level (if any) of support for master access. Master access can be enabled temporarily for your asset to be downloaded. See the [Download your videos guide](/guides/video/download-your-videos) for more information. | [optional]
**Test** | **bool** | Marks the asset as a test asset when the value is set to true. A Test asset can help evaluate the Mux Video APIs without incurring any cost. There is no limit on number of test assets created. Test asset are watermarked with the Mux logo, limited to 10 seconds, deleted after 24 hrs. | [optional]
**MaxResolutionTier** | **string** | Max resolution tier can be used to control the maximum &#x60;resolution_tier&#x60; your asset is encoded, stored, and streamed at. If not set, this defaults to &#x60;1080p&#x60;. | [optional]
**EncodingTier** | **string** | The encoding tier informs the cost, quality, and available platform features for the asset. By default the &#x60;smart&#x60; encoding tier is used. | [optional]
**EncodingTier** | **string** | The encoding tier informs the cost, quality, and available platform features for the asset. By default the &#x60;smart&#x60; encoding tier is used. [See the guide for more details.](https://docs.mux.com/guides/video/use-encoding-tiers) | [optional]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

3 changes: 1 addition & 2 deletions gen/generator-config.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"!!source": "https://github.com/OpenAPITools/openapi-generator/blob/master/docs/generators/csharp-netcore.md",
"packageVersion": "0.7.0",

"packageVersion": "0.7.1",
"caseInsensitiveResponseHeaders": true,
"disallowAdditionalPropertiesIfNotPresent": false,
"licenseID": "MIT",
Expand Down
6 changes: 3 additions & 3 deletions src/Mux.Csharp.Sdk/Client/Configuration.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public class Configuration : IReadableConfiguration
/// Version of the package.
/// </summary>
/// <value>Version of the package.</value>
public const string Version = "0.7.0";
public const string Version = "0.7.1";

/// <summary>
/// Identifier for ISO 8601 DateTime Format
Expand Down Expand Up @@ -102,7 +102,7 @@ public class Configuration : IReadableConfiguration
public Configuration()
{
Proxy = null;
UserAgent = "Mux C# | 0.7.0";
UserAgent = "Mux C# | 0.7.1";
BasePath = "https://api.mux.com";
DefaultHeaders = new ConcurrentDictionary<string, string>();
ApiKey = new ConcurrentDictionary<string, string>();
Expand Down Expand Up @@ -447,7 +447,7 @@ public static string ToDebugReport()
report += " OS: " + System.Environment.OSVersion + "\n";
report += " .NET Framework Version: " + System.Environment.Version + "\n";
report += " Version of the API: v1\n";
report += " SDK Package Version: 0.7.0\n";
report += " SDK Package Version: 0.7.1\n";

return report;
}
Expand Down
10 changes: 5 additions & 5 deletions src/Mux.Csharp.Sdk/Model/Asset.cs
Original file line number Diff line number Diff line change
Expand Up @@ -194,9 +194,9 @@ public enum MaxResolutionTierEnum
[DataMember(Name = "max_resolution_tier", EmitDefaultValue = false)]
public MaxResolutionTierEnum? MaxResolutionTier { get; set; }
/// <summary>
/// The encoding tier informs the cost, quality, and available platform features for the asset. By default the &#x60;smart&#x60; encoding tier is used.
/// The encoding tier informs the cost, quality, and available platform features for the asset. By default the &#x60;smart&#x60; encoding tier is used. [See the guide for more details.](https://docs.mux.com/guides/video/use-encoding-tiers)
/// </summary>
/// <value>The encoding tier informs the cost, quality, and available platform features for the asset. By default the &#x60;smart&#x60; encoding tier is used.</value>
/// <value>The encoding tier informs the cost, quality, and available platform features for the asset. By default the &#x60;smart&#x60; encoding tier is used. [See the guide for more details.](https://docs.mux.com/guides/video/use-encoding-tiers)</value>
[JsonConverter(typeof(StringEnumConverter))]
public enum EncodingTierEnum
{
Expand All @@ -216,9 +216,9 @@ public enum EncodingTierEnum


/// <summary>
/// The encoding tier informs the cost, quality, and available platform features for the asset. By default the &#x60;smart&#x60; encoding tier is used.
/// The encoding tier informs the cost, quality, and available platform features for the asset. By default the &#x60;smart&#x60; encoding tier is used. [See the guide for more details.](https://docs.mux.com/guides/video/use-encoding-tiers)
/// </summary>
/// <value>The encoding tier informs the cost, quality, and available platform features for the asset. By default the &#x60;smart&#x60; encoding tier is used.</value>
/// <value>The encoding tier informs the cost, quality, and available platform features for the asset. By default the &#x60;smart&#x60; encoding tier is used. [See the guide for more details.](https://docs.mux.com/guides/video/use-encoding-tiers)</value>
[DataMember(Name = "encoding_tier", EmitDefaultValue = false)]
public EncodingTierEnum? EncodingTier { get; set; }
/// <summary>
Expand Down Expand Up @@ -283,7 +283,7 @@ public enum Mp4SupportEnum
/// <param name="maxStoredResolution">This field is deprecated. Please use &#x60;resolution_tier&#x60; instead. The maximum resolution that has been stored for the asset. The asset may be delivered at lower resolutions depending on the device and bandwidth, however it cannot be delivered at a higher value than is stored..</param>
/// <param name="resolutionTier">The resolution tier that the asset was ingested at, affecting billing for ingest &amp; storage. This field also represents the highest resolution tier that the content can be delivered at, however the actual resolution may be lower depending on the device, bandwidth, and exact resolution of the uploaded asset..</param>
/// <param name="maxResolutionTier">Max resolution tier can be used to control the maximum &#x60;resolution_tier&#x60; your asset is encoded, stored, and streamed at. If not set, this defaults to &#x60;1080p&#x60;..</param>
/// <param name="encodingTier">The encoding tier informs the cost, quality, and available platform features for the asset. By default the &#x60;smart&#x60; encoding tier is used..</param>
/// <param name="encodingTier">The encoding tier informs the cost, quality, and available platform features for the asset. By default the &#x60;smart&#x60; encoding tier is used. [See the guide for more details.](https://docs.mux.com/guides/video/use-encoding-tiers).</param>
/// <param name="maxStoredFrameRate">The maximum frame rate that has been stored for the asset. The asset may be delivered at lower frame rates depending on the device and bandwidth, however it cannot be delivered at a higher value than is stored. This field may return -1 if the frame rate of the input cannot be reliably determined..</param>
/// <param name="aspectRatio">The aspect ratio of the asset in the form of &#x60;width:height&#x60;, for example &#x60;16:9&#x60;..</param>
/// <param name="playbackIds">An array of Playback ID objects. Use these to create HLS playback URLs. See [Play your videos](https://docs.mux.com/guides/video/play-your-videos) for more details..</param>
Expand Down
10 changes: 5 additions & 5 deletions src/Mux.Csharp.Sdk/Model/CreateAssetRequest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -123,9 +123,9 @@ public enum MaxResolutionTierEnum
[DataMember(Name = "max_resolution_tier", EmitDefaultValue = false)]
public MaxResolutionTierEnum? MaxResolutionTier { get; set; }
/// <summary>
/// The encoding tier informs the cost, quality, and available platform features for the asset. By default the &#x60;smart&#x60; encoding tier is used.
/// The encoding tier informs the cost, quality, and available platform features for the asset. By default the &#x60;smart&#x60; encoding tier is used. [See the guide for more details.](https://docs.mux.com/guides/video/use-encoding-tiers)
/// </summary>
/// <value>The encoding tier informs the cost, quality, and available platform features for the asset. By default the &#x60;smart&#x60; encoding tier is used.</value>
/// <value>The encoding tier informs the cost, quality, and available platform features for the asset. By default the &#x60;smart&#x60; encoding tier is used. [See the guide for more details.](https://docs.mux.com/guides/video/use-encoding-tiers)</value>
[JsonConverter(typeof(StringEnumConverter))]
public enum EncodingTierEnum
{
Expand All @@ -145,9 +145,9 @@ public enum EncodingTierEnum


/// <summary>
/// The encoding tier informs the cost, quality, and available platform features for the asset. By default the &#x60;smart&#x60; encoding tier is used.
/// The encoding tier informs the cost, quality, and available platform features for the asset. By default the &#x60;smart&#x60; encoding tier is used. [See the guide for more details.](https://docs.mux.com/guides/video/use-encoding-tiers)
/// </summary>
/// <value>The encoding tier informs the cost, quality, and available platform features for the asset. By default the &#x60;smart&#x60; encoding tier is used.</value>
/// <value>The encoding tier informs the cost, quality, and available platform features for the asset. By default the &#x60;smart&#x60; encoding tier is used. [See the guide for more details.](https://docs.mux.com/guides/video/use-encoding-tiers)</value>
[DataMember(Name = "encoding_tier", EmitDefaultValue = false)]
public EncodingTierEnum? EncodingTier { get; set; }
/// <summary>
Expand All @@ -162,7 +162,7 @@ public enum EncodingTierEnum
/// <param name="masterAccess">Specify what level (if any) of support for master access. Master access can be enabled temporarily for your asset to be downloaded. See the [Download your videos guide](/guides/video/download-your-videos) for more information..</param>
/// <param name="test">Marks the asset as a test asset when the value is set to true. A Test asset can help evaluate the Mux Video APIs without incurring any cost. There is no limit on number of test assets created. Test asset are watermarked with the Mux logo, limited to 10 seconds, deleted after 24 hrs..</param>
/// <param name="maxResolutionTier">Max resolution tier can be used to control the maximum &#x60;resolution_tier&#x60; your asset is encoded, stored, and streamed at. If not set, this defaults to &#x60;1080p&#x60;..</param>
/// <param name="encodingTier">The encoding tier informs the cost, quality, and available platform features for the asset. By default the &#x60;smart&#x60; encoding tier is used..</param>
/// <param name="encodingTier">The encoding tier informs the cost, quality, and available platform features for the asset. By default the &#x60;smart&#x60; encoding tier is used. [See the guide for more details.](https://docs.mux.com/guides/video/use-encoding-tiers).</param>
public CreateAssetRequest(List<InputSettings> input = default(List<InputSettings>), List<PlaybackPolicy> playbackPolicy = default(List<PlaybackPolicy>), bool perTitleEncode = default(bool), string passthrough = default(string), Mp4SupportEnum? mp4Support = default(Mp4SupportEnum?), bool normalizeAudio = false, MasterAccessEnum? masterAccess = default(MasterAccessEnum?), bool test = default(bool), MaxResolutionTierEnum? maxResolutionTier = default(MaxResolutionTierEnum?), EncodingTierEnum? encodingTier = default(EncodingTierEnum?))
{
this.Input = input;
Expand Down
8 changes: 7 additions & 1 deletion src/Mux.Csharp.Sdk/Model/Track.cs
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,13 @@ public enum TextSourceEnum
/// Enum GeneratedLiveFinal for value: generated_live_final
/// </summary>
[EnumMember(Value = "generated_live_final")]
GeneratedLiveFinal = 4
GeneratedLiveFinal = 4,

/// <summary>
/// Enum GeneratedVod for value: generated_vod
/// </summary>
[EnumMember(Value = "generated_vod")]
GeneratedVod = 5

}

Expand Down
2 changes: 1 addition & 1 deletion src/Mux.Csharp.Sdk/Mux.Csharp.Sdk.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<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>
<Copyright>(C) 2023 Mux, Inc.</Copyright>
<RootNamespace>Mux.Csharp.Sdk</RootNamespace>
<Version>0.7.0</Version>
<Version>0.7.1</Version>
<DocumentationFile>bin\$(Configuration)\$(TargetFramework)\Mux.Csharp.Sdk.xml</DocumentationFile>
<RepositoryUrl>https://github.com/GIT_USER_ID/GIT_REPO_ID.git</RepositoryUrl>
<RepositoryType>git</RepositoryType>
Expand Down

0 comments on commit 959c5b1

Please sign in to comment.