Class: Openlayer::Models::Projects::InferencePipelineCreateResponse::Workspace::MonthlyUsage

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/openlayer/models/projects/inference_pipeline_create_response.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Internal::Type::BaseModel

==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml

Methods included from Internal::Type::Converter

#coerce, coerce, #dump, dump, inspect, #inspect, meta_info, new_coerce_state, type_info

Methods included from Internal::Util::SorbetRuntimeSupport

#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type

Constructor Details

#initialize(execution_time_ms: nil, month_year: nil, prediction_count: nil) ⇒ Object

Parameters:

  • execution_time_ms (Integer, nil) (defaults to: nil)
  • month_year (Date) (defaults to: nil)
  • prediction_count (Integer) (defaults to: nil)


# File 'lib/openlayer/models/projects/inference_pipeline_create_response.rb', line 603

Instance Attribute Details

#execution_time_msInteger?

Returns:

  • (Integer, nil)


591
# File 'lib/openlayer/models/projects/inference_pipeline_create_response.rb', line 591

optional :execution_time_ms, Integer, api_name: :executionTimeMs, nil?: true

#month_yearDate?

Returns:

  • (Date, nil)


596
# File 'lib/openlayer/models/projects/inference_pipeline_create_response.rb', line 596

optional :month_year, Date, api_name: :monthYear

#prediction_countInteger?

Returns:

  • (Integer, nil)


601
# File 'lib/openlayer/models/projects/inference_pipeline_create_response.rb', line 601

optional :prediction_count, Integer, api_name: :predictionCount