mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
23 lines
686 B
Ruby
23 lines
686 B
Ruby
module Fog
|
|
module Compute
|
|
class Ecloud
|
|
class Task < Fog::Ecloud::Model
|
|
identity :href
|
|
|
|
attribute :type , :aliases => :Type
|
|
attribute :operation, :aliases => :Operation
|
|
attribute :status, :aliases => :Status
|
|
attribute :impacted_item, :aliases => :ImpactedItem
|
|
attribute :start_time, :aliases => :StartTime
|
|
attribute :completed_time, :aliases => :CompletedTime
|
|
attribute :notes, :aliases => :Notes
|
|
attribute :error_message, :aliases => :ErrorMessage
|
|
attribute :initiated_by, :aliases => :InitiatedBy
|
|
|
|
def ready?
|
|
!self.completed_time.nil?
|
|
end
|
|
end
|
|
end
|
|
end
|
|
end
|