Class: CallRecorderApi::Model::GetPhonesResponsePhone
- Inherits:
-
Object
- Object
- CallRecorderApi::Model::GetPhonesResponsePhone
- Defined in:
- lib/call_recorder_api/model/get_phones_response_phone.rb
Instance Attribute Summary collapse
-
#city ⇒ Object
Returns the value of attribute city.
-
#country ⇒ Object
Returns the value of attribute country.
-
#flag ⇒ Object
Returns the value of attribute flag.
-
#friendly_name ⇒ Object
Returns the value of attribute friendly_name.
-
#number ⇒ Object
Returns the value of attribute number.
-
#phone_number ⇒ Object
Returns the value of attribute phone_number.
-
#prefix ⇒ Object
Returns the value of attribute prefix.
Instance Method Summary collapse
-
#initialize(phone_number, number, prefix, friendly_name, flag, city, country) ⇒ GetPhonesResponsePhone
constructor
A new instance of GetPhonesResponsePhone.
- #to_s ⇒ Object
Constructor Details
#initialize(phone_number, number, prefix, friendly_name, flag, city, country) ⇒ GetPhonesResponsePhone
Returns a new instance of GetPhonesResponsePhone.
14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 |
# File 'lib/call_recorder_api/model/get_phones_response_phone.rb', line 14 def initialize( phone_number, number, prefix, friendly_name, flag, city, country ) @phone_number = phone_number @number = number @prefix = prefix @friendly_name = friendly_name @flag = flag @city = city @country = country end |
Instance Attribute Details
#city ⇒ Object
Returns the value of attribute city.
11 12 13 |
# File 'lib/call_recorder_api/model/get_phones_response_phone.rb', line 11 def city @city end |
#country ⇒ Object
Returns the value of attribute country.
12 13 14 |
# File 'lib/call_recorder_api/model/get_phones_response_phone.rb', line 12 def country @country end |
#flag ⇒ Object
Returns the value of attribute flag.
10 11 12 |
# File 'lib/call_recorder_api/model/get_phones_response_phone.rb', line 10 def flag @flag end |
#friendly_name ⇒ Object
Returns the value of attribute friendly_name.
9 10 11 |
# File 'lib/call_recorder_api/model/get_phones_response_phone.rb', line 9 def friendly_name @friendly_name end |
#number ⇒ Object
Returns the value of attribute number.
7 8 9 |
# File 'lib/call_recorder_api/model/get_phones_response_phone.rb', line 7 def number @number end |
#phone_number ⇒ Object
Returns the value of attribute phone_number.
6 7 8 |
# File 'lib/call_recorder_api/model/get_phones_response_phone.rb', line 6 def phone_number @phone_number end |
#prefix ⇒ Object
Returns the value of attribute prefix.
8 9 10 |
# File 'lib/call_recorder_api/model/get_phones_response_phone.rb', line 8 def prefix @prefix end |
Instance Method Details
#to_s ⇒ Object
32 33 34 35 36 37 38 39 40 41 42 |
# File 'lib/call_recorder_api/model/get_phones_response_phone.rb', line 32 def to_s 'GetPhonesResponsePhone{' + 'phone_number=' + phone_number.to_s + ', ' + 'number=' + number.to_s + ', ' + 'prefix=' + prefix.to_s + ', ' + 'friendly_name=' + friendly_name.to_s + ', ' + 'flag=' + flag.to_s + ', ' + 'city=' + city.to_s + ', ' + 'country=' + country.to_s + '}' end |