Class: Ovh::Api::Models::TelephonyBillingAccountLineServiceNamePhoneChangePhoneHfd771034
- Inherits:
-
Object
- Object
- Ovh::Api::Models::TelephonyBillingAccountLineServiceNamePhoneChangePhoneHfd771034
- Includes:
- Serializable, Validations
- Defined in:
- lib/ovh-api/models/telephony_billing_account_line_service_name_phone_change_phone_hfd771034.rb
Instance Method Summary collapse
-
#initialize(**attrs) ⇒ TelephonyBillingAccountLineServiceNamePhoneChangePhoneHfd771034
constructor
A new instance of TelephonyBillingAccountLineServiceNamePhoneChangePhoneHfd771034.
Methods included from Validations
included, #list_invalid_properties, #valid?
Methods included from Serializable
#==, #hash, serialize, #to_body, #to_hash, #to_json, #to_s
Constructor Details
#initialize(**attrs) ⇒ TelephonyBillingAccountLineServiceNamePhoneChangePhoneHfd771034
Returns a new instance of TelephonyBillingAccountLineServiceNamePhoneChangePhoneHfd771034.
24 25 26 27 28 29 30 31 |
# File 'lib/ovh-api/models/telephony_billing_account_line_service_name_phone_change_phone_hfd771034.rb', line 24 def initialize(**attrs) attrs.each do |k, v| raise ArgumentError, "unknown attribute: #{k}" unless respond_to?("#{k}=") public_send("#{k}=", v) end raise ArgumentError, list_invalid_properties.join(', ') unless valid? end |