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