mirror of
https://github.com/LukeHagar/plexswift.git
synced 2025-12-06 12:47:44 +00:00
26 lines
774 B
Swift
26 lines
774 B
Swift
// Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
|
|
|
|
import Foundation
|
|
|
|
extension Operations {
|
|
/// A model object
|
|
public struct GetMetadataRequest: APIValue {
|
|
/// the id of the library item to return the children of.
|
|
@DecimalSerialized
|
|
public private(set) var ratingKey: Double
|
|
|
|
/// Creates an object with the specified parameters
|
|
///
|
|
/// - Parameter ratingKey: the id of the library item to return the children of.
|
|
///
|
|
public init(ratingKey: Double) {
|
|
self._ratingKey = DecimalSerialized<Double>(wrappedValue: ratingKey)
|
|
}
|
|
}
|
|
}
|
|
extension Operations.GetMetadataRequest {
|
|
var ratingKeyWrapper: DecimalSerialized<Double> {
|
|
return _ratingKey
|
|
}
|
|
}
|