# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. # typed: true # frozen_string_literal: true module OpenApiSDK module Shared class UnifiedHrisTimesheetEntryInput < ::OpenApiSDK::Utils::FieldAugmented extend T::Sig # The UUID of the associated employee field :employee_id, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('employee_id') } } # The end time of the timesheet entry field :end_time, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('end_time'), 'decoder': Utils.datetime_from_iso_format(true) } } # The custom field mappings of the object between the remote 3rd party & Panora field :field_mappings, T.nilable(::OpenApiSDK::Shared::UnifiedHrisTimesheetEntryInputFieldMappings), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('field_mappings') } } # The number of hours worked field :hours_worked, T.nilable(::Float), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('hours_worked') } } # Indicates if the timesheet entry was deleted in the remote system field :remote_was_deleted, T.nilable(T::Boolean), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('remote_was_deleted') } } # The start time of the timesheet entry field :start_time, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('start_time'), 'decoder': Utils.datetime_from_iso_format(true) } } sig { params(employee_id: T.nilable(::String), end_time: T.nilable(::DateTime), field_mappings: T.nilable(::OpenApiSDK::Shared::UnifiedHrisTimesheetEntryInputFieldMappings), hours_worked: T.nilable(::Float), remote_was_deleted: T.nilable(T::Boolean), start_time: T.nilable(::DateTime)).void } def initialize(employee_id: nil, end_time: nil, field_mappings: nil, hours_worked: nil, remote_was_deleted: nil, start_time: nil) @employee_id = employee_id @end_time = end_time @field_mappings = field_mappings @hours_worked = hours_worked @remote_was_deleted = remote_was_deleted @start_time = start_time end end end end