Sha256: 97cfcbe2571d8e8a899d8434e103e6bc0c948dfce57313a6e96eb8ad3ffc9bb9

Contents?: true

Size: 1.86 KB

Versions: 40

Compression:

Stored size: 1.86 KB

Contents

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

# typed: true
# frozen_string_literal: true


module SpeakeasyClientSDK
  module Shared
  
    # A set of keys and associated values, attached to a particular version of an Api.
    class VersionMetadata < ::SpeakeasyClientSDK::Utils::FieldAugmented
      extend T::Sig

      # The ID of the Api this Metadata belongs to.
      field :api_id, ::String, { 'format_json': { 'letter_case': ::SpeakeasyClientSDK::Utils.field_name('api_id') } }
      # Creation timestamp.
      field :created_at, ::DateTime, { 'format_json': { 'letter_case': ::SpeakeasyClientSDK::Utils.field_name('created_at'), 'decoder': Utils.datetime_from_iso_format(false) } }
      # The key for this metadata.
      field :meta_key, ::String, { 'format_json': { 'letter_case': ::SpeakeasyClientSDK::Utils.field_name('meta_key') } }
      # One of the values for this metadata.
      field :meta_value, ::String, { 'format_json': { 'letter_case': ::SpeakeasyClientSDK::Utils.field_name('meta_value') } }
      # The version ID of the Api this Metadata belongs to.
      field :version_id, ::String, { 'format_json': { 'letter_case': ::SpeakeasyClientSDK::Utils.field_name('version_id') } }
      # The workspace ID this Metadata belongs to.
      field :workspace_id, ::String, { 'format_json': { 'letter_case': ::SpeakeasyClientSDK::Utils.field_name('workspace_id') } }


      sig { params(api_id: ::String, created_at: ::DateTime, meta_key: ::String, meta_value: ::String, version_id: ::String, workspace_id: ::String).void }
      def initialize(api_id: nil, created_at: nil, meta_key: nil, meta_value: nil, version_id: nil, workspace_id: nil)
        @api_id = api_id
        @created_at = created_at
        @meta_key = meta_key
        @meta_value = meta_value
        @version_id = version_id
        @workspace_id = workspace_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/versionmetadata.rb
speakeasy_client_sdk_ruby-4.1.0 lib/speakeasy_client_sdk/models/shared/versionmetadata.rb
speakeasy_client_sdk_ruby-4.0.16 lib/speakeasy_client_sdk/models/shared/versionmetadata.rb
speakeasy_client_sdk_ruby-4.0.15 lib/speakeasy_client_sdk/models/shared/versionmetadata.rb
speakeasy_client_sdk_ruby-4.0.14 lib/speakeasy_client_sdk/models/shared/versionmetadata.rb
speakeasy_client_sdk_ruby-4.0.13 lib/speakeasy_client_sdk/models/shared/versionmetadata.rb
speakeasy_client_sdk_ruby-4.0.12 lib/speakeasy_client_sdk/models/shared/versionmetadata.rb
speakeasy_client_sdk_ruby-4.0.11 lib/speakeasy_client_sdk/models/shared/versionmetadata.rb
speakeasy_client_sdk_ruby-4.0.10 lib/speakeasy_client_sdk/models/shared/versionmetadata.rb
speakeasy_client_sdk_ruby-4.0.9 lib/speakeasy_client_sdk/models/shared/versionmetadata.rb
speakeasy_client_sdk_ruby-4.0.8 lib/speakeasy_client_sdk/models/shared/versionmetadata.rb
speakeasy_client_sdk_ruby-4.0.7 lib/speakeasy_client_sdk/models/shared/versionmetadata.rb
speakeasy_client_sdk_ruby-4.0.6 lib/speakeasy_client_sdk/models/shared/versionmetadata.rb
speakeasy_client_sdk_ruby-4.0.5 lib/speakeasy_client_sdk/models/shared/versionmetadata.rb
speakeasy_client_sdk_ruby-4.0.4 lib/speakeasy_client_sdk/models/shared/versionmetadata.rb
speakeasy_client_sdk_ruby-4.0.3 lib/speakeasy_client_sdk/models/shared/versionmetadata.rb
speakeasy_client_sdk_ruby-4.0.2 lib/speakeasy_client_sdk/models/shared/versionmetadata.rb
speakeasy_client_sdk_ruby-4.0.1 lib/speakeasy_client_sdk/models/shared/versionmetadata.rb
speakeasy_client_sdk_ruby-4.0.0 lib/speakeasy_client_sdk/models/shared/versionmetadata.rb
speakeasy_client_sdk_ruby-3.0.0 lib/speakeasy_client_sdk/models/shared/versionmetadata.rb