Module: Believe::Models::TeamUpdateParams::AnnualBudgetGbp

Extended by:
Internal::Type::Union
Defined in:
lib/believe/models/team_update_params.rb

Class Method Summary collapse

Instance Method Summary collapse

Methods included from Internal::Type::Union

==, ===, coerce, dump, hash, inspect, to_sorbet_type, variants

Methods included from Internal::Util::SorbetRuntimeSupport

#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type

Methods included from Internal::Type::Converter

#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info

Class Method Details

.variantsArray(Float, String)

Returns:

  • (Array(Float, String))


# File 'lib/believe/models/team_update_params.rb', line 149

Instance Method Details

#initialize(team_id:, annual_budget_gbp: nil, average_attendance: nil, contact_email: nil, culture_score: nil, founded_year: nil, is_active: nil, league: nil, name: nil, nickname: nil, primary_color: nil, rival_teams: nil, secondary_color: nil, stadium: nil, stadium_location: nil, values: nil, website: nil, win_percentage: nil, request_options: {}) ⇒ Object

Parameters:

  • team_id (String)
  • annual_budget_gbp (Float, String, nil) (defaults to: nil)
  • average_attendance (Float, nil) (defaults to: nil)
  • contact_email (String, nil) (defaults to: nil)
  • culture_score (Integer, nil) (defaults to: nil)
  • founded_year (Integer, nil) (defaults to: nil)
  • is_active (Boolean, nil) (defaults to: nil)
  • league (Symbol, ::Believe::Models::League, nil) (defaults to: nil)

    Football leagues.

  • name (String, nil) (defaults to: nil)
  • nickname (String, nil) (defaults to: nil)
  • primary_color (String, nil) (defaults to: nil)
  • rival_teams (Array<String>, nil) (defaults to: nil)
  • secondary_color (String, nil) (defaults to: nil)
  • stadium (String, nil) (defaults to: nil)
  • stadium_location (::Believe::Models::GeoLocation, nil) (defaults to: nil)

    Geographic coordinates for a location.

  • values (::Believe::Models::TeamValues, nil) (defaults to: nil)

    Core values that define a team’s culture.

  • website (String, nil) (defaults to: nil)
  • win_percentage (Float, nil) (defaults to: nil)
  • request_options (::Believe::RequestOptions, Hash{Symbol=>Object}) (defaults to: {})


142
143
144
145
146
147
148
149
150
151
# File 'lib/believe/models/team_update_params.rb', line 142

module AnnualBudgetGbp
  extend ::Believe::Internal::Type::Union

  variant Float

  variant String

  # @!method self.variants
  #   @return [Array(Float, String)]
end