Sha256: cdf680fccf7bd1e1de4d6f21e0a33bb6fd0c3727ba9562e28df02047489694f6

Contents?: true

Size: 1.55 KB

Versions: 2

Compression:

Stored size: 1.55 KB

Contents

# Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.

# typed: true
# frozen_string_literal: true

require 'sorbet-runtime'
require 'faraday'

module SpeakeasyClientSDK
  module Shared
    # An Api is representation of a API (a collection of API Endpoints) within the Speakeasy Platform.
    class ApiInput < ::SpeakeasyClientSDK::Utils::FieldAugmented
      extend T::Sig

      # The ID of this Api. This is a human-readable name (subject to change).
      field :api_id, String, { 'format_json': { 'letter_case': ::SpeakeasyClientSDK::Utils.field_name('api_id') } }
      # A detailed description of the Api.
      field :description, String, { 'format_json': { 'letter_case': ::SpeakeasyClientSDK::Utils.field_name('description') } }
      # The version ID of this Api. This is semantic version identifier.
      field :version_id, String, { 'format_json': { 'letter_case': ::SpeakeasyClientSDK::Utils.field_name('version_id') } }
      # A set of values associated with a meta_data key. This field is only set on get requests.
      field :meta_data, T.nilable(T::Hash[Symbol, T::Array[String]]), { 'format_json': { 'letter_case': ::SpeakeasyClientSDK::Utils.field_name('meta_data') } }


      sig { params(api_id: String, description: String, version_id: String, meta_data: T.nilable(T::Hash[Symbol, T::Array[String]])).void }
      def initialize(api_id: nil, description: nil, version_id: nil, meta_data: nil)
        @api_id = api_id
        @description = description
        @version_id = version_id
        @meta_data = meta_data
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
speakeasy_client_sdk_ruby-2.2.3 lib/sdk/models/shared/api_input.rb
speakeasy_client_sdk_ruby-2.2.2 lib/sdk/models/shared/api_input.rb