Method: MailSlurpClient::TemplateDto#valid?

Defined in:
lib/mailslurp_client/models/template_dto.rb

#valid?Boolean

Check to see if the all the properties in the model are valid

Returns:

  • (Boolean)

    true if the model is valid



128
129
130
131
132
133
134
135
# File 'lib/mailslurp_client/models/template_dto.rb', line 128

def valid?
  return false if @id.nil?
  return false if @name.nil?
  return false if @variables.nil?
  return false if @content.nil?
  return false if @created_at.nil?
  true
end