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.487.1
This commit is contained in:
30
lib/plex_ruby_sdk/models/operations/rating.rb
Normal file
30
lib/plex_ruby_sdk/models/operations/rating.rb
Normal file
@@ -0,0 +1,30 @@
|
||||
# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
||||
|
||||
# typed: true
|
||||
# frozen_string_literal: true
|
||||
|
||||
|
||||
module PlexRubySDK
|
||||
module Operations
|
||||
|
||||
|
||||
class Rating < ::PlexRubySDK::Utils::FieldAugmented
|
||||
extend T::Sig
|
||||
|
||||
# The image or reference for the rating.
|
||||
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 rating value.
|
||||
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
|
||||
Reference in New Issue
Block a user