Class: CloudhouseGuardian::NodeMediumInfo
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, #make_headers
Constructor Details
#initialize(appliance_url, appliance_api_key, sec_key, insecure) ⇒ NodeMediumInfo
Returns a new instance of NodeMediumInfo.
13
14
15
16
|
# File 'lib/cloudhouse_guardian/NodeMediumInfo.rb', line 13
def initialize(appliance_url, appliance_api_key, sec_key, insecure)
super(appliance_url, appliance_api_key, sec_key, insecure)
@inner_map = {}
end
|
Instance Method Details
#[](key) ⇒ Object
19
20
21
|
# File 'lib/cloudhouse_guardian/NodeMediumInfo.rb', line 19
def [](key)
return @inner_map[key]
end
|
#[]=(key, value) ⇒ Object
24
25
26
|
# File 'lib/cloudhouse_guardian/NodeMediumInfo.rb', line 24
def []=(key, value)
@inner_map[key] = value
end
|
#from_hash(h) ⇒ Object
3
4
|
# File 'lib/cloudhouse_guardian/NodeMediumInfo.rb', line 3
def from_hash(h)
end
|
#to_hash ⇒ Object
5
6
7
8
|
# File 'lib/cloudhouse_guardian/NodeMediumInfo.rb', line 5
def to_hash
h = {}
return h
end
|
#to_json(options = nil) ⇒ Object
9
10
11
12
|
# File 'lib/cloudhouse_guardian/NodeMediumInfo.rb', line 9
def to_json(options = nil)
h = to_hash
return h.to_json(options)
end
|