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

35 lines
784 B
Ruby

# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
# typed: true
# frozen_string_literal: true
module PlexRubySDK
module Operations
class Action < ::Crystalline::FieldAugmented
extend T::Sig
field :id, ::String, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('id') } }
field :key, ::String, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('key') } }
sig { params(id: ::String, key: ::String).void }
def initialize(id: nil, key: nil)
@id = id
@key = key
end
def ==(other)
return false unless other.is_a? self.class
return false unless @id == other.id
return false unless @key == other.key
true
end
end
end
end