Current section

Files

Jump to
procore_sdk lib procore model body_44.ex
Raw

lib/procore/model/body_44.ex

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