Current section

Files

Jump to
ex_oura lib client rest_mode_episode.ex
Raw

lib/client/rest_mode_episode.ex

defmodule ExOura.Client.RestModeEpisode do
@moduledoc """
Provides struct and type for a RestModeEpisode
"""
@type t :: %__MODULE__{tags: [String.t()], timestamp: ExOura.Client.Timestamp.t()}
defstruct [:tags, :timestamp]
@doc false
@spec __fields__(atom) :: keyword
def __fields__(type \\ :t)
def __fields__(:t) do
[tags: [string: :generic], timestamp: {ExOura.Client.Timestamp, :t}]
end
end