Class: Openlayer::Models::TestListResultsResponse::Item::Goal::Threshold::InsightParameter

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/openlayer/models/test_list_results_response.rb,
sig/openlayer/models/test_list_results_response.rbs

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

#initializeInsightParameter

Returns a new instance of InsightParameter.

Parameters:

  • name: (String)
  • value: (top)


525
# File 'sig/openlayer/models/test_list_results_response.rbs', line 525

def initialize: (name: String, value: top) -> void

Instance Attribute Details

#nameString

The name of the insight filter.

Parameters:

  • value (String)

Returns:

  • (String)


542
# File 'lib/openlayer/models/test_list_results_response.rb', line 542

required :name, String

#valueObject

Parameters:

  • value (top)

Returns:

  • (Object)


547
# File 'lib/openlayer/models/test_list_results_response.rb', line 547

required :value, Openlayer::Internal::Type::Unknown

Instance Method Details

#to_hash{ name: String, value: top }

Returns:

  • ({ name: String, value: top })


527
# File 'sig/openlayer/models/test_list_results_response.rbs', line 527

def to_hash: -> { name: String, value: top }