Class: ContextDev::Models::MonitorCreateResponse::Target::Sitemap

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



265
# File 'sig/context_dev/models/monitor_create_response.rbs', line 265

def initialize: (

Instance Attribute Details

#excludeArray<String>?

URL path patterns to exclude.

Parameters:

  • (::Array[String])

Returns:

  • (Array<String>, nil)


337
# File 'lib/context_dev/models/monitor_create_response.rb', line 337

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

#includeArray<String>?

URL path patterns to include.

Parameters:

  • (::Array[String])

Returns:

  • (Array<String>, nil)


343
# File 'lib/context_dev/models/monitor_create_response.rb', line 343

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)


349
# File 'lib/context_dev/models/monitor_create_response.rb', line 349

optional :max_urls, Integer

#typeSymbol, :sitemap

Parameters:

  • value (:sitemap)

Returns:

  • (Symbol, :sitemap)


325
# File 'lib/context_dev/models/monitor_create_response.rb', line 325

required :type, const: :sitemap

#urlString

Sitemap URL to monitor.

Parameters:

  • value (String)

Returns:

  • (String)


331
# File 'lib/context_dev/models/monitor_create_response.rb', line 331

required :url, String

Instance Method Details

#to_hash{

Returns:

  • ({)


273
# File 'sig/context_dev/models/monitor_create_response.rbs', line 273

def to_hash: -> {