Class: Fog::Vcloud::MockDataClasses::MockPublicIpInternetServiceNode
- Inherits:
-
Base
- Object
- Hash
- Base
- Fog::Vcloud::MockDataClasses::MockPublicIpInternetServiceNode
show all
- Defined in:
- lib/fog/vcloud/mock_data_classes.rb
Instance Method Summary
collapse
Methods inherited from Base
#_parent, base_url, #base_url, base_url=, #first, #href, #initialize, #inspect, #last
Instance Method Details
#description ⇒ Object
749
750
751
|
# File 'lib/fog/vcloud/mock_data_classes.rb', line 749
def description
self[:description] || "Description for Public IP Service Node #{name}"
end
|
#enabled ⇒ Object
757
758
759
|
# File 'lib/fog/vcloud/mock_data_classes.rb', line 757
def enabled
self[:enabled].to_s.downcase != "false"
end
|
#enabled=(new_value) ⇒ Object
761
762
763
|
# File 'lib/fog/vcloud/mock_data_classes.rb', line 761
def enabled=(new_value)
self[:enabled] = new_value
end
|
#ip_address ⇒ Object
741
742
743
|
# File 'lib/fog/vcloud/mock_data_classes.rb', line 741
def ip_address
self[:ip_address]
end
|
#name ⇒ Object
745
746
747
|
# File 'lib/fog/vcloud/mock_data_classes.rb', line 745
def name
self[:name] || "Public IP Service Node #{object_id}"
end
|
#port ⇒ Object
753
754
755
|
# File 'lib/fog/vcloud/mock_data_classes.rb', line 753
def port
self[:port]
end
|