Class: Fog::Vcloud::MockDataClasses::MockPublicIpInternetService
- Inherits:
-
Base
- Object
- Hash
- Base
- Fog::Vcloud::MockDataClasses::MockPublicIpInternetService
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
#backup_service ⇒ Object
718
719
720
|
# File 'lib/fog/vcloud/mock_data_classes.rb', line 718
def backup_service
self[:backup_service]
end
|
#description ⇒ Object
686
687
688
|
# File 'lib/fog/vcloud/mock_data_classes.rb', line 686
def description
self[:description] || "Description for Public IP Service #{name}"
end
|
#enabled ⇒ Object
698
699
700
|
# File 'lib/fog/vcloud/mock_data_classes.rb', line 698
def enabled
!!self[:enabled]
end
|
#monitor ⇒ Object
714
715
716
|
# File 'lib/fog/vcloud/mock_data_classes.rb', line 714
def monitor
nil
end
|
#name ⇒ Object
682
683
684
|
# File 'lib/fog/vcloud/mock_data_classes.rb', line 682
def name
self[:name] || "Public IP Service #{object_id}"
end
|
#node_collection ⇒ Object
#port ⇒ Object
694
695
696
|
# File 'lib/fog/vcloud/mock_data_classes.rb', line 694
def port
self[:port]
end
|
#protocol ⇒ Object
690
691
692
|
# File 'lib/fog/vcloud/mock_data_classes.rb', line 690
def protocol
self[:protocol]
end
|
#redirect_url ⇒ Object
702
703
704
|
# File 'lib/fog/vcloud/mock_data_classes.rb', line 702
def redirect_url
self[:redirect_url]
end
|
#timeout ⇒ Object
706
707
708
|
# File 'lib/fog/vcloud/mock_data_classes.rb', line 706
def timeout
self[:timeout] || 2
end
|