Current section

Files

Jump to
procore_sdk lib procore model body_92.ex
Raw

lib/procore/model/body_92.ex

# NOTE: This file is auto generated by OpenAPI Generator 7.9.0-SNAPSHOT (https://openapi-generator.tech).
# Do not edit this file manually.
defmodule Procore.Model.Body92 do
@moduledoc """
"""
@derive Jason.Encoder
defstruct [
:attachments,
:direct_cost
]
@type t :: %__MODULE__{
:attachments => [String.t()] | nil,
:direct_cost => Procore.Model.DirectCostItem.t()
}
alias Procore.Deserializer
def decode(value) do
value
|> Deserializer.deserialize(:direct_cost, :struct, Procore.Model.DirectCostItem)
end
end