Class: ContextDev::Models::MonitorListResponse::Data::Baseline::MonitorsExtractBaseline

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/context_dev/models/monitor_list_response.rb,
sig/context_dev/models/monitor_list_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

#initializeObject



416
# File 'sig/context_dev/models/monitor_list_response.rbs', line 416

def initialize: (

Instance Attribute Details

#captured_atTime

When this baseline was last captured or replaced.

Parameters:

  • value (Time)

Returns:

  • (Time)


545
# File 'lib/context_dev/models/monitor_list_response.rb', line 545

required :captured_at, Time

#dataObject

The extracted structured data, matching the monitor's extraction schema (same shape as the /web/extract endpoint's data). Refreshed when the monitor re-discovers its page set (at most about once a day); null when no extraction has been captured yet.

Parameters:

  • value (top)

Returns:

  • (Object)


554
# File 'lib/context_dev/models/monitor_list_response.rb', line 554

required :data, ContextDev::Internal::Type::Unknown

#urls_analyzedArray<String>

The page URLs the monitor tracks and analyzes for changes.

Parameters:

  • value (::Array[String])

Returns:

  • (Array<String>)


560
# File 'lib/context_dev/models/monitor_list_response.rb', line 560

required :urls_analyzed, ContextDev::Internal::Type::ArrayOf[String]

Instance Method Details

#to_hash{

Returns:

  • ({)


422
# File 'sig/context_dev/models/monitor_list_response.rbs', line 422

def to_hash: -> {