mirror of
https://github.com/LukeHagar/plexruby.git
synced 2025-12-06 20:57:45 +00:00
31 lines
857 B
Ruby
31 lines
857 B
Ruby
# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
|
|
# typed: true
|
|
# frozen_string_literal: true
|
|
|
|
|
|
module PlexRubySDK
|
|
module Operations
|
|
|
|
|
|
class Ratings < ::PlexRubySDK::Utils::FieldAugmented
|
|
extend T::Sig
|
|
|
|
|
|
field :image, T.nilable(::String), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('image') } }
|
|
|
|
field :type, T.nilable(::String), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('type') } }
|
|
|
|
field :value, T.nilable(::Float), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('value') } }
|
|
|
|
|
|
sig { params(image: T.nilable(::String), type: T.nilable(::String), value: T.nilable(::Float)).void }
|
|
def initialize(image: nil, type: nil, value: nil)
|
|
@image = image
|
|
@type = type
|
|
@value = value
|
|
end
|
|
end
|
|
end
|
|
end
|