Class: JustimmoClient::V1::RealtyRoomCount

Inherits:
JustimmoBase show all
Defined in:
lib/justimmo_client/api/v1/models/realty_room_count.rb

Attributes collapse

Instance Method Summary collapse

Methods included from Utils

#autoload_dir, #translate

Methods included from Logging

default_logger, #logger, rails_logger

Instance Method Details

#balconyInteger

Returns:

  • (Integer)


12
# File 'lib/justimmo_client/api/v1/models/realty_room_count.rb', line 12

attribute :balcony,         Integer

#balcony_terraceInteger

Returns:

  • (Integer)


11
# File 'lib/justimmo_client/api/v1/models/realty_room_count.rb', line 11

attribute :balcony_terrace, Integer

#basementInteger

Returns:

  • (Integer)


16
# File 'lib/justimmo_client/api/v1/models/realty_room_count.rb', line 16

attribute :basement,        Integer

#bathroomInteger

Returns:

  • (Integer)


10
# File 'lib/justimmo_client/api/v1/models/realty_room_count.rb', line 10

attribute :bathroom,        Integer

#garageInteger

Returns:

  • (Integer)


14
# File 'lib/justimmo_client/api/v1/models/realty_room_count.rb', line 14

attribute :garage,          Integer

#gardenInteger

Returns:

  • (Integer)


13
# File 'lib/justimmo_client/api/v1/models/realty_room_count.rb', line 13

attribute :garden,          Integer

#inspectObject



31
32
33
# File 'lib/justimmo_client/api/v1/models/realty_room_count.rb', line 31

def inspect
  "#<#{self.class} #{self}>"
end

#loggiaInteger

Returns:

  • (Integer)


15
# File 'lib/justimmo_client/api/v1/models/realty_room_count.rb', line 15

attribute :loggia,          Integer

#parking_spaceInteger

Returns:

  • (Integer)


18
# File 'lib/justimmo_client/api/v1/models/realty_room_count.rb', line 18

attribute :parking_space,   Integer

#storeInteger

Returns:

  • (Integer)


9
# File 'lib/justimmo_client/api/v1/models/realty_room_count.rb', line 9

attribute :store,           Integer

#to_iObject



23
24
25
# File 'lib/justimmo_client/api/v1/models/realty_room_count.rb', line 23

def to_i
  total
end

#to_sObject



27
28
29
# File 'lib/justimmo_client/api/v1/models/realty_room_count.rb', line 27

def to_s
  to_i.to_s
end

#toiletInteger

Returns:

  • (Integer)


17
# File 'lib/justimmo_client/api/v1/models/realty_room_count.rb', line 17

attribute :toilet,          Integer

#totalInteger

Returns:

  • (Integer)


19
# File 'lib/justimmo_client/api/v1/models/realty_room_count.rb', line 19

attribute :total,           Integer