ExStreamClient.Model.CreateCampaignRequest (ExStreamClient v0.2.0)

Copy Markdown View Source

Schema representing a CreateCampaignRequest

Summary

Functions

Components could just be enums that are typed - so we need to decode those as enums as they will just be stings

Types

t()

@type t() :: %ExStreamClient.Model.CreateCampaignRequest{
  channel_template: ExStreamClient.Model.CampaignChannelTemplate.t() | nil,
  create_channels: boolean() | nil,
  description: String.t() | nil,
  id: String.t() | nil,
  message_template: ExStreamClient.Model.CampaignMessageTemplate.t(),
  name: String.t() | nil,
  segment_ids: [String.t()] | nil,
  sender_id: String.t(),
  sender_mode: (:include | :exclude) | nil,
  sender_visibility: (:archived | :hidden) | nil,
  show_channels: boolean() | nil,
  skip_push: boolean() | nil,
  skip_webhook: boolean() | nil,
  user_ids: [String.t()] | nil
}

Functions

decode(map)

Components could just be enums that are typed - so we need to decode those as enums as they will just be stings

nested_components()