mirror of
https://github.com/LukeHagar/plexswift.git
synced 2025-12-06 12:47:44 +00:00
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.228.1
This commit is contained in:
37
Sources/Plexswift/configuration/GlobalParameters.swift
Normal file
37
Sources/Plexswift/configuration/GlobalParameters.swift
Normal file
@@ -0,0 +1,37 @@
|
||||
// Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
|
||||
|
||||
import Foundation
|
||||
|
||||
/// Describes common parameters which can be used when making API requests.
|
||||
///
|
||||
/// > Note: These parameters may be overridden by individual API operations
|
||||
public struct GlobalParameters {
|
||||
public let xPlexClientIdentifier: String?
|
||||
|
||||
/// Creates an object with the given parameters
|
||||
///
|
||||
/// - 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(
|
||||
xPlexClientIdentifier: String? = nil
|
||||
) {
|
||||
self.xPlexClientIdentifier = xPlexClientIdentifier
|
||||
}
|
||||
}
|
||||
|
||||
extension GlobalParameters: ParameterDefaults {
|
||||
public func defaultSerializedPathParameter(for key: String) throws -> String? {
|
||||
switch key {
|
||||
default: return nil
|
||||
}
|
||||
}
|
||||
|
||||
public func defaultQueryParameter(for key: String) -> AnyValue? {
|
||||
switch key {
|
||||
default: return nil
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user