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