Sha256: aac99352c24257812ccef8e50054c8f8e3d97f01f62fde4228b3510e48517cea

Contents?: true

Size: 1.31 KB

Versions: 1

Compression:

Stored size: 1.31 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 PulpAnsibleClient
  class KeyringEnum
    DATABASE_FIELDS_SYMMETRIC_KEY = "/etc/pulp/certs/database_fields.symmetric.key".freeze
    PULP_WEBSERVER_CRT = "/etc/pulp/certs/pulp_webserver.crt".freeze
    PULP_WEBSERVER_CSR = "/etc/pulp/certs/pulp_webserver.csr".freeze
    PULP_WEBSERVER_KEY = "/etc/pulp/certs/pulp_webserver.key".freeze
    TOKEN_PRIVATE_KEY_PEM = "/etc/pulp/certs/token_private_key.pem".freeze
    TOKEN_PUBLIC_KEY_PEM = "/etc/pulp/certs/token_public_key.pem".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 = KeyringEnum.constants.select { |c| KeyringEnum::const_get(c) == value }
      raise "Invalid ENUM value #{value} for class #KeyringEnum" if constantValues.empty?
      value
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
pulp_ansible_client-0.13.0 lib/pulp_ansible_client/models/keyring_enum.rb