Method: PhoneComClient::CreateSmsParams#list_invalid_properties
- Defined in:
- lib/phone_com_client/models/create_sms_params.rb
#list_invalid_properties ⇒ Object
Show invalid properties with the reasons. Usually used together with valid?
76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 |
# File 'lib/phone_com_client/models/create_sms_params.rb', line 76 def list_invalid_properties invalid_properties = Array.new if @from.nil? invalid_properties.push('invalid value for "from", from cannot be nil.') end if @to.nil? invalid_properties.push('invalid value for "to", to cannot be nil.') end if @text.nil? invalid_properties.push('invalid value for "text", text cannot be nil.') end invalid_properties end |