ApolloSignal.Types.TopicResponse (apollo_signal v4.0.0)

Copy Markdown View Source

Typed TopicResponse model.

Summary

Types

t()

@type t() :: %ApolloSignal.Types.TopicResponse{
  created_at: String.t(),
  default_subscription: String.t(),
  description: String.t() | nil,
  id: String.t(),
  name: String.t(),
  object: String.t() | nil,
  opt_in_count: integer(),
  opt_out_count: integer(),
  project_id: String.t(),
  updated_at: String.t(),
  visibility: String.t()
}

Functions

from_map(data)

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

to_map(value)

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