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

38 lines
1.2 KiB
Swift

// Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
import Foundation
extension Operations {
/// A model object
public struct GetLibraryItemsRequest: APIValue {
/// the Id of the library to query
@DecimalSerialized
public private(set) var sectionId: Double
/// the filter parameter
public let filter: String?
/// item type
@DecimalSerialized
public private(set) var type: Double?
/// Creates an object with the specified parameters
///
/// - Parameter sectionId: the Id of the library to query
/// - Parameter filter: the filter parameter
/// - Parameter type: item type
///
public init(sectionId: Double, filter: String? = nil, type: Double? = nil) {
self._sectionId = DecimalSerialized<Double>(wrappedValue: sectionId)
self.filter = filter
self._type = DecimalSerialized<Double?>(wrappedValue: type)
}
}
}
extension Operations.GetLibraryItemsRequest {
var sectionIdWrapper: DecimalSerialized<Double> {
return _sectionId
}
var typeWrapper: DecimalSerialized<Double?> {
return _type
}
}