Sha256: 4311ac09f7010aee2133b1fb7067ceb482bb9ddf67e48c07110e2d7138ff8f21
Contents?: true
Size: 1.99 KB
Versions: 40
Compression:
Stored size: 1.99 KB
Contents
# Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. # typed: true # frozen_string_literal: true require 'sorbet-runtime' require 'faraday' require_relative '../shared/error' module SpeakeasyClientSDK module Operations class DeleteVersionMetadataRequest < SpeakeasyClientSDK::Utils::FieldAugmented extend T::Sig # The ID of the Api to delete metadata for. field :api_id, String, { 'path_param': { 'field_name': 'apiID', 'style': 'simple', 'explode': false } } # The key of the metadata to delete. field :meta_key, String, { 'path_param': { 'field_name': 'metaKey', 'style': 'simple', 'explode': false } } # The value of the metadata to delete. field :meta_value, String, { 'path_param': { 'field_name': 'metaValue', 'style': 'simple', 'explode': false } } # 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, meta_key: String, meta_value: String, version_id: String).void } def initialize(api_id: nil, meta_key: nil, meta_value: nil, version_id: nil) @api_id = api_id @meta_key = meta_key @meta_value = meta_value @version_id = version_id end end class DeleteVersionMetadataResponse < SpeakeasyClientSDK::Utils::FieldAugmented extend T::Sig field :content_type, String field :status_code, Integer # Default error response field :error, T.nilable(Shared::Error) field :raw_response, T.nilable(Faraday::Response) sig { params(content_type: String, status_code: Integer, error: T.nilable(Shared::Error), raw_response: T.nilable(Faraday::Response)).void } def initialize(content_type: nil, status_code: nil, error: nil, raw_response: nil) @content_type = content_type @status_code = status_code @error = error @raw_response = raw_response end end end end
Version data entries
40 entries across 40 versions & 1 rubygems