Sha256: 4b43a701127bade5a1dacd290a730ef84f88a0eecb1d0fbaacc13f165d4798f0
Contents?: true
Size: 983 Bytes
Versions: 13
Compression:
Stored size: 983 Bytes
Contents
# Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. # typed: true # frozen_string_literal: true 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
Version data entries
13 entries across 13 versions & 1 rubygems