Class: Inttegro::Chime::SMSSettings

Inherits:
T::Struct
  • Object
show all
Defined in:
lib/inttegro/chime/sms_settings.rb

Overview

Typed representation of the sms settings object in the Inttegro API.

This generated model is immutable. Construct it with .new, or decode a string-keyed API payload with .from_hash. #serialize produces a string-keyed hash using the original wire field names and serialized enum values.

Instance Attribute Summary collapse

Instance Attribute Details

#default_sender ⇒ String (readonly)

Platform fallback sender ID for SMS delivery.

Required in the API payload. Wire name: default_sender.

Returns:

  • (String)


35
36
37
38
39
# File 'lib/inttegro/chime/sms_settings.rb', line 35

class SMSSettings < T::Struct
  const :default_sender, String
  const :min_sender_char_len, Integer
  const :max_sender_char_len, Integer
end

#max_sender_char_len ⇒ Integer (readonly)

Value of the max_sender_char_len field in the Inttegro API payload.

Required in the API payload. Wire name: max_sender_char_len.

Returns:

  • (Integer)


35
36
37
38
39
# File 'lib/inttegro/chime/sms_settings.rb', line 35

class SMSSettings < T::Struct
  const :default_sender, String
  const :min_sender_char_len, Integer
  const :max_sender_char_len, Integer
end

#min_sender_char_len ⇒ Integer (readonly)

Value of the min_sender_char_len field in the Inttegro API payload.

Required in the API payload. Wire name: min_sender_char_len.

Returns:

  • (Integer)


35
36
37
38
39
# File 'lib/inttegro/chime/sms_settings.rb', line 35

class SMSSettings < T::Struct
  const :default_sender, String
  const :min_sender_char_len, Integer
  const :max_sender_char_len, Integer
end