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

Version Path
pulp_rpm_client-3.26.3 lib/pulp_rpm_client/models/package_checksum_type_enum.rb
pulp_rpm_client-3.26.2 lib/pulp_rpm_client/models/package_checksum_type_enum.rb
pulp_rpm_client-3.25.6 lib/pulp_rpm_client/models/package_checksum_type_enum.rb
pulp_rpm_client-3.27.2 lib/pulp_rpm_client/models/package_checksum_type_enum.rb
pulp_rpm_client-3.27.1 lib/pulp_rpm_client/models/package_checksum_type_enum.rb
pulp_rpm_client-3.18.21 lib/pulp_rpm_client/models/package_checksum_type_enum.rb
pulp_rpm_client-3.27.0 lib/pulp_rpm_client/models/package_checksum_type_enum.rb
pulp_rpm_client-3.22.8 lib/pulp_rpm_client/models/package_checksum_type_enum.rb
pulp_rpm_client-3.23.4 lib/pulp_rpm_client/models/package_checksum_type_enum.rb
pulp_rpm_client-3.25.5 lib/pulp_rpm_client/models/package_checksum_type_enum.rb
pulp_rpm_client-3.26.1 lib/pulp_rpm_client/models/package_checksum_type_enum.rb
pulp_rpm_client-3.25.3 lib/pulp_rpm_client/models/package_checksum_type_enum.rb
pulp_rpm_client-3.25.2 lib/pulp_rpm_client/models/package_checksum_type_enum.rb
pulp_rpm_client-3.17.22 lib/pulp_rpm_client/models/package_checksum_type_enum.rb
pulp_rpm_client-3.25.1 lib/pulp_rpm_client/models/package_checksum_type_enum.rb
pulp_rpm_client-3.23.3 lib/pulp_rpm_client/models/package_checksum_type_enum.rb
pulp_rpm_client-3.22.7 lib/pulp_rpm_client/models/package_checksum_type_enum.rb
pulp_rpm_client-3.19.12 lib/pulp_rpm_client/models/package_checksum_type_enum.rb
pulp_rpm_client-3.18.20 lib/pulp_rpm_client/models/package_checksum_type_enum.rb
pulp_rpm_client-3.23.2 lib/pulp_rpm_client/models/package_checksum_type_enum.rb