mirror of
https://github.com/LukeHagar/plexswift.git
synced 2025-12-06 12:47:44 +00:00
24 lines
769 B
Swift
24 lines
769 B
Swift
// Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
|
|
|
|
import Foundation
|
|
|
|
extension Operations {
|
|
/// A model object
|
|
public struct GetTokenRequest: APIValue {
|
|
/// The PinID to retrieve an access token for
|
|
public let pinID: String
|
|
/// Plex Authentication Token
|
|
public let xPlexClientIdentifier: String
|
|
|
|
/// Creates an object with the specified parameters
|
|
///
|
|
/// - Parameter pinID: The PinID to retrieve an access token for
|
|
/// - Parameter xPlexClientIdentifier: Plex Authentication Token
|
|
///
|
|
public init(pinID: String, xPlexClientIdentifier: String) {
|
|
self.pinID = pinID
|
|
self.xPlexClientIdentifier = xPlexClientIdentifier
|
|
}
|
|
}
|
|
}
|