Skip to content

Commit

Permalink
Regenerate with latest OpenAPI spec (#10)
Browse files Browse the repository at this point in the history
  • Loading branch information
philcluff authored Nov 7, 2023
1 parent 6035b1b commit eabe92a
Show file tree
Hide file tree
Showing 10 changed files with 18 additions and 15 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ Add this dependency to your project's POM:
<dependency>
<groupId>com.mux</groupId>
<artifactId>mux-sdk-java</artifactId>
<version>0.7.2</version>
<version>0.7.3</version>
<scope>compile</scope>
</dependency>
```
Expand All @@ -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
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ plugins {
}

group = 'com.mux'
version = '0.7.2'
version = '0.7.3'

repositories {
mavenCentral()
Expand Down
2 changes: 1 addition & 1 deletion docs/Asset.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Name | Type | Description | Notes
**maxStoredResolution** | [**MaxStoredResolutionEnum**](#MaxStoredResolutionEnum) | 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** | [**ResolutionTierEnum**](#ResolutionTierEnum) | 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** | [**MaxResolutionTierEnum**](#MaxResolutionTierEnum) | 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** | [**EncodingTierEnum**](#EncodingTierEnum) | 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** | [**EncodingTierEnum**](#EncodingTierEnum) | 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** | [**java.util.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 @@ -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 &#x60;resolution_tier&#x60; your asset is encoded, stored, and streamed at. If not set, this defaults to &#x60;1080p&#x60;. | [optional]
**encodingTier** | [**EncodingTierEnum**](#EncodingTierEnum) | 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** | [**EncodingTierEnum**](#EncodingTierEnum) | 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]



Expand Down
1 change: 1 addition & 0 deletions docs/Track.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ UPLOADED | &quot;uploaded&quot;
EMBEDDED | &quot;embedded&quot;
GENERATED_LIVE | &quot;generated_live&quot;
GENERATED_LIVE_FINAL | &quot;generated_live_final&quot;
GENERATED_VOD | &quot;generated_vod&quot;



Expand Down
2 changes: 1 addition & 1 deletion gen/generator-config.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/mux/ApiClient.java
Original file line number Diff line number Diff line change
Expand Up @@ -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<String, Authentication>();
}
Expand Down
6 changes: 3 additions & 3 deletions src/main/java/com/mux/sdk/models/Asset.java
Original file line number Diff line number Diff line change
Expand Up @@ -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 &#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)
*/
@JsonAdapter(EncodingTierEnum.Adapter.class)
public enum EncodingTierEnum {
Expand Down Expand Up @@ -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 &#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)
* @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;
Expand Down
6 changes: 3 additions & 3 deletions src/main/java/com/mux/sdk/models/CreateAssetRequest.java
Original file line number Diff line number Diff line change
Expand Up @@ -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 &#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)
*/
@JsonAdapter(EncodingTierEnum.Adapter.class)
public enum EncodingTierEnum {
Expand Down Expand Up @@ -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 &#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)
* @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;
Expand Down
4 changes: 3 additions & 1 deletion src/main/java/com/mux/sdk/models/Track.java
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit eabe92a

Please sign in to comment.