Class: Softlayer::Virtual::Guest::Block::Device

Inherits:
Entity
  • Object
show all
Defined in:
lib/softlayer/virtual/guest/block/device.rb,
lib/softlayer/virtual/guest/block/device/status.rb,
lib/softlayer/virtual/guest/block/device/template.rb,
lib/softlayer/virtual/guest/block/device/template/group.rb,
lib/softlayer/virtual/guest/block/device/template/group/status.rb,
lib/softlayer/virtual/guest/block/device/template/group/accounts.rb

Defined Under Namespace

Classes: Representer, Status, Template

Instance Attribute Summary collapse

Method Summary

Methods inherited from Model

all, all_request_for, create, find, #init_headers, parse, process_message, #request, request, service_name, #service_name, #to_hash, #to_softlayer

Methods included from Model::Operations

extended, #filter, included, #limit, #mask, #request_headers

Instance Attribute Details

#bootable_flagObject

Returns the value of attribute bootable_flag.



8
9
10
# File 'lib/softlayer/virtual/guest/block/device.rb', line 8

def bootable_flag
  @bootable_flag
end

#create_dateObject

Returns the value of attribute create_date.



9
10
11
# File 'lib/softlayer/virtual/guest/block/device.rb', line 9

def create_date
  @create_date
end

#deviceObject

Returns the value of attribute device.



10
11
12
# File 'lib/softlayer/virtual/guest/block/device.rb', line 10

def device
  @device
end

#disk_imageObject

Returns the value of attribute disk_image.



20
21
22
# File 'lib/softlayer/virtual/guest/block/device.rb', line 20

def disk_image
  @disk_image
end

#disk_image_idObject

Returns the value of attribute disk_image_id.



11
12
13
# File 'lib/softlayer/virtual/guest/block/device.rb', line 11

def disk_image_id
  @disk_image_id
end

#guestObject

Returns the value of attribute guest.



21
22
23
# File 'lib/softlayer/virtual/guest/block/device.rb', line 21

def guest
  @guest
end

#guest_idObject

Returns the value of attribute guest_id.



12
13
14
# File 'lib/softlayer/virtual/guest/block/device.rb', line 12

def guest_id
  @guest_id
end

#hot_plug_flagObject

Returns the value of attribute hot_plug_flag.



13
14
15
# File 'lib/softlayer/virtual/guest/block/device.rb', line 13

def hot_plug_flag
  @hot_plug_flag
end

#idObject

Returns the value of attribute id.



14
15
16
# File 'lib/softlayer/virtual/guest/block/device.rb', line 14

def id
  @id
end

#modify_dateObject

Returns the value of attribute modify_date.



15
16
17
# File 'lib/softlayer/virtual/guest/block/device.rb', line 15

def modify_date
  @modify_date
end

#mount_modeObject

Returns the value of attribute mount_mode.



16
17
18
# File 'lib/softlayer/virtual/guest/block/device.rb', line 16

def mount_mode
  @mount_mode
end

#mount_typeObject

Returns the value of attribute mount_type.



17
18
19
# File 'lib/softlayer/virtual/guest/block/device.rb', line 17

def mount_type
  @mount_type
end

#statusObject

Returns the value of attribute status.



22
23
24
# File 'lib/softlayer/virtual/guest/block/device.rb', line 22

def status
  @status
end

#status_idObject

Returns the value of attribute status_id.



18
19
20
# File 'lib/softlayer/virtual/guest/block/device.rb', line 18

def status_id
  @status_id
end

#uuidObject

Returns the value of attribute uuid.



19
20
21
# File 'lib/softlayer/virtual/guest/block/device.rb', line 19

def uuid
  @uuid
end