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