Method: DocSpring::TemplateAddFieldsResponse#valid?
- Defined in:
- lib/docspring/models/template_add_fields_response.rb
#valid? ⇒ Boolean
Check to see if the all the properties in the model are valid
123 124 125 126 127 128 129 |
# File 'lib/docspring/models/template_add_fields_response.rb', line 123 def valid? warn '[DEPRECATED] the `valid?` method is obsolete' return false if @status.nil? status_validator = EnumAttributeValidator.new('String', ["success", "error"]) return false unless status_validator.valid?(@status) true end |