Sha256: 0c67de8fd9e9ce97a1dd6c7bc8506f60c767892c8f81892df5c7d324baf203a5

Contents?: true

Size: 1.18 KB

Versions: 187

Compression:

Stored size: 1.18 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 PulpcoreClient
  class StorageClassEnum
    PULPCORE_APP_MODELS_STORAGE_FILE_SYSTEM = "pulpcore.app.models.storage.FileSystem".freeze
    STORAGES_BACKENDS_S3BOTO3_S3_BOTO3_STORAGE = "storages.backends.s3boto3.S3Boto3Storage".freeze
    STORAGES_BACKENDS_AZURE_STORAGE_AZURE_STORAGE = "storages.backends.azure_storage.AzureStorage".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 = StorageClassEnum.constants.select { |c| StorageClassEnum::const_get(c) == value }
      raise "Invalid ENUM value #{value} for class #StorageClassEnum" if constantValues.empty?
      value
    end
  end
end

Version data entries

187 entries across 187 versions & 1 rubygems

Version Path
pulpcore_client-3.63.3 lib/pulpcore_client/models/storage_class_enum.rb
pulpcore_client-3.28.34 lib/pulpcore_client/models/storage_class_enum.rb
pulpcore_client-3.49.24 lib/pulpcore_client/models/storage_class_enum.rb
pulpcore_client-3.68.0 lib/pulpcore_client/models/storage_class_enum.rb
pulpcore_client-3.67.1 lib/pulpcore_client/models/storage_class_enum.rb
pulpcore_client-3.39.23 lib/pulpcore_client/models/storage_class_enum.rb
pulpcore_client-3.63.2 lib/pulpcore_client/models/storage_class_enum.rb
pulpcore_client-3.66.1 lib/pulpcore_client/models/storage_class_enum.rb
pulpcore_client-3.28.33 lib/pulpcore_client/models/storage_class_enum.rb
pulpcore_client-3.39.22 lib/pulpcore_client/models/storage_class_enum.rb
pulpcore_client-3.49.23 lib/pulpcore_client/models/storage_class_enum.rb
pulpcore_client-3.67.0 lib/pulpcore_client/models/storage_class_enum.rb
pulpcore_client-3.63.1 lib/pulpcore_client/models/storage_class_enum.rb
pulpcore_client-3.49.22 lib/pulpcore_client/models/storage_class_enum.rb
pulpcore_client-3.66.0 lib/pulpcore_client/models/storage_class_enum.rb
pulpcore_client-3.49.21 lib/pulpcore_client/models/storage_class_enum.rb
pulpcore_client-3.65.0 lib/pulpcore_client/models/storage_class_enum.rb
pulpcore_client-3.64.0 lib/pulpcore_client/models/storage_class_enum.rb
pulpcore_client-3.63.0 lib/pulpcore_client/models/storage_class_enum.rb
pulpcore_client-3.62.0 lib/pulpcore_client/models/storage_class_enum.rb