mirror of
https://github.com/LukeHagar/plexruby.git
synced 2025-12-06 12:47:44 +00:00
31 lines
659 B
Ruby
31 lines
659 B
Ruby
# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
|
|
# typed: true
|
|
# frozen_string_literal: true
|
|
|
|
|
|
module PlexRubySDK
|
|
module Operations
|
|
|
|
|
|
class Collection < ::Crystalline::FieldAugmented
|
|
extend T::Sig
|
|
|
|
# The user-made collection this media item belongs to
|
|
field :tag, ::String, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('tag') } }
|
|
|
|
|
|
sig { params(tag: ::String).void }
|
|
def initialize(tag: nil)
|
|
@tag = tag
|
|
end
|
|
|
|
def ==(other)
|
|
return false unless other.is_a? self.class
|
|
return false unless @tag == other.tag
|
|
true
|
|
end
|
|
end
|
|
end
|
|
end
|