Class: Sentdm::Models::Profiles::CampaignListResponse::Data::UseCase

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

Defined Under Namespace

Modules: MessagingUseCaseUs

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(id: nil, campaign_id: nil, created_at: nil, customer_id: nil, messaging_use_case_us: nil, sample_messages: nil, updated_at: nil) ⇒ Object

Parameters:



# File 'lib/sentdm/models/profiles/campaign_list_response.rb', line 347

Instance Attribute Details

#campaign_idString?

Returns:

  • (String, nil)


318
# File 'lib/sentdm/models/profiles/campaign_list_response.rb', line 318

optional :campaign_id, String, api_name: :campaignId

#created_atTime?

Returns:

  • (Time, nil)


323
# File 'lib/sentdm/models/profiles/campaign_list_response.rb', line 323

optional :created_at, Time, api_name: :createdAt

#customer_idString?

Returns:

  • (String, nil)


328
# File 'lib/sentdm/models/profiles/campaign_list_response.rb', line 328

optional :customer_id, String, api_name: :customerId

#idString?

Unique identifier

Returns:

  • (String, nil)


313
# File 'lib/sentdm/models/profiles/campaign_list_response.rb', line 313

optional :id, String

#messaging_use_case_usSymbol, ...



333
334
335
# File 'lib/sentdm/models/profiles/campaign_list_response.rb', line 333

optional :messaging_use_case_us,
enum: -> { Sentdm::Models::Profiles::CampaignListResponse::Data::UseCase::MessagingUseCaseUs },
api_name: :messagingUseCaseUs

#sample_messagesArray<String>?

Returns:

  • (Array<String>, nil)


340
# File 'lib/sentdm/models/profiles/campaign_list_response.rb', line 340

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

#updated_atTime?

Returns:

  • (Time, nil)


345
# File 'lib/sentdm/models/profiles/campaign_list_response.rb', line 345

optional :updated_at, Time, api_name: :updatedAt, nil?: true