mirror of
https://github.com/LukeHagar/plexswift.git
synced 2025-12-07 12:47:45 +00:00
ci: regenerated with OpenAPI Doc 0.0.3, Speakeasy CLI 1.200.0
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
// Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
|
||||
|
||||
import Foundation
|
||||
|
||||
extension Operations {
|
||||
/// A model object
|
||||
public struct GetGlobalHubsRequest: APIValue {
|
||||
/// The number of items to return with each hub.
|
||||
@DecimalSerialized
|
||||
public private(set) var count: Double?
|
||||
/// Only return hubs which are "transient", meaning those which are prone to changing after media playback or addition (e.g. On Deck, or Recently Added).
|
||||
public let onlyTransient: Operations.OnlyTransient?
|
||||
|
||||
/// Creates an object with the specified parameters
|
||||
///
|
||||
/// - Parameter count: The number of items to return with each hub.
|
||||
/// - Parameter onlyTransient: Only return hubs which are "transient", meaning those which are prone to changing after media playback or addition (e.g. On Deck, or Recently Added).
|
||||
///
|
||||
public init(count: Double? = nil, onlyTransient: Operations.OnlyTransient? = nil) {
|
||||
self._count = DecimalSerialized<Double?>(wrappedValue: count)
|
||||
self.onlyTransient = onlyTransient
|
||||
}
|
||||
}
|
||||
}
|
||||
extension Operations.GetGlobalHubsRequest {
|
||||
var countWrapper: DecimalSerialized<Double?> {
|
||||
return _count
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user