Class: Twilio::REST::Voice::V1::DialingPermissionsList::BulkCountryUpdateInstance
- Inherits:
-
InstanceResource
- Object
- InstanceResource
- Twilio::REST::Voice::V1::DialingPermissionsList::BulkCountryUpdateInstance
- Defined in:
- lib/twilio-ruby/rest/voice/v1/dialing_permissions/bulk_country_update.rb
Overview
PLEASE NOTE that this class contains preview products that are subject to change. Use them with caution. If you currently do not have developer preview access, please contact [email protected]
Instance Method Summary collapse
-
#initialize(version, payload) ⇒ BulkCountryUpdateInstance
constructor
Initialize the BulkCountryUpdateInstance.
-
#inspect ⇒ Object
Provide a detailed, user friendly representation.
-
#to_s ⇒ Object
Provide a user friendly representation.
-
#update_count ⇒ String
The number of countries updated.
-
#update_request ⇒ String
A URL encoded JSON array of update objects.
Constructor Details
#initialize(version, payload) ⇒ BulkCountryUpdateInstance
Initialize the BulkCountryUpdateInstance
90 91 92 93 94 95 96 97 98 |
# File 'lib/twilio-ruby/rest/voice/v1/dialing_permissions/bulk_country_update.rb', line 90 def initialize(version, payload) super(version) # Marshaled Properties @properties = { 'update_count' => payload['update_count'].to_i, 'update_request' => payload['update_request'], } end |
Instance Method Details
#inspect ⇒ Object
Provide a detailed, user friendly representation
120 121 122 |
# File 'lib/twilio-ruby/rest/voice/v1/dialing_permissions/bulk_country_update.rb', line 120 def inspect "<Twilio.Voice.V1.BulkCountryUpdateInstance>" end |
#to_s ⇒ Object
Provide a user friendly representation
114 115 116 |
# File 'lib/twilio-ruby/rest/voice/v1/dialing_permissions/bulk_country_update.rb', line 114 def to_s "<Twilio.Voice.V1.BulkCountryUpdateInstance>" end |
#update_count ⇒ String
Returns The number of countries updated.
102 103 104 |
# File 'lib/twilio-ruby/rest/voice/v1/dialing_permissions/bulk_country_update.rb', line 102 def update_count @properties['update_count'] end |
#update_request ⇒ String
Returns A URL encoded JSON array of update objects.
108 109 110 |
# File 'lib/twilio-ruby/rest/voice/v1/dialing_permissions/bulk_country_update.rb', line 108 def update_request @properties['update_request'] end |