Current section
Files
Jump to
Current section
Files
lib/procore/model/section.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.Section do
@moduledoc """
Section object
"""
@derive Jason.Encoder
defstruct [
:name,
:position,
:not_applicable,
:items_attributes
]
@type t :: %__MODULE__{
:name => String.t(),
:position => integer(),
:not_applicable => boolean() | nil,
:items_attributes => [Procore.Model.SectionItemsAttributesInner.t()] | nil
}
alias Procore.Deserializer
def decode(value) do
value
|> Deserializer.deserialize(
:items_attributes,
:list,
Procore.Model.SectionItemsAttributesInner
)
end
end