mirror of
https://github.com/LukeHagar/plexjava.git
synced 2025-12-06 20:47:45 +00:00
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.459.2
This commit is contained in:
@@ -6,22 +6,24 @@ package dev.plexapi.sdk.models.operations;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonValue;
|
||||
import java.lang.String;
|
||||
import java.util.Objects;
|
||||
import java.util.Optional;
|
||||
|
||||
/**
|
||||
* GetSearchAllLibrariesShowOrdering - Setting that indicates the episode ordering for the show
|
||||
* None = Library default,
|
||||
* tmdbAiring = The Movie Database (Aired),
|
||||
* aired = TheTVDB (Aired),
|
||||
* dvd = TheTVDB (DVD),
|
||||
* absolute = TheTVDB (Absolute)).
|
||||
* GetSearchAllLibrariesShowOrdering - Setting that indicates the episode ordering for the show
|
||||
* None = Library default,
|
||||
* tmdbAiring = The Movie Database (Aired),
|
||||
* tvdbAiring = TheTVDB (Aired),
|
||||
* tvdbDvd = TheTVDB (DVD),
|
||||
* tvdbAbsolute = TheTVDB (Absolute)).
|
||||
*
|
||||
*/
|
||||
public enum GetSearchAllLibrariesShowOrdering {
|
||||
None("None"),
|
||||
TmdbAiring("tmdbAiring"),
|
||||
Aired("aired"),
|
||||
Dvd("dvd"),
|
||||
Absolute("absolute");
|
||||
TvdbAiring("tvdbAiring"),
|
||||
TvdbDvd("tvdbDvd"),
|
||||
TvdbAbsolute("tvdbAbsolute");
|
||||
|
||||
@JsonValue
|
||||
private final String value;
|
||||
@@ -33,4 +35,13 @@ public enum GetSearchAllLibrariesShowOrdering {
|
||||
public String value() {
|
||||
return value;
|
||||
}
|
||||
|
||||
public static Optional<GetSearchAllLibrariesShowOrdering> fromValue(String value) {
|
||||
for (GetSearchAllLibrariesShowOrdering o: GetSearchAllLibrariesShowOrdering.values()) {
|
||||
if (Objects.deepEquals(o.value, value)) {
|
||||
return Optional.of(o);
|
||||
}
|
||||
}
|
||||
return Optional.empty();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user