PolarExpress.Resources.Meters (polar_express v0.2.2)

Copy Markdown View Source

Meters

Meters API operations.

Summary

Types

t()

@type t() :: %PolarExpress.Resources.Meters{
  aggregation: term(),
  archived_at: term(),
  created_at: term(),
  custom_label: term(),
  custom_multiplier: term(),
  filter: term(),
  id: term(),
  metadata: term(),
  modified_at: term(),
  name: term(),
  organization_id: term(),
  unit: term()
}
  • aggregation - The aggregation to apply on the filtered events to calculate the meter.
  • archived_at - Whether the meter is archived and the time it was archived.
  • created_at - Creation timestamp of the object. Format: date-time.
  • custom_label - The label for the custom unit.
  • custom_multiplier - The multiplier to convert from base unit to display scale.
  • filter - The filter to apply on events that'll be used to calculate the meter.
  • id - The ID of the object. Format: uuid4.
  • metadata
  • modified_at - Last modification timestamp of the object.
  • name - The name of the meter. Will be shown on customer's invoices and usage.
  • organization_id - The ID of the organization owning the meter. Format: uuid4.
  • unit - The unit of the meter.

Functions

object_name()