Sha256: 761a020143b1c9b580341ebce60207b1c0ef28468b95afea10c28e00f21d0959

Contents?: true

Size: 1.17 KB

Versions: 25

Compression:

Stored size: 1.17 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 PulpPythonClient
  class PackageTypesEnum
    BDIST_DMG = "bdist_dmg".freeze
    BDIST_DUMB = "bdist_dumb".freeze
    BDIST_EGG = "bdist_egg".freeze
    BDIST_MSI = "bdist_msi".freeze
    BDIST_RPM = "bdist_rpm".freeze
    BDIST_WHEEL = "bdist_wheel".freeze
    BDIST_WININST = "bdist_wininst".freeze
    SDIST = "sdist".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 = PackageTypesEnum.constants.select { |c| PackageTypesEnum::const_get(c) == value }
      raise "Invalid ENUM value #{value} for class #PackageTypesEnum" if constantValues.empty?
      value
    end
  end
end

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
pulp_python_client-3.12.6 lib/pulp_python_client/models/package_types_enum.rb
pulp_python_client-3.11.4 lib/pulp_python_client/models/package_types_enum.rb
pulp_python_client-3.12.5 lib/pulp_python_client/models/package_types_enum.rb
pulp_python_client-3.12.4 lib/pulp_python_client/models/package_types_enum.rb
pulp_python_client-3.12.3 lib/pulp_python_client/models/package_types_enum.rb
pulp_python_client-3.12.2 lib/pulp_python_client/models/package_types_enum.rb
pulp_python_client-3.11.3 lib/pulp_python_client/models/package_types_enum.rb
pulp_python_client-3.12.1 lib/pulp_python_client/models/package_types_enum.rb
pulp_python_client-3.11.2 lib/pulp_python_client/models/package_types_enum.rb
pulp_python_client-3.12.0 lib/pulp_python_client/models/package_types_enum.rb
pulp_python_client-3.11.1 lib/pulp_python_client/models/package_types_enum.rb
pulp_python_client-3.11.0 lib/pulp_python_client/models/package_types_enum.rb
pulp_python_client-3.10.0 lib/pulp_python_client/models/package_types_enum.rb
pulp_python_client-3.9.0 lib/pulp_python_client/models/package_types_enum.rb
pulp_python_client-3.8.0 lib/pulp_python_client/models/package_types_enum.rb
pulp_python_client-3.7.3 lib/pulp_python_client/models/package_types_enum.rb
pulp_python_client-3.6.1 lib/pulp_python_client/models/package_types_enum.rb
pulp_python_client-3.7.2 lib/pulp_python_client/models/package_types_enum.rb
pulp_python_client-3.7.1 lib/pulp_python_client/models/package_types_enum.rb
pulp_python_client-3.7.0 lib/pulp_python_client/models/package_types_enum.rb