Sha256: 1c22b543b727261ba0f72344504b5015b0567533e2bdf4f2dba01158acf82cf4

Contents?: true

Size: 1.14 KB

Versions: 7

Compression:

Stored size: 1.14 KB

Contents

# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.

# typed: true
# frozen_string_literal: true


module SpeakeasyClientSDK
  module Operations
  

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

      # The ID of the Api to get the schema for.
      field :api_id, ::String, { 'path_param': { 'field_name': 'apiID', 'style': 'simple', 'explode': false } }
      # The schema file to upload provided as a multipart/form-data file segment.
      field :request_body, ::SpeakeasyClientSDK::Operations::RegisterSchemaRequestBody, { 'request': { 'media_type': 'multipart/form-data' } }
      # 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, request_body: ::SpeakeasyClientSDK::Operations::RegisterSchemaRequestBody, version_id: ::String).void }
      def initialize(api_id: nil, request_body: nil, version_id: nil)
        @api_id = api_id
        @request_body = request_body
        @version_id = version_id
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
speakeasy_client_sdk_ruby-4.2.22 lib/speakeasy_client_sdk/models/operations/registerschema_request.rb
speakeasy_client_sdk_ruby-4.2.21 lib/speakeasy_client_sdk/models/operations/registerschema_request.rb
speakeasy_client_sdk_ruby-4.2.20 lib/speakeasy_client_sdk/models/operations/registerschema_request.rb
speakeasy_client_sdk_ruby-4.2.19 lib/speakeasy_client_sdk/models/operations/registerschema_request.rb
speakeasy_client_sdk_ruby-4.2.18 lib/speakeasy_client_sdk/models/operations/registerschema_request.rb
speakeasy_client_sdk_ruby-4.2.17 lib/speakeasy_client_sdk/models/operations/registerschema_request.rb
speakeasy_client_sdk_ruby-4.2.16 lib/speakeasy_client_sdk/models/operations/registerschema_request.rb