Files
plexswift/Sources/Plexswift/models/operations/GetPinRequest.swift

30 lines
1.0 KiB
Swift

// Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
import Foundation
extension Operations {
/// A model object
public struct GetPinRequest: APIValue {
/// Plex Authentication Token
public let xPlexClientIdentifier: String
/// 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?
/// Creates an object with the specified parameters
///
/// - Parameter xPlexClientIdentifier: Plex Authentication Token
/// - 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`
///
///
public init(xPlexClientIdentifier: String, strong: Bool? = nil) {
self.xPlexClientIdentifier = xPlexClientIdentifier
self.strong = strong
}
}
}