Class: Sentdm::Models::WebhookEventType

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/sentdm/models/webhook_event_type.rb

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

#initialize(description: nil, display_name: nil, event_type: nil, is_active: nil, name: nil, sub_types: nil) ⇒ Object

Parameters:

  • description (String, nil) (defaults to: nil)
  • display_name (String) (defaults to: nil)
  • event_type (String, nil) (defaults to: nil)
  • is_active (Boolean) (defaults to: nil)
  • name (String) (defaults to: nil)
  • sub_types (Array<Sentdm::Models::WebhookEventType>, nil) (defaults to: nil)


# File 'lib/sentdm/models/webhook_event_type.rb', line 36

Instance Attribute Details

#descriptionString?

Returns:

  • (String, nil)


9
# File 'lib/sentdm/models/webhook_event_type.rb', line 9

optional :description, String, nil?: true

#display_nameString?

Returns:

  • (String, nil)


14
# File 'lib/sentdm/models/webhook_event_type.rb', line 14

optional :display_name, String

#event_typeString?

Returns:

  • (String, nil)


19
# File 'lib/sentdm/models/webhook_event_type.rb', line 19

optional :event_type, String, nil?: true

#is_activeBoolean?

Returns:

  • (Boolean, nil)


24
# File 'lib/sentdm/models/webhook_event_type.rb', line 24

optional :is_active, Sentdm::Internal::Type::Boolean

#nameString?

Returns:

  • (String, nil)


29
# File 'lib/sentdm/models/webhook_event_type.rb', line 29

optional :name, String

#sub_typesArray<Sentdm::Models::WebhookEventType>?

Returns:



34
# File 'lib/sentdm/models/webhook_event_type.rb', line 34

optional :sub_types, -> { Sentdm::Internal::Type::ArrayOf[Sentdm::WebhookEventType] }, nil?: true