Class: Believe::Models::TeamMemberCreateParams::Member::Coach
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Believe::Models::TeamMemberCreateParams::Member::Coach
- Defined in:
- lib/believe/models/team_member_create_params.rb
Defined Under Namespace
Modules: MemberType
Instance Attribute Summary collapse
-
#certifications ⇒ Array<String>?
Coaching certifications and licenses.
-
#character_id ⇒ String
ID of the character (references /characters/id).
-
#member_type ⇒ Symbol, ...
Discriminator field indicating this is a coach.
-
#specialty ⇒ Symbol, ::Believe::Models::CoachSpecialty
Coaching specialty/role.
-
#team_id ⇒ String
ID of the team they belong to.
-
#win_rate ⇒ Float?
Career win rate (0.0 to 1.0).
-
#years_with_team ⇒ Integer
Number of years with the current team.
Instance Method Summary collapse
-
#initialize(character_id:, specialty:, team_id:, years_with_team:, certifications: nil, member_type: nil, win_rate: nil) ⇒ Object
constructor
A coach or coaching staff member.
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:, specialty:, team_id:, years_with_team:, certifications: nil, member_type: nil, win_rate: nil) ⇒ Object
A coach or coaching staff member.
|
|
# File 'lib/believe/models/team_member_create_params.rb', line 171
|
Instance Attribute Details
#certifications ⇒ Array<String>?
Coaching certifications and licenses
157 |
# File 'lib/believe/models/team_member_create_params.rb', line 157 optional :certifications, ::Believe::Internal::Type::ArrayOf[String] |
#character_id ⇒ String
ID of the character (references /characters/id)
133 |
# File 'lib/believe/models/team_member_create_params.rb', line 133 required :character_id, String |
#member_type ⇒ Symbol, ...
Discriminator field indicating this is a coach
163 |
# File 'lib/believe/models/team_member_create_params.rb', line 163 optional :member_type, enum: -> { ::Believe::TeamMemberCreateParams::Member::Coach::MemberType } |
#specialty ⇒ Symbol, ::Believe::Models::CoachSpecialty
Coaching specialty/role
139 |
# File 'lib/believe/models/team_member_create_params.rb', line 139 required :specialty, enum: -> { ::Believe::CoachSpecialty } |
#team_id ⇒ String
ID of the team they belong to
145 |
# File 'lib/believe/models/team_member_create_params.rb', line 145 required :team_id, String |
#win_rate ⇒ Float?
Career win rate (0.0 to 1.0)
169 |
# File 'lib/believe/models/team_member_create_params.rb', line 169 optional :win_rate, Float, nil?: true |
#years_with_team ⇒ Integer
Number of years with the current team
151 |
# File 'lib/believe/models/team_member_create_params.rb', line 151 required :years_with_team, Integer |