Current section
Files
Jump to
Current section
Files
lib/procore/model/inspector.ex
# NOTE: This file is auto generated by OpenAPI Generator 7.8.0 (https://openapi-generator.tech).
# Do not edit this file manually.
defmodule Procore.Model.Inspector do
@moduledoc """
"""
@derive Jason.Encoder
defstruct [
:id,
:login,
:name,
:company
]
@type t :: %__MODULE__{
:id => integer() | nil,
:login => String.t() | nil,
:name => String.t() | nil,
:company => Procore.Model.InspectorCompany.t() | nil
}
alias Procore.Deserializer
def decode(value) do
value
|> Deserializer.deserialize(:company, :struct, Procore.Model.InspectorCompany)
end
end