# NOTE: This file is auto generated by OpenAPI Generator 7.9.0-SNAPSHOT (https://openapi-generator.tech). # Do not edit this file manually. defmodule Procore.Model.Timesheet1 do @moduledoc """ """ @derive Jason.Encoder defstruct [ :party, :other_hours, :timecard_entries ] @type t :: %__MODULE__{ :party => Procore.Model.Party.t() | nil, :other_hours => [Procore.Model.OtherHours.t()] | nil, :timecard_entries => [Procore.Model.TimecardEntry1.t()] | nil } alias Procore.Deserializer def decode(value) do value |> Deserializer.deserialize(:party, :struct, Procore.Model.Party) |> Deserializer.deserialize(:other_hours, :list, Procore.Model.OtherHours) |> Deserializer.deserialize(:timecard_entries, :list, Procore.Model.TimecardEntry1) end end