Class: Virtuozzo::SOAP::Types::Devm::Format_drive

Inherits:
Object
  • Object
show all
Defined in:
lib/virtuozzo/soap/types/devm.rb

Overview

http://www.swsoft.com/webservices/vzl/4.0.0/devmformat_drive

device - SOAP::SOAPString
type - SOAP::SOAPString
label - SOAP::SOAPString
block_size - SOAP::SOAPLong

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(device = nil, type = nil, label = nil, block_size = nil) ⇒ Format_drive

Returns a new instance of Format_drive.



2987
2988
2989
2990
2991
2992
# File 'lib/virtuozzo/soap/types/devm.rb', line 2987

def initialize(device = nil, type = nil, label = nil, block_size = nil)
  @device = device
  @type = type
  @label = label
  @block_size = block_size
end

Instance Attribute Details

#block_sizeObject

Returns the value of attribute block_size.



2985
2986
2987
# File 'lib/virtuozzo/soap/types/devm.rb', line 2985

def block_size
  @block_size
end

#deviceObject

Returns the value of attribute device.



2982
2983
2984
# File 'lib/virtuozzo/soap/types/devm.rb', line 2982

def device
  @device
end

#labelObject

Returns the value of attribute label.



2984
2985
2986
# File 'lib/virtuozzo/soap/types/devm.rb', line 2984

def label
  @label
end

#typeObject

Returns the value of attribute type.



2983
2984
2985
# File 'lib/virtuozzo/soap/types/devm.rb', line 2983

def type
  @type
end