Class: ContextDev::Models::MonitorListResponse::Data::Webhook
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- ContextDev::Models::MonitorListResponse::Data::Webhook
- Defined in:
- lib/context_dev/models/monitor_list_response.rb,
sig/context_dev/models/monitor_list_response.rbs
Overview
Instance Attribute Summary collapse
-
#secret ⇒ String?
readonly
Returns the value of attribute secret.
-
#url ⇒ String
Webhook URL called when a change is detected.
Instance Method Summary collapse
-
#initialize(url:, secret: nil) ⇒ Webhook
constructor
Some parameter documentations has been truncated, see Webhook for more details.
- #secret ⇒ String readonly
- #to_hash ⇒ { url: String, secret: String }
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(url:, secret: nil) ⇒ Webhook
Some parameter documentations has been truncated, see ContextDev::Models::MonitorListResponse::Data::Webhook for more details.
|
|
# File 'lib/context_dev/models/monitor_list_response.rb', line 496
|
Instance Attribute Details
#secret ⇒ String? (readonly)
Returns the value of attribute secret.
385 386 387 |
# File 'sig/context_dev/models/monitor_list_response.rbs', line 385 def secret @secret end |
#url ⇒ String
Webhook URL called when a change is detected.
482 |
# File 'lib/context_dev/models/monitor_list_response.rb', line 482 required :url, String |
Instance Method Details
#secret= ⇒ String (readonly)
387 |
# File 'sig/context_dev/models/monitor_list_response.rbs', line 387
def secret=: (String) -> String
|
#to_hash ⇒ { url: String, secret: String }
391 |
# File 'sig/context_dev/models/monitor_list_response.rbs', line 391
def to_hash: -> { url: String, secret: String }
|