Class: Believe::Models::MatchUpdateParams

Inherits:
Internal::Type::BaseModel show all
Extended by:
Internal::Type::RequestParameters::Converter
Includes:
Internal::Type::RequestParameters
Defined in:
lib/believe/models/match_update_params.rb

Overview

Defined Under Namespace

Modules: TicketRevenueGbp

Instance Attribute Summary collapse

Attributes included from Internal::Type::RequestParameters

#request_options

Method Summary

Methods included from Internal::Type::RequestParameters::Converter

dump_request

Methods included from Internal::Type::RequestParameters

included

Methods inherited from Internal::Type::BaseModel

==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, #initialize, 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

This class inherits a constructor from Believe::Internal::Type::BaseModel

Instance Attribute Details

#attendanceInteger?

Returns:

  • (Integer, nil)


18
# File 'lib/believe/models/match_update_params.rb', line 18

optional :attendance, Integer, nil?: true

#away_scoreInteger?

Returns:

  • (Integer, nil)


23
# File 'lib/believe/models/match_update_params.rb', line 23

optional :away_score, Integer, nil?: true

#away_team_idString?

Returns:

  • (String, nil)


28
# File 'lib/believe/models/match_update_params.rb', line 28

optional :away_team_id, String, nil?: true

#dateTime?

Returns:

  • (Time, nil)


33
# File 'lib/believe/models/match_update_params.rb', line 33

optional :date, Time, nil?: true

#episode_idString?

Returns:

  • (String, nil)


38
# File 'lib/believe/models/match_update_params.rb', line 38

optional :episode_id, String, nil?: true

#home_scoreInteger?

Returns:

  • (Integer, nil)


43
# File 'lib/believe/models/match_update_params.rb', line 43

optional :home_score, Integer, nil?: true

#home_team_idString?

Returns:

  • (String, nil)


48
# File 'lib/believe/models/match_update_params.rb', line 48

optional :home_team_id, String, nil?: true

#lesson_learnedString?

Returns:

  • (String, nil)


53
# File 'lib/believe/models/match_update_params.rb', line 53

optional :lesson_learned, String, nil?: true

#match_idString

Returns:

  • (String)


13
# File 'lib/believe/models/match_update_params.rb', line 13

required :match_id, String

#match_typeSymbol, ...

Types of matches.

Returns:



59
# File 'lib/believe/models/match_update_params.rb', line 59

optional :match_type, enum: -> { ::Believe::MatchType }, nil?: true

#possession_percentageFloat?

Returns:

  • (Float, nil)


64
# File 'lib/believe/models/match_update_params.rb', line 64

optional :possession_percentage, Float, nil?: true

#resultSymbol, ...

Match result types.

Returns:



70
# File 'lib/believe/models/match_update_params.rb', line 70

optional :result, enum: -> { ::Believe::MatchResult }, nil?: true

#ted_halftime_speechString?

Returns:

  • (String, nil)


75
# File 'lib/believe/models/match_update_params.rb', line 75

optional :ted_halftime_speech, String, nil?: true

#ticket_revenue_gbpFloat, ...

Returns:

  • (Float, String, nil)


80
# File 'lib/believe/models/match_update_params.rb', line 80

optional :ticket_revenue_gbp, union: -> { ::Believe::MatchUpdateParams::TicketRevenueGbp }, nil?: true

#turning_pointsArray<::Believe::Models::TurningPoint>?

Returns:



85
# File 'lib/believe/models/match_update_params.rb', line 85

optional :turning_points, -> { ::Believe::Internal::Type::ArrayOf[::Believe::TurningPoint] }, nil?: true

#weather_temp_celsiusFloat?

Returns:

  • (Float, nil)


90
# File 'lib/believe/models/match_update_params.rb', line 90

optional :weather_temp_celsius, Float, nil?: true