Sha256: 8ba675b16551eae972004ced9a03d3c55077b6e7f6c07e6e6a2d55c9a74febef
Contents?: true
Size: 1.31 KB
Versions: 1
Compression:
Stored size: 1.31 KB
Contents
=begin #Network Storage API #Create, list, edit, and delete storage networks with the Network Storage API. Use storage networks to expand storage capacity on a private network. <br> <span class='pnap-api-knowledge-base-link'> Knowledge base articles to help you can be found <a href='https://phoenixnap.com/kb/bare-metal-cloud-storage' target='_blank'>here</a> </span> <br> <b>All URLs are relative to (https://api.phoenixnap.com/network-storage/v1/)</b> The version of the OpenAPI document: 1.0 Contact: support@phoenixnap.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.4.0 =end require 'date' require 'time' module NetworkStorageApi class Status READY = "READY".freeze BUSY = "BUSY".freeze ERROR = "ERROR".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 = Status.constants.select { |c| Status::const_get(c) == value } raise "Invalid ENUM value #{value} for class #Status" if constantValues.empty? value end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
pnap_network_storage_api-1.0.0 | lib/pnap_network_storage_api/models/status.rb |