Current section

Files

Jump to
procore_sdk lib procore model inspector.ex
Raw

lib/procore/model/inspector.ex

# NOTE: This file is auto generated by OpenAPI Generator 7.12.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