Class: Believe::Models::QuoteListParams
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Believe::Models::QuoteListParams
- Extended by:
- Internal::Type::RequestParameters::Converter
- Includes:
- Internal::Type::RequestParameters
- Defined in:
- lib/believe/models/quote_list_params.rb
Overview
Instance Attribute Summary collapse
-
#character_id ⇒ String?
Filter by character.
-
#funny ⇒ Boolean?
Filter funny quotes.
-
#inspirational ⇒ Boolean?
Filter inspirational quotes.
-
#limit ⇒ Integer?
Maximum number of items to return (max: 100).
-
#moment_type ⇒ Symbol, ...
Filter by moment type.
-
#skip ⇒ Integer?
Number of items to skip (offset).
-
#theme ⇒ Symbol, ...
Filter by theme.
Attributes included from Internal::Type::RequestParameters
Instance Method Summary collapse
Methods included from Internal::Type::RequestParameters::Converter
Methods included from Internal::Type::RequestParameters
Methods inherited from Internal::Type::BaseModel
==, #==, #[], 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
Methods included from Internal::Type::Converter
#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info
Methods included from Internal::Util::SorbetRuntimeSupport
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize(character_id: nil, funny: nil, inspirational: nil, limit: nil, moment_type: nil, skip: nil, theme: nil, request_options: {}) ⇒ Object
|
|
# File 'lib/believe/models/quote_list_params.rb', line 52
|
Instance Attribute Details
#character_id ⇒ String?
Filter by character
14 |
# File 'lib/believe/models/quote_list_params.rb', line 14 optional :character_id, String, nil?: true |
#funny ⇒ Boolean?
Filter funny quotes
20 |
# File 'lib/believe/models/quote_list_params.rb', line 20 optional :funny, ::Believe::Internal::Type::Boolean, nil?: true |
#inspirational ⇒ Boolean?
Filter inspirational quotes
26 |
# File 'lib/believe/models/quote_list_params.rb', line 26 optional :inspirational, ::Believe::Internal::Type::Boolean, nil?: true |
#limit ⇒ Integer?
Maximum number of items to return (max: 100)
32 |
# File 'lib/believe/models/quote_list_params.rb', line 32 optional :limit, Integer |
#moment_type ⇒ Symbol, ...
Filter by moment type
38 |
# File 'lib/believe/models/quote_list_params.rb', line 38 optional :moment_type, enum: -> { ::Believe::QuoteMoment }, nil?: true |
#skip ⇒ Integer?
Number of items to skip (offset)
44 |
# File 'lib/believe/models/quote_list_params.rb', line 44 optional :skip, Integer |
#theme ⇒ Symbol, ...
Filter by theme
50 |
# File 'lib/believe/models/quote_list_params.rb', line 50 optional :theme, enum: -> { ::Believe::QuoteTheme }, nil?: true |