Class: Sentdm::Models::Profiles::SentDmServicesEndpointsCustomerApIv3ContractsRequestsCampaignsCampaignUseCaseData

Inherits:
Internal::Type::BaseModel
  • Object
show all
Defined in:
lib/sentdm/models/profiles/sent_dm_services_endpoints_customer_ap_iv3_contracts_requests_campaigns_campaign_use_case_data.rb

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

#initialize(messaging_use_case_us:, sample_messages:) ⇒ Object

Campaign use case with sample messages

Parameters:



# File 'lib/sentdm/models/profiles/sent_dm_services_endpoints_customer_ap_iv3_contracts_requests_campaigns_campaign_use_case_data.rb', line 20

Instance Attribute Details

#messaging_use_case_usSymbol, Sentdm::Models::Profiles::MessagingUseCaseUs



10
11
12
# File 'lib/sentdm/models/profiles/sent_dm_services_endpoints_customer_ap_iv3_contracts_requests_campaigns_campaign_use_case_data.rb', line 10

required :messaging_use_case_us,
enum: -> { Sentdm::Profiles::MessagingUseCaseUs },
api_name: :messagingUseCaseUs

#sample_messagesArray<String>

Sample messages for this use case (1-5 messages, max 1024 characters each)

Returns:

  • (Array<String>)


18
# File 'lib/sentdm/models/profiles/sent_dm_services_endpoints_customer_ap_iv3_contracts_requests_campaigns_campaign_use_case_data.rb', line 18

required :sample_messages, Sentdm::Internal::Type::ArrayOf[String], api_name: :sampleMessages