mirror of
https://github.com/LukeHagar/plexswift.git
synced 2025-12-06 12:47:44 +00:00
29 lines
1.0 KiB
Swift
29 lines
1.0 KiB
Swift
// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
|
|
import Foundation
|
|
|
|
extension Operations {
|
|
/// A model object
|
|
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?
|
|
|
|
/// 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, clientID: String? = nil) {
|
|
self.pinID = pinID
|
|
self.clientID = clientID
|
|
}
|
|
}}
|