# NOTE: This file is auto generated by OpenAPI Generator 7.22.0 (https://openapi-generator.tech).
# Do not edit this file manually.
defmodule Spatio.Model.AccountUsage do
@moduledoc """
Today's usage counters. Snapshot reflects the in-memory rollup; counts reset at UTC midnight.
"""
@derive JSON.Encoder
defstruct [
:date,
:api_calls,
:email_sends,
:notes_count,
:sheets_count,
:slides_count,
:files_count,
:tasks_count
]
@type t :: %__MODULE__{
:date => String.t,
:api_calls => integer() | nil,
:email_sends => integer() | nil,
:notes_count => integer() | nil,
:sheets_count => integer() | nil,
:slides_count => integer() | nil,
:files_count => integer() | nil,
:tasks_count => integer() | nil
}
def decode(value) do
value
end
end