# NOTE: This file is auto generated by OpenAPI Generator 6.2.1 (https://openapi-generator.tech).
# Do not edit this file manually.
defmodule Ory.Model.ProjectServices do
@moduledoc """
"""
@derive [Poison.Encoder]
defstruct [
:identity,
:oauth2,
:permission
]
@type t :: %__MODULE__{
:identity => Ory.Model.ProjectServiceIdentity.t | nil,
:oauth2 => Ory.Model.ProjectServiceOAuth2.t | nil,
:permission => Ory.Model.ProjectServicePermission.t | nil
}
end
defimpl Poison.Decoder, for: Ory.Model.ProjectServices do
import Ory.Deserializer
def decode(value, options) do
value
|> deserialize(:identity, :struct, Ory.Model.ProjectServiceIdentity, options)
|> deserialize(:oauth2, :struct, Ory.Model.ProjectServiceOAuth2, options)
|> deserialize(:permission, :struct, Ory.Model.ProjectServicePermission, options)
end
end