Class: FinchAPI::Models::Jobs::AutomatedCreateParams
- Includes:
- RequestParameters
- Defined in:
- lib/finch-api/models/jobs/automated_create_params.rb
Defined Under Namespace
Instance Attribute Summary collapse
- #params ⇒ FinchAPI::Models::Jobs::AutomatedCreateParams::Params
-
#type ⇒ Symbol, FinchAPI::Models::Jobs::AutomatedCreateParams::Type
The type of job to start.
Attributes included from RequestParameters
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(type:, params:, request_options: {}) ⇒ AutomatedCreateParams
constructor
A new instance of AutomatedCreateParams.
Methods included from RequestParameters
Methods inherited from BaseModel
==, #==, #[], coerce, #deconstruct_keys, dump, fields, #inspect, known_fields, optional, required, #to_h
Methods included from Converter
#coerce, coerce, #dump, dump, type_info
Constructor Details
#initialize(type:, params:, request_options: {}) ⇒ AutomatedCreateParams
Returns a new instance of AutomatedCreateParams.
5 |
# File 'lib/finch-api/models/jobs/automated_create_params.rb', line 5 def initialize(type:, params:, request_options: {}, **) = super |
Instance Attribute Details
#params ⇒ FinchAPI::Models::Jobs::AutomatedCreateParams::Params
20 |
# File 'lib/finch-api/models/jobs/automated_create_params.rb', line 20 required :params, -> { FinchAPI::Models::Jobs::AutomatedCreateParams::Params } |
#type ⇒ Symbol, FinchAPI::Models::Jobs::AutomatedCreateParams::Type
The type of job to start.
15 |
# File 'lib/finch-api/models/jobs/automated_create_params.rb', line 15 required :type, enum: -> { FinchAPI::Models::Jobs::AutomatedCreateParams::Type } |
Class Method Details
.values ⇒ Array<Symbol>
2 |
# File 'lib/finch-api/models/jobs/automated_create_params.rb', line 2 def self.values; end |