Class: PreludeSDK::Models::NotifyListSubscriptionConfigsResponse::Config::Messages

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/prelude_sdk/models/notify_list_subscription_configs_response.rb,
sig/prelude_sdk/models/notify_list_subscription_configs_response.rbs

Overview

See Also:

  • PreludeSDK::Models::NotifyListSubscriptionConfigsResponse::Config#messages

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#initializeObject



92
# File 'sig/prelude_sdk/models/notify_list_subscription_configs_response.rbs', line 92

def initialize: (

Instance Attribute Details

#help_messageString?

Message sent when user requests help.

Parameters:

  • (String)

Returns:

  • (String, nil)


94
# File 'lib/prelude_sdk/models/notify_list_subscription_configs_response.rb', line 94

optional :help_message, String

#start_messageString?

Message sent when user subscribes.

Parameters:

  • (String)

Returns:

  • (String, nil)


100
# File 'lib/prelude_sdk/models/notify_list_subscription_configs_response.rb', line 100

optional :start_message, String

#stop_messageString?

Message sent when user unsubscribes.

Parameters:

  • (String)

Returns:

  • (String, nil)


106
# File 'lib/prelude_sdk/models/notify_list_subscription_configs_response.rb', line 106

optional :stop_message, String

Instance Method Details

#to_hash{

Returns:

  • ({)


98
# File 'sig/prelude_sdk/models/notify_list_subscription_configs_response.rbs', line 98

def to_hash: -> {