Sha256: e9e7fe02f87c505d23383564e7925dfe2770e815d6ded9d52cc7649f96cc01d8
Contents?: true
Size: 947 Bytes
Versions: 3
Compression:
Stored size: 947 Bytes
Contents
# 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 CreateEmployeeResult < ::StackOne::Utils::FieldAugmented extend T::Sig field :message, String, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('message') } } field :status_code, Float, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('statusCode') } } field :timestamp, DateTime, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('timestamp'), 'decoder': Utils.datetime_from_iso_format(false) } } sig { params(message: String, status_code: Float, timestamp: 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
3 entries across 3 versions & 1 rubygems