Class: SurgeAPI::Models::MessageParams::SimpleMessageParams::Settings
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- SurgeAPI::Models::MessageParams::SimpleMessageParams::Settings
- Defined in:
- lib/surge_api/models/message_params.rb,
sig/surge_api/models/message_params.rbs
Overview
Defined Under Namespace
Modules: LinkShortening
Instance Attribute Summary collapse
-
#link_shortening ⇒ Symbol, ...
Override link shortening for this message.
Instance Method Summary collapse
-
#initialize(link_shortening: nil) ⇒ Object
constructor
Per-message setting overrides.
- #to_hash ⇒ {
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(link_shortening: nil) ⇒ Object
Per-message setting overrides.
|
|
# File 'lib/surge_api/models/message_params.rb', line 280
|
Instance Attribute Details
#link_shortening ⇒ Symbol, ...
Override link shortening for this message.
277 278 |
# File 'lib/surge_api/models/message_params.rb', line 277 optional :link_shortening, enum: -> { SurgeAPI::MessageParams::SimpleMessageParams::Settings::LinkShortening } |
Instance Method Details
#to_hash ⇒ {
265 |
# File 'sig/surge_api/models/message_params.rbs', line 265
def to_hash: -> {
|