Sha256: 5aaa1626bd5becd4cf9e27517541fa198ac283b3a634ec9788ed6bd9ea7f6c67
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': ::StackOne::Utils.field_name('source_value') } } # The type of the rejected reason. field :value, Shared::RejectedReasonTypeEnumValue, { 'format_json': { 'letter_case': ::StackOne::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.2 | lib/stackone/models/shared/rejectedreasontypeenum.rb |