Sha256: cf513b06c763448cc6e45424021ed206634f3dc3bb2c4920bdb9453b7f969d44

Contents?: true

Size: 1.85 KB

Versions: 10

Compression:

Stored size: 1.85 KB

Contents

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

# typed: true
# frozen_string_literal: true

require 'sorbet-runtime'
require 'faraday'
require_relative '../shared/error'

module SpeakeasyClientSDK
  module Operations

    class GetSchemasRequest < SpeakeasyClientSDK::Utils::FieldAugmented
      extend T::Sig

      # The ID of the Api to retrieve schemas for.
      field :api_id, String, { 'path_param': { 'field_name': 'apiID', 'style': 'simple', 'explode': false } }
      # The version ID of the Api to delete metadata for.
      field :version_id, String, { 'path_param': { 'field_name': 'versionID', 'style': 'simple', 'explode': false } }


      sig { params(api_id: String, version_id: String).void }
      def initialize(api_id: nil, version_id: nil)
        @api_id = api_id
        @version_id = version_id
      end
    end


    class GetSchemasResponse < SpeakeasyClientSDK::Utils::FieldAugmented
      extend T::Sig

      # HTTP response content type for this operation
      field :content_type, String
      # HTTP response status code for this operation
      field :status_code, Integer
      # Default error response
      field :error, T.nilable(Shared::Error)
      # Raw HTTP response; suitable for custom response parsing
      field :raw_response, T.nilable(Faraday::Response)
      # OK
      field :schemata, T.nilable(T::Array[Shared::Schema])


      sig { params(content_type: String, status_code: Integer, error: T.nilable(Shared::Error), raw_response: T.nilable(Faraday::Response), schemata: T.nilable(T::Array[Shared::Schema])).void }
      def initialize(content_type: nil, status_code: nil, error: nil, raw_response: nil, schemata: nil)
        @content_type = content_type
        @status_code = status_code
        @error = error
        @raw_response = raw_response
        @schemata = schemata
      end
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
speakeasy_client_sdk_ruby-1.27.1 lib/sdk/models/operations/getschemas.rb
speakeasy_client_sdk_ruby-1.27.0 lib/sdk/models/operations/getschemas.rb
speakeasy_client_sdk_ruby-1.26.4 lib/sdk/models/operations/getschemas.rb
speakeasy_client_sdk_ruby-1.26.3 lib/sdk/models/operations/getschemas.rb
speakeasy_client_sdk_ruby-1.26.2 lib/sdk/models/operations/getschemas.rb
speakeasy_client_sdk_ruby-1.26.1 lib/sdk/models/operations/getschemas.rb
speakeasy_client_sdk_ruby-1.26.0 lib/sdk/models/operations/getschemas.rb
speakeasy_client_sdk_ruby-1.25.0 lib/sdk/models/operations/getschemas.rb
speakeasy_client_sdk_ruby-1.24.1 lib/sdk/models/operations/getschemas.rb
speakeasy_client_sdk_ruby-1.24.0 lib/sdk/models/operations/getschemas.rb