Sha256: 93213472d0e631cc8e785256da66775561700543c63ed3f4c52d2317f0a529c1
Contents?: true
Size: 1.28 KB
Versions: 17
Compression:
Stored size: 1.28 KB
Contents
# Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. # typed: true # frozen_string_literal: true module StackOne module Shared class WriteResultApiModel < ::StackOne::Utils::FieldAugmented extend T::Sig field :message, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('message') } } field :provider_errors, T.nilable(T::Array[::StackOne::Shared::ProviderErrorApiModel]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('provider_errors') } } 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), provider_errors: T.nilable(T::Array[::StackOne::Shared::ProviderErrorApiModel]), status_code: T.nilable(::Float), timestamp: T.nilable(::DateTime)).void } def initialize(message: nil, provider_errors: nil, status_code: nil, timestamp: nil) @message = message @provider_errors = provider_errors @status_code = status_code @timestamp = timestamp end end end end
Version data entries
17 entries across 17 versions & 1 rubygems