Class: Trycourier::Models::InboundBulkMessage::InboundBulkTemplateMessage

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/trycourier/models/inbound_bulk_message.rb

Instance Attribute Summary collapse

Method Summary

Methods inherited from Internal::Type::BaseModel

#==, ==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, #initialize, 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

This class inherits a constructor from Trycourier::Internal::Type::BaseModel

Instance Attribute Details

#brandString?

Returns:

  • (String, nil)


21
# File 'lib/trycourier/models/inbound_bulk_message.rb', line 21

optional :brand, String, nil?: true

#dataHash{Symbol=>Object}?

Returns:

  • (Hash{Symbol=>Object}, nil)


26
# File 'lib/trycourier/models/inbound_bulk_message.rb', line 26

optional :data, Trycourier::Internal::Type::HashOf[Trycourier::Internal::Type::Unknown], nil?: true

#eventString?

Returns:

  • (String, nil)


31
# File 'lib/trycourier/models/inbound_bulk_message.rb', line 31

optional :event, String, nil?: true

#localeHash{Symbol=>Hash{Symbol=>Object}}?

Returns:

  • (Hash{Symbol=>Hash{Symbol=>Object}}, nil)


36
37
38
# File 'lib/trycourier/models/inbound_bulk_message.rb', line 36

optional :locale,
Trycourier::Internal::Type::HashOf[Trycourier::Internal::Type::HashOf[Trycourier::Internal::Type::Unknown]],
nil?: true

#overrideHash{Symbol=>Object}?

Returns:

  • (Hash{Symbol=>Object}, nil)


43
44
45
# File 'lib/trycourier/models/inbound_bulk_message.rb', line 43

optional :override,
Trycourier::Internal::Type::HashOf[Trycourier::Internal::Type::Unknown],
nil?: true

#templateString

Returns:

  • (String)


16
# File 'lib/trycourier/models/inbound_bulk_message.rb', line 16

required :template, String