Class: VCloudSdk::Xml::IpScope

Inherits:
Wrapper
  • Object
show all
Defined in:
lib/ruby_vcloud_sdk/xml/wrapper_classes/ip_scope.rb

Instance Method Summary collapse

Methods inherited from Wrapper

#==, #[], #[]=, #add_child, #attribute, #content, #content=, #create_child, #create_qualified_name, #create_xpath_query, #doc_namespaces, #edit_link, #get_nodes, #href, #href=, #href_id, #initialize, #name, #name=, #power_off_link, #power_on_link, #remove_link, #running_tasks, #to_s, #type, #type=, #undeploy_link, #urn, #xpath

Constructor Details

This class inherits a constructor from VCloudSdk::Xml::Wrapper

Instance Method Details

#gatewayObject



16
17
18
# File 'lib/ruby_vcloud_sdk/xml/wrapper_classes/ip_scope.rb', line 16

def gateway
  get_nodes(:Gateway).first.content
end

#gateway=(value) ⇒ Object



20
21
22
# File 'lib/ruby_vcloud_sdk/xml/wrapper_classes/ip_scope.rb', line 20

def gateway=(value)
  get_nodes(:Gateway).first.content = value
end

#ip_rangesObject



4
5
6
# File 'lib/ruby_vcloud_sdk/xml/wrapper_classes/ip_scope.rb', line 4

def ip_ranges
  get_nodes(:IpRanges).first
end

#is_inherited=(value) ⇒ Object



12
13
14
# File 'lib/ruby_vcloud_sdk/xml/wrapper_classes/ip_scope.rb', line 12

def is_inherited=(value)
  get_nodes(:IsInherited).first.content = value
end

#is_inherited?Boolean

Returns:

  • (Boolean)


8
9
10
# File 'lib/ruby_vcloud_sdk/xml/wrapper_classes/ip_scope.rb', line 8

def is_inherited?
  get_nodes(:IsInherited).first.content
end

#netmaskObject



24
25
26
# File 'lib/ruby_vcloud_sdk/xml/wrapper_classes/ip_scope.rb', line 24

def netmask
  get_nodes(:Netmask).first.content
end

#netmask=(value) ⇒ Object



28
29
30
# File 'lib/ruby_vcloud_sdk/xml/wrapper_classes/ip_scope.rb', line 28

def netmask=(value)
  get_nodes(:Netmask).first.content = value
end