mirror of
https://github.com/LukeHagar/plexswift.git
synced 2025-12-09 12:47:44 +00:00
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.404.5
This commit is contained in:
@@ -7,12 +7,30 @@ extension Operations {
|
||||
public struct GetTokenByPinIdRequest: APIValue {
|
||||
/// The PinID to retrieve an access token for
|
||||
public let pinID: Int
|
||||
/// 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 let clientID: String?
|
||||
public let clientName: String?
|
||||
public let clientPlatform: String?
|
||||
public let clientVersion: String?
|
||||
public let deviceName: String?
|
||||
|
||||
/// Creates an object with the specified parameters
|
||||
///
|
||||
/// - Parameter pinID: The PinID to retrieve an access token for
|
||||
/// - Parameter clientID: 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 init(pinID: Int) {
|
||||
public init(pinID: Int, clientID: String? = nil, clientName: String? = nil, clientPlatform: String? = nil, clientVersion: String? = nil, deviceName: String? = nil) {
|
||||
self.pinID = pinID
|
||||
self.clientID = clientID
|
||||
self.clientName = clientName
|
||||
self.clientPlatform = clientPlatform
|
||||
self.clientVersion = clientVersion
|
||||
self.deviceName = deviceName
|
||||
}
|
||||
}}
|
||||
|
||||
@@ -52,7 +52,7 @@ extension Operations {
|
||||
public let locale: String
|
||||
/// If you are subscribed to the Plex newsletter
|
||||
public let mailingListActive: Bool
|
||||
/// Your current mailing list status
|
||||
/// Your current mailing list status (active or unsubscribed)
|
||||
public let mailingListStatus: Operations.MailingListStatus
|
||||
/// The maximum number of accounts allowed in the Plex Home
|
||||
public let maxHomeSize: Int
|
||||
@@ -111,7 +111,7 @@ extension Operations {
|
||||
/// - Parameter joinedAt: Unix epoch datetime in seconds
|
||||
/// - Parameter locale: The account locale
|
||||
/// - Parameter mailingListActive: If you are subscribed to the Plex newsletter
|
||||
/// - Parameter mailingListStatus: Your current mailing list status
|
||||
/// - Parameter mailingListStatus: Your current mailing list status (active or unsubscribed)
|
||||
/// - Parameter maxHomeSize: The maximum number of accounts allowed in the Plex Home
|
||||
/// - Parameter protected: If the account has a Plex Home PIN enabled
|
||||
/// - Parameter rememberExpiresAt: Unix epoch datetime in seconds
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
import Foundation
|
||||
|
||||
extension Operations {
|
||||
/// Your current mailing list status
|
||||
/// Your current mailing list status (active or unsubscribed)
|
||||
public enum MailingListStatus: String, Codable, APIValue {
|
||||
case active = "active"
|
||||
case unsubscribed = "unsubscribed"
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
import Foundation
|
||||
|
||||
extension Operations {
|
||||
/// Your current mailing list status
|
||||
/// Your current mailing list status (active or unsubscribed)
|
||||
public enum PostUsersSignInDataMailingListStatus: String, Codable, APIValue {
|
||||
case active = "active"
|
||||
case unsubscribed = "unsubscribed"
|
||||
|
||||
@@ -52,7 +52,7 @@ extension Operations {
|
||||
public let locale: String
|
||||
/// If you are subscribed to the Plex newsletter
|
||||
public let mailingListActive: Bool
|
||||
/// Your current mailing list status
|
||||
/// Your current mailing list status (active or unsubscribed)
|
||||
public let mailingListStatus: Operations.PostUsersSignInDataMailingListStatus
|
||||
/// The maximum number of accounts allowed in the Plex Home
|
||||
public let maxHomeSize: Int
|
||||
@@ -113,7 +113,7 @@ extension Operations {
|
||||
/// - Parameter joinedAt: Unix epoch datetime in seconds
|
||||
/// - Parameter locale: The account locale
|
||||
/// - Parameter mailingListActive: If you are subscribed to the Plex newsletter
|
||||
/// - Parameter mailingListStatus: Your current mailing list status
|
||||
/// - Parameter mailingListStatus: Your current mailing list status (active or unsubscribed)
|
||||
/// - Parameter maxHomeSize: The maximum number of accounts allowed in the Plex Home
|
||||
/// - Parameter protected: If the account has a Plex Home PIN enabled
|
||||
/// - Parameter rememberExpiresAt: Unix epoch datetime in seconds
|
||||
|
||||
Reference in New Issue
Block a user