InfluxEx.Me (influx_ex v0.2.1)

Data structure for the current user using the InfluxDB API

Link to this section Summary

Types

Links to other resources for the current user

The status of the current user

t()

Functions

Transform a map returned from InfluxDB API into a InfluxEx.Me.t()

Link to this section Types

@type links() :: %{self: binary()}

Links to other resources for the current user

@type status() :: :active

The status of the current user

@type t() :: %InfluxEx.Me{
  id: binary(),
  links: links(),
  name: binary(),
  status: status()
}

Link to this section Functions

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

Transform a map returned from InfluxDB API into a InfluxEx.Me.t()