Sha256: 2bd657537e72b5aa5dda710bf825fd7791fcca8880db22478b8f1dc6708d6265
Contents?: true
Size: 1.1 KB
Versions: 120
Compression:
Stored size: 1.1 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 PulpRpmClient class PackageChecksumTypeEnum UNKNOWN = "unknown".freeze MD5 = "md5".freeze SHA1 = "sha1".freeze SHA224 = "sha224".freeze SHA256 = "sha256".freeze SHA384 = "sha384".freeze SHA512 = "sha512".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 = PackageChecksumTypeEnum.constants.select { |c| PackageChecksumTypeEnum::const_get(c) == value } raise "Invalid ENUM value #{value} for class #PackageChecksumTypeEnum" if constantValues.empty? value end end end
Version data entries
120 entries across 120 versions & 1 rubygems