Sha256: 30e6e17771d3c72b1bf6bfb9986f68af1c08cea7560f7a5881994a358deaf0cb

Contents?: true

Size: 920 Bytes

Versions: 63

Compression:

Stored size: 920 Bytes

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

Version data entries

63 entries across 63 versions & 1 rubygems

Version Path
pulp_rpm_client-3.17.22 lib/pulp_rpm_client/models/skip_types_enum.rb
pulp_rpm_client-3.17.20 lib/pulp_rpm_client/models/skip_types_enum.rb
pulp_rpm_client-3.17.19 lib/pulp_rpm_client/models/skip_types_enum.rb
pulp_rpm_client-3.17.18 lib/pulp_rpm_client/models/skip_types_enum.rb
pulp_rpm_client-3.17.17 lib/pulp_rpm_client/models/skip_types_enum.rb
pulp_rpm_client-3.17.16 lib/pulp_rpm_client/models/skip_types_enum.rb
pulp_rpm_client-3.17.15 lib/pulp_rpm_client/models/skip_types_enum.rb
pulp_rpm_client-3.18.9 lib/pulp_rpm_client/models/skip_types_enum.rb
pulp_rpm_client-3.18.8 lib/pulp_rpm_client/models/skip_types_enum.rb
pulp_rpm_client-3.17.14 lib/pulp_rpm_client/models/skip_types_enum.rb
pulp_rpm_client-3.18.7 lib/pulp_rpm_client/models/skip_types_enum.rb
pulp_rpm_client-3.18.6 lib/pulp_rpm_client/models/skip_types_enum.rb
pulp_rpm_client-3.18.5 lib/pulp_rpm_client/models/skip_types_enum.rb
pulp_rpm_client-3.18.4 lib/pulp_rpm_client/models/skip_types_enum.rb
pulp_rpm_client-3.17.13 lib/pulp_rpm_client/models/skip_types_enum.rb
pulp_rpm_client-3.18.3 lib/pulp_rpm_client/models/skip_types_enum.rb
pulp_rpm_client-3.18.2 lib/pulp_rpm_client/models/skip_types_enum.rb
pulp_rpm_client-3.18.1 lib/pulp_rpm_client/models/skip_types_enum.rb
pulp_rpm_client-3.18.0 lib/pulp_rpm_client/models/skip_types_enum.rb
pulp_rpm_client-3.17.12 lib/pulp_rpm_client/models/skip_types_enum.rb