From eabe92ae022709becb24cd711d94a5a3027f1f7a Mon Sep 17 00:00:00 2001
From: Phil Cluff <578330+philcluff@users.noreply.github.com>
Date: Tue, 7 Nov 2023 18:05:47 +0000
Subject: [PATCH] Regenerate with latest OpenAPI spec (#10)
---
README.md | 6 +++---
build.gradle | 2 +-
docs/Asset.md | 2 +-
docs/CreateAssetRequest.md | 2 +-
docs/Track.md | 1 +
gen/generator-config.json | 2 +-
src/main/java/com/mux/ApiClient.java | 2 +-
src/main/java/com/mux/sdk/models/Asset.java | 6 +++---
src/main/java/com/mux/sdk/models/CreateAssetRequest.java | 6 +++---
src/main/java/com/mux/sdk/models/Track.java | 4 +++-
10 files changed, 18 insertions(+), 15 deletions(-)
diff --git a/README.md b/README.md
index ef41170..6995ea8 100644
--- a/README.md
+++ b/README.md
@@ -48,7 +48,7 @@ Add this dependency to your project's POM:
com.mux
mux-sdk-java
- 0.7.2
+ 0.7.3
compile
```
@@ -58,7 +58,7 @@ Add this dependency to your project's POM:
Add this dependency to your project's build file:
```groovy
-compile "com.mux:mux-sdk-java:0.7.2"
+compile "com.mux:mux-sdk-java:0.7.3"
```
### Others
@@ -71,7 +71,7 @@ mvn clean package
Then manually install the following JARs:
-* `target/mux-sdk-java-0.7.2.jar`
+* `target/mux-sdk-java-0.7.3.jar`
* `target/lib/*.jar`
## Getting Started
diff --git a/build.gradle b/build.gradle
index d401791..72a6366 100644
--- a/build.gradle
+++ b/build.gradle
@@ -16,7 +16,7 @@ plugins {
}
group = 'com.mux'
-version = '0.7.2'
+version = '0.7.3'
repositories {
mavenCentral()
diff --git a/docs/Asset.md b/docs/Asset.md
index 76a5c67..80e3ab8 100644
--- a/docs/Asset.md
+++ b/docs/Asset.md
@@ -13,7 +13,7 @@ Name | Type | Description | Notes
**maxStoredResolution** | [**MaxStoredResolutionEnum**](#MaxStoredResolutionEnum) | This field is deprecated. Please use `resolution_tier` 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** | [**ResolutionTierEnum**](#ResolutionTierEnum) | The resolution tier that the asset was ingested at, affecting billing for ingest & 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** | [**MaxResolutionTierEnum**](#MaxResolutionTierEnum) | Max resolution tier can be used to control the maximum `resolution_tier` your asset is encoded, stored, and streamed at. If not set, this defaults to `1080p`. | [optional]
-**encodingTier** | [**EncodingTierEnum**](#EncodingTierEnum) | The encoding tier informs the cost, quality, and available platform features for the asset. By default the `smart` encoding tier is used. | [optional]
+**encodingTier** | [**EncodingTierEnum**](#EncodingTierEnum) | The encoding tier informs the cost, quality, and available platform features for the asset. By default the `smart` 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 `width:height`, for example `16:9`. | [optional]
**playbackIds** | [**java.util.List<PlaybackID>**](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]
diff --git a/docs/CreateAssetRequest.md b/docs/CreateAssetRequest.md
index dd809f5..4acf595 100644
--- a/docs/CreateAssetRequest.md
+++ b/docs/CreateAssetRequest.md
@@ -15,7 +15,7 @@ Name | Type | Description | Notes
**masterAccess** | [**MasterAccessEnum**](#MasterAccessEnum) | 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** | **Boolean** | 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** | [**MaxResolutionTierEnum**](#MaxResolutionTierEnum) | Max resolution tier can be used to control the maximum `resolution_tier` your asset is encoded, stored, and streamed at. If not set, this defaults to `1080p`. | [optional]
-**encodingTier** | [**EncodingTierEnum**](#EncodingTierEnum) | The encoding tier informs the cost, quality, and available platform features for the asset. By default the `smart` encoding tier is used. | [optional]
+**encodingTier** | [**EncodingTierEnum**](#EncodingTierEnum) | The encoding tier informs the cost, quality, and available platform features for the asset. By default the `smart` encoding tier is used. [See the guide for more details.](https://docs.mux.com/guides/video/use-encoding-tiers) | [optional]
diff --git a/docs/Track.md b/docs/Track.md
index bd7710d..c579a6a 100644
--- a/docs/Track.md
+++ b/docs/Track.md
@@ -50,6 +50,7 @@ UPLOADED | "uploaded"
EMBEDDED | "embedded"
GENERATED_LIVE | "generated_live"
GENERATED_LIVE_FINAL | "generated_live_final"
+GENERATED_VOD | "generated_vod"
diff --git a/gen/generator-config.json b/gen/generator-config.json
index ded8e8d..d6d3f73 100644
--- a/gen/generator-config.json
+++ b/gen/generator-config.json
@@ -1,6 +1,6 @@
{
"!!source": "https://github.com/OpenAPITools/openapi-generator/blob/master/docs/generators/java.md",
- "artifactVersion": "0.7.2",
+ "artifactVersion": "0.7.3",
"apiPackage": "com.mux.sdk",
"artifactDescription": "Mux SDK for Java",
"artifactId": "mux-sdk-java",
diff --git a/src/main/java/com/mux/ApiClient.java b/src/main/java/com/mux/ApiClient.java
index c61a8e9..9225a7a 100644
--- a/src/main/java/com/mux/ApiClient.java
+++ b/src/main/java/com/mux/ApiClient.java
@@ -123,7 +123,7 @@ private void init() {
json = new JSON();
// Set default User-Agent.
- setUserAgent("Mux Java | 0.7.2");
+ setUserAgent("Mux Java | 0.7.3");
authentications = new HashMap();
}
diff --git a/src/main/java/com/mux/sdk/models/Asset.java b/src/main/java/com/mux/sdk/models/Asset.java
index fb306c3..92e59f3 100644
--- a/src/main/java/com/mux/sdk/models/Asset.java
+++ b/src/main/java/com/mux/sdk/models/Asset.java
@@ -269,7 +269,7 @@ public MaxResolutionTierEnum read(final JsonReader jsonReader) throws IOExceptio
private MaxResolutionTierEnum maxResolutionTier;
/**
- * The encoding tier informs the cost, quality, and available platform features for the asset. By default the `smart` encoding tier is used.
+ * The encoding tier informs the cost, quality, and available platform features for the asset. By default the `smart` encoding tier is used. [See the guide for more details.](https://docs.mux.com/guides/video/use-encoding-tiers)
*/
@JsonAdapter(EncodingTierEnum.Adapter.class)
public enum EncodingTierEnum {
@@ -658,11 +658,11 @@ public Asset encodingTier(EncodingTierEnum encodingTier) {
}
/**
- * The encoding tier informs the cost, quality, and available platform features for the asset. By default the `smart` encoding tier is used.
+ * The encoding tier informs the cost, quality, and available platform features for the asset. By default the `smart` encoding tier is used. [See the guide for more details.](https://docs.mux.com/guides/video/use-encoding-tiers)
* @return encodingTier
**/
@javax.annotation.Nullable
- @ApiModelProperty(value = "The encoding tier informs the cost, quality, and available platform features for the asset. By default the `smart` encoding tier is used.")
+ @ApiModelProperty(value = "The encoding tier informs the cost, quality, and available platform features for the asset. By default the `smart` encoding tier is used. [See the guide for more details.](https://docs.mux.com/guides/video/use-encoding-tiers)")
public EncodingTierEnum getEncodingTier() {
return encodingTier;
diff --git a/src/main/java/com/mux/sdk/models/CreateAssetRequest.java b/src/main/java/com/mux/sdk/models/CreateAssetRequest.java
index dfa1072..f70b3d6 100644
--- a/src/main/java/com/mux/sdk/models/CreateAssetRequest.java
+++ b/src/main/java/com/mux/sdk/models/CreateAssetRequest.java
@@ -211,7 +211,7 @@ public MaxResolutionTierEnum read(final JsonReader jsonReader) throws IOExceptio
private MaxResolutionTierEnum maxResolutionTier;
/**
- * The encoding tier informs the cost, quality, and available platform features for the asset. By default the `smart` encoding tier is used.
+ * The encoding tier informs the cost, quality, and available platform features for the asset. By default the `smart` encoding tier is used. [See the guide for more details.](https://docs.mux.com/guides/video/use-encoding-tiers)
*/
@JsonAdapter(EncodingTierEnum.Adapter.class)
public enum EncodingTierEnum {
@@ -492,11 +492,11 @@ public CreateAssetRequest encodingTier(EncodingTierEnum encodingTier) {
}
/**
- * The encoding tier informs the cost, quality, and available platform features for the asset. By default the `smart` encoding tier is used.
+ * The encoding tier informs the cost, quality, and available platform features for the asset. By default the `smart` encoding tier is used. [See the guide for more details.](https://docs.mux.com/guides/video/use-encoding-tiers)
* @return encodingTier
**/
@javax.annotation.Nullable
- @ApiModelProperty(value = "The encoding tier informs the cost, quality, and available platform features for the asset. By default the `smart` encoding tier is used.")
+ @ApiModelProperty(value = "The encoding tier informs the cost, quality, and available platform features for the asset. By default the `smart` encoding tier is used. [See the guide for more details.](https://docs.mux.com/guides/video/use-encoding-tiers)")
public EncodingTierEnum getEncodingTier() {
return encodingTier;
diff --git a/src/main/java/com/mux/sdk/models/Track.java b/src/main/java/com/mux/sdk/models/Track.java
index f26008d..a5a680f 100644
--- a/src/main/java/com/mux/sdk/models/Track.java
+++ b/src/main/java/com/mux/sdk/models/Track.java
@@ -170,7 +170,9 @@ public enum TextSourceEnum {
GENERATED_LIVE("generated_live"),
- GENERATED_LIVE_FINAL("generated_live_final");
+ GENERATED_LIVE_FINAL("generated_live_final"),
+
+ GENERATED_VOD("generated_vod");
private String value;