class VCloudSdk::InternalDisk
Attributes
bus_sub_type[R]
bus_type[R]
capacity[R]
name[R]
Public Class Methods
new(entity_xml)
click to toggle source
# File lib/ruby_vcloud_sdk/internal_disk.rb, line 6 def initialize(entity_xml) @name = entity_xml.element_name @capacity = entity_xml.host_resource.attribute("capacity").to_s.to_i @bus_type = entity_xml.host_resource.attribute("busType").to_s @bus_sub_type = entity_xml.host_resource.attribute("busSubType").to_s end