ExStreamClient.Model.GetCampaignResponse (ExStreamClient v0.1.7)

View Source

Schema representing a GetCampaignResponse

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.GetCampaignResponse{
  campaign: ExStreamClient.Model.CampaignResponse.t() | nil,
  duration: String.t(),
  users: ExStreamClient.Model.PagerResponse.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()