Class: FinchAPI::Models::JobCompletionEvent::Data

Inherits:
BaseModel
  • Object
show all
Defined in:
lib/finch-api/models/job_completion_event.rb

Overview

def initialize: (Hash | FinchAPI::BaseModel) -> void

Instance Attribute Summary collapse

Method Summary

Methods inherited from BaseModel

==, #==, #[], coerce, #deconstruct_keys, dump, fields, #initialize, #inspect, known_fields, optional, required, #to_h

Methods included from Converter

#coerce, coerce, #dump, dump, type_info

Constructor Details

This class inherits a constructor from FinchAPI::BaseModel

Instance Attribute Details

#job_idString

The id of the job which has completed.

Returns:

  • (String)


37
# File 'lib/finch-api/models/job_completion_event.rb', line 37

required :job_id, String

#job_urlString

The url to query the result of the job.

Returns:

  • (String)


43
# File 'lib/finch-api/models/job_completion_event.rb', line 43

required :job_url, String