Method: MailSlurpClient::EmailFeatureCategoryName#valid?
- Defined in:
- lib/mailslurp_client/models/email_feature_category_name.rb
#valid? ⇒ Boolean
Check to see if the all the properties in the model are valid
106 107 108 109 110 111 112 |
# File 'lib/mailslurp_client/models/email_feature_category_name.rb', line 106 def valid? return false if @slug.nil? slug_validator = EnumAttributeValidator.new('String', ["css", "html", "image", "others"]) return false unless slug_validator.valid?(@slug) return false if @name.nil? true end |