# Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. # typed: true # frozen_string_literal: true module StackOne module Shared class ResultLink < ::StackOne::Utils::FieldAugmented extend T::Sig # The label of the result link. field :label, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('label') } } # The URL of the result link. field :url, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('url') } } sig { params(label: T.nilable(::String), url: T.nilable(::String)).void } def initialize(label: nil, url: nil) @label = label @url = url end end end end