Current section
Files
Jump to
Current section
Files
lib/procore/model/body_3.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.Body3 do
@moduledoc """
"""
@derive Jason.Encoder
defstruct [
:project_id,
:line_item
]
@type t :: %__MODULE__{
:project_id => integer(),
:line_item => Procore.Model.LineItem.t()
}
alias Procore.Deserializer
def decode(value) do
value
|> Deserializer.deserialize(:line_item, :struct, Procore.Model.LineItem)
end
end