Current section

Files

Jump to
procore_sdk lib procore model body_109.ex
Raw

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