Method: Bandwidth::OptInWorkflow#valid?
- Defined in:
- lib/bandwidth-sdk/models/opt_in_workflow.rb
#valid? ⇒ Boolean
Check to see if the all the properties in the model are valid
128 129 130 131 132 133 134 135 136 137 |
# File 'lib/bandwidth-sdk/models/opt_in_workflow.rb', line 128 def valid? warn '[DEPRECATED] the `valid?` method is obsolete' return false if @description.nil? return false if @description.to_s.length > 500 return false if @description.to_s.length < 1 return false if @image_urls.nil? return false if !@confirmation_response.nil? && @confirmation_response.to_s.length > 500 return false if !@confirmation_response.nil? && @confirmation_response.to_s.length < 0 true end |