Class: SurgeAPI::Models::Blast

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/surge_api/models/blast.rb

Overview

Defined Under Namespace

Classes: Attachment

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 SurgeAPI::Internal::Type::BaseModel

Instance Attribute Details

#attachmentsArray<SurgeAPI::Models::Blast::Attachment>?

Returns:



16
# File 'lib/surge_api/models/blast.rb', line 16

optional :attachments, -> { SurgeAPI::Internal::Type::ArrayOf[SurgeAPI::Blast::Attachment] }

#bodyString?

The message body.

Returns:

  • (String, nil)


22
# File 'lib/surge_api/models/blast.rb', line 22

optional :body, String, nil?: true

#idString?

Unique identifier for the object.

Returns:

  • (String, nil)


11
# File 'lib/surge_api/models/blast.rb', line 11

optional :id, String

#nameString?

Optional name for the blast.

Returns:

  • (String, nil)


28
# File 'lib/surge_api/models/blast.rb', line 28

optional :name, String

#send_atTime?

When the blast will be or was sent.

Returns:

  • (Time, nil)


34
# File 'lib/surge_api/models/blast.rb', line 34

optional :send_at, Time