Sha256: f099dc2687e2f35e24616eadacd00df0bfaaf3c836629caf95672dbc7141f8c1

Contents?: true

Size: 1.3 KB

Versions: 1

Compression:

Stored size: 1.3 KB

Contents

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

# typed: true
# frozen_string_literal: true

require 'sorbet-runtime'
require 'faraday'

module StackOne
  module Shared
    # RejectedReasonTypeEnumValue - The type of the rejected reason.
    class RejectedReasonTypeEnumValue < T::Enum
      enums do
        REJECTED_BY_CANDIDATE = new('rejected_by_candidate')
        REJECTED_BY_ORGANIZATION = new('rejected_by_organization')
        OTHER = new('other')
        UNKNOWN = new('unknown')
        UNMAPPED_VALUE = new('unmapped_value')
      end
    end



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

      # The source value of the rejected reason type.
      field :source_value, String, { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('source_value') } }
      # The type of the rejected reason.
      field :value, Shared::RejectedReasonTypeEnumValue, { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('value'), 'decoder': Utils.enum_from_string(Shared::RejectedReasonTypeEnumValue, false) } }


      sig { params(source_value: String, value: Shared::RejectedReasonTypeEnumValue).void }
      def initialize(source_value: nil, value: nil)
        @source_value = source_value
        @value = value
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
stackone_client-0.0.1 lib/stackone/models/shared/rejectedreasontypeenum.rb