mirror of
https://github.com/LukeHagar/plexruby.git
synced 2025-12-09 12:47:44 +00:00
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.531.4
This commit is contained in:
@@ -5,45 +5,48 @@
|
||||
|
||||
|
||||
module PlexRubySDK
|
||||
module Operations
|
||||
|
||||
module Models
|
||||
module Operations
|
||||
|
||||
|
||||
class Role < ::Crystalline::FieldAugmented
|
||||
extend T::Sig
|
||||
class Role
|
||||
extend T::Sig
|
||||
include Crystalline::MetadataFields
|
||||
|
||||
# The filter string used to query this actor. For example, it may indicate that this is an actor with a given key.
|
||||
field :filter, ::String, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('filter') } }
|
||||
# Unique identifier for the actor or role.
|
||||
field :id, ::Integer, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('id') } }
|
||||
# The display tag for the actor (typically the actor's name).
|
||||
field :tag, ::String, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('tag') } }
|
||||
# The role played by the actor in the media item.
|
||||
field :role, T.nilable(::String), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('role') } }
|
||||
# A unique key associated with the actor's tag, used for internal identification.
|
||||
field :tag_key, T.nilable(::String), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('tagKey') } }
|
||||
# The URL of the thumbnail image for the actor.
|
||||
field :thumb, T.nilable(::String), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('thumb') } }
|
||||
# The filter string used to query this actor. For example, it may indicate that this is an actor with a given key.
|
||||
field :filter, ::String, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('filter') } }
|
||||
# Unique identifier for the actor or role.
|
||||
field :id, ::Integer, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('id') } }
|
||||
# The display tag for the actor (typically the actor's name).
|
||||
field :tag, ::String, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('tag') } }
|
||||
# The role played by the actor in the media item.
|
||||
field :role, T.nilable(::String), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('role') } }
|
||||
# A unique key associated with the actor's tag, used for internal identification.
|
||||
field :tag_key, T.nilable(::String), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('tagKey') } }
|
||||
# The URL of the thumbnail image for the actor.
|
||||
field :thumb, T.nilable(::String), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('thumb') } }
|
||||
|
||||
|
||||
sig { params(filter: ::String, id: ::Integer, tag: ::String, role: T.nilable(::String), tag_key: T.nilable(::String), thumb: T.nilable(::String)).void }
|
||||
def initialize(filter: nil, id: nil, tag: nil, role: nil, tag_key: nil, thumb: nil)
|
||||
@filter = filter
|
||||
@id = id
|
||||
@tag = tag
|
||||
@role = role
|
||||
@tag_key = tag_key
|
||||
@thumb = thumb
|
||||
end
|
||||
sig { params(filter: ::String, id: ::Integer, tag: ::String, role: T.nilable(::String), tag_key: T.nilable(::String), thumb: T.nilable(::String)).void }
|
||||
def initialize(filter: nil, id: nil, tag: nil, role: nil, tag_key: nil, thumb: nil)
|
||||
@filter = filter
|
||||
@id = id
|
||||
@tag = tag
|
||||
@role = role
|
||||
@tag_key = tag_key
|
||||
@thumb = thumb
|
||||
end
|
||||
|
||||
def ==(other)
|
||||
return false unless other.is_a? self.class
|
||||
return false unless @filter == other.filter
|
||||
return false unless @id == other.id
|
||||
return false unless @tag == other.tag
|
||||
return false unless @role == other.role
|
||||
return false unless @tag_key == other.tag_key
|
||||
return false unless @thumb == other.thumb
|
||||
true
|
||||
def ==(other)
|
||||
return false unless other.is_a? self.class
|
||||
return false unless @filter == other.filter
|
||||
return false unless @id == other.id
|
||||
return false unless @tag == other.tag
|
||||
return false unless @role == other.role
|
||||
return false unless @tag_key == other.tag_key
|
||||
return false unless @thumb == other.thumb
|
||||
true
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user