Current section

Files

Jump to
procore_sdk lib procore model body_46.ex
Raw

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