Class: Believe::Models::QuoteUpdateParams
Overview
Instance Attribute Summary collapse
#request_options
Instance Method Summary
collapse
-
#initialize(quote_id:, character_id: nil, context: nil, episode_id: nil, is_funny: nil, is_inspirational: nil, moment_type: nil, popularity_score: nil, secondary_themes: nil, text: nil, theme: nil, times_shared: nil, request_options: {}) ⇒ Object
constructor
dump_request
included
==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml
#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize(quote_id:, character_id: nil, context: nil, episode_id: nil, is_funny: nil, is_inspirational: nil, moment_type: nil, popularity_score: nil, secondary_themes: nil, text: nil, theme: nil, times_shared: nil, request_options: {}) ⇒ Object
|
# File 'lib/believe/models/quote_update_params.rb', line 74
|
Instance Attribute Details
#character_id ⇒ String?
18
|
# File 'lib/believe/models/quote_update_params.rb', line 18
optional :character_id, String, nil?: true
|
#context ⇒ String?
23
|
# File 'lib/believe/models/quote_update_params.rb', line 23
optional :context, String, nil?: true
|
#episode_id ⇒ String?
28
|
# File 'lib/believe/models/quote_update_params.rb', line 28
optional :episode_id, String, nil?: true
|
#is_inspirational ⇒ Boolean?
38
|
# File 'lib/believe/models/quote_update_params.rb', line 38
optional :is_inspirational, ::Believe::Internal::Type::Boolean, nil?: true
|
#moment_type ⇒ Symbol, ...
Types of moments when quotes occur.
44
|
# File 'lib/believe/models/quote_update_params.rb', line 44
optional :moment_type, enum: -> { ::Believe::QuoteMoment }, nil?: true
|
#popularity_score ⇒ Float?
49
|
# File 'lib/believe/models/quote_update_params.rb', line 49
optional :popularity_score, Float, nil?: true
|
#quote_id ⇒ String
13
|
# File 'lib/believe/models/quote_update_params.rb', line 13
required :quote_id, String
|
#text ⇒ String?
61
|
# File 'lib/believe/models/quote_update_params.rb', line 61
optional :text, String, nil?: true
|
#theme ⇒ Symbol, ...
Themes that quotes can be categorized under.
67
|
# File 'lib/believe/models/quote_update_params.rb', line 67
optional :theme, enum: -> { ::Believe::QuoteTheme }, nil?: true
|
#times_shared ⇒ Integer?
72
|
# File 'lib/believe/models/quote_update_params.rb', line 72
optional :times_shared, Integer, nil?: true
|