mirror of
https://github.com/LukeHagar/plexjava.git
synced 2025-12-10 20:47:44 +00:00
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.406.0
This commit is contained in:
@@ -32,8 +32,9 @@ public class Part {
|
||||
@JsonProperty("key")
|
||||
private String key;
|
||||
|
||||
@JsonInclude(Include.NON_ABSENT)
|
||||
@JsonProperty("duration")
|
||||
private int duration;
|
||||
private Optional<Integer> duration;
|
||||
|
||||
@JsonProperty("file")
|
||||
private String file;
|
||||
@@ -60,8 +61,9 @@ public class Part {
|
||||
@JsonProperty("optimizedForStreaming")
|
||||
private Optional<Boolean> optimizedForStreaming;
|
||||
|
||||
@JsonInclude(Include.NON_ABSENT)
|
||||
@JsonProperty("videoProfile")
|
||||
private String videoProfile;
|
||||
private Optional<String> videoProfile;
|
||||
|
||||
@JsonInclude(Include.NON_ABSENT)
|
||||
@JsonProperty("indexes")
|
||||
@@ -79,14 +81,14 @@ public class Part {
|
||||
public Part(
|
||||
@JsonProperty("id") int id,
|
||||
@JsonProperty("key") String key,
|
||||
@JsonProperty("duration") int duration,
|
||||
@JsonProperty("duration") Optional<Integer> duration,
|
||||
@JsonProperty("file") String file,
|
||||
@JsonProperty("size") long size,
|
||||
@JsonProperty("container") String container,
|
||||
@JsonProperty("audioProfile") Optional<String> audioProfile,
|
||||
@JsonProperty("has64bitOffsets") Optional<Boolean> has64bitOffsets,
|
||||
@JsonProperty("optimizedForStreaming") Optional<Boolean> optimizedForStreaming,
|
||||
@JsonProperty("videoProfile") String videoProfile,
|
||||
@JsonProperty("videoProfile") Optional<String> videoProfile,
|
||||
@JsonProperty("indexes") Optional<String> indexes,
|
||||
@JsonProperty("hasThumbnail") Optional<? extends HasThumbnail> hasThumbnail,
|
||||
@JsonProperty("Stream") Optional<? extends List<Stream>> stream) {
|
||||
@@ -121,12 +123,10 @@ public class Part {
|
||||
public Part(
|
||||
int id,
|
||||
String key,
|
||||
int duration,
|
||||
String file,
|
||||
long size,
|
||||
String container,
|
||||
String videoProfile) {
|
||||
this(id, key, duration, file, size, container, Optional.empty(), Optional.empty(), Optional.empty(), videoProfile, Optional.empty(), Optional.empty(), Optional.empty());
|
||||
String container) {
|
||||
this(id, key, Optional.empty(), file, size, container, Optional.empty(), Optional.empty(), Optional.empty(), Optional.empty(), Optional.empty(), Optional.empty(), Optional.empty());
|
||||
}
|
||||
|
||||
@JsonIgnore
|
||||
@@ -140,7 +140,7 @@ public class Part {
|
||||
}
|
||||
|
||||
@JsonIgnore
|
||||
public int duration() {
|
||||
public Optional<Integer> duration() {
|
||||
return duration;
|
||||
}
|
||||
|
||||
@@ -179,7 +179,7 @@ public class Part {
|
||||
}
|
||||
|
||||
@JsonIgnore
|
||||
public String videoProfile() {
|
||||
public Optional<String> videoProfile() {
|
||||
return videoProfile;
|
||||
}
|
||||
|
||||
@@ -217,6 +217,12 @@ public class Part {
|
||||
}
|
||||
|
||||
public Part withDuration(int duration) {
|
||||
Utils.checkNotNull(duration, "duration");
|
||||
this.duration = Optional.ofNullable(duration);
|
||||
return this;
|
||||
}
|
||||
|
||||
public Part withDuration(Optional<Integer> duration) {
|
||||
Utils.checkNotNull(duration, "duration");
|
||||
this.duration = duration;
|
||||
return this;
|
||||
@@ -281,6 +287,12 @@ public class Part {
|
||||
}
|
||||
|
||||
public Part withVideoProfile(String videoProfile) {
|
||||
Utils.checkNotNull(videoProfile, "videoProfile");
|
||||
this.videoProfile = Optional.ofNullable(videoProfile);
|
||||
return this;
|
||||
}
|
||||
|
||||
public Part withVideoProfile(Optional<String> videoProfile) {
|
||||
Utils.checkNotNull(videoProfile, "videoProfile");
|
||||
this.videoProfile = videoProfile;
|
||||
return this;
|
||||
@@ -389,7 +401,7 @@ public class Part {
|
||||
|
||||
private String key;
|
||||
|
||||
private Integer duration;
|
||||
private Optional<Integer> duration = Optional.empty();
|
||||
|
||||
private String file;
|
||||
|
||||
@@ -403,7 +415,7 @@ public class Part {
|
||||
|
||||
private Optional<Boolean> optimizedForStreaming = Optional.empty();
|
||||
|
||||
private String videoProfile;
|
||||
private Optional<String> videoProfile = Optional.empty();
|
||||
|
||||
private Optional<String> indexes = Optional.empty();
|
||||
|
||||
@@ -428,6 +440,12 @@ public class Part {
|
||||
}
|
||||
|
||||
public Builder duration(int duration) {
|
||||
Utils.checkNotNull(duration, "duration");
|
||||
this.duration = Optional.ofNullable(duration);
|
||||
return this;
|
||||
}
|
||||
|
||||
public Builder duration(Optional<Integer> duration) {
|
||||
Utils.checkNotNull(duration, "duration");
|
||||
this.duration = duration;
|
||||
return this;
|
||||
@@ -492,6 +510,12 @@ public class Part {
|
||||
}
|
||||
|
||||
public Builder videoProfile(String videoProfile) {
|
||||
Utils.checkNotNull(videoProfile, "videoProfile");
|
||||
this.videoProfile = Optional.ofNullable(videoProfile);
|
||||
return this;
|
||||
}
|
||||
|
||||
public Builder videoProfile(Optional<String> videoProfile) {
|
||||
Utils.checkNotNull(videoProfile, "videoProfile");
|
||||
this.videoProfile = videoProfile;
|
||||
return this;
|
||||
|
||||
Reference in New Issue
Block a user