Class: Moonbase::Models::InboxMessageUpdateParams

Inherits:
Internal::Type::BaseModel show all
Extended by:
Internal::Type::RequestParameters::Converter
Includes:
Internal::Type::RequestParameters
Defined in:
lib/moonbase/models/inbox_message_update_params.rb

Overview

Instance Attribute Summary collapse

Attributes included from Internal::Type::RequestParameters

#request_options

Instance Method Summary collapse

Methods included from Internal::Type::RequestParameters::Converter

dump_request

Methods included from Internal::Type::RequestParameters

included

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(id:, lock_version:, bcc: nil, body: nil, cc: nil, subject: nil, to: nil, request_options: {}) ⇒ Object

Parameters:



# File 'lib/moonbase/models/inbox_message_update_params.rb', line 51

Instance Attribute Details

#bccArray<Moonbase::Models::EmailMessageAddressParams>?

A list of the BCC recipients.



25
# File 'lib/moonbase/models/inbox_message_update_params.rb', line 25

optional :bcc, -> { Moonbase::Internal::Type::ArrayOf[Moonbase::EmailMessageAddressParams] }

#bodyMoonbase::Models::FormattedText?

The email body.



31
# File 'lib/moonbase/models/inbox_message_update_params.rb', line 31

optional :body, -> { Moonbase::FormattedText }

#ccArray<Moonbase::Models::EmailMessageAddressParams>?

A list of the CC recipients.



37
# File 'lib/moonbase/models/inbox_message_update_params.rb', line 37

optional :cc, -> { Moonbase::Internal::Type::ArrayOf[Moonbase::EmailMessageAddressParams] }

#idString

Returns:

  • (String)


13
# File 'lib/moonbase/models/inbox_message_update_params.rb', line 13

required :id, String

#lock_versionInteger

The current lock version of the draft for optimistic concurrency control.

Returns:

  • (Integer)


19
# File 'lib/moonbase/models/inbox_message_update_params.rb', line 19

required :lock_version, Integer

#subjectString?

The subject line of the email.

Returns:

  • (String, nil)


43
# File 'lib/moonbase/models/inbox_message_update_params.rb', line 43

optional :subject, String

#toArray<Moonbase::Models::EmailMessageAddressParams>?

A list of the recipients.



49
# File 'lib/moonbase/models/inbox_message_update_params.rb', line 49

optional :to, -> { Moonbase::Internal::Type::ArrayOf[Moonbase::EmailMessageAddressParams] }