Class: CloudhouseGuardian::NodeType

Inherits:
BaseObject show all
Defined in:
lib/cloudhouse_guardian/NodeType.rb

Constant Summary collapse

SERVICE =
"SC"
SERVER =
"SV"
DATABASE =
"DB"
DESKTOP =
"DT"
SWITCH =
"SW"
FIREWALL =
"FW"
ROUTER =
"RT"
SMART_PHONE =
"PH"
ROBOT =
"RB"
SAN_STORAGE =
"SS"
WEBSITE =
"WS"

Instance Attribute Summary

Attributes inherited from BaseObject

#appliance_api_key, #appliance_url, #insecure, #sec_key

Instance Method Summary collapse

Methods inherited from BaseObject

#http_delete, #http_get, #http_post, #http_put, #initialize, #make_headers

Constructor Details

This class inherits a constructor from CloudhouseGuardian::BaseObject

Instance Method Details

#from_hash(h) ⇒ Object



3
4
# File 'lib/cloudhouse_guardian/NodeType.rb', line 3

def from_hash(h)
end

#to_hashObject



5
6
7
8
# File 'lib/cloudhouse_guardian/NodeType.rb', line 5

def to_hash
  h = {}
  return h
end

#to_json(options = nil) ⇒ Object



9
10
11
12
# File 'lib/cloudhouse_guardian/NodeType.rb', line 9

def to_json(options = nil)
  h = to_hash
  return h.to_json(options)
end