Sha256: 68d4c157223986cfe7ad836c28919c40fd1a2937ad792dc893a617127471a901

Contents?: true

Size: 1.28 KB

Versions: 7

Compression:

Stored size: 1.28 KB

Contents

# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.

# typed: true
# frozen_string_literal: true


module SpeakeasyClientSDK
  module Shared
  
    # V2 descriptor
    class V2Descriptor < ::SpeakeasyClientSDK::Utils::FieldAugmented
      extend T::Sig

      # Annotations
      field :annotations, T.nilable(::SpeakeasyClientSDK::Shared::Annotations), { 'format_json': { 'letter_case': ::SpeakeasyClientSDK::Utils.field_name('annotations') } }
      # Digest
      field :digest, T.nilable(::String), { 'format_json': { 'letter_case': ::SpeakeasyClientSDK::Utils.field_name('digest') } }
      # Media type
      field :media_type, T.nilable(::String), { 'format_json': { 'letter_case': ::SpeakeasyClientSDK::Utils.field_name('mediaType') } }
      # Size
      field :size, T.nilable(::Integer), { 'format_json': { 'letter_case': ::SpeakeasyClientSDK::Utils.field_name('size') } }


      sig { params(annotations: T.nilable(::SpeakeasyClientSDK::Shared::Annotations), digest: T.nilable(::String), media_type: T.nilable(::String), size: T.nilable(::Integer)).void }
      def initialize(annotations: nil, digest: nil, media_type: nil, size: nil)
        @annotations = annotations
        @digest = digest
        @media_type = media_type
        @size = size
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
speakeasy_client_sdk_ruby-4.2.22 lib/speakeasy_client_sdk/models/shared/v2descriptor.rb
speakeasy_client_sdk_ruby-4.2.21 lib/speakeasy_client_sdk/models/shared/v2descriptor.rb
speakeasy_client_sdk_ruby-4.2.20 lib/speakeasy_client_sdk/models/shared/v2descriptor.rb
speakeasy_client_sdk_ruby-4.2.19 lib/speakeasy_client_sdk/models/shared/v2descriptor.rb
speakeasy_client_sdk_ruby-4.2.18 lib/speakeasy_client_sdk/models/shared/v2descriptor.rb
speakeasy_client_sdk_ruby-4.2.17 lib/speakeasy_client_sdk/models/shared/v2descriptor.rb
speakeasy_client_sdk_ruby-4.2.16 lib/speakeasy_client_sdk/models/shared/v2descriptor.rb