Files
plexruby/lib/plex_ruby_sdk/models/operations/markunplayed_request.rb

34 lines
716 B
Ruby

# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
# typed: true
# frozen_string_literal: true
module PlexRubySDK
module Models
module Operations
class MarkUnplayedRequest
extend T::Sig
include Crystalline::MetadataFields
# The media key to mark as Unplayed
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
end