Method: MailSlurpClient::Complaint#valid?

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

#valid?Boolean

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

Returns:

  • (Boolean)

    true if the model is valid



140
141
142
143
144
145
146
# File 'lib/mailslurp_client/models/complaint.rb', line 140

def valid?
  return false if @id.nil?
  return false if @complaint_recipient.nil?
  return false if @created_at.nil?
  return false if @updated_at.nil?
  true
end