Sha256: 62ff2cdcef8c6dcc55d149d95a701e523617a4e306caf792eeef5a3dadc3755d
Contents?: true
Size: 1.39 KB
Versions: 2
Compression:
Stored size: 1.39 KB
Contents
=begin #CLOUD API #An enterprise-grade Infrastructure is provided as a Service (IaaS) solution that can be managed through a browser-based \"Data Center Designer\" (DCD) tool or via an easy to use API. The API allows you to perform a variety of management tasks such as spinning up additional servers, adding volumes, adjusting networking, and so forth. It is designed to allow users to leverage the same power and flexibility found within the DCD visual tool. Both tools are consistent with their concepts and lend well to making the experience smooth and intuitive. The version of the OpenAPI document: 6.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.0.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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
ionoscloud-6.0.0.beta.2 | lib/ionoscloud/models/nat_gateway_rule_type.rb |
ionoscloud-6.0.0.beta.1 | lib/ionoscloud/models/nat_gateway_rule_type.rb |