ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.541.2

This commit is contained in:
speakeasybot
2025-05-01 00:34:27 +00:00
parent 0077561a6a
commit c0e915da8b
56 changed files with 5644 additions and 2989 deletions

View File

@@ -27,10 +27,20 @@ public class Stream {
private long id;
/**
* Stream type (1=video, 2=audio, 3=subtitle).
* Stream type:
* - 1 = video
* - 2 = audio
* - 3 = subtitle
*/
@JsonProperty("streamType")
private int streamType;
private StreamType streamType;
/**
* Format of the stream (e.g., srt).
*/
@JsonInclude(Include.NON_ABSENT)
@JsonProperty("format")
private Optional<String> format;
/**
* Indicates if this stream is default.
@@ -48,8 +58,9 @@ public class Stream {
/**
* Index of the stream.
*/
@JsonInclude(Include.NON_ABSENT)
@JsonProperty("index")
private int index;
private Optional<Integer> index;
/**
* Bitrate of the stream.
@@ -216,6 +227,13 @@ public class Stream {
@JsonProperty("frameRate")
private Optional<Float> frameRate;
/**
* Key to access this stream part.
*/
@JsonInclude(Include.NON_ABSENT)
@JsonProperty("key")
private Optional<String> key;
/**
* Height of the video stream.
*/
@@ -345,10 +363,11 @@ public class Stream {
@JsonCreator
public Stream(
@JsonProperty("id") long id,
@JsonProperty("streamType") int streamType,
@JsonProperty("streamType") StreamType streamType,
@JsonProperty("format") Optional<String> format,
@JsonProperty("default") Optional<Boolean> default_,
@JsonProperty("codec") String codec,
@JsonProperty("index") int index,
@JsonProperty("index") Optional<Integer> index,
@JsonProperty("bitrate") Optional<Integer> bitrate,
@JsonProperty("language") Optional<String> language,
@JsonProperty("languageTag") Optional<String> languageTag,
@@ -373,6 +392,7 @@ public class Stream {
@JsonProperty("colorSpace") Optional<String> colorSpace,
@JsonProperty("colorTrc") Optional<String> colorTrc,
@JsonProperty("frameRate") Optional<Float> frameRate,
@JsonProperty("key") Optional<String> key,
@JsonProperty("height") Optional<Integer> height,
@JsonProperty("level") Optional<Integer> level,
@JsonProperty("original") Optional<Boolean> original,
@@ -395,6 +415,7 @@ public class Stream {
@JsonProperty("title") Optional<String> title) {
Utils.checkNotNull(id, "id");
Utils.checkNotNull(streamType, "streamType");
Utils.checkNotNull(format, "format");
Utils.checkNotNull(default_, "default_");
Utils.checkNotNull(codec, "codec");
Utils.checkNotNull(index, "index");
@@ -422,6 +443,7 @@ public class Stream {
Utils.checkNotNull(colorSpace, "colorSpace");
Utils.checkNotNull(colorTrc, "colorTrc");
Utils.checkNotNull(frameRate, "frameRate");
Utils.checkNotNull(key, "key");
Utils.checkNotNull(height, "height");
Utils.checkNotNull(level, "level");
Utils.checkNotNull(original, "original");
@@ -444,6 +466,7 @@ public class Stream {
Utils.checkNotNull(title, "title");
this.id = id;
this.streamType = streamType;
this.format = format;
this.default_ = default_;
this.codec = codec;
this.index = index;
@@ -471,6 +494,7 @@ public class Stream {
this.colorSpace = colorSpace;
this.colorTrc = colorTrc;
this.frameRate = frameRate;
this.key = key;
this.height = height;
this.level = level;
this.original = original;
@@ -495,12 +519,11 @@ public class Stream {
public Stream(
long id,
int streamType,
StreamType streamType,
String codec,
int index,
String displayTitle,
String extendedDisplayTitle) {
this(id, streamType, Optional.empty(), codec, index, Optional.empty(), Optional.empty(), Optional.empty(), Optional.empty(), Optional.empty(), Optional.empty(), Optional.empty(), Optional.empty(), Optional.empty(), Optional.empty(), Optional.empty(), Optional.empty(), Optional.empty(), Optional.empty(), Optional.empty(), Optional.empty(), Optional.empty(), Optional.empty(), Optional.empty(), Optional.empty(), Optional.empty(), Optional.empty(), Optional.empty(), Optional.empty(), Optional.empty(), Optional.empty(), Optional.empty(), Optional.empty(), Optional.empty(), Optional.empty(), Optional.empty(), Optional.empty(), Optional.empty(), displayTitle, extendedDisplayTitle, Optional.empty(), Optional.empty(), Optional.empty(), Optional.empty(), Optional.empty(), Optional.empty(), Optional.empty(), Optional.empty(), Optional.empty());
this(id, streamType, Optional.empty(), Optional.empty(), codec, Optional.empty(), Optional.empty(), Optional.empty(), Optional.empty(), Optional.empty(), Optional.empty(), Optional.empty(), Optional.empty(), Optional.empty(), Optional.empty(), Optional.empty(), Optional.empty(), Optional.empty(), Optional.empty(), Optional.empty(), Optional.empty(), Optional.empty(), Optional.empty(), Optional.empty(), Optional.empty(), Optional.empty(), Optional.empty(), Optional.empty(), Optional.empty(), Optional.empty(), Optional.empty(), Optional.empty(), Optional.empty(), Optional.empty(), Optional.empty(), Optional.empty(), Optional.empty(), Optional.empty(), Optional.empty(), Optional.empty(), displayTitle, extendedDisplayTitle, Optional.empty(), Optional.empty(), Optional.empty(), Optional.empty(), Optional.empty(), Optional.empty(), Optional.empty(), Optional.empty(), Optional.empty());
}
/**
@@ -512,13 +535,24 @@ public class Stream {
}
/**
* Stream type (1=video, 2=audio, 3=subtitle).
* Stream type:
* - 1 = video
* - 2 = audio
* - 3 = subtitle
*/
@JsonIgnore
public int streamType() {
public StreamType streamType() {
return streamType;
}
/**
* Format of the stream (e.g., srt).
*/
@JsonIgnore
public Optional<String> format() {
return format;
}
/**
* Indicates if this stream is default.
*/
@@ -539,7 +573,7 @@ public class Stream {
* Index of the stream.
*/
@JsonIgnore
public int index() {
public Optional<Integer> index() {
return index;
}
@@ -732,6 +766,14 @@ public class Stream {
return frameRate;
}
/**
* Key to access this stream part.
*/
@JsonIgnore
public Optional<String> key() {
return key;
}
/**
* Height of the video stream.
*/
@@ -894,14 +936,35 @@ public class Stream {
}
/**
* Stream type (1=video, 2=audio, 3=subtitle).
* Stream type:
* - 1 = video
* - 2 = audio
* - 3 = subtitle
*/
public Stream withStreamType(int streamType) {
public Stream withStreamType(StreamType streamType) {
Utils.checkNotNull(streamType, "streamType");
this.streamType = streamType;
return this;
}
/**
* Format of the stream (e.g., srt).
*/
public Stream withFormat(String format) {
Utils.checkNotNull(format, "format");
this.format = Optional.ofNullable(format);
return this;
}
/**
* Format of the stream (e.g., srt).
*/
public Stream withFormat(Optional<String> format) {
Utils.checkNotNull(format, "format");
this.format = format;
return this;
}
/**
* Indicates if this stream is default.
*/
@@ -933,6 +996,15 @@ public class Stream {
* Index of the stream.
*/
public Stream withIndex(int index) {
Utils.checkNotNull(index, "index");
this.index = Optional.ofNullable(index);
return this;
}
/**
* Index of the stream.
*/
public Stream withIndex(Optional<Integer> index) {
Utils.checkNotNull(index, "index");
this.index = index;
return this;
@@ -1364,6 +1436,24 @@ public class Stream {
return this;
}
/**
* Key to access this stream part.
*/
public Stream withKey(String key) {
Utils.checkNotNull(key, "key");
this.key = Optional.ofNullable(key);
return this;
}
/**
* Key to access this stream part.
*/
public Stream withKey(Optional<String> key) {
Utils.checkNotNull(key, "key");
this.key = key;
return this;
}
/**
* Height of the video stream.
*/
@@ -1695,6 +1785,7 @@ public class Stream {
return
Objects.deepEquals(this.id, other.id) &&
Objects.deepEquals(this.streamType, other.streamType) &&
Objects.deepEquals(this.format, other.format) &&
Objects.deepEquals(this.default_, other.default_) &&
Objects.deepEquals(this.codec, other.codec) &&
Objects.deepEquals(this.index, other.index) &&
@@ -1722,6 +1813,7 @@ public class Stream {
Objects.deepEquals(this.colorSpace, other.colorSpace) &&
Objects.deepEquals(this.colorTrc, other.colorTrc) &&
Objects.deepEquals(this.frameRate, other.frameRate) &&
Objects.deepEquals(this.key, other.key) &&
Objects.deepEquals(this.height, other.height) &&
Objects.deepEquals(this.level, other.level) &&
Objects.deepEquals(this.original, other.original) &&
@@ -1749,6 +1841,7 @@ public class Stream {
return Objects.hash(
id,
streamType,
format,
default_,
codec,
index,
@@ -1776,6 +1869,7 @@ public class Stream {
colorSpace,
colorTrc,
frameRate,
key,
height,
level,
original,
@@ -1803,6 +1897,7 @@ public class Stream {
return Utils.toString(Stream.class,
"id", id,
"streamType", streamType,
"format", format,
"default_", default_,
"codec", codec,
"index", index,
@@ -1830,6 +1925,7 @@ public class Stream {
"colorSpace", colorSpace,
"colorTrc", colorTrc,
"frameRate", frameRate,
"key", key,
"height", height,
"level", level,
"original", original,
@@ -1856,13 +1952,15 @@ public class Stream {
private Long id;
private Integer streamType;
private StreamType streamType;
private Optional<String> format = Optional.empty();
private Optional<Boolean> default_ = Optional.empty();
private String codec;
private Integer index;
private Optional<Integer> index = Optional.empty();
private Optional<Integer> bitrate = Optional.empty();
@@ -1912,6 +2010,8 @@ public class Stream {
private Optional<Float> frameRate = Optional.empty();
private Optional<String> key = Optional.empty();
private Optional<Integer> height = Optional.empty();
private Optional<Integer> level = Optional.empty();
@@ -1966,14 +2066,35 @@ public class Stream {
}
/**
* Stream type (1=video, 2=audio, 3=subtitle).
* Stream type:
* - 1 = video
* - 2 = audio
* - 3 = subtitle
*/
public Builder streamType(int streamType) {
public Builder streamType(StreamType streamType) {
Utils.checkNotNull(streamType, "streamType");
this.streamType = streamType;
return this;
}
/**
* Format of the stream (e.g., srt).
*/
public Builder format(String format) {
Utils.checkNotNull(format, "format");
this.format = Optional.ofNullable(format);
return this;
}
/**
* Format of the stream (e.g., srt).
*/
public Builder format(Optional<String> format) {
Utils.checkNotNull(format, "format");
this.format = format;
return this;
}
/**
* Indicates if this stream is default.
*/
@@ -2005,6 +2126,15 @@ public class Stream {
* Index of the stream.
*/
public Builder index(int index) {
Utils.checkNotNull(index, "index");
this.index = Optional.ofNullable(index);
return this;
}
/**
* Index of the stream.
*/
public Builder index(Optional<Integer> index) {
Utils.checkNotNull(index, "index");
this.index = index;
return this;
@@ -2436,6 +2566,24 @@ public class Stream {
return this;
}
/**
* Key to access this stream part.
*/
public Builder key(String key) {
Utils.checkNotNull(key, "key");
this.key = Optional.ofNullable(key);
return this;
}
/**
* Key to access this stream part.
*/
public Builder key(Optional<String> key) {
Utils.checkNotNull(key, "key");
this.key = key;
return this;
}
/**
* Height of the video stream.
*/
@@ -2758,6 +2906,7 @@ public class Stream {
return new Stream(
id,
streamType,
format,
default_,
codec,
index,
@@ -2785,6 +2934,7 @@ public class Stream {
colorSpace,
colorTrc,
frameRate,
key,
height,
level,
original,