# Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. # typed: true # frozen_string_literal: true require 'sorbet-runtime' require 'faraday' module StackOne module Shared class CreateTimeOffResult < ::StackOne::Utils::FieldAugmented extend T::Sig field :message, T.nilable(String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('message') } } field :status_code, T.nilable(Float), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('statusCode') } } field :timestamp, T.nilable(DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('timestamp'), 'decoder': Utils.datetime_from_iso_format(true) } } sig { params(message: T.nilable(String), status_code: T.nilable(Float), timestamp: T.nilable(DateTime)).void } def initialize(message: nil, status_code: nil, timestamp: nil) @message = message @status_code = status_code @timestamp = timestamp end end end end