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

24 lines
877 B
Swift

// Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
import Foundation
extension Operations {
/// A model object
public struct GetTransientTokenRequest: APIValue {
/// `all` - This is the only supported `scope` parameter.
public let scope: Operations.Scope
/// `delegation` - This is the only supported `type` parameter.
public let type: Operations.GetTransientTokenQueryParamType
/// Creates an object with the specified parameters
///
/// - Parameter scope: `all` - This is the only supported `scope` parameter.
/// - Parameter type: `delegation` - This is the only supported `type` parameter.
///
public init(scope: Operations.Scope, type: Operations.GetTransientTokenQueryParamType) {
self.scope = scope
self.type = type
}
}
}