// Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. import Foundation extension Operations { /// A model object public struct UpdatePlayProgressRequest: APIValue { /// the media key public let key: String /// The playback state of the media item. public let state: String /// The time, in milliseconds, used to set the media playback progress. @DecimalSerialized public private(set) var time: Double /// Creates an object with the specified parameters /// /// - Parameter key: the media key /// - Parameter state: The playback state of the media item. /// - Parameter time: The time, in milliseconds, used to set the media playback progress. /// public init(key: String, state: String, time: Double) { self.key = key self.state = state self._time = DecimalSerialized(wrappedValue: time) } } } extension Operations.UpdatePlayProgressRequest { var timeWrapper: DecimalSerialized { return _time } }