Method: Daily::BatchProcessorError#valid?

Defined in:
lib/daily-ruby/models/batch_processor_error.rb

#valid?Boolean

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

Returns:

  • (Boolean)

    true if the model is valid



124
125
126
127
128
129
# File 'lib/daily-ruby/models/batch_processor_error.rb', line 124

def valid?
  warn '[DEPRECATED] the `valid?` method is obsolete'
  type_validator = EnumAttributeValidator.new('String', ["batch-processor.job-finished", "unknown_default_open_api"])
  return false unless type_validator.valid?(@type)
  true
end