mirror of
https://github.com/LukeHagar/plexjava.git
synced 2025-12-07 12:37:45 +00:00
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.401.2
This commit is contained in:
@@ -20,15 +20,6 @@ import java.util.Optional;
|
||||
|
||||
public class GetServerResourcesRequest {
|
||||
|
||||
/**
|
||||
* The unique identifier for the client application
|
||||
* This is used to track the client application and its usage
|
||||
* (UUID, serial number, or other number unique per device)
|
||||
*
|
||||
*/
|
||||
@SpeakeasyMetadata("queryParam:style=form,explode=true,name=X-Plex-Client-Identifier")
|
||||
private Optional<String> clientID;
|
||||
|
||||
/**
|
||||
* Include Https entries in the results
|
||||
*/
|
||||
@@ -51,33 +42,19 @@ public class GetServerResourcesRequest {
|
||||
|
||||
@JsonCreator
|
||||
public GetServerResourcesRequest(
|
||||
Optional<String> clientID,
|
||||
Optional<? extends IncludeHttps> includeHttps,
|
||||
Optional<? extends IncludeRelay> includeRelay,
|
||||
Optional<? extends IncludeIPv6> includeIPv6) {
|
||||
Utils.checkNotNull(clientID, "clientID");
|
||||
Utils.checkNotNull(includeHttps, "includeHttps");
|
||||
Utils.checkNotNull(includeRelay, "includeRelay");
|
||||
Utils.checkNotNull(includeIPv6, "includeIPv6");
|
||||
this.clientID = clientID;
|
||||
this.includeHttps = includeHttps;
|
||||
this.includeRelay = includeRelay;
|
||||
this.includeIPv6 = includeIPv6;
|
||||
}
|
||||
|
||||
public GetServerResourcesRequest() {
|
||||
this(Optional.empty(), Optional.empty(), Optional.empty(), Optional.empty());
|
||||
}
|
||||
|
||||
/**
|
||||
* The unique identifier for the client application
|
||||
* This is used to track the client application and its usage
|
||||
* (UUID, serial number, or other number unique per device)
|
||||
*
|
||||
*/
|
||||
@JsonIgnore
|
||||
public Optional<String> clientID() {
|
||||
return clientID;
|
||||
this(Optional.empty(), Optional.empty(), Optional.empty());
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -113,30 +90,6 @@ public class GetServerResourcesRequest {
|
||||
return new Builder();
|
||||
}
|
||||
|
||||
/**
|
||||
* The unique identifier for the client application
|
||||
* This is used to track the client application and its usage
|
||||
* (UUID, serial number, or other number unique per device)
|
||||
*
|
||||
*/
|
||||
public GetServerResourcesRequest withClientID(String clientID) {
|
||||
Utils.checkNotNull(clientID, "clientID");
|
||||
this.clientID = Optional.ofNullable(clientID);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* The unique identifier for the client application
|
||||
* This is used to track the client application and its usage
|
||||
* (UUID, serial number, or other number unique per device)
|
||||
*
|
||||
*/
|
||||
public GetServerResourcesRequest withClientID(Optional<String> clientID) {
|
||||
Utils.checkNotNull(clientID, "clientID");
|
||||
this.clientID = clientID;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Include Https entries in the results
|
||||
*/
|
||||
@@ -205,7 +158,6 @@ public class GetServerResourcesRequest {
|
||||
}
|
||||
GetServerResourcesRequest other = (GetServerResourcesRequest) o;
|
||||
return
|
||||
Objects.deepEquals(this.clientID, other.clientID) &&
|
||||
Objects.deepEquals(this.includeHttps, other.includeHttps) &&
|
||||
Objects.deepEquals(this.includeRelay, other.includeRelay) &&
|
||||
Objects.deepEquals(this.includeIPv6, other.includeIPv6);
|
||||
@@ -214,7 +166,6 @@ public class GetServerResourcesRequest {
|
||||
@Override
|
||||
public int hashCode() {
|
||||
return Objects.hash(
|
||||
clientID,
|
||||
includeHttps,
|
||||
includeRelay,
|
||||
includeIPv6);
|
||||
@@ -223,7 +174,6 @@ public class GetServerResourcesRequest {
|
||||
@Override
|
||||
public String toString() {
|
||||
return Utils.toString(GetServerResourcesRequest.class,
|
||||
"clientID", clientID,
|
||||
"includeHttps", includeHttps,
|
||||
"includeRelay", includeRelay,
|
||||
"includeIPv6", includeIPv6);
|
||||
@@ -231,8 +181,6 @@ public class GetServerResourcesRequest {
|
||||
|
||||
public final static class Builder {
|
||||
|
||||
private Optional<String> clientID = Optional.empty();
|
||||
|
||||
private Optional<? extends IncludeHttps> includeHttps;
|
||||
|
||||
private Optional<? extends IncludeRelay> includeRelay;
|
||||
@@ -243,30 +191,6 @@ public class GetServerResourcesRequest {
|
||||
// force use of static builder() method
|
||||
}
|
||||
|
||||
/**
|
||||
* The unique identifier for the client application
|
||||
* This is used to track the client application and its usage
|
||||
* (UUID, serial number, or other number unique per device)
|
||||
*
|
||||
*/
|
||||
public Builder clientID(String clientID) {
|
||||
Utils.checkNotNull(clientID, "clientID");
|
||||
this.clientID = Optional.ofNullable(clientID);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* The unique identifier for the client application
|
||||
* This is used to track the client application and its usage
|
||||
* (UUID, serial number, or other number unique per device)
|
||||
*
|
||||
*/
|
||||
public Builder clientID(Optional<String> clientID) {
|
||||
Utils.checkNotNull(clientID, "clientID");
|
||||
this.clientID = clientID;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Include Https entries in the results
|
||||
*/
|
||||
@@ -335,7 +259,6 @@ public class GetServerResourcesRequest {
|
||||
if (includeIPv6 == null) {
|
||||
includeIPv6 = _SINGLETON_VALUE_IncludeIPv6.value();
|
||||
} return new GetServerResourcesRequest(
|
||||
clientID,
|
||||
includeHttps,
|
||||
includeRelay,
|
||||
includeIPv6);
|
||||
|
||||
Reference in New Issue
Block a user