Class: DeltacloudVM::Client::InstanceState::State

Inherits:
Object
  • Object
show all
Defined in:
lib/deltacloud_vm/client/models/instance_state.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name) ⇒ State

Returns a new instance of State.



32
33
34
# File 'lib/deltacloud_vm/client/models/instance_state.rb', line 32

def initialize(name)
  @name, @transitions = name, []
end

Instance Attribute Details

#nameObject (readonly)

Returns the value of attribute name.



29
30
31
# File 'lib/deltacloud_vm/client/models/instance_state.rb', line 29

def name
  @name
end

#transitionsObject (readonly)

Returns the value of attribute transitions.



30
31
32
# File 'lib/deltacloud_vm/client/models/instance_state.rb', line 30

def transitions
  @transitions
end