ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.228.1

This commit is contained in:
speakeasybot
2024-03-29 16:37:03 +00:00
parent b76c9ac22d
commit 0ba404a3aa
12 changed files with 126 additions and 27 deletions

View 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
}
}
}