Sha256: ade24183cc6588251cb366c3d0727db2b5532ddf0d4b958c54ad84709ab67371

Contents?: true

Size: 744 Bytes

Versions: 1

Compression:

Stored size: 744 Bytes

Contents

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

# typed: true
# frozen_string_literal: true


module OpenApiSDK
  module Operations
  

    class UpsertApiRequest < ::OpenApiSDK::Utils::FieldAugmented
      extend T::Sig

      # A JSON representation of the Api to upsert
      field :api, ::OpenApiSDK::Shared::ApiInput, { 'request': { 'media_type': 'application/json' } }
      # The ID of the Api to upsert.
      field :api_id, ::String, { 'path_param': { 'field_name': 'apiID', 'style': 'simple', 'explode': false } }


      sig { params(api: ::OpenApiSDK::Shared::ApiInput, api_id: ::String).void }
      def initialize(api: nil, api_id: nil)
        @api = api
        @api_id = api_id
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
speakeasy_client_sdk_ruby-4.2.24 lib/open_api_sdk/models/operations/upsertapi_request.rb