Sha256: ebef9892f4b3acc84d1c43ef180554a84e2e9745618a935caf1f41c2b01fde38
Contents?: true
Size: 1.51 KB
Versions: 1
Compression:
Stored size: 1.51 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 # Value - The status of the application. class Value < T::Enum enums do ACTIVE = new('active') ASSESSMENT = new('assessment') BACKGROUND_CHECK = new('background_check') CONVERTED = new('converted') DECLINED_BY_CANDIDATE = new('declined_by_candidate') HIRED = new('hired') INTERVIEW = new('interview') LEAD = new('lead') OFFER = new('offer') REFERENCE_CHECK = new('reference_check') REJECTED = new('rejected') REVIEW = new('review') SCREEN = new('screen') NEW = new('new') UNMAPPED_VALUE = new('unmapped_value') end end class ApplicationStatusEnumApiModel < ::StackOne::Utils::FieldAugmented extend T::Sig # The source value of the application status. field :source_value, String, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('source_value') } } # The status of the application. field :value, Shared::Value, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('value'), 'decoder': Utils.enum_from_string(Shared::Value, false) } } sig { params(source_value: String, value: Shared::Value).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/applicationstatusenumapimodel.rb |