def valid?
      return false if @id.nil?
      return false if @test.nil?
      return false if @expired.nil?
      return false if @state.nil?
      state_validator = EnumAttributeValidator.new('String', ['pending', 'processed', 'invalid_data', 'error', 'image_download_failed', 'image_processing_failed', 'waiting_for_data_requests', 'liquid_syntax_error'])
      return false unless state_validator.valid?(@state)
      true
    end
def valid?
      return false if @id.nil?
      return false if @test.nil?
      return false if @expired.nil?
      return false if @state.nil?
      state_validator = EnumAttributeValidator.new('String', ['pending', 'processed', 'invalid_data', 'error', 'image_download_failed', 'image_processing_failed', 'waiting_for_data_requests', 'liquid_syntax_error'])
      return false unless state_validator.valid?(@state)
      true
    end
Check to see if the all the properties in the model are valid
 @return true if the model is valid