Class: GrowsurfRuby::Models::Campaign::WebhookUpdateParams
Overview
Constant Summary
Internal::Type::RequestParameters::GrowsurfRuby
Instance Attribute Summary collapse
#request_options
Instance Method Summary
collapse
dump_request
included
==, #==, #[], 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
#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize(id:, webhook_id:, events: nil, is_enabled: nil, payload_url: nil, secret: nil, request_options: {}) ⇒ Object
|
# File 'lib/growsurf_ruby/models/campaign/webhook_update_params.rb', line 42
|
Instance Attribute Details
24
|
# File 'lib/growsurf_ruby/models/campaign/webhook_update_params.rb', line 24
optional :events, -> { GrowsurfRuby::Internal::Type::ArrayOf[enum: GrowsurfRuby::Campaign::WebhookEvent] }
|
#id ⇒ String
14
|
# File 'lib/growsurf_ruby/models/campaign/webhook_update_params.rb', line 14
required :id, String
|
#is_enabled ⇒ Boolean?
29
|
# File 'lib/growsurf_ruby/models/campaign/webhook_update_params.rb', line 29
optional :is_enabled, GrowsurfRuby::Internal::Type::Boolean, api_name: :isEnabled
|
#payload_url ⇒ String?
34
|
# File 'lib/growsurf_ruby/models/campaign/webhook_update_params.rb', line 34
optional :payload_url, String, api_name: :payloadUrl
|
#secret ⇒ String?
40
|
# File 'lib/growsurf_ruby/models/campaign/webhook_update_params.rb', line 40
optional :secret, String
|
#webhook_id ⇒ String
19
|
# File 'lib/growsurf_ruby/models/campaign/webhook_update_params.rb', line 19
required :webhook_id, String
|
Instance Method Details
#to_hash ⇒ {
51
|
# File 'sig/growsurf_ruby/models/campaign/webhook_update_params.rbs', line 51
def to_hash: -> {
|