# Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. # typed: true # frozen_string_literal: true module StackOne module Shared class RejectedReason < ::StackOne::Utils::FieldAugmented extend T::Sig # The ID of the rejected reason. field :id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('id') } } # The label of the rejected reason. field :label, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('label') } } field :rejected_reason_type, T.nilable(::StackOne::Shared::RejectedReasonType), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('rejected_reason_type') } } # The string type of the rejected reason. field :type, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('type') } } sig { params(id: T.nilable(::String), label: T.nilable(::String), rejected_reason_type: T.nilable(::StackOne::Shared::RejectedReasonType), type: T.nilable(::String)).void } def initialize(id: nil, label: nil, rejected_reason_type: nil, type: nil) @id = id @label = label @rejected_reason_type = rejected_reason_type @type = type end end end end