Sha256: ef1170e5909029d87373face4b9b6157a043300093cf1f066d98260e5ca378d1

Contents?: true

Size: 1.26 KB

Versions: 6

Compression:

Stored size: 1.26 KB

Contents

=begin
#CLOUD API

#IONOS Enterprise-grade Infrastructure as a Service (IaaS) solutions can be managed through the Cloud API, in addition or as an alternative to the \"Data Center Designer\" (DCD) browser-based tool.    Both methods employ consistent concepts and features, deliver similar power and flexibility, and can be used to perform a multitude of management tasks, including adding servers, volumes, configuring networks, and so on.

The version of the OpenAPI document: 6.0

Generated by: https://openapi-generator.tech
OpenAPI Generator version: 5.2.1-SNAPSHOT

=end

require 'date'
require 'time'

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

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
ionoscloud-6.1.2 lib/ionoscloud/models/nat_gateway_rule_type.rb
ionoscloud-6.1.1 lib/ionoscloud/models/nat_gateway_rule_type.rb
ionoscloud-6.1.0 lib/ionoscloud/models/nat_gateway_rule_type.rb
ionoscloud-6.0.2 lib/ionoscloud/models/nat_gateway_rule_type.rb
ionoscloud-6.0.1 lib/ionoscloud/models/nat_gateway_rule_type.rb
ionoscloud-6.0.0 lib/ionoscloud/models/nat_gateway_rule_type.rb