Class: VCloudSdk::Xml::DiskAttachOrDetachParams

Inherits:
Wrapper
  • Object
show all
Defined in:
lib/cloud/vcloud/xml/wrapper_classes/disk_attach_or_detach_params.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, #href_id, #initialize, #name, #name=, #to_s, #type, #urn, #xpath

Constructor Details

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

Instance Method Details

#disk_href=(value) ⇒ Object



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

def disk_href=(value)
  disk = get_nodes("Disk").first
  disk["href"] = value.to_s
end