Sha256: 4fb0d0b692bbb42f6c0692ed27fa21483bfe35da26a1c1dea488ec621f6134db
Contents?: true
Size: 1.36 KB
Versions: 109
Compression:
Stored size: 1.36 KB
Contents
=begin #Pulp 3 API #Fetch, Upload, Organize, and Distribute Software Packages The version of the OpenAPI document: v3 Contact: pulp-list@redhat.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 =end require 'date' module PulpContainerClient class MediaTypesEnum DOCKER_DISTRIBUTION_MANIFEST_V1JSON = "application/vnd.docker.distribution.manifest.v1+json".freeze DOCKER_DISTRIBUTION_MANIFEST_V2JSON = "application/vnd.docker.distribution.manifest.v2+json".freeze DOCKER_DISTRIBUTION_MANIFEST_LIST_V2JSON = "application/vnd.docker.distribution.manifest.list.v2+json".freeze OCI_IMAGE_MANIFEST_V1JSON = "application/vnd.oci.image.manifest.v1+json".freeze OCI_IMAGE_INDEX_V1JSON = "application/vnd.oci.image.index.v1+json".freeze # Builds the enum from string # @param [String] The enum value in the form of the string # @return [String] The enum value def self.build_from_hash(value) new.build_from_hash(value) end # Builds the enum from string # @param [String] The enum value in the form of the string # @return [String] The enum value def build_from_hash(value) constantValues = MediaTypesEnum.constants.select { |c| MediaTypesEnum::const_get(c) == value } raise "Invalid ENUM value #{value} for class #MediaTypesEnum" if constantValues.empty? value end end end
Version data entries
109 entries across 109 versions & 1 rubygems