mirror of
https://github.com/LukeHagar/plexjava.git
synced 2025-12-06 12:37:47 +00:00
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.404.5
This commit is contained in:
@@ -62,14 +62,14 @@ public class Authentication implements
|
||||
* GET_TOKEN_DETAILS_SERVERS contains the list of server urls available to the SDK.
|
||||
*/
|
||||
public static final String[] GET_TOKEN_DETAILS_SERVERS = {
|
||||
"https://plex.tv/api/v2/",
|
||||
"https://plex.tv/api/v2",
|
||||
};
|
||||
|
||||
/**
|
||||
* POST_USERS_SIGN_IN_DATA_SERVERS contains the list of server urls available to the SDK.
|
||||
*/
|
||||
public static final String[] POST_USERS_SIGN_IN_DATA_SERVERS = {
|
||||
"https://plex.tv/api/v2/",
|
||||
"https://plex.tv/api/v2",
|
||||
};
|
||||
|
||||
private final SDKConfiguration sdkConfiguration;
|
||||
|
||||
@@ -79,42 +79,42 @@ public class Plex implements
|
||||
* GET_COMPANIONS_DATA_SERVERS contains the list of server urls available to the SDK.
|
||||
*/
|
||||
public static final String[] GET_COMPANIONS_DATA_SERVERS = {
|
||||
"https://plex.tv/api/v2/",
|
||||
"https://plex.tv/api/v2",
|
||||
};
|
||||
|
||||
/**
|
||||
* GET_USER_FRIENDS_SERVERS contains the list of server urls available to the SDK.
|
||||
*/
|
||||
public static final String[] GET_USER_FRIENDS_SERVERS = {
|
||||
"https://plex.tv/api/v2/",
|
||||
"https://plex.tv/api/v2",
|
||||
};
|
||||
|
||||
/**
|
||||
* GET_GEO_DATA_SERVERS contains the list of server urls available to the SDK.
|
||||
*/
|
||||
public static final String[] GET_GEO_DATA_SERVERS = {
|
||||
"https://plex.tv/api/v2/",
|
||||
"https://plex.tv/api/v2",
|
||||
};
|
||||
|
||||
/**
|
||||
* GET_SERVER_RESOURCES_SERVERS contains the list of server urls available to the SDK.
|
||||
*/
|
||||
public static final String[] GET_SERVER_RESOURCES_SERVERS = {
|
||||
"https://plex.tv/api/v2/",
|
||||
"https://plex.tv/api/v2",
|
||||
};
|
||||
|
||||
/**
|
||||
* GET_PIN_SERVERS contains the list of server urls available to the SDK.
|
||||
*/
|
||||
public static final String[] GET_PIN_SERVERS = {
|
||||
"https://plex.tv/api/v2/",
|
||||
"https://plex.tv/api/v2",
|
||||
};
|
||||
|
||||
/**
|
||||
* GET_TOKEN_BY_PIN_ID_SERVERS contains the list of server urls available to the SDK.
|
||||
*/
|
||||
public static final String[] GET_TOKEN_BY_PIN_ID_SERVERS = {
|
||||
"https://plex.tv/api/v2/",
|
||||
"https://plex.tv/api/v2",
|
||||
};
|
||||
|
||||
private final SDKConfiguration sdkConfiguration;
|
||||
@@ -1096,32 +1096,26 @@ public class Plex implements
|
||||
/**
|
||||
* Get Access Token by PinId
|
||||
* Retrieve an Access Token from Plex.tv after the Pin has been authenticated
|
||||
* @param pinID The PinID to retrieve an access token for
|
||||
* @param request The request object containing all of the parameters for the API call.
|
||||
* @return The response from the API call
|
||||
* @throws Exception if the API call fails
|
||||
*/
|
||||
public GetTokenByPinIdResponse getTokenByPinId(
|
||||
long pinID) throws Exception {
|
||||
return getTokenByPinId(pinID, Optional.empty());
|
||||
GetTokenByPinIdRequest request) throws Exception {
|
||||
return getTokenByPinId(request, Optional.empty());
|
||||
}
|
||||
|
||||
/**
|
||||
* Get Access Token by PinId
|
||||
* Retrieve an Access Token from Plex.tv after the Pin has been authenticated
|
||||
* @param pinID The PinID to retrieve an access token for
|
||||
* @param request The request object containing all of the parameters for the API call.
|
||||
* @param serverURL Overrides the server URL.
|
||||
* @return The response from the API call
|
||||
* @throws Exception if the API call fails
|
||||
*/
|
||||
public GetTokenByPinIdResponse getTokenByPinId(
|
||||
long pinID,
|
||||
GetTokenByPinIdRequest request,
|
||||
Optional<String> serverURL) throws Exception {
|
||||
GetTokenByPinIdRequest request =
|
||||
GetTokenByPinIdRequest
|
||||
.builder()
|
||||
.pinID(pinID)
|
||||
.build();
|
||||
|
||||
String _baseUrl = Utils.templateUrl(GET_TOKEN_BY_PIN_ID_SERVERS[0], new HashMap<String, String>());
|
||||
if (serverURL.isPresent() && !serverURL.get().isBlank()) {
|
||||
_baseUrl = serverURL.get();
|
||||
@@ -1137,6 +1131,11 @@ public class Plex implements
|
||||
.addHeader("user-agent",
|
||||
SDKConfiguration.USER_AGENT);
|
||||
|
||||
_req.addQueryParams(Utils.getQueryParams(
|
||||
GetTokenByPinIdRequest.class,
|
||||
request,
|
||||
this.sdkConfiguration.globals));
|
||||
|
||||
HTTPClient _client = this.sdkConfiguration.defaultClient;
|
||||
HttpRequest _r =
|
||||
sdkConfiguration.hooks()
|
||||
|
||||
@@ -16,6 +16,31 @@ import java.util.Optional;
|
||||
|
||||
/**
|
||||
* Plex-API: An Open API Spec for interacting with Plex.tv and Plex Media Server
|
||||
* # Plex Media Server OpenAPI Specification
|
||||
*
|
||||
* An Open Source OpenAPI Specification for Plex Media Server
|
||||
*
|
||||
* Automation and SDKs provided by [Speakeasy](https://speakeasyapi.dev/)
|
||||
*
|
||||
* ## Documentation
|
||||
*
|
||||
* [API Documentation](https://plexapi.dev)
|
||||
*
|
||||
* ## SDKs
|
||||
*
|
||||
* The following SDKs are generated from the OpenAPI Specification. They are automatically generated and may not be fully tested. If you find any issues, please open an issue on the respective repository.
|
||||
*
|
||||
* | Language | Repository | Releases | Other |
|
||||
* | --------------------- | ------------------------------------------------- | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------- |
|
||||
* | Python | [GitHub](https://github.com/LukeHagar/plexpy) | [PyPI](https://pypi.org/project/plex-api-client/) | - |
|
||||
* | JavaScript/TypeScript | [GitHub](https://github.com/LukeHagar/plexjs) | [NPM](https://www.npmjs.com/package/@lukehagar/plexjs) \ [JSR](https://jsr.io/@lukehagar/plexjs) | - |
|
||||
* | Go | [GitHub](https://github.com/LukeHagar/plexgo) | [Releases](https://github.com/LukeHagar/plexgo/releases) | [GoDoc](https://pkg.go.dev/github.com/LukeHagar/plexgo) |
|
||||
* | Ruby | [GitHub](https://github.com/LukeHagar/plexruby) | [Releases](https://github.com/LukeHagar/plexruby/releases) | - |
|
||||
* | Swift | [GitHub](https://github.com/LukeHagar/plexswift) | [Releases](https://github.com/LukeHagar/plexswift/releases) | - |
|
||||
* | PHP | [GitHub](https://github.com/LukeHagar/plexphp) | [Releases](https://github.com/LukeHagar/plexphp/releases) | - |
|
||||
* | Java | [GitHub](https://github.com/LukeHagar/plexjava) | [Releases](https://github.com/LukeHagar/plexjava/releases) | - |
|
||||
* | C# | [GitHub](https://github.com/LukeHagar/plexcsharp) | [Releases](https://github.com/LukeHagar/plexcsharp/releases) | -
|
||||
*
|
||||
*/
|
||||
public class PlexAPI {
|
||||
|
||||
|
||||
@@ -36,8 +36,8 @@ class SDKConfiguration {
|
||||
} };
|
||||
private static final String LANGUAGE = "java";
|
||||
public static final String OPENAPI_DOC_VERSION = "0.0.3";
|
||||
public static final String SDK_VERSION = "0.5.0";
|
||||
public static final String GEN_VERSION = "2.422.22";
|
||||
public static final String SDK_VERSION = "0.6.0";
|
||||
public static final String GEN_VERSION = "2.426.2";
|
||||
private static final String BASE_PACKAGE = "dev.plexapi.sdk";
|
||||
public static final String USER_AGENT =
|
||||
String.format("speakeasy-sdk/%s %s %s %s %s",
|
||||
|
||||
@@ -13,6 +13,7 @@ import java.lang.Long;
|
||||
import java.lang.Override;
|
||||
import java.lang.String;
|
||||
import java.util.Objects;
|
||||
import java.util.Optional;
|
||||
|
||||
|
||||
public class GetTokenByPinIdRequest {
|
||||
@@ -23,11 +24,52 @@ public class GetTokenByPinIdRequest {
|
||||
@SpeakeasyMetadata("pathParam:style=simple,explode=false,name=pinID")
|
||||
private long pinID;
|
||||
|
||||
/**
|
||||
* 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;
|
||||
|
||||
@SpeakeasyMetadata("queryParam:style=form,explode=true,name=X-Plex-Product")
|
||||
private Optional<String> clientName;
|
||||
|
||||
@SpeakeasyMetadata("queryParam:style=form,explode=true,name=X-Plex-Device")
|
||||
private Optional<String> deviceName;
|
||||
|
||||
@SpeakeasyMetadata("queryParam:style=form,explode=true,name=X-Plex-Version")
|
||||
private Optional<String> clientVersion;
|
||||
|
||||
@SpeakeasyMetadata("queryParam:style=form,explode=true,name=X-Plex-Platform")
|
||||
private Optional<String> clientPlatform;
|
||||
|
||||
@JsonCreator
|
||||
public GetTokenByPinIdRequest(
|
||||
long pinID) {
|
||||
long pinID,
|
||||
Optional<String> clientID,
|
||||
Optional<String> clientName,
|
||||
Optional<String> deviceName,
|
||||
Optional<String> clientVersion,
|
||||
Optional<String> clientPlatform) {
|
||||
Utils.checkNotNull(pinID, "pinID");
|
||||
Utils.checkNotNull(clientID, "clientID");
|
||||
Utils.checkNotNull(clientName, "clientName");
|
||||
Utils.checkNotNull(deviceName, "deviceName");
|
||||
Utils.checkNotNull(clientVersion, "clientVersion");
|
||||
Utils.checkNotNull(clientPlatform, "clientPlatform");
|
||||
this.pinID = pinID;
|
||||
this.clientID = clientID;
|
||||
this.clientName = clientName;
|
||||
this.deviceName = deviceName;
|
||||
this.clientVersion = clientVersion;
|
||||
this.clientPlatform = clientPlatform;
|
||||
}
|
||||
|
||||
public GetTokenByPinIdRequest(
|
||||
long pinID) {
|
||||
this(pinID, Optional.empty(), Optional.empty(), Optional.empty(), Optional.empty(), Optional.empty());
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -38,6 +80,37 @@ public class GetTokenByPinIdRequest {
|
||||
return pinID;
|
||||
}
|
||||
|
||||
/**
|
||||
* 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;
|
||||
}
|
||||
|
||||
@JsonIgnore
|
||||
public Optional<String> clientName() {
|
||||
return clientName;
|
||||
}
|
||||
|
||||
@JsonIgnore
|
||||
public Optional<String> deviceName() {
|
||||
return deviceName;
|
||||
}
|
||||
|
||||
@JsonIgnore
|
||||
public Optional<String> clientVersion() {
|
||||
return clientVersion;
|
||||
}
|
||||
|
||||
@JsonIgnore
|
||||
public Optional<String> clientPlatform() {
|
||||
return clientPlatform;
|
||||
}
|
||||
|
||||
public final static Builder builder() {
|
||||
return new Builder();
|
||||
}
|
||||
@@ -50,6 +123,78 @@ public class GetTokenByPinIdRequest {
|
||||
this.pinID = pinID;
|
||||
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 GetTokenByPinIdRequest 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 GetTokenByPinIdRequest withClientID(Optional<String> clientID) {
|
||||
Utils.checkNotNull(clientID, "clientID");
|
||||
this.clientID = clientID;
|
||||
return this;
|
||||
}
|
||||
|
||||
public GetTokenByPinIdRequest withClientName(String clientName) {
|
||||
Utils.checkNotNull(clientName, "clientName");
|
||||
this.clientName = Optional.ofNullable(clientName);
|
||||
return this;
|
||||
}
|
||||
|
||||
public GetTokenByPinIdRequest withClientName(Optional<String> clientName) {
|
||||
Utils.checkNotNull(clientName, "clientName");
|
||||
this.clientName = clientName;
|
||||
return this;
|
||||
}
|
||||
|
||||
public GetTokenByPinIdRequest withDeviceName(String deviceName) {
|
||||
Utils.checkNotNull(deviceName, "deviceName");
|
||||
this.deviceName = Optional.ofNullable(deviceName);
|
||||
return this;
|
||||
}
|
||||
|
||||
public GetTokenByPinIdRequest withDeviceName(Optional<String> deviceName) {
|
||||
Utils.checkNotNull(deviceName, "deviceName");
|
||||
this.deviceName = deviceName;
|
||||
return this;
|
||||
}
|
||||
|
||||
public GetTokenByPinIdRequest withClientVersion(String clientVersion) {
|
||||
Utils.checkNotNull(clientVersion, "clientVersion");
|
||||
this.clientVersion = Optional.ofNullable(clientVersion);
|
||||
return this;
|
||||
}
|
||||
|
||||
public GetTokenByPinIdRequest withClientVersion(Optional<String> clientVersion) {
|
||||
Utils.checkNotNull(clientVersion, "clientVersion");
|
||||
this.clientVersion = clientVersion;
|
||||
return this;
|
||||
}
|
||||
|
||||
public GetTokenByPinIdRequest withClientPlatform(String clientPlatform) {
|
||||
Utils.checkNotNull(clientPlatform, "clientPlatform");
|
||||
this.clientPlatform = Optional.ofNullable(clientPlatform);
|
||||
return this;
|
||||
}
|
||||
|
||||
public GetTokenByPinIdRequest withClientPlatform(Optional<String> clientPlatform) {
|
||||
Utils.checkNotNull(clientPlatform, "clientPlatform");
|
||||
this.clientPlatform = clientPlatform;
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean equals(java.lang.Object o) {
|
||||
@@ -61,24 +206,49 @@ public class GetTokenByPinIdRequest {
|
||||
}
|
||||
GetTokenByPinIdRequest other = (GetTokenByPinIdRequest) o;
|
||||
return
|
||||
Objects.deepEquals(this.pinID, other.pinID);
|
||||
Objects.deepEquals(this.pinID, other.pinID) &&
|
||||
Objects.deepEquals(this.clientID, other.clientID) &&
|
||||
Objects.deepEquals(this.clientName, other.clientName) &&
|
||||
Objects.deepEquals(this.deviceName, other.deviceName) &&
|
||||
Objects.deepEquals(this.clientVersion, other.clientVersion) &&
|
||||
Objects.deepEquals(this.clientPlatform, other.clientPlatform);
|
||||
}
|
||||
|
||||
@Override
|
||||
public int hashCode() {
|
||||
return Objects.hash(
|
||||
pinID);
|
||||
pinID,
|
||||
clientID,
|
||||
clientName,
|
||||
deviceName,
|
||||
clientVersion,
|
||||
clientPlatform);
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return Utils.toString(GetTokenByPinIdRequest.class,
|
||||
"pinID", pinID);
|
||||
"pinID", pinID,
|
||||
"clientID", clientID,
|
||||
"clientName", clientName,
|
||||
"deviceName", deviceName,
|
||||
"clientVersion", clientVersion,
|
||||
"clientPlatform", clientPlatform);
|
||||
}
|
||||
|
||||
public final static class Builder {
|
||||
|
||||
private Long pinID;
|
||||
private Long pinID;
|
||||
|
||||
private Optional<String> clientID = Optional.empty();
|
||||
|
||||
private Optional<String> clientName = Optional.empty();
|
||||
|
||||
private Optional<String> deviceName = Optional.empty();
|
||||
|
||||
private Optional<String> clientVersion = Optional.empty();
|
||||
|
||||
private Optional<String> clientPlatform = Optional.empty();
|
||||
|
||||
private Builder() {
|
||||
// force use of static builder() method
|
||||
@@ -92,10 +262,87 @@ public class GetTokenByPinIdRequest {
|
||||
this.pinID = pinID;
|
||||
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(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;
|
||||
}
|
||||
|
||||
public Builder clientName(String clientName) {
|
||||
Utils.checkNotNull(clientName, "clientName");
|
||||
this.clientName = Optional.ofNullable(clientName);
|
||||
return this;
|
||||
}
|
||||
|
||||
public Builder clientName(Optional<String> clientName) {
|
||||
Utils.checkNotNull(clientName, "clientName");
|
||||
this.clientName = clientName;
|
||||
return this;
|
||||
}
|
||||
|
||||
public Builder deviceName(String deviceName) {
|
||||
Utils.checkNotNull(deviceName, "deviceName");
|
||||
this.deviceName = Optional.ofNullable(deviceName);
|
||||
return this;
|
||||
}
|
||||
|
||||
public Builder deviceName(Optional<String> deviceName) {
|
||||
Utils.checkNotNull(deviceName, "deviceName");
|
||||
this.deviceName = deviceName;
|
||||
return this;
|
||||
}
|
||||
|
||||
public Builder clientVersion(String clientVersion) {
|
||||
Utils.checkNotNull(clientVersion, "clientVersion");
|
||||
this.clientVersion = Optional.ofNullable(clientVersion);
|
||||
return this;
|
||||
}
|
||||
|
||||
public Builder clientVersion(Optional<String> clientVersion) {
|
||||
Utils.checkNotNull(clientVersion, "clientVersion");
|
||||
this.clientVersion = clientVersion;
|
||||
return this;
|
||||
}
|
||||
|
||||
public Builder clientPlatform(String clientPlatform) {
|
||||
Utils.checkNotNull(clientPlatform, "clientPlatform");
|
||||
this.clientPlatform = Optional.ofNullable(clientPlatform);
|
||||
return this;
|
||||
}
|
||||
|
||||
public Builder clientPlatform(Optional<String> clientPlatform) {
|
||||
Utils.checkNotNull(clientPlatform, "clientPlatform");
|
||||
this.clientPlatform = clientPlatform;
|
||||
return this;
|
||||
}
|
||||
|
||||
public GetTokenByPinIdRequest build() {
|
||||
return new GetTokenByPinIdRequest(
|
||||
pinID);
|
||||
pinID,
|
||||
clientID,
|
||||
clientName,
|
||||
deviceName,
|
||||
clientVersion,
|
||||
clientPlatform);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -5,13 +5,12 @@
|
||||
package dev.plexapi.sdk.models.operations;
|
||||
|
||||
import dev.plexapi.sdk.utils.Utils;
|
||||
import java.lang.Long;
|
||||
import java.lang.String;
|
||||
import java.util.Optional;
|
||||
|
||||
public class GetTokenByPinIdRequestBuilder {
|
||||
|
||||
private Long pinID;
|
||||
private GetTokenByPinIdRequest request;
|
||||
private Optional<String> serverURL = Optional.empty();
|
||||
private final SDKMethodInterfaces.MethodCallGetTokenByPinId sdk;
|
||||
|
||||
@@ -19,9 +18,9 @@ public class GetTokenByPinIdRequestBuilder {
|
||||
this.sdk = sdk;
|
||||
}
|
||||
|
||||
public GetTokenByPinIdRequestBuilder pinID(long pinID) {
|
||||
Utils.checkNotNull(pinID, "pinID");
|
||||
this.pinID = pinID;
|
||||
public GetTokenByPinIdRequestBuilder request(GetTokenByPinIdRequest request) {
|
||||
Utils.checkNotNull(request, "request");
|
||||
this.request = request;
|
||||
return this;
|
||||
}
|
||||
|
||||
@@ -40,7 +39,7 @@ public class GetTokenByPinIdRequestBuilder {
|
||||
public GetTokenByPinIdResponse call() throws Exception {
|
||||
|
||||
return sdk.getTokenByPinId(
|
||||
pinID,
|
||||
request,
|
||||
serverURL);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -179,7 +179,7 @@ public class GetTokenDetailsUserPlexAccount {
|
||||
private Optional<Boolean> mailingListActive;
|
||||
|
||||
/**
|
||||
* Your current mailing list status
|
||||
* Your current mailing list status (active or unsubscribed)
|
||||
*/
|
||||
@JsonProperty("mailingListStatus")
|
||||
private MailingListStatus mailingListStatus;
|
||||
@@ -617,7 +617,7 @@ public class GetTokenDetailsUserPlexAccount {
|
||||
}
|
||||
|
||||
/**
|
||||
* Your current mailing list status
|
||||
* Your current mailing list status (active or unsubscribed)
|
||||
*/
|
||||
@JsonIgnore
|
||||
public MailingListStatus mailingListStatus() {
|
||||
@@ -1088,7 +1088,7 @@ public class GetTokenDetailsUserPlexAccount {
|
||||
}
|
||||
|
||||
/**
|
||||
* Your current mailing list status
|
||||
* Your current mailing list status (active or unsubscribed)
|
||||
*/
|
||||
public GetTokenDetailsUserPlexAccount withMailingListStatus(MailingListStatus mailingListStatus) {
|
||||
Utils.checkNotNull(mailingListStatus, "mailingListStatus");
|
||||
@@ -1869,7 +1869,7 @@ public class GetTokenDetailsUserPlexAccount {
|
||||
}
|
||||
|
||||
/**
|
||||
* Your current mailing list status
|
||||
* Your current mailing list status (active or unsubscribed)
|
||||
*/
|
||||
public Builder mailingListStatus(MailingListStatus mailingListStatus) {
|
||||
Utils.checkNotNull(mailingListStatus, "mailingListStatus");
|
||||
|
||||
@@ -8,7 +8,7 @@ import com.fasterxml.jackson.annotation.JsonValue;
|
||||
import java.lang.String;
|
||||
|
||||
/**
|
||||
* MailingListStatus - Your current mailing list status
|
||||
* MailingListStatus - Your current mailing list status (active or unsubscribed)
|
||||
*/
|
||||
public enum MailingListStatus {
|
||||
ACTIVE("active"),
|
||||
|
||||
@@ -8,7 +8,7 @@ import com.fasterxml.jackson.annotation.JsonValue;
|
||||
import java.lang.String;
|
||||
|
||||
/**
|
||||
* PostUsersSignInDataMailingListStatus - Your current mailing list status
|
||||
* PostUsersSignInDataMailingListStatus - Your current mailing list status (active or unsubscribed)
|
||||
*/
|
||||
public enum PostUsersSignInDataMailingListStatus {
|
||||
ACTIVE("active"),
|
||||
|
||||
@@ -179,7 +179,7 @@ public class PostUsersSignInDataUserPlexAccount {
|
||||
private Optional<Boolean> mailingListActive;
|
||||
|
||||
/**
|
||||
* Your current mailing list status
|
||||
* Your current mailing list status (active or unsubscribed)
|
||||
*/
|
||||
@JsonProperty("mailingListStatus")
|
||||
private PostUsersSignInDataMailingListStatus mailingListStatus;
|
||||
@@ -631,7 +631,7 @@ public class PostUsersSignInDataUserPlexAccount {
|
||||
}
|
||||
|
||||
/**
|
||||
* Your current mailing list status
|
||||
* Your current mailing list status (active or unsubscribed)
|
||||
*/
|
||||
@JsonIgnore
|
||||
public PostUsersSignInDataMailingListStatus mailingListStatus() {
|
||||
@@ -1112,7 +1112,7 @@ public class PostUsersSignInDataUserPlexAccount {
|
||||
}
|
||||
|
||||
/**
|
||||
* Your current mailing list status
|
||||
* Your current mailing list status (active or unsubscribed)
|
||||
*/
|
||||
public PostUsersSignInDataUserPlexAccount withMailingListStatus(PostUsersSignInDataMailingListStatus mailingListStatus) {
|
||||
Utils.checkNotNull(mailingListStatus, "mailingListStatus");
|
||||
@@ -1915,7 +1915,7 @@ public class PostUsersSignInDataUserPlexAccount {
|
||||
}
|
||||
|
||||
/**
|
||||
* Your current mailing list status
|
||||
* Your current mailing list status (active or unsubscribed)
|
||||
*/
|
||||
public Builder mailingListStatus(PostUsersSignInDataMailingListStatus mailingListStatus) {
|
||||
Utils.checkNotNull(mailingListStatus, "mailingListStatus");
|
||||
|
||||
@@ -183,7 +183,7 @@ public class SDKMethodInterfaces {
|
||||
|
||||
public interface MethodCallGetTokenByPinId {
|
||||
GetTokenByPinIdResponse getTokenByPinId(
|
||||
long pinID,
|
||||
GetTokenByPinIdRequest request,
|
||||
Optional<String> serverURL) throws Exception;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user