# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. # typed: true # frozen_string_literal: true module StackOne module Shared class OfferStatus < ::StackOne::Utils::FieldAugmented extend T::Sig # The source value of the offer status. field :source_value, T.nilable(::Object), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('source_value') } } # The status of the offer. field :value, T.nilable(::StackOne::Shared::AtsCreateOfferRequestDtoValue), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('value'), 'decoder': Utils.enum_from_string(::StackOne::Shared::AtsCreateOfferRequestDtoValue, true) } } sig { params(source_value: T.nilable(::Object), value: T.nilable(::StackOne::Shared::AtsCreateOfferRequestDtoValue)).void } def initialize(source_value: nil, value: nil) @source_value = source_value @value = value end end end end