Sha256: 66726286d7c997bafa2e30d9fd0ff4cac9f8e6dac50be3239618ec4426c7c023
Contents?: true
Size: 1.51 KB
Versions: 6
Compression:
Stored size: 1.51 KB
Contents
# Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. # typed: true # frozen_string_literal: true require 'sorbet-runtime' require 'faraday' module SpeakeasyClientSDK module Shared # An Api is representation of a API (a collection of API Endpoints) within the Speakeasy Platform. class ApiInput < SpeakeasyClientSDK::Utils::FieldAugmented extend T::Sig # The ID of this Api. This is a human-readable name (subject to change). field :api_id, String, { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('api_id') } } # A detailed description of the Api. field :description, String, { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('description') } } # The version ID of this Api. This is semantic version identifier. field :version_id, String, { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('version_id') } } # A set of values associated with a meta_data key. This field is only set on get requests. field :meta_data, T.nilable(T::Hash[Symbol, T::Array[String]]), { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('meta_data') } } sig { params(api_id: String, description: String, version_id: String, meta_data: T.nilable(T::Hash[Symbol, T::Array[String]])).void } def initialize(api_id: nil, description: nil, version_id: nil, meta_data: nil) @api_id = api_id @description = description @version_id = version_id @meta_data = meta_data end end end end
Version data entries
6 entries across 6 versions & 1 rubygems