mirror of
https://github.com/LukeHagar/plexswift.git
synced 2025-12-06 12:47:44 +00:00
37 lines
1.5 KiB
Swift
37 lines
1.5 KiB
Swift
// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
|
|
import Foundation
|
|
|
|
extension Operations {
|
|
/// A model object
|
|
public struct GetPinRequest: APIValue {
|
|
/// Determines the kind of code returned by the API call
|
|
/// Strong codes are used for Pin authentication flows
|
|
/// Non-Strong codes are used for `Plex.tv/link`
|
|
///
|
|
public let strong: Bool?
|
|
/// 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 xPlexClientIdentifier: String?
|
|
public let xPlexProduct: String?
|
|
|
|
/// Creates an object with the specified parameters
|
|
///
|
|
/// - Parameter strong: Determines the kind of code returned by the API call
|
|
/// Strong codes are used for Pin authentication flows
|
|
/// Non-Strong codes are used for `Plex.tv/link`
|
|
///
|
|
/// - Parameter xPlexClientIdentifier: 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(strong: Bool? = nil, xPlexClientIdentifier: String? = nil, xPlexProduct: String? = nil) {
|
|
self.strong = strong
|
|
self.xPlexClientIdentifier = xPlexClientIdentifier
|
|
self.xPlexProduct = xPlexProduct
|
|
}
|
|
}}
|