Sha256: 0a48b88c65fdffbef231145bb11105eee2eb06a8ba14d9a4c50f08517cb64764

Contents?: true

Size: 1.21 KB

Versions: 1

Compression:

Stored size: 1.21 KB

Contents

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

# typed: true
# frozen_string_literal: true


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

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


      sig { params(annotations: T.nilable(::OpenApiSDK::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

1 entries across 1 versions & 1 rubygems

Version Path
speakeasy_client_sdk_ruby-4.2.24 lib/open_api_sdk/models/shared/v2descriptor.rb