Class: FortyTwo::Response::Model::Campus

Inherits:
Base
  • Object
show all
Defined in:
lib/fortytwo/responses/models/campus.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(json) ⇒ Campus

Returns a new instance of Campus.



10
11
12
13
14
# File 'lib/fortytwo/responses/models/campus.rb', line 10

def initialize(json)
  super(json)

  @language = parse(@language, Language)
end

Instance Attribute Details

#idObject (readonly)

Returns the value of attribute id.



8
9
10
# File 'lib/fortytwo/responses/models/campus.rb', line 8

def id
  @id
end

#languageObject (readonly)

Returns the value of attribute language.



8
9
10
# File 'lib/fortytwo/responses/models/campus.rb', line 8

def language
  @language
end

#nameObject (readonly)

Returns the value of attribute name.



8
9
10
# File 'lib/fortytwo/responses/models/campus.rb', line 8

def name
  @name
end

#time_zoneObject (readonly)

Returns the value of attribute time_zone.



8
9
10
# File 'lib/fortytwo/responses/models/campus.rb', line 8

def time_zone
  @time_zone
end

#user_countObject (readonly)

Returns the value of attribute user_count.



8
9
10
# File 'lib/fortytwo/responses/models/campus.rb', line 8

def user_count
  @user_count
end

#vogsphere_idObject (readonly)

Returns the value of attribute vogsphere_id.



8
9
10
# File 'lib/fortytwo/responses/models/campus.rb', line 8

def vogsphere_id
  @vogsphere_id
end