ApolloSignal.Types.WebhookDeliveryResponse (apollo_signal v4.0.0)

Copy Markdown View Source

Typed WebhookDeliveryResponse model.

Summary

Types

t()

@type t() :: %ApolloSignal.Types.WebhookDeliveryResponse{
  attempt_count: integer(),
  created_at: String.t(),
  event_type: String.t(),
  id: String.t(),
  last_error: String.t() | nil,
  last_status_code: integer() | nil,
  next_attempt_at: String.t() | nil,
  project_id: String.t(),
  response_body_snippet: String.t() | nil,
  status: String.t(),
  updated_at: String.t(),
  webhook_endpoint_id: String.t()
}

Functions

from_map(data)

@spec from_map(map()) :: t()

to_map(value)

@spec to_map(t()) :: map()