# Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. # typed: true # frozen_string_literal: true require 'sorbet-runtime' require 'faraday' require_relative '../shared/candidate' module StackOne module Shared class CandidateResult < ::StackOne::Utils::FieldAugmented extend T::Sig field :data, Shared::Candidate, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('data') } } field :raw, T.nilable(T::Array[Shared::RawResponse]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('raw') } } sig { params(data: Shared::Candidate, raw: T.nilable(T::Array[Shared::RawResponse])).void } def initialize(data: nil, raw: nil) @data = data @raw = raw end end end end