Method: OryClient::MessageDispatch#valid?

Defined in:
lib/ory-client/models/message_dispatch.rb

#valid?Boolean

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

Returns:

  • (Boolean)

    true if the model is valid



162
163
164
165
166
167
168
169
170
171
# File 'lib/ory-client/models/message_dispatch.rb', line 162

def valid?
  return false if @created_at.nil?
  return false if @id.nil?
  return false if @message_id.nil?
  return false if @status.nil?
  status_validator = EnumAttributeValidator.new('String', ["failed", "success"])
  return false unless status_validator.valid?(@status)
  return false if @updated_at.nil?
  true
end