mirror of
https://github.com/LukeHagar/plexruby.git
synced 2025-12-06 12:47:44 +00:00
31 lines
917 B
Ruby
31 lines
917 B
Ruby
# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
|
|
# typed: true
|
|
# frozen_string_literal: true
|
|
|
|
|
|
module PlexRubySDK
|
|
module Operations
|
|
|
|
|
|
class MetaDataRating < ::Crystalline::FieldAugmented
|
|
extend T::Sig
|
|
|
|
# A URI or path to the rating image.
|
|
field :image, ::String, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('image') } }
|
|
# The type of rating (e.g., audience, critic).
|
|
field :type, ::String, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('type') } }
|
|
# The value of the rating.
|
|
field :value, ::Float, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('value') } }
|
|
|
|
|
|
sig { params(image: ::String, type: ::String, value: ::Float).void }
|
|
def initialize(image: nil, type: nil, value: nil)
|
|
@image = image
|
|
@type = type
|
|
@value = value
|
|
end
|
|
end
|
|
end
|
|
end
|