mirror of
https://github.com/LukeHagar/plexjava.git
synced 2025-12-08 12:37:46 +00:00
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.396.6
This commit is contained in:
@@ -29,12 +29,6 @@ public class GetServerResourcesRequest {
|
||||
@SpeakeasyMetadata("queryParam:style=form,explode=true,name=X-Plex-Client-Identifier")
|
||||
private Optional<String> xPlexClientIdentifier;
|
||||
|
||||
/**
|
||||
* Plex Authentication Token
|
||||
*/
|
||||
@SpeakeasyMetadata("queryParam:style=form,explode=true,name=X-Plex-Token")
|
||||
private String xPlexToken;
|
||||
|
||||
/**
|
||||
* Include Https entries in the results
|
||||
*/
|
||||
@@ -58,25 +52,21 @@ public class GetServerResourcesRequest {
|
||||
@JsonCreator
|
||||
public GetServerResourcesRequest(
|
||||
Optional<String> xPlexClientIdentifier,
|
||||
String xPlexToken,
|
||||
Optional<? extends IncludeHttps> includeHttps,
|
||||
Optional<? extends IncludeRelay> includeRelay,
|
||||
Optional<? extends IncludeIPv6> includeIPv6) {
|
||||
Utils.checkNotNull(xPlexClientIdentifier, "xPlexClientIdentifier");
|
||||
Utils.checkNotNull(xPlexToken, "xPlexToken");
|
||||
Utils.checkNotNull(includeHttps, "includeHttps");
|
||||
Utils.checkNotNull(includeRelay, "includeRelay");
|
||||
Utils.checkNotNull(includeIPv6, "includeIPv6");
|
||||
this.xPlexClientIdentifier = xPlexClientIdentifier;
|
||||
this.xPlexToken = xPlexToken;
|
||||
this.includeHttps = includeHttps;
|
||||
this.includeRelay = includeRelay;
|
||||
this.includeIPv6 = includeIPv6;
|
||||
}
|
||||
|
||||
public GetServerResourcesRequest(
|
||||
String xPlexToken) {
|
||||
this(Optional.empty(), xPlexToken, Optional.empty(), Optional.empty(), Optional.empty());
|
||||
public GetServerResourcesRequest() {
|
||||
this(Optional.empty(), Optional.empty(), Optional.empty(), Optional.empty());
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -90,14 +80,6 @@ public class GetServerResourcesRequest {
|
||||
return xPlexClientIdentifier;
|
||||
}
|
||||
|
||||
/**
|
||||
* Plex Authentication Token
|
||||
*/
|
||||
@JsonIgnore
|
||||
public String xPlexToken() {
|
||||
return xPlexToken;
|
||||
}
|
||||
|
||||
/**
|
||||
* Include Https entries in the results
|
||||
*/
|
||||
@@ -155,15 +137,6 @@ public class GetServerResourcesRequest {
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Plex Authentication Token
|
||||
*/
|
||||
public GetServerResourcesRequest withXPlexToken(String xPlexToken) {
|
||||
Utils.checkNotNull(xPlexToken, "xPlexToken");
|
||||
this.xPlexToken = xPlexToken;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Include Https entries in the results
|
||||
*/
|
||||
@@ -233,7 +206,6 @@ public class GetServerResourcesRequest {
|
||||
GetServerResourcesRequest other = (GetServerResourcesRequest) o;
|
||||
return
|
||||
Objects.deepEquals(this.xPlexClientIdentifier, other.xPlexClientIdentifier) &&
|
||||
Objects.deepEquals(this.xPlexToken, other.xPlexToken) &&
|
||||
Objects.deepEquals(this.includeHttps, other.includeHttps) &&
|
||||
Objects.deepEquals(this.includeRelay, other.includeRelay) &&
|
||||
Objects.deepEquals(this.includeIPv6, other.includeIPv6);
|
||||
@@ -243,7 +215,6 @@ public class GetServerResourcesRequest {
|
||||
public int hashCode() {
|
||||
return Objects.hash(
|
||||
xPlexClientIdentifier,
|
||||
xPlexToken,
|
||||
includeHttps,
|
||||
includeRelay,
|
||||
includeIPv6);
|
||||
@@ -253,7 +224,6 @@ public class GetServerResourcesRequest {
|
||||
public String toString() {
|
||||
return Utils.toString(GetServerResourcesRequest.class,
|
||||
"xPlexClientIdentifier", xPlexClientIdentifier,
|
||||
"xPlexToken", xPlexToken,
|
||||
"includeHttps", includeHttps,
|
||||
"includeRelay", includeRelay,
|
||||
"includeIPv6", includeIPv6);
|
||||
@@ -263,8 +233,6 @@ public class GetServerResourcesRequest {
|
||||
|
||||
private Optional<String> xPlexClientIdentifier = Optional.empty();
|
||||
|
||||
private String xPlexToken;
|
||||
|
||||
private Optional<? extends IncludeHttps> includeHttps;
|
||||
|
||||
private Optional<? extends IncludeRelay> includeRelay;
|
||||
@@ -299,15 +267,6 @@ public class GetServerResourcesRequest {
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Plex Authentication Token
|
||||
*/
|
||||
public Builder xPlexToken(String xPlexToken) {
|
||||
Utils.checkNotNull(xPlexToken, "xPlexToken");
|
||||
this.xPlexToken = xPlexToken;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Include Https entries in the results
|
||||
*/
|
||||
@@ -377,7 +336,6 @@ public class GetServerResourcesRequest {
|
||||
includeIPv6 = _SINGLETON_VALUE_IncludeIPv6.value();
|
||||
} return new GetServerResourcesRequest(
|
||||
xPlexClientIdentifier,
|
||||
xPlexToken,
|
||||
includeHttps,
|
||||
includeRelay,
|
||||
includeIPv6);
|
||||
|
||||
Reference in New Issue
Block a user