class VCloudSdk::Xml::Task
Public Instance Methods
cancel_link()
click to toggle source
# File lib/ruby_vcloud_sdk/xml/wrapper_classes/task.rb, line 5 def cancel_link get_nodes(XML_TYPE[:LINK], { rel: "task:cancel" }).first end
operation()
click to toggle source
Friendly description of the task
# File lib/ruby_vcloud_sdk/xml/wrapper_classes/task.rb, line 14 def operation self["operation"] end
operation_name()
click to toggle source
Short form name of the operation
# File lib/ruby_vcloud_sdk/xml/wrapper_classes/task.rb, line 19 def operation_name self["operationName"] end
progress()
click to toggle source
Not all tasks will have progress
# File lib/ruby_vcloud_sdk/xml/wrapper_classes/task.rb, line 24 def progress task_progress = get_nodes("Progress").first return task_progress.content unless task_progress.nil? nil end
status()
click to toggle source
# File lib/ruby_vcloud_sdk/xml/wrapper_classes/task.rb, line 9 def status self["status"] end