Class: ContextDev::Models::MonitorListResponse::Data::Target::Sitemap

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



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

def initialize: (

Instance Attribute Details

#excludeArray<String>?

URL path patterns to exclude.

Parameters:

  • (::Array[String])

Returns:

  • (Array<String>, nil)


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

optional :exclude, ContextDev::Internal::Type::ArrayOf[String]

#includeArray<String>?

URL path patterns to include.

Parameters:

  • (::Array[String])

Returns:

  • (Array<String>, nil)


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

optional :include, ContextDev::Internal::Type::ArrayOf[String]

#max_urlsInteger?

Maximum number of sitemap URLs to track (capped at 10,000).

Parameters:

  • (Integer)

Returns:

  • (Integer, nil)


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

optional :max_urls, Integer

#typeSymbol, :sitemap

Parameters:

  • value (:sitemap)

Returns:

  • (Symbol, :sitemap)


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

required :type, const: :sitemap

#urlString

Sitemap URL to monitor.

Parameters:

  • value (String)

Returns:

  • (String)


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

required :url, String

Instance Method Details

#to_hash{

Returns:

  • ({)


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

def to_hash: -> {