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

Version Path
stackone_client-0.2.33 lib/stack_one/models/shared/writeresultapimodel.rb
stackone_client-0.2.32 lib/stack_one/models/shared/writeresultapimodel.rb
stackone_client-0.2.31 lib/stack_one/models/shared/writeresultapimodel.rb
stackone_client-0.2.30 lib/stack_one/models/shared/writeresultapimodel.rb
stackone_client-0.2.29 lib/stack_one/models/shared/writeresultapimodel.rb
stackone_client-0.2.28 lib/stack_one/models/shared/writeresultapimodel.rb
stackone_client-0.2.27 lib/stack_one/models/shared/writeresultapimodel.rb
stackone_client-0.2.26 lib/stack_one/models/shared/writeresultapimodel.rb
stackone_client-0.2.18 lib/stack_one/models/shared/writeresultapimodel.rb
stackone_client-0.2.17 lib/stack_one/models/shared/writeresultapimodel.rb
stackone_client-0.2.16 lib/stack_one/models/shared/writeresultapimodel.rb
stackone_client-0.2.15 lib/stack_one/models/shared/writeresultapimodel.rb
stackone_client-0.2.14 lib/stack_one/models/shared/writeresultapimodel.rb
stackone_client-0.2.13 lib/stack_one/models/shared/writeresultapimodel.rb
stackone_client-0.2.12 lib/stack_one/models/shared/writeresultapimodel.rb
stackone_client-0.2.11 lib/stack_one/models/shared/writeresultapimodel.rb
stackone_client-0.2.10 lib/stack_one/models/shared/writeresultapimodel.rb