Current section

Files

Jump to
procore_sdk lib procore model body_1.ex
Raw

lib/procore/model/body_1.ex

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