# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. # typed: true # frozen_string_literal: true module OpenApiSDK module Shared # Returns the requested manifest file class Manifest < ::OpenApiSDK::Utils::FieldAugmented extend T::Sig # Annotations field :annotations, T.nilable(::OpenApiSDK::Shared::Annotations), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('annotations') } } # Type of artifact field :artifact_type, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('artifactType') } } # List of V2 image layer information field :layers, T.nilable(T::Array[::OpenApiSDK::Shared::V2Descriptor]), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('layers') } } # Media type usually application/vnd.docker.distribution.manifest.v2+json if this is in the accept header field :media_type, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('mediaType') } } # Schema version field :schema_version, T.nilable(::Integer), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('schemaVersion') } } sig { params(annotations: T.nilable(::OpenApiSDK::Shared::Annotations), artifact_type: T.nilable(::String), layers: T.nilable(T::Array[::OpenApiSDK::Shared::V2Descriptor]), media_type: T.nilable(::String), schema_version: T.nilable(::Integer)).void } def initialize(annotations: nil, artifact_type: nil, layers: nil, media_type: nil, schema_version: nil) @annotations = annotations @artifact_type = artifact_type @layers = layers @media_type = media_type @schema_version = schema_version end end end end