Sha256: e68f0eff919b7d4d1f93d9865ac6617428bf8c4b34b0974f85c05d4a1308d6f2

Contents?: true

Size: 1.83 KB

Versions: 40

Compression:

Stored size: 1.83 KB

Contents

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

# typed: true
# frozen_string_literal: true


module SpeakeasyClientSDK
  module Shared
  
    # An ApiEndpoint is a description of an Endpoint for an API.
    class ApiEndpointInput < ::SpeakeasyClientSDK::Utils::FieldAugmented
      extend T::Sig

      # The ID of this ApiEndpoint. This is a hash of the method and path.
      field :api_endpoint_id, ::String, { 'format_json': { 'letter_case': ::SpeakeasyClientSDK::Utils.field_name('api_endpoint_id') } }
      # A detailed description of the ApiEndpoint.
      field :description, ::String, { 'format_json': { 'letter_case': ::SpeakeasyClientSDK::Utils.field_name('description') } }
      # A human-readable name for the ApiEndpoint.
      field :display_name, ::String, { 'format_json': { 'letter_case': ::SpeakeasyClientSDK::Utils.field_name('display_name') } }
      # HTTP verb.
      field :method, ::String, { 'format_json': { 'letter_case': ::SpeakeasyClientSDK::Utils.field_name('method') } }
      # Path that handles this Api.
      field :path, ::String, { 'format_json': { 'letter_case': ::SpeakeasyClientSDK::Utils.field_name('path') } }
      # The version ID of the Api this ApiEndpoint belongs to.
      field :version_id, ::String, { 'format_json': { 'letter_case': ::SpeakeasyClientSDK::Utils.field_name('version_id') } }


      sig { params(api_endpoint_id: ::String, description: ::String, display_name: ::String, method: ::String, path: ::String, version_id: ::String).void }
      def initialize(api_endpoint_id: nil, description: nil, display_name: nil, method: nil, path: nil, version_id: nil)
        @api_endpoint_id = api_endpoint_id
        @description = description
        @display_name = display_name
        @method = method
        @path = path
        @version_id = version_id
      end
    end
  end
end

Version data entries

40 entries across 40 versions & 1 rubygems

Version Path
speakeasy_client_sdk_ruby-4.1.1 lib/speakeasy_client_sdk/models/shared/apiendpoint_input.rb
speakeasy_client_sdk_ruby-4.1.0 lib/speakeasy_client_sdk/models/shared/apiendpoint_input.rb
speakeasy_client_sdk_ruby-4.0.16 lib/speakeasy_client_sdk/models/shared/apiendpoint_input.rb
speakeasy_client_sdk_ruby-4.0.15 lib/speakeasy_client_sdk/models/shared/apiendpoint_input.rb
speakeasy_client_sdk_ruby-4.0.14 lib/speakeasy_client_sdk/models/shared/apiendpoint_input.rb
speakeasy_client_sdk_ruby-4.0.13 lib/speakeasy_client_sdk/models/shared/apiendpoint_input.rb
speakeasy_client_sdk_ruby-4.0.12 lib/speakeasy_client_sdk/models/shared/apiendpoint_input.rb
speakeasy_client_sdk_ruby-4.0.11 lib/speakeasy_client_sdk/models/shared/apiendpoint_input.rb
speakeasy_client_sdk_ruby-4.0.10 lib/speakeasy_client_sdk/models/shared/apiendpoint_input.rb
speakeasy_client_sdk_ruby-4.0.9 lib/speakeasy_client_sdk/models/shared/apiendpoint_input.rb
speakeasy_client_sdk_ruby-4.0.8 lib/speakeasy_client_sdk/models/shared/apiendpoint_input.rb
speakeasy_client_sdk_ruby-4.0.7 lib/speakeasy_client_sdk/models/shared/apiendpoint_input.rb
speakeasy_client_sdk_ruby-4.0.6 lib/speakeasy_client_sdk/models/shared/apiendpoint_input.rb
speakeasy_client_sdk_ruby-4.0.5 lib/speakeasy_client_sdk/models/shared/apiendpoint_input.rb
speakeasy_client_sdk_ruby-4.0.4 lib/speakeasy_client_sdk/models/shared/apiendpoint_input.rb
speakeasy_client_sdk_ruby-4.0.3 lib/speakeasy_client_sdk/models/shared/apiendpoint_input.rb
speakeasy_client_sdk_ruby-4.0.2 lib/speakeasy_client_sdk/models/shared/apiendpoint_input.rb
speakeasy_client_sdk_ruby-4.0.1 lib/speakeasy_client_sdk/models/shared/apiendpoint_input.rb
speakeasy_client_sdk_ruby-4.0.0 lib/speakeasy_client_sdk/models/shared/apiendpoint_input.rb
speakeasy_client_sdk_ruby-3.0.0 lib/speakeasy_client_sdk/models/shared/apiendpoint_input.rb