Sha256: d226c44b1467c71f5120b1df3c229a20641d59b3e5c9c8513a995063e1019ec0

Contents?: true

Size: 1.11 KB

Versions: 12

Compression:

Stored size: 1.11 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.2.3

=end

require 'date'

module PulpRpmClient
  class MetadataChecksumTypeEnum
    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 = MetadataChecksumTypeEnum.constants.select { |c| MetadataChecksumTypeEnum::const_get(c) == value }
      raise "Invalid ENUM value #{value} for class #MetadataChecksumTypeEnum" if constantValues.empty?
      value
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
pulp_rpm_client-3.11.1 lib/pulp_rpm_client/models/metadata_checksum_type_enum.rb
pulp_rpm_client-3.12.0 lib/pulp_rpm_client/models/metadata_checksum_type_enum.rb
pulp_rpm_client-3.11.0 lib/pulp_rpm_client/models/metadata_checksum_type_enum.rb
pulp_rpm_client-3.10.0 lib/pulp_rpm_client/models/metadata_checksum_type_enum.rb
pulp_rpm_client-3.9.1 lib/pulp_rpm_client/models/metadata_checksum_type_enum.rb
pulp_rpm_client-3.9.0 lib/pulp_rpm_client/models/metadata_checksum_type_enum.rb
pulp_rpm_client-3.6.3 lib/pulp_rpm_client/models/metadata_checksum_type_enum.rb
pulp_rpm_client-3.8.0 lib/pulp_rpm_client/models/metadata_checksum_type_enum.rb
pulp_rpm_client-3.7.0 lib/pulp_rpm_client/models/metadata_checksum_type_enum.rb
pulp_rpm_client-3.6.2 lib/pulp_rpm_client/models/metadata_checksum_type_enum.rb
pulp_rpm_client-3.6.1 lib/pulp_rpm_client/models/metadata_checksum_type_enum.rb
pulp_rpm_client-3.6.0 lib/pulp_rpm_client/models/metadata_checksum_type_enum.rb