Current section

Files

Jump to
procore_sdk lib procore model body_93.ex
Raw

lib/procore/model/body_93.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.Body93 do
@moduledoc """
"""
@derive Jason.Encoder
defstruct [
:attachments,
:direct_cost
]
@type t :: %__MODULE__{
:attachments => [String.t()] | nil,
:direct_cost => Procore.Model.DirectCostItem1.t() | nil
}
alias Procore.Deserializer
def decode(value) do
value
|> Deserializer.deserialize(:direct_cost, :struct, Procore.Model.DirectCostItem1)
end
end