Sha256: f4a8506f90040d527d4fe08f79830f00578d323c2e9f521f807cfc684cc3a8d5

Contents?: true

Size: 1.71 KB

Versions: 1

Compression:

Stored size: 1.71 KB

Contents

# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.

# typed: true
# frozen_string_literal: true


module PlexRubySDK
  module Operations
  

    class Role < ::Crystalline::FieldAugmented
      extend T::Sig

      # 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
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
plex_ruby_sdk-0.7.7 lib/plex_ruby_sdk/models/operations/role.rb