Current section

Files

Jump to
procore_sdk lib procore model body_4.ex
Raw

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