Class: Ovh::Api::Models::OrderTelephonyBillingAccountNumberNogeographicPostRequest
- Inherits:
-
Object
- Object
- Ovh::Api::Models::OrderTelephonyBillingAccountNumberNogeographicPostRequest
- Includes:
- Serializable, Validations
- Defined in:
- lib/ovh-api/models/order_telephony_billing_account_number_nogeographic_post_request.rb
Instance Method Summary collapse
-
#initialize(**attrs) ⇒ OrderTelephonyBillingAccountNumberNogeographicPostRequest
constructor
A new instance of OrderTelephonyBillingAccountNumberNogeographicPostRequest.
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) ⇒ OrderTelephonyBillingAccountNumberNogeographicPostRequest
Returns a new instance of OrderTelephonyBillingAccountNumberNogeographicPostRequest.
109 110 111 112 113 114 115 116 |
# File 'lib/ovh-api/models/order_telephony_billing_account_number_nogeographic_post_request.rb', line 109 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 |