Class: Believe::Models::CharacterCreateParams
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Believe::Models::CharacterCreateParams
- Extended by:
- Internal::Type::RequestParameters::Converter
- Includes:
- Internal::Type::RequestParameters
- Defined in:
- lib/believe/models/character_create_params.rb
Overview
Defined Under Namespace
Modules: SalaryGbp
Instance Attribute Summary collapse
-
#background ⇒ String
Character background and history.
-
#date_of_birth ⇒ Date?
Character’s date of birth.
-
#email ⇒ String?
Character’s email address.
-
#emotional_stats ⇒ ::Believe::Models::EmotionalStats
Emotional intelligence stats.
-
#growth_arcs ⇒ Array<::Believe::Models::GrowthArc>?
Character development across seasons.
-
#height_meters ⇒ Float?
Height in meters.
-
#name ⇒ String
Character’s full name.
-
#personality_traits ⇒ Array<String>
Key personality traits.
-
#profile_image_url ⇒ String?
URL to character’s profile image.
-
#role ⇒ Symbol, ::Believe::Models::CharacterRole
Character’s role.
-
#salary_gbp ⇒ Float, ...
Annual salary in GBP.
-
#signature_quotes ⇒ Array<String>?
Memorable quotes from this character.
-
#team_id ⇒ String?
ID of the team they belong to.
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(background:, emotional_stats:, name:, personality_traits:, role:, date_of_birth: nil, email: nil, growth_arcs: nil, height_meters: nil, profile_image_url: nil, salary_gbp: nil, signature_quotes: nil, team_id: nil, request_options: {}) ⇒ Object
|
|
# File 'lib/believe/models/character_create_params.rb', line 88
|
Instance Attribute Details
#background ⇒ String
Character background and history
14 |
# File 'lib/believe/models/character_create_params.rb', line 14 required :background, String |
#date_of_birth ⇒ Date?
Character’s date of birth
44 |
# File 'lib/believe/models/character_create_params.rb', line 44 optional :date_of_birth, Date, nil?: true |
#email ⇒ String?
Character’s email address
50 |
# File 'lib/believe/models/character_create_params.rb', line 50 optional :email, String, nil?: true |
#emotional_stats ⇒ ::Believe::Models::EmotionalStats
Emotional intelligence stats
20 |
# File 'lib/believe/models/character_create_params.rb', line 20 required :emotional_stats, -> { ::Believe::EmotionalStats } |
#growth_arcs ⇒ Array<::Believe::Models::GrowthArc>?
Character development across seasons
56 |
# File 'lib/believe/models/character_create_params.rb', line 56 optional :growth_arcs, -> { ::Believe::Internal::Type::ArrayOf[::Believe::GrowthArc] } |
#height_meters ⇒ Float?
Height in meters
62 |
# File 'lib/believe/models/character_create_params.rb', line 62 optional :height_meters, Float, nil?: true |
#name ⇒ String
Character’s full name
26 |
# File 'lib/believe/models/character_create_params.rb', line 26 required :name, String |
#personality_traits ⇒ Array<String>
Key personality traits
32 |
# File 'lib/believe/models/character_create_params.rb', line 32 required :personality_traits, ::Believe::Internal::Type::ArrayOf[String] |
#profile_image_url ⇒ String?
URL to character’s profile image
68 |
# File 'lib/believe/models/character_create_params.rb', line 68 optional :profile_image_url, String, nil?: true |
#role ⇒ Symbol, ::Believe::Models::CharacterRole
Character’s role
38 |
# File 'lib/believe/models/character_create_params.rb', line 38 required :role, enum: -> { ::Believe::CharacterRole } |
#salary_gbp ⇒ Float, ...
Annual salary in GBP
74 |
# File 'lib/believe/models/character_create_params.rb', line 74 optional :salary_gbp, union: -> { ::Believe::CharacterCreateParams::SalaryGbp }, nil?: true |
#signature_quotes ⇒ Array<String>?
Memorable quotes from this character
80 |
# File 'lib/believe/models/character_create_params.rb', line 80 optional :signature_quotes, ::Believe::Internal::Type::ArrayOf[String] |
#team_id ⇒ String?
ID of the team they belong to
86 |
# File 'lib/believe/models/character_create_params.rb', line 86 optional :team_id, String, nil?: true |