Class: ContextDev::Models::MonitorCreateParams::Target::Page
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- ContextDev::Models::MonitorCreateParams::Target::Page
- Defined in:
- lib/context_dev/models/monitor_create_params.rb,
sig/context_dev/models/monitor_create_params.rbs
Instance Attribute Summary collapse
-
#normalize_whitespace ⇒ Boolean?
Normalize whitespace before comparing or analyzing text.
- #type ⇒ Symbol, :page
- #url ⇒ String
Instance Method Summary collapse
- #initialize ⇒ Object constructor
- #to_hash ⇒ {
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 ⇒ Object
174 |
# File 'sig/context_dev/models/monitor_create_params.rbs', line 174
def initialize: (
|
Instance Attribute Details
#normalize_whitespace ⇒ Boolean?
Normalize whitespace before comparing or analyzing text.
212 |
# File 'lib/context_dev/models/monitor_create_params.rb', line 212 optional :normalize_whitespace, ContextDev::Internal::Type::Boolean |
#type ⇒ Symbol, :page
201 |
# File 'lib/context_dev/models/monitor_create_params.rb', line 201 required :type, const: :page |
#url ⇒ String
206 |
# File 'lib/context_dev/models/monitor_create_params.rb', line 206 required :url, String |
Instance Method Details
#to_hash ⇒ {
180 |
# File 'sig/context_dev/models/monitor_create_params.rbs', line 180
def to_hash: -> {
|