Class: Ovh::Api::Models::EmailExchangeSpamAndVirusConfiguration
- Inherits:
-
Object
- Object
- Ovh::Api::Models::EmailExchangeSpamAndVirusConfiguration
- Includes:
- Serializable, Validations
- Defined in:
- lib/ovh-api/models/email_exchange_spam_and_virus_configuration.rb
Instance Method Summary collapse
-
#initialize(**attrs) ⇒ EmailExchangeSpamAndVirusConfiguration
constructor
A new instance of EmailExchangeSpamAndVirusConfiguration.
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) ⇒ EmailExchangeSpamAndVirusConfiguration
Returns a new instance of EmailExchangeSpamAndVirusConfiguration.
49 50 51 52 53 54 55 56 |
# File 'lib/ovh-api/models/email_exchange_spam_and_virus_configuration.rb', line 49 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 |