Class: Sentdm::Models::WebhookEventType
Instance Attribute Summary collapse
Instance Method Summary
collapse
==, #==, #[], 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(description: nil, display_name: nil, event_type: nil, is_active: nil, name: nil, sub_types: nil) ⇒ Object
|
# File 'lib/sentdm/models/webhook_event_type.rb', line 36
|
Instance Attribute Details
#description ⇒ String?
9
|
# File 'lib/sentdm/models/webhook_event_type.rb', line 9
optional :description, String, nil?: true
|
#display_name ⇒ String?
14
|
# File 'lib/sentdm/models/webhook_event_type.rb', line 14
optional :display_name, String
|
#event_type ⇒ String?
19
|
# File 'lib/sentdm/models/webhook_event_type.rb', line 19
optional :event_type, String, nil?: true
|
#is_active ⇒ Boolean?
24
|
# File 'lib/sentdm/models/webhook_event_type.rb', line 24
optional :is_active, Sentdm::Internal::Type::Boolean
|
#name ⇒ String?
29
|
# File 'lib/sentdm/models/webhook_event_type.rb', line 29
optional :name, String
|
34
|
# File 'lib/sentdm/models/webhook_event_type.rb', line 34
optional :sub_types, -> { Sentdm::Internal::Type::ArrayOf[Sentdm::WebhookEventType] }, nil?: true
|
Instance Method Details
#to_hash ⇒ {
41
|
# File 'sig/sentdm/models/webhook_event_type.rbs', line 41
def to_hash: -> {
|