mirror of
https://github.com/LukeHagar/plexswift.git
synced 2025-12-06 12:47:44 +00:00
26 lines
686 B
Swift
26 lines
686 B
Swift
// Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
|
|
|
|
import Foundation
|
|
|
|
extension Operations {
|
|
/// A model object
|
|
public struct MarkPlayedRequest: APIValue {
|
|
/// The media key to mark as played
|
|
@DecimalSerialized
|
|
public private(set) var key: Double
|
|
|
|
/// Creates an object with the specified parameters
|
|
///
|
|
/// - Parameter key: The media key to mark as played
|
|
///
|
|
public init(key: Double) {
|
|
self._key = DecimalSerialized<Double>(wrappedValue: key)
|
|
}
|
|
}
|
|
}
|
|
extension Operations.MarkPlayedRequest {
|
|
var keyWrapper: DecimalSerialized<Double> {
|
|
return _key
|
|
}
|
|
}
|