lib/ory/model/project_events_datapoint.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.ProjectEventsDatapoint do
  @moduledoc """
  
  """

  @derive [Poison.Encoder]
  defstruct [
    :attributes,
    :name,
    :timestamp
  ]

  @type t :: %__MODULE__{
    :attributes => [Ory.Model.Attribute.t],
    :name => String.t,
    :timestamp => DateTime.t
  }
end

defimpl Poison.Decoder, for: Ory.Model.ProjectEventsDatapoint do
  import Ory.Deserializer
  def decode(value, options) do
    value
    |> deserialize(:attributes, :list, Ory.Model.Attribute, options)
  end
end