Sha256: 73e3b22b8763a2def40b3efa633bc5e6067ba7d396019ae990da7e34f52637c4

Contents?: true

Size: 984 Bytes

Versions: 5

Compression:

Stored size: 984 Bytes

Contents

# Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.

# typed: true
# frozen_string_literal: true


module StackOne
  module Shared
  

    class CreateDocumentResult < ::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

5 entries across 5 versions & 1 rubygems

Version Path
stackone_client-0.2.9 lib/stack_one/models/shared/createdocumentresult.rb
stackone_client-0.2.7 lib/stack_one/models/shared/createdocumentresult.rb
stackone_client-0.2.6 lib/stack_one/models/shared/createdocumentresult.rb
stackone_client-0.2.4 lib/stack_one/models/shared/createdocumentresult.rb
stackone_client-0.2.3 lib/stack_one/models/shared/createdocumentresult.rb