Sha256: 153106beae1d1c33cd5e91d1dcfb466bfd1b95436df98150f09739d0de2e8246

Contents?: true

Size: 709 Bytes

Versions: 3

Compression:

Stored size: 709 Bytes

Contents

# 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 URL of the result link.
      field :url, ::String, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('url') } }
      # The label of the result link.
      field :label, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('label') } }


      sig { params(url: ::String, label: T.nilable(::String)).void }
      def initialize(url: nil, label: nil)
        @url = url
        @label = label
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
stackone_client-0.2.4 lib/stack_one/models/shared/resultlink.rb
stackone_client-0.2.3 lib/stack_one/models/shared/resultlink.rb
stackone_client-0.2.2 lib/stack_one/models/shared/resultlink.rb