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

34 lines
727 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 Collection
extend T::Sig
include Crystalline::MetadataFields
# 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
end