Class: CallRecorderApi::Model::UpdateStarRequest
- Inherits:
-
Object
- Object
- CallRecorderApi::Model::UpdateStarRequest
- Defined in:
- lib/call_recorder_api/model/update_star_request.rb
Instance Attribute Summary collapse
-
#api_key ⇒ Object
Returns the value of attribute api_key.
-
#id ⇒ Object
Returns the value of attribute id.
-
#star ⇒ Object
Returns the value of attribute star.
-
#type ⇒ Object
Returns the value of attribute type.
Instance Method Summary collapse
-
#initialize(api_key, id, star, type) ⇒ UpdateStarRequest
constructor
A new instance of UpdateStarRequest.
- #to_s ⇒ Object
Constructor Details
#initialize(api_key, id, star, type) ⇒ UpdateStarRequest
Returns a new instance of UpdateStarRequest.
11 12 13 14 15 16 17 18 19 20 21 |
# File 'lib/call_recorder_api/model/update_star_request.rb', line 11 def initialize( api_key, id, star, type ) @api_key = api_key @id = id @star = star @type = type end |
Instance Attribute Details
#api_key ⇒ Object
Returns the value of attribute api_key.
6 7 8 |
# File 'lib/call_recorder_api/model/update_star_request.rb', line 6 def api_key @api_key end |
#id ⇒ Object
Returns the value of attribute id.
7 8 9 |
# File 'lib/call_recorder_api/model/update_star_request.rb', line 7 def id @id end |
#star ⇒ Object
Returns the value of attribute star.
8 9 10 |
# File 'lib/call_recorder_api/model/update_star_request.rb', line 8 def star @star end |
#type ⇒ Object
Returns the value of attribute type.
9 10 11 |
# File 'lib/call_recorder_api/model/update_star_request.rb', line 9 def type @type end |
Instance Method Details
#to_s ⇒ Object
23 24 25 26 27 28 29 30 |
# File 'lib/call_recorder_api/model/update_star_request.rb', line 23 def to_s 'UpdateStarRequest{' + 'api_key=' + api_key.to_s + ', ' + 'id=' + id.to_s + ', ' + 'star=' + star.to_s + ', ' + 'type=' + type.to_s + '}' end |