Sha256: db8bb1809eda5ee32bac62be437abb3c09d50087cea994c722003d0f976919d3

Contents?: true

Size: 937 Bytes

Versions: 13

Compression:

Stored size: 937 Bytes

Contents

# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.

# typed: true
# frozen_string_literal: true


module StackOne
  module Shared
  

    class StatusReason < ::StackOne::Utils::FieldAugmented
      extend T::Sig


      field :timestamp, ::DateTime, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('timestamp'), 'decoder': Utils.datetime_from_iso_format(false) } }

      field :code, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('code') } }

      field :description, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('description') } }


      sig { params(timestamp: ::DateTime, code: T.nilable(::String), description: T.nilable(::String)).void }
      def initialize(timestamp: nil, code: nil, description: nil)
        @timestamp = timestamp
        @code = code
        @description = description
      end
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
stackone_client-0.3.2 lib/stack_one/models/shared/statusreason.rb
stackone_client-0.3.1 lib/stack_one/models/shared/statusreason.rb
stackone_client-0.3.0 lib/stack_one/models/shared/statusreason.rb
stackone_client-0.2.46 lib/stack_one/models/shared/statusreason.rb
stackone_client-0.2.45 lib/stack_one/models/shared/statusreason.rb
stackone_client-0.2.44 lib/stack_one/models/shared/statusreason.rb
stackone_client-0.2.43 lib/stack_one/models/shared/statusreason.rb
stackone_client-0.2.42 lib/stack_one/models/shared/statusreason.rb
stackone_client-0.2.41 lib/stack_one/models/shared/statusreason.rb
stackone_client-0.2.40 lib/stack_one/models/shared/statusreason.rb
stackone_client-0.2.39 lib/stack_one/models/shared/statusreason.rb
stackone_client-0.2.38 lib/stack_one/models/shared/statusreason.rb
stackone_client-0.2.37 lib/stack_one/models/shared/statusreason.rb