lib/ory/model/get_attributes_count_response.ex

# NOTE: This file is auto generated by OpenAPI Generator 6.6.0 (https://openapi-generator.tech).
# Do not edit this file manually.

defmodule Ory.Model.GetAttributesCountResponse do
  @moduledoc """
  Response of the getAttributesCount endpoint
  """

  @derive [Poison.Encoder]
  defstruct [
    :data
  ]

  @type t :: %__MODULE__{
    :data => [Ory.Model.AttributesCountDatapoint.t]
  }
end

defimpl Poison.Decoder, for: Ory.Model.GetAttributesCountResponse do
  import Ory.Deserializer
  def decode(value, options) do
    value
    |> deserialize(:data, :list, Ory.Model.AttributesCountDatapoint, options)
  end
end