](../../models/shared/RequestHandlerSlashGetResponses200MediaContainer.md) | :heavy_minus_sign: | N/A |
\ No newline at end of file
diff --git a/docs/sdks/library/README.md b/docs/sdks/library/README.md
index af9f6951..887d8e70 100644
--- a/docs/sdks/library/README.md
+++ b/docs/sdks/library/README.md
@@ -658,7 +658,7 @@ public class Application {
StopAllRefreshesResponse res = sdk.library().stopAllRefreshes()
.call();
- if (res.requestHandlerSlashGetResponses200().isPresent()) {
+ if (res.librarySections().isPresent()) {
// handle response
}
}
@@ -718,7 +718,7 @@ public class Application {
.request(req)
.call();
- if (res.requestHandlerSlashGetResponses200().isPresent()) {
+ if (res.librarySections().isPresent()) {
// handle response
}
}
@@ -3298,8 +3298,8 @@ public class Application {
## autocomplete
-The field to autocomplete on is specified by the {field}.query parameter. For example `genre.query` or `title.query`.
-Returns a set of items from the filtered items whose {field} starts with {field}.query. In the results, a {field}.queryRange will be present to express the range of the match
+The field to autocomplete on is specified by the `{field}.query` parameter. For example `genre.query` or `title.query`.
+Returns a set of items from the filtered items whose `{field}` starts with `{field}.query`. In the results, a `{field}.queryRange` will be present to express the range of the match
### Example Usage
diff --git a/gradle.properties b/gradle.properties
index 30337e89..ede217db 100644
--- a/gradle.properties
+++ b/gradle.properties
@@ -1,4 +1,4 @@
groupId=dev.plexapi
artifactId=plexapi
-version=0.20.1
+version=0.21.1
org.gradle.jvmargs=-Xmx4g -XX:MaxMetaspaceSize=1g
diff --git a/src/main/java/dev/plexapi/sdk/AsyncLibrary.java b/src/main/java/dev/plexapi/sdk/AsyncLibrary.java
index c532330f..687f0213 100644
--- a/src/main/java/dev/plexapi/sdk/AsyncLibrary.java
+++ b/src/main/java/dev/plexapi/sdk/AsyncLibrary.java
@@ -1768,8 +1768,8 @@ public class AsyncLibrary {
/**
* Get autocompletions for search
*
- * The field to autocomplete on is specified by the {field}.query parameter. For example `genre.query` or `title.query`.
- * Returns a set of items from the filtered items whose {field} starts with {field}.query. In the results, a {field}.queryRange will be present to express the range of the match
+ *
The field to autocomplete on is specified by the `{field}.query` parameter. For example `genre.query` or `title.query`.
+ * Returns a set of items from the filtered items whose `{field}` starts with `{field}.query`. In the results, a `{field}.queryRange` will be present to express the range of the match
*
* @return The async call builder
*/
@@ -1780,8 +1780,8 @@ public class AsyncLibrary {
/**
* Get autocompletions for search
*
- *
The field to autocomplete on is specified by the {field}.query parameter. For example `genre.query` or `title.query`.
- * Returns a set of items from the filtered items whose {field} starts with {field}.query. In the results, a {field}.queryRange will be present to express the range of the match
+ *
The field to autocomplete on is specified by the `{field}.query` parameter. For example `genre.query` or `title.query`.
+ * Returns a set of items from the filtered items whose `{field}` starts with `{field}.query`. In the results, a `{field}.queryRange` will be present to express the range of the match
*
* @param request The request object containing all the parameters for the API call.
* @return CompletableFuture<AutocompleteResponse> - The async response
diff --git a/src/main/java/dev/plexapi/sdk/Library.java b/src/main/java/dev/plexapi/sdk/Library.java
index 3d205722..9acf47ca 100644
--- a/src/main/java/dev/plexapi/sdk/Library.java
+++ b/src/main/java/dev/plexapi/sdk/Library.java
@@ -1718,8 +1718,8 @@ public class Library {
/**
* Get autocompletions for search
*
- *
The field to autocomplete on is specified by the {field}.query parameter. For example `genre.query` or `title.query`.
- * Returns a set of items from the filtered items whose {field} starts with {field}.query. In the results, a {field}.queryRange will be present to express the range of the match
+ *
The field to autocomplete on is specified by the `{field}.query` parameter. For example `genre.query` or `title.query`.
+ * Returns a set of items from the filtered items whose `{field}` starts with `{field}.query`. In the results, a `{field}.queryRange` will be present to express the range of the match
*
* @return The call builder
*/
@@ -1730,8 +1730,8 @@ public class Library {
/**
* Get autocompletions for search
*
- *
The field to autocomplete on is specified by the {field}.query parameter. For example `genre.query` or `title.query`.
- * Returns a set of items from the filtered items whose {field} starts with {field}.query. In the results, a {field}.queryRange will be present to express the range of the match
+ *
The field to autocomplete on is specified by the `{field}.query` parameter. For example `genre.query` or `title.query`.
+ * Returns a set of items from the filtered items whose `{field}` starts with `{field}.query`. In the results, a `{field}.queryRange` will be present to express the range of the match
*
* @param request The request object containing all the parameters for the API call.
* @return The response from the API call
diff --git a/src/main/java/dev/plexapi/sdk/PlexAPI.java b/src/main/java/dev/plexapi/sdk/PlexAPI.java
index 96d0672c..e5690a78 100644
--- a/src/main/java/dev/plexapi/sdk/PlexAPI.java
+++ b/src/main/java/dev/plexapi/sdk/PlexAPI.java
@@ -654,17 +654,17 @@ public class PlexAPI {
}
/**
- * Sets the server_url variable for url substitution.
+ * Sets the full_server_url variable for url substitution.
*
- * @param serverUrl The value to set.
+ * @param fullServerUrl The value to set.
* @return The builder instance.
*/
- public Builder serverUrl(String serverUrl) {
+ public Builder fullServerUrl(String fullServerUrl) {
for (Map server : this.sdkConfiguration.serverVariables()) {
- if (!server.containsKey("server_url")) {
+ if (!server.containsKey("full_server_url")) {
continue;
}
- server.put("server_url", serverUrl.toString());
+ server.put("full_server_url", fullServerUrl.toString());
}
return this;
diff --git a/src/main/java/dev/plexapi/sdk/SDKConfiguration.java b/src/main/java/dev/plexapi/sdk/SDKConfiguration.java
index 0e2ef1cf..d820c57c 100644
--- a/src/main/java/dev/plexapi/sdk/SDKConfiguration.java
+++ b/src/main/java/dev/plexapi/sdk/SDKConfiguration.java
@@ -25,7 +25,7 @@ public class SDKConfiguration {
private static final String LANGUAGE = "java";
public static final String OPENAPI_DOC_VERSION = "1.1.1";
- public static final String SDK_VERSION = "0.20.1";
+ public static final String SDK_VERSION = "0.21.1";
public static final String GEN_VERSION = "2.698.4";
private static final String BASE_PACKAGE = "dev.plexapi.sdk";
public static final String USER_AGENT =
@@ -102,7 +102,7 @@ public class SDKConfiguration {
put("port", "32400");
} });
add(new HashMap<>(){ {
- put("server_url", "http://localhost:32400");
+ put("full_server_url", "http://localhost:32400");
} });
} };
diff --git a/src/main/java/dev/plexapi/sdk/models/operations/GetSectionsPrefsResponse.java b/src/main/java/dev/plexapi/sdk/models/operations/GetSectionsPrefsResponse.java
index 62674d72..8163bf33 100644
--- a/src/main/java/dev/plexapi/sdk/models/operations/GetSectionsPrefsResponse.java
+++ b/src/main/java/dev/plexapi/sdk/models/operations/GetSectionsPrefsResponse.java
@@ -5,7 +5,7 @@ package dev.plexapi.sdk.models.operations;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonIgnore;
-import dev.plexapi.sdk.models.shared.RequestHandlerSlashGetResponses200;
+import dev.plexapi.sdk.models.shared.LibrarySections;
import dev.plexapi.sdk.utils.Response;
import dev.plexapi.sdk.utils.Utils;
import java.io.InputStream;
@@ -36,22 +36,22 @@ public class GetSectionsPrefsResponse implements Response {
/**
* OK
*/
- private Optional extends RequestHandlerSlashGetResponses200> requestHandlerSlashGetResponses200;
+ private Optional extends LibrarySections> librarySections;
@JsonCreator
public GetSectionsPrefsResponse(
String contentType,
int statusCode,
HttpResponse rawResponse,
- Optional extends RequestHandlerSlashGetResponses200> requestHandlerSlashGetResponses200) {
+ Optional extends LibrarySections> librarySections) {
Utils.checkNotNull(contentType, "contentType");
Utils.checkNotNull(statusCode, "statusCode");
Utils.checkNotNull(rawResponse, "rawResponse");
- Utils.checkNotNull(requestHandlerSlashGetResponses200, "requestHandlerSlashGetResponses200");
+ Utils.checkNotNull(librarySections, "librarySections");
this.contentType = contentType;
this.statusCode = statusCode;
this.rawResponse = rawResponse;
- this.requestHandlerSlashGetResponses200 = requestHandlerSlashGetResponses200;
+ this.librarySections = librarySections;
}
public GetSectionsPrefsResponse(
@@ -91,8 +91,8 @@ public class GetSectionsPrefsResponse implements Response {
*/
@SuppressWarnings("unchecked")
@JsonIgnore
- public Optional requestHandlerSlashGetResponses200() {
- return (Optional) requestHandlerSlashGetResponses200;
+ public Optional librarySections() {
+ return (Optional) librarySections;
}
public static Builder builder() {
@@ -130,9 +130,9 @@ public class GetSectionsPrefsResponse implements Response {
/**
* OK
*/
- public GetSectionsPrefsResponse withRequestHandlerSlashGetResponses200(RequestHandlerSlashGetResponses200 requestHandlerSlashGetResponses200) {
- Utils.checkNotNull(requestHandlerSlashGetResponses200, "requestHandlerSlashGetResponses200");
- this.requestHandlerSlashGetResponses200 = Optional.ofNullable(requestHandlerSlashGetResponses200);
+ public GetSectionsPrefsResponse withLibrarySections(LibrarySections librarySections) {
+ Utils.checkNotNull(librarySections, "librarySections");
+ this.librarySections = Optional.ofNullable(librarySections);
return this;
}
@@ -140,9 +140,9 @@ public class GetSectionsPrefsResponse implements Response {
/**
* OK
*/
- public GetSectionsPrefsResponse withRequestHandlerSlashGetResponses200(Optional extends RequestHandlerSlashGetResponses200> requestHandlerSlashGetResponses200) {
- Utils.checkNotNull(requestHandlerSlashGetResponses200, "requestHandlerSlashGetResponses200");
- this.requestHandlerSlashGetResponses200 = requestHandlerSlashGetResponses200;
+ public GetSectionsPrefsResponse withLibrarySections(Optional extends LibrarySections> librarySections) {
+ Utils.checkNotNull(librarySections, "librarySections");
+ this.librarySections = librarySections;
return this;
}
@@ -159,14 +159,14 @@ public class GetSectionsPrefsResponse implements Response {
Utils.enhancedDeepEquals(this.contentType, other.contentType) &&
Utils.enhancedDeepEquals(this.statusCode, other.statusCode) &&
Utils.enhancedDeepEquals(this.rawResponse, other.rawResponse) &&
- Utils.enhancedDeepEquals(this.requestHandlerSlashGetResponses200, other.requestHandlerSlashGetResponses200);
+ Utils.enhancedDeepEquals(this.librarySections, other.librarySections);
}
@Override
public int hashCode() {
return Utils.enhancedHash(
contentType, statusCode, rawResponse,
- requestHandlerSlashGetResponses200);
+ librarySections);
}
@Override
@@ -175,7 +175,7 @@ public class GetSectionsPrefsResponse implements Response {
"contentType", contentType,
"statusCode", statusCode,
"rawResponse", rawResponse,
- "requestHandlerSlashGetResponses200", requestHandlerSlashGetResponses200);
+ "librarySections", librarySections);
}
@SuppressWarnings("UnusedReturnValue")
@@ -187,7 +187,7 @@ public class GetSectionsPrefsResponse implements Response {
private HttpResponse rawResponse;
- private Optional extends RequestHandlerSlashGetResponses200> requestHandlerSlashGetResponses200 = Optional.empty();
+ private Optional extends LibrarySections> librarySections = Optional.empty();
private Builder() {
// force use of static builder() method
@@ -227,18 +227,18 @@ public class GetSectionsPrefsResponse implements Response {
/**
* OK
*/
- public Builder requestHandlerSlashGetResponses200(RequestHandlerSlashGetResponses200 requestHandlerSlashGetResponses200) {
- Utils.checkNotNull(requestHandlerSlashGetResponses200, "requestHandlerSlashGetResponses200");
- this.requestHandlerSlashGetResponses200 = Optional.ofNullable(requestHandlerSlashGetResponses200);
+ public Builder librarySections(LibrarySections librarySections) {
+ Utils.checkNotNull(librarySections, "librarySections");
+ this.librarySections = Optional.ofNullable(librarySections);
return this;
}
/**
* OK
*/
- public Builder requestHandlerSlashGetResponses200(Optional extends RequestHandlerSlashGetResponses200> requestHandlerSlashGetResponses200) {
- Utils.checkNotNull(requestHandlerSlashGetResponses200, "requestHandlerSlashGetResponses200");
- this.requestHandlerSlashGetResponses200 = requestHandlerSlashGetResponses200;
+ public Builder librarySections(Optional extends LibrarySections> librarySections) {
+ Utils.checkNotNull(librarySections, "librarySections");
+ this.librarySections = librarySections;
return this;
}
@@ -246,7 +246,7 @@ public class GetSectionsPrefsResponse implements Response {
return new GetSectionsPrefsResponse(
contentType, statusCode, rawResponse,
- requestHandlerSlashGetResponses200);
+ librarySections);
}
}
diff --git a/src/main/java/dev/plexapi/sdk/models/operations/StopAllRefreshesResponse.java b/src/main/java/dev/plexapi/sdk/models/operations/StopAllRefreshesResponse.java
index 53b1f7b9..2f9440c7 100644
--- a/src/main/java/dev/plexapi/sdk/models/operations/StopAllRefreshesResponse.java
+++ b/src/main/java/dev/plexapi/sdk/models/operations/StopAllRefreshesResponse.java
@@ -5,7 +5,7 @@ package dev.plexapi.sdk.models.operations;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonIgnore;
-import dev.plexapi.sdk.models.shared.RequestHandlerSlashGetResponses200;
+import dev.plexapi.sdk.models.shared.LibrarySections;
import dev.plexapi.sdk.utils.Response;
import dev.plexapi.sdk.utils.Utils;
import java.io.InputStream;
@@ -36,22 +36,22 @@ public class StopAllRefreshesResponse implements Response {
/**
* OK
*/
- private Optional extends RequestHandlerSlashGetResponses200> requestHandlerSlashGetResponses200;
+ private Optional extends LibrarySections> librarySections;
@JsonCreator
public StopAllRefreshesResponse(
String contentType,
int statusCode,
HttpResponse rawResponse,
- Optional extends RequestHandlerSlashGetResponses200> requestHandlerSlashGetResponses200) {
+ Optional extends LibrarySections> librarySections) {
Utils.checkNotNull(contentType, "contentType");
Utils.checkNotNull(statusCode, "statusCode");
Utils.checkNotNull(rawResponse, "rawResponse");
- Utils.checkNotNull(requestHandlerSlashGetResponses200, "requestHandlerSlashGetResponses200");
+ Utils.checkNotNull(librarySections, "librarySections");
this.contentType = contentType;
this.statusCode = statusCode;
this.rawResponse = rawResponse;
- this.requestHandlerSlashGetResponses200 = requestHandlerSlashGetResponses200;
+ this.librarySections = librarySections;
}
public StopAllRefreshesResponse(
@@ -91,8 +91,8 @@ public class StopAllRefreshesResponse implements Response {
*/
@SuppressWarnings("unchecked")
@JsonIgnore
- public Optional requestHandlerSlashGetResponses200() {
- return (Optional) requestHandlerSlashGetResponses200;
+ public Optional librarySections() {
+ return (Optional) librarySections;
}
public static Builder builder() {
@@ -130,9 +130,9 @@ public class StopAllRefreshesResponse implements Response {
/**
* OK
*/
- public StopAllRefreshesResponse withRequestHandlerSlashGetResponses200(RequestHandlerSlashGetResponses200 requestHandlerSlashGetResponses200) {
- Utils.checkNotNull(requestHandlerSlashGetResponses200, "requestHandlerSlashGetResponses200");
- this.requestHandlerSlashGetResponses200 = Optional.ofNullable(requestHandlerSlashGetResponses200);
+ public StopAllRefreshesResponse withLibrarySections(LibrarySections librarySections) {
+ Utils.checkNotNull(librarySections, "librarySections");
+ this.librarySections = Optional.ofNullable(librarySections);
return this;
}
@@ -140,9 +140,9 @@ public class StopAllRefreshesResponse implements Response {
/**
* OK
*/
- public StopAllRefreshesResponse withRequestHandlerSlashGetResponses200(Optional extends RequestHandlerSlashGetResponses200> requestHandlerSlashGetResponses200) {
- Utils.checkNotNull(requestHandlerSlashGetResponses200, "requestHandlerSlashGetResponses200");
- this.requestHandlerSlashGetResponses200 = requestHandlerSlashGetResponses200;
+ public StopAllRefreshesResponse withLibrarySections(Optional extends LibrarySections> librarySections) {
+ Utils.checkNotNull(librarySections, "librarySections");
+ this.librarySections = librarySections;
return this;
}
@@ -159,14 +159,14 @@ public class StopAllRefreshesResponse implements Response {
Utils.enhancedDeepEquals(this.contentType, other.contentType) &&
Utils.enhancedDeepEquals(this.statusCode, other.statusCode) &&
Utils.enhancedDeepEquals(this.rawResponse, other.rawResponse) &&
- Utils.enhancedDeepEquals(this.requestHandlerSlashGetResponses200, other.requestHandlerSlashGetResponses200);
+ Utils.enhancedDeepEquals(this.librarySections, other.librarySections);
}
@Override
public int hashCode() {
return Utils.enhancedHash(
contentType, statusCode, rawResponse,
- requestHandlerSlashGetResponses200);
+ librarySections);
}
@Override
@@ -175,7 +175,7 @@ public class StopAllRefreshesResponse implements Response {
"contentType", contentType,
"statusCode", statusCode,
"rawResponse", rawResponse,
- "requestHandlerSlashGetResponses200", requestHandlerSlashGetResponses200);
+ "librarySections", librarySections);
}
@SuppressWarnings("UnusedReturnValue")
@@ -187,7 +187,7 @@ public class StopAllRefreshesResponse implements Response {
private HttpResponse rawResponse;
- private Optional extends RequestHandlerSlashGetResponses200> requestHandlerSlashGetResponses200 = Optional.empty();
+ private Optional extends LibrarySections> librarySections = Optional.empty();
private Builder() {
// force use of static builder() method
@@ -227,18 +227,18 @@ public class StopAllRefreshesResponse implements Response {
/**
* OK
*/
- public Builder requestHandlerSlashGetResponses200(RequestHandlerSlashGetResponses200 requestHandlerSlashGetResponses200) {
- Utils.checkNotNull(requestHandlerSlashGetResponses200, "requestHandlerSlashGetResponses200");
- this.requestHandlerSlashGetResponses200 = Optional.ofNullable(requestHandlerSlashGetResponses200);
+ public Builder librarySections(LibrarySections librarySections) {
+ Utils.checkNotNull(librarySections, "librarySections");
+ this.librarySections = Optional.ofNullable(librarySections);
return this;
}
/**
* OK
*/
- public Builder requestHandlerSlashGetResponses200(Optional extends RequestHandlerSlashGetResponses200> requestHandlerSlashGetResponses200) {
- Utils.checkNotNull(requestHandlerSlashGetResponses200, "requestHandlerSlashGetResponses200");
- this.requestHandlerSlashGetResponses200 = requestHandlerSlashGetResponses200;
+ public Builder librarySections(Optional extends LibrarySections> librarySections) {
+ Utils.checkNotNull(librarySections, "librarySections");
+ this.librarySections = librarySections;
return this;
}
@@ -246,7 +246,7 @@ public class StopAllRefreshesResponse implements Response {
return new StopAllRefreshesResponse(
contentType, statusCode, rawResponse,
- requestHandlerSlashGetResponses200);
+ librarySections);
}
}
diff --git a/src/main/java/dev/plexapi/sdk/models/operations/async/GetSectionsPrefsResponse.java b/src/main/java/dev/plexapi/sdk/models/operations/async/GetSectionsPrefsResponse.java
index 793115e7..09fde5a0 100644
--- a/src/main/java/dev/plexapi/sdk/models/operations/async/GetSectionsPrefsResponse.java
+++ b/src/main/java/dev/plexapi/sdk/models/operations/async/GetSectionsPrefsResponse.java
@@ -5,7 +5,7 @@ package dev.plexapi.sdk.models.operations.async;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonIgnore;
-import dev.plexapi.sdk.models.shared.RequestHandlerSlashGetResponses200;
+import dev.plexapi.sdk.models.shared.LibrarySections;
import dev.plexapi.sdk.utils.AsyncResponse;
import dev.plexapi.sdk.utils.Blob;
import dev.plexapi.sdk.utils.Utils;
@@ -36,22 +36,22 @@ public class GetSectionsPrefsResponse implements AsyncResponse {
/**
* OK
*/
- private Optional extends RequestHandlerSlashGetResponses200> requestHandlerSlashGetResponses200;
+ private Optional extends LibrarySections> librarySections;
@JsonCreator
public GetSectionsPrefsResponse(
String contentType,
int statusCode,
HttpResponse rawResponse,
- Optional extends RequestHandlerSlashGetResponses200> requestHandlerSlashGetResponses200) {
+ Optional extends LibrarySections> librarySections) {
Utils.checkNotNull(contentType, "contentType");
Utils.checkNotNull(statusCode, "statusCode");
Utils.checkNotNull(rawResponse, "rawResponse");
- Utils.checkNotNull(requestHandlerSlashGetResponses200, "requestHandlerSlashGetResponses200");
+ Utils.checkNotNull(librarySections, "librarySections");
this.contentType = contentType;
this.statusCode = statusCode;
this.rawResponse = rawResponse;
- this.requestHandlerSlashGetResponses200 = requestHandlerSlashGetResponses200;
+ this.librarySections = librarySections;
}
public GetSectionsPrefsResponse(
@@ -91,8 +91,8 @@ public class GetSectionsPrefsResponse implements AsyncResponse {
*/
@SuppressWarnings("unchecked")
@JsonIgnore
- public Optional requestHandlerSlashGetResponses200() {
- return (Optional) requestHandlerSlashGetResponses200;
+ public Optional librarySections() {
+ return (Optional) librarySections;
}
public static Builder builder() {
@@ -130,9 +130,9 @@ public class GetSectionsPrefsResponse implements AsyncResponse {
/**
* OK
*/
- public GetSectionsPrefsResponse withRequestHandlerSlashGetResponses200(RequestHandlerSlashGetResponses200 requestHandlerSlashGetResponses200) {
- Utils.checkNotNull(requestHandlerSlashGetResponses200, "requestHandlerSlashGetResponses200");
- this.requestHandlerSlashGetResponses200 = Optional.ofNullable(requestHandlerSlashGetResponses200);
+ public GetSectionsPrefsResponse withLibrarySections(LibrarySections librarySections) {
+ Utils.checkNotNull(librarySections, "librarySections");
+ this.librarySections = Optional.ofNullable(librarySections);
return this;
}
@@ -140,9 +140,9 @@ public class GetSectionsPrefsResponse implements AsyncResponse {
/**
* OK
*/
- public GetSectionsPrefsResponse withRequestHandlerSlashGetResponses200(Optional extends RequestHandlerSlashGetResponses200> requestHandlerSlashGetResponses200) {
- Utils.checkNotNull(requestHandlerSlashGetResponses200, "requestHandlerSlashGetResponses200");
- this.requestHandlerSlashGetResponses200 = requestHandlerSlashGetResponses200;
+ public GetSectionsPrefsResponse withLibrarySections(Optional extends LibrarySections> librarySections) {
+ Utils.checkNotNull(librarySections, "librarySections");
+ this.librarySections = librarySections;
return this;
}
@@ -159,14 +159,14 @@ public class GetSectionsPrefsResponse implements AsyncResponse {
Utils.enhancedDeepEquals(this.contentType, other.contentType) &&
Utils.enhancedDeepEquals(this.statusCode, other.statusCode) &&
Utils.enhancedDeepEquals(this.rawResponse, other.rawResponse) &&
- Utils.enhancedDeepEquals(this.requestHandlerSlashGetResponses200, other.requestHandlerSlashGetResponses200);
+ Utils.enhancedDeepEquals(this.librarySections, other.librarySections);
}
@Override
public int hashCode() {
return Utils.enhancedHash(
contentType, statusCode, rawResponse,
- requestHandlerSlashGetResponses200);
+ librarySections);
}
@Override
@@ -175,7 +175,7 @@ public class GetSectionsPrefsResponse implements AsyncResponse {
"contentType", contentType,
"statusCode", statusCode,
"rawResponse", rawResponse,
- "requestHandlerSlashGetResponses200", requestHandlerSlashGetResponses200);
+ "librarySections", librarySections);
}
@SuppressWarnings("UnusedReturnValue")
@@ -187,7 +187,7 @@ public class GetSectionsPrefsResponse implements AsyncResponse {
private HttpResponse rawResponse;
- private Optional extends RequestHandlerSlashGetResponses200> requestHandlerSlashGetResponses200 = Optional.empty();
+ private Optional extends LibrarySections> librarySections = Optional.empty();
private Builder() {
// force use of static builder() method
@@ -227,18 +227,18 @@ public class GetSectionsPrefsResponse implements AsyncResponse {
/**
* OK
*/
- public Builder requestHandlerSlashGetResponses200(RequestHandlerSlashGetResponses200 requestHandlerSlashGetResponses200) {
- Utils.checkNotNull(requestHandlerSlashGetResponses200, "requestHandlerSlashGetResponses200");
- this.requestHandlerSlashGetResponses200 = Optional.ofNullable(requestHandlerSlashGetResponses200);
+ public Builder librarySections(LibrarySections librarySections) {
+ Utils.checkNotNull(librarySections, "librarySections");
+ this.librarySections = Optional.ofNullable(librarySections);
return this;
}
/**
* OK
*/
- public Builder requestHandlerSlashGetResponses200(Optional extends RequestHandlerSlashGetResponses200> requestHandlerSlashGetResponses200) {
- Utils.checkNotNull(requestHandlerSlashGetResponses200, "requestHandlerSlashGetResponses200");
- this.requestHandlerSlashGetResponses200 = requestHandlerSlashGetResponses200;
+ public Builder librarySections(Optional extends LibrarySections> librarySections) {
+ Utils.checkNotNull(librarySections, "librarySections");
+ this.librarySections = librarySections;
return this;
}
@@ -246,7 +246,7 @@ public class GetSectionsPrefsResponse implements AsyncResponse {
return new GetSectionsPrefsResponse(
contentType, statusCode, rawResponse,
- requestHandlerSlashGetResponses200);
+ librarySections);
}
}
diff --git a/src/main/java/dev/plexapi/sdk/models/operations/async/StopAllRefreshesResponse.java b/src/main/java/dev/plexapi/sdk/models/operations/async/StopAllRefreshesResponse.java
index fd3edf06..f986a668 100644
--- a/src/main/java/dev/plexapi/sdk/models/operations/async/StopAllRefreshesResponse.java
+++ b/src/main/java/dev/plexapi/sdk/models/operations/async/StopAllRefreshesResponse.java
@@ -5,7 +5,7 @@ package dev.plexapi.sdk.models.operations.async;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonIgnore;
-import dev.plexapi.sdk.models.shared.RequestHandlerSlashGetResponses200;
+import dev.plexapi.sdk.models.shared.LibrarySections;
import dev.plexapi.sdk.utils.AsyncResponse;
import dev.plexapi.sdk.utils.Blob;
import dev.plexapi.sdk.utils.Utils;
@@ -36,22 +36,22 @@ public class StopAllRefreshesResponse implements AsyncResponse {
/**
* OK
*/
- private Optional extends RequestHandlerSlashGetResponses200> requestHandlerSlashGetResponses200;
+ private Optional extends LibrarySections> librarySections;
@JsonCreator
public StopAllRefreshesResponse(
String contentType,
int statusCode,
HttpResponse rawResponse,
- Optional extends RequestHandlerSlashGetResponses200> requestHandlerSlashGetResponses200) {
+ Optional extends LibrarySections> librarySections) {
Utils.checkNotNull(contentType, "contentType");
Utils.checkNotNull(statusCode, "statusCode");
Utils.checkNotNull(rawResponse, "rawResponse");
- Utils.checkNotNull(requestHandlerSlashGetResponses200, "requestHandlerSlashGetResponses200");
+ Utils.checkNotNull(librarySections, "librarySections");
this.contentType = contentType;
this.statusCode = statusCode;
this.rawResponse = rawResponse;
- this.requestHandlerSlashGetResponses200 = requestHandlerSlashGetResponses200;
+ this.librarySections = librarySections;
}
public StopAllRefreshesResponse(
@@ -91,8 +91,8 @@ public class StopAllRefreshesResponse implements AsyncResponse {
*/
@SuppressWarnings("unchecked")
@JsonIgnore
- public Optional requestHandlerSlashGetResponses200() {
- return (Optional) requestHandlerSlashGetResponses200;
+ public Optional librarySections() {
+ return (Optional) librarySections;
}
public static Builder builder() {
@@ -130,9 +130,9 @@ public class StopAllRefreshesResponse implements AsyncResponse {
/**
* OK
*/
- public StopAllRefreshesResponse withRequestHandlerSlashGetResponses200(RequestHandlerSlashGetResponses200 requestHandlerSlashGetResponses200) {
- Utils.checkNotNull(requestHandlerSlashGetResponses200, "requestHandlerSlashGetResponses200");
- this.requestHandlerSlashGetResponses200 = Optional.ofNullable(requestHandlerSlashGetResponses200);
+ public StopAllRefreshesResponse withLibrarySections(LibrarySections librarySections) {
+ Utils.checkNotNull(librarySections, "librarySections");
+ this.librarySections = Optional.ofNullable(librarySections);
return this;
}
@@ -140,9 +140,9 @@ public class StopAllRefreshesResponse implements AsyncResponse {
/**
* OK
*/
- public StopAllRefreshesResponse withRequestHandlerSlashGetResponses200(Optional extends RequestHandlerSlashGetResponses200> requestHandlerSlashGetResponses200) {
- Utils.checkNotNull(requestHandlerSlashGetResponses200, "requestHandlerSlashGetResponses200");
- this.requestHandlerSlashGetResponses200 = requestHandlerSlashGetResponses200;
+ public StopAllRefreshesResponse withLibrarySections(Optional extends LibrarySections> librarySections) {
+ Utils.checkNotNull(librarySections, "librarySections");
+ this.librarySections = librarySections;
return this;
}
@@ -159,14 +159,14 @@ public class StopAllRefreshesResponse implements AsyncResponse {
Utils.enhancedDeepEquals(this.contentType, other.contentType) &&
Utils.enhancedDeepEquals(this.statusCode, other.statusCode) &&
Utils.enhancedDeepEquals(this.rawResponse, other.rawResponse) &&
- Utils.enhancedDeepEquals(this.requestHandlerSlashGetResponses200, other.requestHandlerSlashGetResponses200);
+ Utils.enhancedDeepEquals(this.librarySections, other.librarySections);
}
@Override
public int hashCode() {
return Utils.enhancedHash(
contentType, statusCode, rawResponse,
- requestHandlerSlashGetResponses200);
+ librarySections);
}
@Override
@@ -175,7 +175,7 @@ public class StopAllRefreshesResponse implements AsyncResponse {
"contentType", contentType,
"statusCode", statusCode,
"rawResponse", rawResponse,
- "requestHandlerSlashGetResponses200", requestHandlerSlashGetResponses200);
+ "librarySections", librarySections);
}
@SuppressWarnings("UnusedReturnValue")
@@ -187,7 +187,7 @@ public class StopAllRefreshesResponse implements AsyncResponse {
private HttpResponse rawResponse;
- private Optional extends RequestHandlerSlashGetResponses200> requestHandlerSlashGetResponses200 = Optional.empty();
+ private Optional extends LibrarySections> librarySections = Optional.empty();
private Builder() {
// force use of static builder() method
@@ -227,18 +227,18 @@ public class StopAllRefreshesResponse implements AsyncResponse {
/**
* OK
*/
- public Builder requestHandlerSlashGetResponses200(RequestHandlerSlashGetResponses200 requestHandlerSlashGetResponses200) {
- Utils.checkNotNull(requestHandlerSlashGetResponses200, "requestHandlerSlashGetResponses200");
- this.requestHandlerSlashGetResponses200 = Optional.ofNullable(requestHandlerSlashGetResponses200);
+ public Builder librarySections(LibrarySections librarySections) {
+ Utils.checkNotNull(librarySections, "librarySections");
+ this.librarySections = Optional.ofNullable(librarySections);
return this;
}
/**
* OK
*/
- public Builder requestHandlerSlashGetResponses200(Optional extends RequestHandlerSlashGetResponses200> requestHandlerSlashGetResponses200) {
- Utils.checkNotNull(requestHandlerSlashGetResponses200, "requestHandlerSlashGetResponses200");
- this.requestHandlerSlashGetResponses200 = requestHandlerSlashGetResponses200;
+ public Builder librarySections(Optional extends LibrarySections> librarySections) {
+ Utils.checkNotNull(librarySections, "librarySections");
+ this.librarySections = librarySections;
return this;
}
@@ -246,7 +246,7 @@ public class StopAllRefreshesResponse implements AsyncResponse {
return new StopAllRefreshesResponse(
contentType, statusCode, rawResponse,
- requestHandlerSlashGetResponses200);
+ librarySections);
}
}
diff --git a/src/main/java/dev/plexapi/sdk/models/shared/RequestHandlerSlashGetResponses200.java b/src/main/java/dev/plexapi/sdk/models/shared/LibrarySections.java
similarity index 60%
rename from src/main/java/dev/plexapi/sdk/models/shared/RequestHandlerSlashGetResponses200.java
rename to src/main/java/dev/plexapi/sdk/models/shared/LibrarySections.java
index ea2c0c56..c6ddbd2a 100644
--- a/src/main/java/dev/plexapi/sdk/models/shared/RequestHandlerSlashGetResponses200.java
+++ b/src/main/java/dev/plexapi/sdk/models/shared/LibrarySections.java
@@ -15,31 +15,31 @@ import java.lang.SuppressWarnings;
import java.util.Optional;
/**
- * RequestHandlerSlashGetResponses200
+ * LibrarySections
*
* OK
*/
-public class RequestHandlerSlashGetResponses200 {
+public class LibrarySections {
@JsonInclude(Include.NON_ABSENT)
@JsonProperty("MediaContainer")
- private Optional extends RequestHandlerSlashGetResponses200MediaContainer> mediaContainer;
+ private Optional extends LibrarySectionsMediaContainer> mediaContainer;
@JsonCreator
- public RequestHandlerSlashGetResponses200(
- @JsonProperty("MediaContainer") Optional extends RequestHandlerSlashGetResponses200MediaContainer> mediaContainer) {
+ public LibrarySections(
+ @JsonProperty("MediaContainer") Optional extends LibrarySectionsMediaContainer> mediaContainer) {
Utils.checkNotNull(mediaContainer, "mediaContainer");
this.mediaContainer = mediaContainer;
}
- public RequestHandlerSlashGetResponses200() {
+ public LibrarySections() {
this(Optional.empty());
}
@SuppressWarnings("unchecked")
@JsonIgnore
- public Optional mediaContainer() {
- return (Optional) mediaContainer;
+ public Optional mediaContainer() {
+ return (Optional) mediaContainer;
}
public static Builder builder() {
@@ -47,14 +47,14 @@ public class RequestHandlerSlashGetResponses200 {
}
- public RequestHandlerSlashGetResponses200 withMediaContainer(RequestHandlerSlashGetResponses200MediaContainer mediaContainer) {
+ public LibrarySections withMediaContainer(LibrarySectionsMediaContainer mediaContainer) {
Utils.checkNotNull(mediaContainer, "mediaContainer");
this.mediaContainer = Optional.ofNullable(mediaContainer);
return this;
}
- public RequestHandlerSlashGetResponses200 withMediaContainer(Optional extends RequestHandlerSlashGetResponses200MediaContainer> mediaContainer) {
+ public LibrarySections withMediaContainer(Optional extends LibrarySectionsMediaContainer> mediaContainer) {
Utils.checkNotNull(mediaContainer, "mediaContainer");
this.mediaContainer = mediaContainer;
return this;
@@ -68,7 +68,7 @@ public class RequestHandlerSlashGetResponses200 {
if (o == null || getClass() != o.getClass()) {
return false;
}
- RequestHandlerSlashGetResponses200 other = (RequestHandlerSlashGetResponses200) o;
+ LibrarySections other = (LibrarySections) o;
return
Utils.enhancedDeepEquals(this.mediaContainer, other.mediaContainer);
}
@@ -81,35 +81,35 @@ public class RequestHandlerSlashGetResponses200 {
@Override
public String toString() {
- return Utils.toString(RequestHandlerSlashGetResponses200.class,
+ return Utils.toString(LibrarySections.class,
"mediaContainer", mediaContainer);
}
@SuppressWarnings("UnusedReturnValue")
public final static class Builder {
- private Optional extends RequestHandlerSlashGetResponses200MediaContainer> mediaContainer = Optional.empty();
+ private Optional extends LibrarySectionsMediaContainer> mediaContainer = Optional.empty();
private Builder() {
// force use of static builder() method
}
- public Builder mediaContainer(RequestHandlerSlashGetResponses200MediaContainer mediaContainer) {
+ public Builder mediaContainer(LibrarySectionsMediaContainer mediaContainer) {
Utils.checkNotNull(mediaContainer, "mediaContainer");
this.mediaContainer = Optional.ofNullable(mediaContainer);
return this;
}
- public Builder mediaContainer(Optional extends RequestHandlerSlashGetResponses200MediaContainer> mediaContainer) {
+ public Builder mediaContainer(Optional extends LibrarySectionsMediaContainer> mediaContainer) {
Utils.checkNotNull(mediaContainer, "mediaContainer");
this.mediaContainer = mediaContainer;
return this;
}
- public RequestHandlerSlashGetResponses200 build() {
+ public LibrarySections build() {
- return new RequestHandlerSlashGetResponses200(
+ return new LibrarySections(
mediaContainer);
}
diff --git a/src/main/java/dev/plexapi/sdk/models/shared/RequestHandlerSlashGetResponses200Directory.java b/src/main/java/dev/plexapi/sdk/models/shared/LibrarySectionsDirectory.java
similarity index 82%
rename from src/main/java/dev/plexapi/sdk/models/shared/RequestHandlerSlashGetResponses200Directory.java
rename to src/main/java/dev/plexapi/sdk/models/shared/LibrarySectionsDirectory.java
index 37ffafa7..9ba00898 100644
--- a/src/main/java/dev/plexapi/sdk/models/shared/RequestHandlerSlashGetResponses200Directory.java
+++ b/src/main/java/dev/plexapi/sdk/models/shared/LibrarySectionsDirectory.java
@@ -15,7 +15,7 @@ import java.lang.String;
import java.util.Optional;
-public class RequestHandlerSlashGetResponses200Directory {
+public class LibrarySectionsDirectory {
@JsonInclude(Include.NON_ABSENT)
@JsonProperty("count")
@@ -34,7 +34,7 @@ public class RequestHandlerSlashGetResponses200Directory {
private Optional title;
@JsonCreator
- public RequestHandlerSlashGetResponses200Directory(
+ public LibrarySectionsDirectory(
@JsonProperty("count") Optional count,
@JsonProperty("key") Optional key,
@JsonProperty("title") Optional title) {
@@ -46,7 +46,7 @@ public class RequestHandlerSlashGetResponses200Directory {
this.title = title;
}
- public RequestHandlerSlashGetResponses200Directory() {
+ public LibrarySectionsDirectory() {
this(Optional.empty(), Optional.empty(), Optional.empty());
}
@@ -73,14 +73,14 @@ public class RequestHandlerSlashGetResponses200Directory {
}
- public RequestHandlerSlashGetResponses200Directory withCount(long count) {
+ public LibrarySectionsDirectory withCount(long count) {
Utils.checkNotNull(count, "count");
this.count = Optional.ofNullable(count);
return this;
}
- public RequestHandlerSlashGetResponses200Directory withCount(Optional count) {
+ public LibrarySectionsDirectory withCount(Optional count) {
Utils.checkNotNull(count, "count");
this.count = count;
return this;
@@ -89,7 +89,7 @@ public class RequestHandlerSlashGetResponses200Directory {
/**
* The key where this directory is found
*/
- public RequestHandlerSlashGetResponses200Directory withKey(String key) {
+ public LibrarySectionsDirectory withKey(String key) {
Utils.checkNotNull(key, "key");
this.key = Optional.ofNullable(key);
return this;
@@ -99,20 +99,20 @@ public class RequestHandlerSlashGetResponses200Directory {
/**
* The key where this directory is found
*/
- public RequestHandlerSlashGetResponses200Directory withKey(Optional key) {
+ public LibrarySectionsDirectory withKey(Optional key) {
Utils.checkNotNull(key, "key");
this.key = key;
return this;
}
- public RequestHandlerSlashGetResponses200Directory withTitle(String title) {
+ public LibrarySectionsDirectory withTitle(String title) {
Utils.checkNotNull(title, "title");
this.title = Optional.ofNullable(title);
return this;
}
- public RequestHandlerSlashGetResponses200Directory withTitle(Optional title) {
+ public LibrarySectionsDirectory withTitle(Optional title) {
Utils.checkNotNull(title, "title");
this.title = title;
return this;
@@ -126,7 +126,7 @@ public class RequestHandlerSlashGetResponses200Directory {
if (o == null || getClass() != o.getClass()) {
return false;
}
- RequestHandlerSlashGetResponses200Directory other = (RequestHandlerSlashGetResponses200Directory) o;
+ LibrarySectionsDirectory other = (LibrarySectionsDirectory) o;
return
Utils.enhancedDeepEquals(this.count, other.count) &&
Utils.enhancedDeepEquals(this.key, other.key) &&
@@ -141,7 +141,7 @@ public class RequestHandlerSlashGetResponses200Directory {
@Override
public String toString() {
- return Utils.toString(RequestHandlerSlashGetResponses200Directory.class,
+ return Utils.toString(LibrarySectionsDirectory.class,
"count", count,
"key", key,
"title", title);
@@ -205,9 +205,9 @@ public class RequestHandlerSlashGetResponses200Directory {
return this;
}
- public RequestHandlerSlashGetResponses200Directory build() {
+ public LibrarySectionsDirectory build() {
- return new RequestHandlerSlashGetResponses200Directory(
+ return new LibrarySectionsDirectory(
count, key, title);
}
diff --git a/src/main/java/dev/plexapi/sdk/models/shared/RequestHandlerSlashGetResponses200MediaContainer.java b/src/main/java/dev/plexapi/sdk/models/shared/LibrarySectionsMediaContainer.java
similarity index 86%
rename from src/main/java/dev/plexapi/sdk/models/shared/RequestHandlerSlashGetResponses200MediaContainer.java
rename to src/main/java/dev/plexapi/sdk/models/shared/LibrarySectionsMediaContainer.java
index d363b242..c42ef44f 100644
--- a/src/main/java/dev/plexapi/sdk/models/shared/RequestHandlerSlashGetResponses200MediaContainer.java
+++ b/src/main/java/dev/plexapi/sdk/models/shared/LibrarySectionsMediaContainer.java
@@ -19,13 +19,13 @@ import java.util.List;
import java.util.Optional;
/**
- * RequestHandlerSlashGetResponses200MediaContainer
+ * LibrarySectionsMediaContainer
*
* `MediaContainer` is the root element of most Plex API responses. It serves as a generic container for various types of content (Metadata, Hubs, Directories, etc.) and includes pagination information (offset, size, totalSize) when applicable.
* Common attributes: - identifier: Unique identifier for this container - size: Number of items in this response page - totalSize: Total number of items available (for pagination) - offset: Starting index of this page (for pagination)
* The container often "hoists" common attributes from its children. For example, if all tracks in a container share the same album title, the `parentTitle` attribute may appear on the MediaContainer rather than being repeated on each track.
*/
-public class RequestHandlerSlashGetResponses200MediaContainer {
+public class LibrarySectionsMediaContainer {
@JsonInclude(Include.NON_ABSENT)
@JsonProperty("identifier")
@@ -299,10 +299,10 @@ public class RequestHandlerSlashGetResponses200MediaContainer {
@JsonInclude(Include.NON_ABSENT)
@JsonProperty("Directory")
- private Optional extends List> directory;
+ private Optional extends List> directory;
@JsonCreator
- public RequestHandlerSlashGetResponses200MediaContainer(
+ public LibrarySectionsMediaContainer(
@JsonProperty("identifier") Optional identifier,
@JsonProperty("offset") Optional offset,
@JsonProperty("size") Optional size,
@@ -355,7 +355,7 @@ public class RequestHandlerSlashGetResponses200MediaContainer {
@JsonProperty("updater") Optional updater,
@JsonProperty("version") Optional version,
@JsonProperty("voiceSearch") Optional voiceSearch,
- @JsonProperty("Directory") Optional extends List> directory) {
+ @JsonProperty("Directory") Optional extends List> directory) {
Utils.checkNotNull(identifier, "identifier");
Utils.checkNotNull(offset, "offset");
Utils.checkNotNull(size, "size");
@@ -464,7 +464,7 @@ public class RequestHandlerSlashGetResponses200MediaContainer {
this.directory = directory;
}
- public RequestHandlerSlashGetResponses200MediaContainer() {
+ public LibrarySectionsMediaContainer() {
this(Optional.empty(), Optional.empty(), Optional.empty(),
Optional.empty(), Optional.empty(), Optional.empty(),
Optional.empty(), Optional.empty(), Optional.empty(),
@@ -768,8 +768,8 @@ public class RequestHandlerSlashGetResponses200MediaContainer {
@SuppressWarnings("unchecked")
@JsonIgnore
- public Optional> directory() {
- return (Optional>) directory;
+ public Optional> directory() {
+ return (Optional>) directory;
}
public static Builder builder() {
@@ -777,14 +777,14 @@ public class RequestHandlerSlashGetResponses200MediaContainer {
}
- public RequestHandlerSlashGetResponses200MediaContainer withIdentifier(String identifier) {
+ public LibrarySectionsMediaContainer withIdentifier(String identifier) {
Utils.checkNotNull(identifier, "identifier");
this.identifier = Optional.ofNullable(identifier);
return this;
}
- public RequestHandlerSlashGetResponses200MediaContainer withIdentifier(Optional identifier) {
+ public LibrarySectionsMediaContainer withIdentifier(Optional identifier) {
Utils.checkNotNull(identifier, "identifier");
this.identifier = identifier;
return this;
@@ -793,7 +793,7 @@ public class RequestHandlerSlashGetResponses200MediaContainer {
/**
* The offset of where this container page starts among the total objects available. Also provided in the `X-Plex-Container-Start` header.
*/
- public RequestHandlerSlashGetResponses200MediaContainer withOffset(long offset) {
+ public LibrarySectionsMediaContainer withOffset(long offset) {
Utils.checkNotNull(offset, "offset");
this.offset = Optional.ofNullable(offset);
return this;
@@ -803,20 +803,20 @@ public class RequestHandlerSlashGetResponses200MediaContainer {
/**
* The offset of where this container page starts among the total objects available. Also provided in the `X-Plex-Container-Start` header.
*/
- public RequestHandlerSlashGetResponses200MediaContainer withOffset(Optional offset) {
+ public LibrarySectionsMediaContainer withOffset(Optional offset) {
Utils.checkNotNull(offset, "offset");
this.offset = offset;
return this;
}
- public RequestHandlerSlashGetResponses200MediaContainer withSize(long size) {
+ public LibrarySectionsMediaContainer withSize(long size) {
Utils.checkNotNull(size, "size");
this.size = Optional.ofNullable(size);
return this;
}
- public RequestHandlerSlashGetResponses200MediaContainer withSize(Optional size) {
+ public LibrarySectionsMediaContainer withSize(Optional size) {
Utils.checkNotNull(size, "size");
this.size = size;
return this;
@@ -825,7 +825,7 @@ public class RequestHandlerSlashGetResponses200MediaContainer {
/**
* The total size of objects available. Also provided in the `X-Plex-Container-Total-Size` header.
*/
- public RequestHandlerSlashGetResponses200MediaContainer withTotalSize(long totalSize) {
+ public LibrarySectionsMediaContainer withTotalSize(long totalSize) {
Utils.checkNotNull(totalSize, "totalSize");
this.totalSize = Optional.ofNullable(totalSize);
return this;
@@ -835,345 +835,345 @@ public class RequestHandlerSlashGetResponses200MediaContainer {
/**
* The total size of objects available. Also provided in the `X-Plex-Container-Total-Size` header.
*/
- public RequestHandlerSlashGetResponses200MediaContainer withTotalSize(Optional totalSize) {
+ public LibrarySectionsMediaContainer withTotalSize(Optional totalSize) {
Utils.checkNotNull(totalSize, "totalSize");
this.totalSize = totalSize;
return this;
}
- public RequestHandlerSlashGetResponses200MediaContainer withAllowCameraUpload(boolean allowCameraUpload) {
+ public LibrarySectionsMediaContainer withAllowCameraUpload(boolean allowCameraUpload) {
Utils.checkNotNull(allowCameraUpload, "allowCameraUpload");
this.allowCameraUpload = Optional.ofNullable(allowCameraUpload);
return this;
}
- public RequestHandlerSlashGetResponses200MediaContainer withAllowCameraUpload(Optional allowCameraUpload) {
+ public LibrarySectionsMediaContainer withAllowCameraUpload(Optional allowCameraUpload) {
Utils.checkNotNull(allowCameraUpload, "allowCameraUpload");
this.allowCameraUpload = allowCameraUpload;
return this;
}
- public RequestHandlerSlashGetResponses200MediaContainer withAllowChannelAccess(boolean allowChannelAccess) {
+ public LibrarySectionsMediaContainer withAllowChannelAccess(boolean allowChannelAccess) {
Utils.checkNotNull(allowChannelAccess, "allowChannelAccess");
this.allowChannelAccess = Optional.ofNullable(allowChannelAccess);
return this;
}
- public RequestHandlerSlashGetResponses200MediaContainer withAllowChannelAccess(Optional allowChannelAccess) {
+ public LibrarySectionsMediaContainer withAllowChannelAccess(Optional allowChannelAccess) {
Utils.checkNotNull(allowChannelAccess, "allowChannelAccess");
this.allowChannelAccess = allowChannelAccess;
return this;
}
- public RequestHandlerSlashGetResponses200MediaContainer withAllowMediaDeletion(boolean allowMediaDeletion) {
+ public LibrarySectionsMediaContainer withAllowMediaDeletion(boolean allowMediaDeletion) {
Utils.checkNotNull(allowMediaDeletion, "allowMediaDeletion");
this.allowMediaDeletion = Optional.ofNullable(allowMediaDeletion);
return this;
}
- public RequestHandlerSlashGetResponses200MediaContainer withAllowMediaDeletion(Optional allowMediaDeletion) {
+ public LibrarySectionsMediaContainer withAllowMediaDeletion(Optional allowMediaDeletion) {
Utils.checkNotNull(allowMediaDeletion, "allowMediaDeletion");
this.allowMediaDeletion = allowMediaDeletion;
return this;
}
- public RequestHandlerSlashGetResponses200MediaContainer withAllowSharing(boolean allowSharing) {
+ public LibrarySectionsMediaContainer withAllowSharing(boolean allowSharing) {
Utils.checkNotNull(allowSharing, "allowSharing");
this.allowSharing = Optional.ofNullable(allowSharing);
return this;
}
- public RequestHandlerSlashGetResponses200MediaContainer withAllowSharing(Optional allowSharing) {
+ public LibrarySectionsMediaContainer withAllowSharing(Optional allowSharing) {
Utils.checkNotNull(allowSharing, "allowSharing");
this.allowSharing = allowSharing;
return this;
}
- public RequestHandlerSlashGetResponses200MediaContainer withAllowSync(boolean allowSync) {
+ public LibrarySectionsMediaContainer withAllowSync(boolean allowSync) {
Utils.checkNotNull(allowSync, "allowSync");
this.allowSync = Optional.ofNullable(allowSync);
return this;
}
- public RequestHandlerSlashGetResponses200MediaContainer withAllowSync(Optional allowSync) {
+ public LibrarySectionsMediaContainer withAllowSync(Optional allowSync) {
Utils.checkNotNull(allowSync, "allowSync");
this.allowSync = allowSync;
return this;
}
- public RequestHandlerSlashGetResponses200MediaContainer withAllowTuners(boolean allowTuners) {
+ public LibrarySectionsMediaContainer withAllowTuners(boolean allowTuners) {
Utils.checkNotNull(allowTuners, "allowTuners");
this.allowTuners = Optional.ofNullable(allowTuners);
return this;
}
- public RequestHandlerSlashGetResponses200MediaContainer withAllowTuners(Optional allowTuners) {
+ public LibrarySectionsMediaContainer withAllowTuners(Optional allowTuners) {
Utils.checkNotNull(allowTuners, "allowTuners");
this.allowTuners = allowTuners;
return this;
}
- public RequestHandlerSlashGetResponses200MediaContainer withBackgroundProcessing(boolean backgroundProcessing) {
+ public LibrarySectionsMediaContainer withBackgroundProcessing(boolean backgroundProcessing) {
Utils.checkNotNull(backgroundProcessing, "backgroundProcessing");
this.backgroundProcessing = Optional.ofNullable(backgroundProcessing);
return this;
}
- public RequestHandlerSlashGetResponses200MediaContainer withBackgroundProcessing(Optional backgroundProcessing) {
+ public LibrarySectionsMediaContainer withBackgroundProcessing(Optional backgroundProcessing) {
Utils.checkNotNull(backgroundProcessing, "backgroundProcessing");
this.backgroundProcessing = backgroundProcessing;
return this;
}
- public RequestHandlerSlashGetResponses200MediaContainer withCertificate(boolean certificate) {
+ public LibrarySectionsMediaContainer withCertificate(boolean certificate) {
Utils.checkNotNull(certificate, "certificate");
this.certificate = Optional.ofNullable(certificate);
return this;
}
- public RequestHandlerSlashGetResponses200MediaContainer withCertificate(Optional certificate) {
+ public LibrarySectionsMediaContainer withCertificate(Optional certificate) {
Utils.checkNotNull(certificate, "certificate");
this.certificate = certificate;
return this;
}
- public RequestHandlerSlashGetResponses200MediaContainer withCompanionProxy(boolean companionProxy) {
+ public LibrarySectionsMediaContainer withCompanionProxy(boolean companionProxy) {
Utils.checkNotNull(companionProxy, "companionProxy");
this.companionProxy = Optional.ofNullable(companionProxy);
return this;
}
- public RequestHandlerSlashGetResponses200MediaContainer withCompanionProxy(Optional companionProxy) {
+ public LibrarySectionsMediaContainer withCompanionProxy(Optional companionProxy) {
Utils.checkNotNull(companionProxy, "companionProxy");
this.companionProxy = companionProxy;
return this;
}
- public RequestHandlerSlashGetResponses200MediaContainer withCountryCode(String countryCode) {
+ public LibrarySectionsMediaContainer withCountryCode(String countryCode) {
Utils.checkNotNull(countryCode, "countryCode");
this.countryCode = Optional.ofNullable(countryCode);
return this;
}
- public RequestHandlerSlashGetResponses200MediaContainer withCountryCode(Optional countryCode) {
+ public LibrarySectionsMediaContainer withCountryCode(Optional countryCode) {
Utils.checkNotNull(countryCode, "countryCode");
this.countryCode = countryCode;
return this;
}
- public RequestHandlerSlashGetResponses200MediaContainer withDiagnostics(String diagnostics) {
+ public LibrarySectionsMediaContainer withDiagnostics(String diagnostics) {
Utils.checkNotNull(diagnostics, "diagnostics");
this.diagnostics = Optional.ofNullable(diagnostics);
return this;
}
- public RequestHandlerSlashGetResponses200MediaContainer withDiagnostics(Optional diagnostics) {
+ public LibrarySectionsMediaContainer withDiagnostics(Optional diagnostics) {
Utils.checkNotNull(diagnostics, "diagnostics");
this.diagnostics = diagnostics;
return this;
}
- public RequestHandlerSlashGetResponses200MediaContainer withEventStream(boolean eventStream) {
+ public LibrarySectionsMediaContainer withEventStream(boolean eventStream) {
Utils.checkNotNull(eventStream, "eventStream");
this.eventStream = Optional.ofNullable(eventStream);
return this;
}
- public RequestHandlerSlashGetResponses200MediaContainer withEventStream(Optional eventStream) {
+ public LibrarySectionsMediaContainer withEventStream(Optional eventStream) {
Utils.checkNotNull(eventStream, "eventStream");
this.eventStream = eventStream;
return this;
}
- public RequestHandlerSlashGetResponses200MediaContainer withFriendlyName(String friendlyName) {
+ public LibrarySectionsMediaContainer withFriendlyName(String friendlyName) {
Utils.checkNotNull(friendlyName, "friendlyName");
this.friendlyName = Optional.ofNullable(friendlyName);
return this;
}
- public RequestHandlerSlashGetResponses200MediaContainer withFriendlyName(Optional friendlyName) {
+ public LibrarySectionsMediaContainer withFriendlyName(Optional friendlyName) {
Utils.checkNotNull(friendlyName, "friendlyName");
this.friendlyName = friendlyName;
return this;
}
- public RequestHandlerSlashGetResponses200MediaContainer withHubSearch(boolean hubSearch) {
+ public LibrarySectionsMediaContainer withHubSearch(boolean hubSearch) {
Utils.checkNotNull(hubSearch, "hubSearch");
this.hubSearch = Optional.ofNullable(hubSearch);
return this;
}
- public RequestHandlerSlashGetResponses200MediaContainer withHubSearch(Optional hubSearch) {
+ public LibrarySectionsMediaContainer withHubSearch(Optional hubSearch) {
Utils.checkNotNull(hubSearch, "hubSearch");
this.hubSearch = hubSearch;
return this;
}
- public RequestHandlerSlashGetResponses200MediaContainer withItemClusters(boolean itemClusters) {
+ public LibrarySectionsMediaContainer withItemClusters(boolean itemClusters) {
Utils.checkNotNull(itemClusters, "itemClusters");
this.itemClusters = Optional.ofNullable(itemClusters);
return this;
}
- public RequestHandlerSlashGetResponses200MediaContainer withItemClusters(Optional itemClusters) {
+ public LibrarySectionsMediaContainer withItemClusters(Optional itemClusters) {
Utils.checkNotNull(itemClusters, "itemClusters");
this.itemClusters = itemClusters;
return this;
}
- public RequestHandlerSlashGetResponses200MediaContainer withLivetv(long livetv) {
+ public LibrarySectionsMediaContainer withLivetv(long livetv) {
Utils.checkNotNull(livetv, "livetv");
this.livetv = Optional.ofNullable(livetv);
return this;
}
- public RequestHandlerSlashGetResponses200MediaContainer withLivetv(Optional livetv) {
+ public LibrarySectionsMediaContainer withLivetv(Optional livetv) {
Utils.checkNotNull(livetv, "livetv");
this.livetv = livetv;
return this;
}
- public RequestHandlerSlashGetResponses200MediaContainer withMachineIdentifier(Object machineIdentifier) {
+ public LibrarySectionsMediaContainer withMachineIdentifier(Object machineIdentifier) {
Utils.checkNotNull(machineIdentifier, "machineIdentifier");
this.machineIdentifier = Optional.ofNullable(machineIdentifier);
return this;
}
- public RequestHandlerSlashGetResponses200MediaContainer withMachineIdentifier(Optional extends Object> machineIdentifier) {
+ public LibrarySectionsMediaContainer withMachineIdentifier(Optional extends Object> machineIdentifier) {
Utils.checkNotNull(machineIdentifier, "machineIdentifier");
this.machineIdentifier = machineIdentifier;
return this;
}
- public RequestHandlerSlashGetResponses200MediaContainer withMediaProviders(boolean mediaProviders) {
+ public LibrarySectionsMediaContainer withMediaProviders(boolean mediaProviders) {
Utils.checkNotNull(mediaProviders, "mediaProviders");
this.mediaProviders = Optional.ofNullable(mediaProviders);
return this;
}
- public RequestHandlerSlashGetResponses200MediaContainer withMediaProviders(Optional mediaProviders) {
+ public LibrarySectionsMediaContainer withMediaProviders(Optional mediaProviders) {
Utils.checkNotNull(mediaProviders, "mediaProviders");
this.mediaProviders = mediaProviders;
return this;
}
- public RequestHandlerSlashGetResponses200MediaContainer withMultiuser(boolean multiuser) {
+ public LibrarySectionsMediaContainer withMultiuser(boolean multiuser) {
Utils.checkNotNull(multiuser, "multiuser");
this.multiuser = Optional.ofNullable(multiuser);
return this;
}
- public RequestHandlerSlashGetResponses200MediaContainer withMultiuser(Optional multiuser) {
+ public LibrarySectionsMediaContainer withMultiuser(Optional multiuser) {
Utils.checkNotNull(multiuser, "multiuser");
this.multiuser = multiuser;
return this;
}
- public RequestHandlerSlashGetResponses200MediaContainer withMusicAnalysis(long musicAnalysis) {
+ public LibrarySectionsMediaContainer withMusicAnalysis(long musicAnalysis) {
Utils.checkNotNull(musicAnalysis, "musicAnalysis");
this.musicAnalysis = Optional.ofNullable(musicAnalysis);
return this;
}
- public RequestHandlerSlashGetResponses200MediaContainer withMusicAnalysis(Optional musicAnalysis) {
+ public LibrarySectionsMediaContainer withMusicAnalysis(Optional musicAnalysis) {
Utils.checkNotNull(musicAnalysis, "musicAnalysis");
this.musicAnalysis = musicAnalysis;
return this;
}
- public RequestHandlerSlashGetResponses200MediaContainer withMyPlex(boolean myPlex) {
+ public LibrarySectionsMediaContainer withMyPlex(boolean myPlex) {
Utils.checkNotNull(myPlex, "myPlex");
this.myPlex = Optional.ofNullable(myPlex);
return this;
}
- public RequestHandlerSlashGetResponses200MediaContainer withMyPlex(Optional myPlex) {
+ public LibrarySectionsMediaContainer withMyPlex(Optional myPlex) {
Utils.checkNotNull(myPlex, "myPlex");
this.myPlex = myPlex;
return this;
}
- public RequestHandlerSlashGetResponses200MediaContainer withMyPlexMappingState(Object myPlexMappingState) {
+ public LibrarySectionsMediaContainer withMyPlexMappingState(Object myPlexMappingState) {
Utils.checkNotNull(myPlexMappingState, "myPlexMappingState");
this.myPlexMappingState = Optional.ofNullable(myPlexMappingState);
return this;
}
- public RequestHandlerSlashGetResponses200MediaContainer withMyPlexMappingState(Optional extends Object> myPlexMappingState) {
+ public LibrarySectionsMediaContainer withMyPlexMappingState(Optional extends Object> myPlexMappingState) {
Utils.checkNotNull(myPlexMappingState, "myPlexMappingState");
this.myPlexMappingState = myPlexMappingState;
return this;
}
- public RequestHandlerSlashGetResponses200MediaContainer withMyPlexSigninState(Object myPlexSigninState) {
+ public LibrarySectionsMediaContainer withMyPlexSigninState(Object myPlexSigninState) {
Utils.checkNotNull(myPlexSigninState, "myPlexSigninState");
this.myPlexSigninState = Optional.ofNullable(myPlexSigninState);
return this;
}
- public RequestHandlerSlashGetResponses200MediaContainer withMyPlexSigninState(Optional extends Object> myPlexSigninState) {
+ public LibrarySectionsMediaContainer withMyPlexSigninState(Optional extends Object> myPlexSigninState) {
Utils.checkNotNull(myPlexSigninState, "myPlexSigninState");
this.myPlexSigninState = myPlexSigninState;
return this;
}
- public RequestHandlerSlashGetResponses200MediaContainer withMyPlexSubscription(boolean myPlexSubscription) {
+ public LibrarySectionsMediaContainer withMyPlexSubscription(boolean myPlexSubscription) {
Utils.checkNotNull(myPlexSubscription, "myPlexSubscription");
this.myPlexSubscription = Optional.ofNullable(myPlexSubscription);
return this;
}
- public RequestHandlerSlashGetResponses200MediaContainer withMyPlexSubscription(Optional myPlexSubscription) {
+ public LibrarySectionsMediaContainer withMyPlexSubscription(Optional myPlexSubscription) {
Utils.checkNotNull(myPlexSubscription, "myPlexSubscription");
this.myPlexSubscription = myPlexSubscription;
return this;
}
- public RequestHandlerSlashGetResponses200MediaContainer withMyPlexUsername(String myPlexUsername) {
+ public LibrarySectionsMediaContainer withMyPlexUsername(String myPlexUsername) {
Utils.checkNotNull(myPlexUsername, "myPlexUsername");
this.myPlexUsername = Optional.ofNullable(myPlexUsername);
return this;
}
- public RequestHandlerSlashGetResponses200MediaContainer withMyPlexUsername(Optional myPlexUsername) {
+ public LibrarySectionsMediaContainer withMyPlexUsername(Optional myPlexUsername) {
Utils.checkNotNull(myPlexUsername, "myPlexUsername");
this.myPlexUsername = myPlexUsername;
return this;
}
- public RequestHandlerSlashGetResponses200MediaContainer withOfflineTranscode(Object offlineTranscode) {
+ public LibrarySectionsMediaContainer withOfflineTranscode(Object offlineTranscode) {
Utils.checkNotNull(offlineTranscode, "offlineTranscode");
this.offlineTranscode = Optional.ofNullable(offlineTranscode);
return this;
}
- public RequestHandlerSlashGetResponses200MediaContainer withOfflineTranscode(Optional extends Object> offlineTranscode) {
+ public LibrarySectionsMediaContainer withOfflineTranscode(Optional extends Object> offlineTranscode) {
Utils.checkNotNull(offlineTranscode, "offlineTranscode");
this.offlineTranscode = offlineTranscode;
return this;
@@ -1182,7 +1182,7 @@ public class RequestHandlerSlashGetResponses200MediaContainer {
/**
* A comma-separated list of features which are enabled for the server owner
*/
- public RequestHandlerSlashGetResponses200MediaContainer withOwnerFeatures(String ownerFeatures) {
+ public LibrarySectionsMediaContainer withOwnerFeatures(String ownerFeatures) {
Utils.checkNotNull(ownerFeatures, "ownerFeatures");
this.ownerFeatures = Optional.ofNullable(ownerFeatures);
return this;
@@ -1192,189 +1192,189 @@ public class RequestHandlerSlashGetResponses200MediaContainer {
/**
* A comma-separated list of features which are enabled for the server owner
*/
- public RequestHandlerSlashGetResponses200MediaContainer withOwnerFeatures(Optional ownerFeatures) {
+ public LibrarySectionsMediaContainer withOwnerFeatures(Optional ownerFeatures) {
Utils.checkNotNull(ownerFeatures, "ownerFeatures");
this.ownerFeatures = ownerFeatures;
return this;
}
- public RequestHandlerSlashGetResponses200MediaContainer withPlatform(String platform) {
+ public LibrarySectionsMediaContainer withPlatform(String platform) {
Utils.checkNotNull(platform, "platform");
this.platform = Optional.ofNullable(platform);
return this;
}
- public RequestHandlerSlashGetResponses200MediaContainer withPlatform(Optional platform) {
+ public LibrarySectionsMediaContainer withPlatform(Optional platform) {
Utils.checkNotNull(platform, "platform");
this.platform = platform;
return this;
}
- public RequestHandlerSlashGetResponses200MediaContainer withPlatformVersion(String platformVersion) {
+ public LibrarySectionsMediaContainer withPlatformVersion(String platformVersion) {
Utils.checkNotNull(platformVersion, "platformVersion");
this.platformVersion = Optional.ofNullable(platformVersion);
return this;
}
- public RequestHandlerSlashGetResponses200MediaContainer withPlatformVersion(Optional platformVersion) {
+ public LibrarySectionsMediaContainer withPlatformVersion(Optional platformVersion) {
Utils.checkNotNull(platformVersion, "platformVersion");
this.platformVersion = platformVersion;
return this;
}
- public RequestHandlerSlashGetResponses200MediaContainer withPluginHost(boolean pluginHost) {
+ public LibrarySectionsMediaContainer withPluginHost(boolean pluginHost) {
Utils.checkNotNull(pluginHost, "pluginHost");
this.pluginHost = Optional.ofNullable(pluginHost);
return this;
}
- public RequestHandlerSlashGetResponses200MediaContainer withPluginHost(Optional pluginHost) {
+ public LibrarySectionsMediaContainer withPluginHost(Optional pluginHost) {
Utils.checkNotNull(pluginHost, "pluginHost");
this.pluginHost = pluginHost;
return this;
}
- public RequestHandlerSlashGetResponses200MediaContainer withPushNotifications(boolean pushNotifications) {
+ public LibrarySectionsMediaContainer withPushNotifications(boolean pushNotifications) {
Utils.checkNotNull(pushNotifications, "pushNotifications");
this.pushNotifications = Optional.ofNullable(pushNotifications);
return this;
}
- public RequestHandlerSlashGetResponses200MediaContainer withPushNotifications(Optional pushNotifications) {
+ public LibrarySectionsMediaContainer withPushNotifications(Optional pushNotifications) {
Utils.checkNotNull(pushNotifications, "pushNotifications");
this.pushNotifications = pushNotifications;
return this;
}
- public RequestHandlerSlashGetResponses200MediaContainer withReadOnlyLibraries(boolean readOnlyLibraries) {
+ public LibrarySectionsMediaContainer withReadOnlyLibraries(boolean readOnlyLibraries) {
Utils.checkNotNull(readOnlyLibraries, "readOnlyLibraries");
this.readOnlyLibraries = Optional.ofNullable(readOnlyLibraries);
return this;
}
- public RequestHandlerSlashGetResponses200MediaContainer withReadOnlyLibraries(Optional readOnlyLibraries) {
+ public LibrarySectionsMediaContainer withReadOnlyLibraries(Optional readOnlyLibraries) {
Utils.checkNotNull(readOnlyLibraries, "readOnlyLibraries");
this.readOnlyLibraries = readOnlyLibraries;
return this;
}
- public RequestHandlerSlashGetResponses200MediaContainer withStreamingBrainABRVersion(long streamingBrainABRVersion) {
+ public LibrarySectionsMediaContainer withStreamingBrainABRVersion(long streamingBrainABRVersion) {
Utils.checkNotNull(streamingBrainABRVersion, "streamingBrainABRVersion");
this.streamingBrainABRVersion = Optional.ofNullable(streamingBrainABRVersion);
return this;
}
- public RequestHandlerSlashGetResponses200MediaContainer withStreamingBrainABRVersion(Optional streamingBrainABRVersion) {
+ public LibrarySectionsMediaContainer withStreamingBrainABRVersion(Optional streamingBrainABRVersion) {
Utils.checkNotNull(streamingBrainABRVersion, "streamingBrainABRVersion");
this.streamingBrainABRVersion = streamingBrainABRVersion;
return this;
}
- public RequestHandlerSlashGetResponses200MediaContainer withStreamingBrainVersion(long streamingBrainVersion) {
+ public LibrarySectionsMediaContainer withStreamingBrainVersion(long streamingBrainVersion) {
Utils.checkNotNull(streamingBrainVersion, "streamingBrainVersion");
this.streamingBrainVersion = Optional.ofNullable(streamingBrainVersion);
return this;
}
- public RequestHandlerSlashGetResponses200MediaContainer withStreamingBrainVersion(Optional streamingBrainVersion) {
+ public LibrarySectionsMediaContainer withStreamingBrainVersion(Optional streamingBrainVersion) {
Utils.checkNotNull(streamingBrainVersion, "streamingBrainVersion");
this.streamingBrainVersion = streamingBrainVersion;
return this;
}
- public RequestHandlerSlashGetResponses200MediaContainer withSync(boolean sync) {
+ public LibrarySectionsMediaContainer withSync(boolean sync) {
Utils.checkNotNull(sync, "sync");
this.sync = Optional.ofNullable(sync);
return this;
}
- public RequestHandlerSlashGetResponses200MediaContainer withSync(Optional sync) {
+ public LibrarySectionsMediaContainer withSync(Optional sync) {
Utils.checkNotNull(sync, "sync");
this.sync = sync;
return this;
}
- public RequestHandlerSlashGetResponses200MediaContainer withTranscoderActiveVideoSessions(long transcoderActiveVideoSessions) {
+ public LibrarySectionsMediaContainer withTranscoderActiveVideoSessions(long transcoderActiveVideoSessions) {
Utils.checkNotNull(transcoderActiveVideoSessions, "transcoderActiveVideoSessions");
this.transcoderActiveVideoSessions = Optional.ofNullable(transcoderActiveVideoSessions);
return this;
}
- public RequestHandlerSlashGetResponses200MediaContainer withTranscoderActiveVideoSessions(Optional transcoderActiveVideoSessions) {
+ public LibrarySectionsMediaContainer withTranscoderActiveVideoSessions(Optional transcoderActiveVideoSessions) {
Utils.checkNotNull(transcoderActiveVideoSessions, "transcoderActiveVideoSessions");
this.transcoderActiveVideoSessions = transcoderActiveVideoSessions;
return this;
}
- public RequestHandlerSlashGetResponses200MediaContainer withTranscoderAudio(boolean transcoderAudio) {
+ public LibrarySectionsMediaContainer withTranscoderAudio(boolean transcoderAudio) {
Utils.checkNotNull(transcoderAudio, "transcoderAudio");
this.transcoderAudio = Optional.ofNullable(transcoderAudio);
return this;
}
- public RequestHandlerSlashGetResponses200MediaContainer withTranscoderAudio(Optional transcoderAudio) {
+ public LibrarySectionsMediaContainer withTranscoderAudio(Optional transcoderAudio) {
Utils.checkNotNull(transcoderAudio, "transcoderAudio");
this.transcoderAudio = transcoderAudio;
return this;
}
- public RequestHandlerSlashGetResponses200MediaContainer withTranscoderLyrics(boolean transcoderLyrics) {
+ public LibrarySectionsMediaContainer withTranscoderLyrics(boolean transcoderLyrics) {
Utils.checkNotNull(transcoderLyrics, "transcoderLyrics");
this.transcoderLyrics = Optional.ofNullable(transcoderLyrics);
return this;
}
- public RequestHandlerSlashGetResponses200MediaContainer withTranscoderLyrics(Optional transcoderLyrics) {
+ public LibrarySectionsMediaContainer withTranscoderLyrics(Optional transcoderLyrics) {
Utils.checkNotNull(transcoderLyrics, "transcoderLyrics");
this.transcoderLyrics = transcoderLyrics;
return this;
}
- public RequestHandlerSlashGetResponses200MediaContainer withTranscoderPhoto(boolean transcoderPhoto) {
+ public LibrarySectionsMediaContainer withTranscoderPhoto(boolean transcoderPhoto) {
Utils.checkNotNull(transcoderPhoto, "transcoderPhoto");
this.transcoderPhoto = Optional.ofNullable(transcoderPhoto);
return this;
}
- public RequestHandlerSlashGetResponses200MediaContainer withTranscoderPhoto(Optional transcoderPhoto) {
+ public LibrarySectionsMediaContainer withTranscoderPhoto(Optional transcoderPhoto) {
Utils.checkNotNull(transcoderPhoto, "transcoderPhoto");
this.transcoderPhoto = transcoderPhoto;
return this;
}
- public RequestHandlerSlashGetResponses200MediaContainer withTranscoderSubtitles(boolean transcoderSubtitles) {
+ public LibrarySectionsMediaContainer withTranscoderSubtitles(boolean transcoderSubtitles) {
Utils.checkNotNull(transcoderSubtitles, "transcoderSubtitles");
this.transcoderSubtitles = Optional.ofNullable(transcoderSubtitles);
return this;
}
- public RequestHandlerSlashGetResponses200MediaContainer withTranscoderSubtitles(Optional transcoderSubtitles) {
+ public LibrarySectionsMediaContainer withTranscoderSubtitles(Optional transcoderSubtitles) {
Utils.checkNotNull(transcoderSubtitles, "transcoderSubtitles");
this.transcoderSubtitles = transcoderSubtitles;
return this;
}
- public RequestHandlerSlashGetResponses200MediaContainer withTranscoderVideo(boolean transcoderVideo) {
+ public LibrarySectionsMediaContainer withTranscoderVideo(boolean transcoderVideo) {
Utils.checkNotNull(transcoderVideo, "transcoderVideo");
this.transcoderVideo = Optional.ofNullable(transcoderVideo);
return this;
}
- public RequestHandlerSlashGetResponses200MediaContainer withTranscoderVideo(Optional transcoderVideo) {
+ public LibrarySectionsMediaContainer withTranscoderVideo(Optional transcoderVideo) {
Utils.checkNotNull(transcoderVideo, "transcoderVideo");
this.transcoderVideo = transcoderVideo;
return this;
@@ -1383,7 +1383,7 @@ public class RequestHandlerSlashGetResponses200MediaContainer {
/**
* The suggested video quality bitrates to present to the user
*/
- public RequestHandlerSlashGetResponses200MediaContainer withTranscoderVideoBitrates(Object transcoderVideoBitrates) {
+ public LibrarySectionsMediaContainer withTranscoderVideoBitrates(Object transcoderVideoBitrates) {
Utils.checkNotNull(transcoderVideoBitrates, "transcoderVideoBitrates");
this.transcoderVideoBitrates = Optional.ofNullable(transcoderVideoBitrates);
return this;
@@ -1393,20 +1393,20 @@ public class RequestHandlerSlashGetResponses200MediaContainer {
/**
* The suggested video quality bitrates to present to the user
*/
- public RequestHandlerSlashGetResponses200MediaContainer withTranscoderVideoBitrates(Optional extends Object> transcoderVideoBitrates) {
+ public LibrarySectionsMediaContainer withTranscoderVideoBitrates(Optional extends Object> transcoderVideoBitrates) {
Utils.checkNotNull(transcoderVideoBitrates, "transcoderVideoBitrates");
this.transcoderVideoBitrates = transcoderVideoBitrates;
return this;
}
- public RequestHandlerSlashGetResponses200MediaContainer withTranscoderVideoQualities(String transcoderVideoQualities) {
+ public LibrarySectionsMediaContainer withTranscoderVideoQualities(String transcoderVideoQualities) {
Utils.checkNotNull(transcoderVideoQualities, "transcoderVideoQualities");
this.transcoderVideoQualities = Optional.ofNullable(transcoderVideoQualities);
return this;
}
- public RequestHandlerSlashGetResponses200MediaContainer withTranscoderVideoQualities(Optional transcoderVideoQualities) {
+ public LibrarySectionsMediaContainer withTranscoderVideoQualities(Optional transcoderVideoQualities) {
Utils.checkNotNull(transcoderVideoQualities, "transcoderVideoQualities");
this.transcoderVideoQualities = transcoderVideoQualities;
return this;
@@ -1415,7 +1415,7 @@ public class RequestHandlerSlashGetResponses200MediaContainer {
/**
* The suggested video resolutions to the above quality bitrates
*/
- public RequestHandlerSlashGetResponses200MediaContainer withTranscoderVideoResolutions(Object transcoderVideoResolutions) {
+ public LibrarySectionsMediaContainer withTranscoderVideoResolutions(Object transcoderVideoResolutions) {
Utils.checkNotNull(transcoderVideoResolutions, "transcoderVideoResolutions");
this.transcoderVideoResolutions = Optional.ofNullable(transcoderVideoResolutions);
return this;
@@ -1425,72 +1425,72 @@ public class RequestHandlerSlashGetResponses200MediaContainer {
/**
* The suggested video resolutions to the above quality bitrates
*/
- public RequestHandlerSlashGetResponses200MediaContainer withTranscoderVideoResolutions(Optional extends Object> transcoderVideoResolutions) {
+ public LibrarySectionsMediaContainer withTranscoderVideoResolutions(Optional extends Object> transcoderVideoResolutions) {
Utils.checkNotNull(transcoderVideoResolutions, "transcoderVideoResolutions");
this.transcoderVideoResolutions = transcoderVideoResolutions;
return this;
}
- public RequestHandlerSlashGetResponses200MediaContainer withUpdatedAt(long updatedAt) {
+ public LibrarySectionsMediaContainer withUpdatedAt(long updatedAt) {
Utils.checkNotNull(updatedAt, "updatedAt");
this.updatedAt = Optional.ofNullable(updatedAt);
return this;
}
- public RequestHandlerSlashGetResponses200MediaContainer withUpdatedAt(Optional updatedAt) {
+ public LibrarySectionsMediaContainer withUpdatedAt(Optional updatedAt) {
Utils.checkNotNull(updatedAt, "updatedAt");
this.updatedAt = updatedAt;
return this;
}
- public RequestHandlerSlashGetResponses200MediaContainer withUpdater(boolean updater) {
+ public LibrarySectionsMediaContainer withUpdater(boolean updater) {
Utils.checkNotNull(updater, "updater");
this.updater = Optional.ofNullable(updater);
return this;
}
- public RequestHandlerSlashGetResponses200MediaContainer withUpdater(Optional updater) {
+ public LibrarySectionsMediaContainer withUpdater(Optional updater) {
Utils.checkNotNull(updater, "updater");
this.updater = updater;
return this;
}
- public RequestHandlerSlashGetResponses200MediaContainer withVersion(String version) {
+ public LibrarySectionsMediaContainer withVersion(String version) {
Utils.checkNotNull(version, "version");
this.version = Optional.ofNullable(version);
return this;
}
- public RequestHandlerSlashGetResponses200MediaContainer withVersion(Optional version) {
+ public LibrarySectionsMediaContainer withVersion(Optional version) {
Utils.checkNotNull(version, "version");
this.version = version;
return this;
}
- public RequestHandlerSlashGetResponses200MediaContainer withVoiceSearch(boolean voiceSearch) {
+ public LibrarySectionsMediaContainer withVoiceSearch(boolean voiceSearch) {
Utils.checkNotNull(voiceSearch, "voiceSearch");
this.voiceSearch = Optional.ofNullable(voiceSearch);
return this;
}
- public RequestHandlerSlashGetResponses200MediaContainer withVoiceSearch(Optional voiceSearch) {
+ public LibrarySectionsMediaContainer withVoiceSearch(Optional voiceSearch) {
Utils.checkNotNull(voiceSearch, "voiceSearch");
this.voiceSearch = voiceSearch;
return this;
}
- public RequestHandlerSlashGetResponses200MediaContainer withDirectory(List directory) {
+ public LibrarySectionsMediaContainer withDirectory(List directory) {
Utils.checkNotNull(directory, "directory");
this.directory = Optional.ofNullable(directory);
return this;
}
- public RequestHandlerSlashGetResponses200MediaContainer withDirectory(Optional extends List> directory) {
+ public LibrarySectionsMediaContainer withDirectory(Optional extends List> directory) {
Utils.checkNotNull(directory, "directory");
this.directory = directory;
return this;
@@ -1504,7 +1504,7 @@ public class RequestHandlerSlashGetResponses200MediaContainer {
if (o == null || getClass() != o.getClass()) {
return false;
}
- RequestHandlerSlashGetResponses200MediaContainer other = (RequestHandlerSlashGetResponses200MediaContainer) o;
+ LibrarySectionsMediaContainer other = (LibrarySectionsMediaContainer) o;
return
Utils.enhancedDeepEquals(this.identifier, other.identifier) &&
Utils.enhancedDeepEquals(this.offset, other.offset) &&
@@ -1586,7 +1586,7 @@ public class RequestHandlerSlashGetResponses200MediaContainer {
@Override
public String toString() {
- return Utils.toString(RequestHandlerSlashGetResponses200MediaContainer.class,
+ return Utils.toString(LibrarySectionsMediaContainer.class,
"identifier", identifier,
"offset", offset,
"size", size,
@@ -1749,7 +1749,7 @@ public class RequestHandlerSlashGetResponses200MediaContainer {
private Optional voiceSearch = Optional.empty();
- private Optional extends List> directory = Optional.empty();
+ private Optional extends List> directory = Optional.empty();
private Builder() {
// force use of static builder() method
@@ -2462,21 +2462,21 @@ public class RequestHandlerSlashGetResponses200MediaContainer {
}
- public Builder directory(List directory) {
+ public Builder directory(List directory) {
Utils.checkNotNull(directory, "directory");
this.directory = Optional.ofNullable(directory);
return this;
}
- public Builder directory(Optional extends List> directory) {
+ public Builder directory(Optional extends List> directory) {
Utils.checkNotNull(directory, "directory");
this.directory = directory;
return this;
}
- public RequestHandlerSlashGetResponses200MediaContainer build() {
+ public LibrarySectionsMediaContainer build() {
- return new RequestHandlerSlashGetResponses200MediaContainer(
+ return new LibrarySectionsMediaContainer(
identifier, offset, size,
totalSize, allowCameraUpload, allowChannelAccess,
allowMediaDeletion, allowSharing, allowSync,
diff --git a/src/main/java/dev/plexapi/sdk/operations/GetSectionsPrefs.java b/src/main/java/dev/plexapi/sdk/operations/GetSectionsPrefs.java
index cf7f9871..52e57d39 100644
--- a/src/main/java/dev/plexapi/sdk/operations/GetSectionsPrefs.java
+++ b/src/main/java/dev/plexapi/sdk/operations/GetSectionsPrefs.java
@@ -12,7 +12,7 @@ import dev.plexapi.sdk.SecuritySource;
import dev.plexapi.sdk.models.errors.SDKError;
import dev.plexapi.sdk.models.operations.GetSectionsPrefsRequest;
import dev.plexapi.sdk.models.operations.GetSectionsPrefsResponse;
-import dev.plexapi.sdk.models.shared.RequestHandlerSlashGetResponses200;
+import dev.plexapi.sdk.models.shared.LibrarySections;
import dev.plexapi.sdk.utils.Blob;
import dev.plexapi.sdk.utils.Exceptions;
import dev.plexapi.sdk.utils.HTTPClient;
@@ -156,11 +156,11 @@ public class GetSectionsPrefs {
if (Utils.statusCodeMatches(response.statusCode(), "200")) {
if (Utils.contentTypeMatches(contentType, "application/json")) {
- RequestHandlerSlashGetResponses200 out = Utils.mapper().readValue(
+ LibrarySections out = Utils.mapper().readValue(
response.body(),
new TypeReference<>() {
});
- res.withRequestHandlerSlashGetResponses200(out);
+ res.withLibrarySections(out);
return res;
} else {
throw new SDKError(
@@ -252,11 +252,11 @@ public class GetSectionsPrefs {
if (Utils.contentTypeMatches(contentType, "application/json")) {
return response.body().toByteArray().thenApply(bodyBytes -> {
try {
- RequestHandlerSlashGetResponses200 out = Utils.mapper().readValue(
+ LibrarySections out = Utils.mapper().readValue(
bodyBytes,
new TypeReference<>() {
});
- res.withRequestHandlerSlashGetResponses200(out);
+ res.withLibrarySections(out);
return res;
} catch (Exception e) {
throw new RuntimeException(e);
diff --git a/src/main/java/dev/plexapi/sdk/operations/StopAllRefreshes.java b/src/main/java/dev/plexapi/sdk/operations/StopAllRefreshes.java
index e43ce543..68f6fbe3 100644
--- a/src/main/java/dev/plexapi/sdk/operations/StopAllRefreshes.java
+++ b/src/main/java/dev/plexapi/sdk/operations/StopAllRefreshes.java
@@ -11,7 +11,7 @@ import dev.plexapi.sdk.SDKConfiguration;
import dev.plexapi.sdk.SecuritySource;
import dev.plexapi.sdk.models.errors.SDKError;
import dev.plexapi.sdk.models.operations.StopAllRefreshesResponse;
-import dev.plexapi.sdk.models.shared.RequestHandlerSlashGetResponses200;
+import dev.plexapi.sdk.models.shared.LibrarySections;
import dev.plexapi.sdk.utils.Blob;
import dev.plexapi.sdk.utils.Exceptions;
import dev.plexapi.sdk.utils.HTTPClient;
@@ -149,11 +149,11 @@ public class StopAllRefreshes {
if (Utils.statusCodeMatches(response.statusCode(), "200")) {
if (Utils.contentTypeMatches(contentType, "application/json")) {
- RequestHandlerSlashGetResponses200 out = Utils.mapper().readValue(
+ LibrarySections out = Utils.mapper().readValue(
response.body(),
new TypeReference<>() {
});
- res.withRequestHandlerSlashGetResponses200(out);
+ res.withLibrarySections(out);
return res;
} else {
throw new SDKError(
@@ -245,11 +245,11 @@ public class StopAllRefreshes {
if (Utils.contentTypeMatches(contentType, "application/json")) {
return response.body().toByteArray().thenApply(bodyBytes -> {
try {
- RequestHandlerSlashGetResponses200 out = Utils.mapper().readValue(
+ LibrarySections out = Utils.mapper().readValue(
bodyBytes,
new TypeReference<>() {
});
- res.withRequestHandlerSlashGetResponses200(out);
+ res.withLibrarySections(out);
return res;
} catch (Exception e) {
throw new RuntimeException(e);