Class: Statium::Opta::Model::TournamentCalendar

Inherits:
Object
  • Object
show all
Defined in:
lib/statium/opta/model/tournament_calendar.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(params) ⇒ TournamentCalendar

Returns a new instance of TournamentCalendar



13
14
15
16
17
# File 'lib/statium/opta/model/tournament_calendar.rb', line 13

def initialize(params)
  params.each do |key, value|
    instance_variable_set("@#{key}", value)
  end
end

Instance Attribute Details

#activeObject

Returns the value of attribute active



5
6
7
# File 'lib/statium/opta/model/tournament_calendar.rb', line 5

def active
  @active
end

#endDateObject

Returns the value of attribute endDate



6
7
8
# File 'lib/statium/opta/model/tournament_calendar.rb', line 6

def endDate
  @endDate
end

#idObject

Returns the value of attribute id



7
8
9
# File 'lib/statium/opta/model/tournament_calendar.rb', line 7

def id
  @id
end

#lastUpdatedObject

Returns the value of attribute lastUpdated



8
9
10
# File 'lib/statium/opta/model/tournament_calendar.rb', line 8

def lastUpdated
  @lastUpdated
end

#nameObject

Returns the value of attribute name



9
10
11
# File 'lib/statium/opta/model/tournament_calendar.rb', line 9

def name
  @name
end

#ocIdObject

Returns the value of attribute ocId



10
11
12
# File 'lib/statium/opta/model/tournament_calendar.rb', line 10

def ocId
  @ocId
end

#startDateObject

Returns the value of attribute startDate



11
12
13
# File 'lib/statium/opta/model/tournament_calendar.rb', line 11

def startDate
  @startDate
end