mirror of
https://github.com/LukeHagar/plexruby.git
synced 2025-12-06 12:47:44 +00:00
31 lines
644 B
Ruby
31 lines
644 B
Ruby
# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
|
|
# typed: true
|
|
# frozen_string_literal: true
|
|
|
|
|
|
module PlexRubySDK
|
|
module Operations
|
|
|
|
|
|
class MarkPlayedRequest < ::Crystalline::FieldAugmented
|
|
extend T::Sig
|
|
|
|
# The media key to mark as played
|
|
field :key, ::Float, { 'query_param': { 'field_name': 'key', 'style': 'form', 'explode': true } }
|
|
|
|
|
|
sig { params(key: ::Float).void }
|
|
def initialize(key: nil)
|
|
@key = key
|
|
end
|
|
|
|
def ==(other)
|
|
return false unless other.is_a? self.class
|
|
return false unless @key == other.key
|
|
true
|
|
end
|
|
end
|
|
end
|
|
end
|