Sha256: 56ef55ef88f7e9bb523e730f362eec6bcbc2cc76a2c04c08c4c3bb7ee6d5a06e

Contents?: true

Size: 1.26 KB

Versions: 5

Compression:

Stored size: 1.26 KB

Contents

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

# typed: true
# frozen_string_literal: true


module StackOne
  module Shared
  

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

      # The ID of the rejected reason.
      field :id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('id') } }
      # The label of the rejected reason.
      field :label, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('label') } }

      field :rejected_reason_type, T.nilable(::StackOne::Shared::RejectedReasonType), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('rejected_reason_type') } }
      # The string type of the rejected reason.
      field :type, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('type') } }


      sig { params(id: T.nilable(::String), label: T.nilable(::String), rejected_reason_type: T.nilable(::StackOne::Shared::RejectedReasonType), type: T.nilable(::String)).void }
      def initialize(id: nil, label: nil, rejected_reason_type: nil, type: nil)
        @id = id
        @label = label
        @rejected_reason_type = rejected_reason_type
        @type = type
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
stackone_client-0.2.7 lib/stack_one/models/shared/rejectedreason.rb
stackone_client-0.2.6 lib/stack_one/models/shared/rejectedreason.rb
stackone_client-0.2.4 lib/stack_one/models/shared/rejectedreason.rb
stackone_client-0.2.3 lib/stack_one/models/shared/rejectedreason.rb
stackone_client-0.2.2 lib/stack_one/models/shared/rejectedreason.rb