mirror of
https://github.com/LukeHagar/plexswift.git
synced 2025-12-07 04:20:54 +00:00
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.406.0
This commit is contained in:
@@ -7,24 +7,32 @@ 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)
|
||||
/// An opaque identifier unique to the client (UUID, serial number, or other unique device ID)
|
||||
public let clientID: String?
|
||||
/// The name of the client application. (Plex Web, Plex Media Server, etc.)
|
||||
public let clientName: String?
|
||||
public let clientPlatform: String?
|
||||
/// The version of the client application.
|
||||
public let clientVersion: String?
|
||||
public let deviceName: String?
|
||||
/// A relatively friendly name for the client device
|
||||
public let deviceNickname: String?
|
||||
/// The platform of the client application.
|
||||
public let platform: 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)
|
||||
/// - Parameter clientID: An opaque identifier unique to the client (UUID, serial number, or other unique device ID)
|
||||
/// - Parameter clientName: The name of the client application. (Plex Web, Plex Media Server, etc.)
|
||||
/// - Parameter clientVersion: The version of the client application.
|
||||
/// - Parameter deviceNickname: A relatively friendly name for the client device
|
||||
/// - Parameter platform: The platform of the client application.
|
||||
///
|
||||
public init(pinID: Int, clientID: String? = nil, clientName: String? = nil, clientPlatform: String? = nil, clientVersion: String? = nil, deviceName: String? = nil) {
|
||||
public init(pinID: Int, clientID: String? = nil, clientName: String? = nil, clientVersion: String? = nil, deviceNickname: String? = nil, platform: String? = nil) {
|
||||
self.pinID = pinID
|
||||
self.clientID = clientID
|
||||
self.clientName = clientName
|
||||
self.clientPlatform = clientPlatform
|
||||
self.clientVersion = clientVersion
|
||||
self.deviceName = deviceName
|
||||
self.deviceNickname = deviceNickname
|
||||
self.platform = platform
|
||||
}
|
||||
}}
|
||||
|
||||
Reference in New Issue
Block a user