Current section

Files

Jump to
procore_sdk lib procore model other_hours.ex
Raw

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