Class: VCloudSdk::Xml::Link

Inherits:
Wrapper
  • Object
show all
Defined in:
lib/cloud/vcloud/xml/wrapper_classes/link_wrapper.rb

Instance Method Summary collapse

Methods inherited from Wrapper

#==, #[], #[]=, #add_child, #attribute_with_ns, #content, #content=, #create_child, #create_qualified_name, #create_xpath_query, #doc_namespaces, #error, #get_nodes, #href_id, #initialize, #to_s, #urn, #xpath

Constructor Details

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

Instance Method Details

#hrefObject



29
30
31
# File 'lib/cloud/vcloud/xml/wrapper_classes/link_wrapper.rb', line 29

def href
  @root["href"]
end

#href=(href) ⇒ Object



33
34
35
# File 'lib/cloud/vcloud/xml/wrapper_classes/link_wrapper.rb', line 33

def href=(href)
  @root["href"] = href
end

#nameObject



5
6
7
# File 'lib/cloud/vcloud/xml/wrapper_classes/link_wrapper.rb', line 5

def name
  @root["name"]
end

#name=(name) ⇒ Object



9
10
11
# File 'lib/cloud/vcloud/xml/wrapper_classes/link_wrapper.rb', line 9

def name=(name)
  @root["name"] = name
end

#relObject



13
14
15
# File 'lib/cloud/vcloud/xml/wrapper_classes/link_wrapper.rb', line 13

def rel
  @root["rel"]
end

#rel=(rel) ⇒ Object



17
18
19
# File 'lib/cloud/vcloud/xml/wrapper_classes/link_wrapper.rb', line 17

def rel=(rel)
  @root["rel"] = rel
end

#typeObject



21
22
23
# File 'lib/cloud/vcloud/xml/wrapper_classes/link_wrapper.rb', line 21

def type
  @root["type"]
end

#type=(type) ⇒ Object



25
26
27
# File 'lib/cloud/vcloud/xml/wrapper_classes/link_wrapper.rb', line 25

def type=(type)
  @root["type"] = type
end