ExStreamClient.Model.UpsertPushTemplateRequest (ExStreamClient v0.2.0)

Copy Markdown View Source

Schema representing a UpsertPushTemplateRequest

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.UpsertPushTemplateRequest{
  enable_push: boolean() | nil,
  event_type:
    :"feeds.notification_feed.updated"
    | :"feeds.follow.created"
    | :"feeds.comment.reaction.added"
    | :"feeds.activity.reaction.added"
    | :"feeds.comment.added"
    | :"feeds.activity.added"
    | :"notification.reminder_due"
    | :"reaction.new"
    | :"message.updated"
    | :"message.new",
  push_provider_name: String.t() | nil,
  push_provider_type: :xiaomi | :huawei | :apn | :firebase,
  template: 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()