Class: Com::Vmware::Content::Library::Item::Storage::Info
- Inherits:
-
VAPI::Bindings::VapiStruct
- Object
- VAPI::Bindings::VapiStruct
- Com::Vmware::Content::Library::Item::Storage::Info
- Defined in:
- /build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/content/library/item.rb
Overview
The ``Com::Vmware::Content::Library::Item::Storage::Info`` class is the expanded form of :class:`Com::Vmware::Content::Library::Item::File::Info` that includes details about the storage backing for a file in a library item.
Instance Attribute Summary (collapse)
-
- (Object) cached
Returns the value of attribute cached.
-
- (Object) checksum_info
Returns the value of attribute checksum_info.
-
- (Object) name
Returns the value of attribute name.
-
- (Object) size
Returns the value of attribute size.
-
- (Com::Vmware::Content::Library::StorageBacking) storage_backing
The storage backing on which this object resides.
-
- (Array<URI>) storage_uris
URIs that identify the file on the storage backing.
-
- (Object) version
Returns the value of attribute version.
Class Method Summary (collapse)
-
+ (VAPI::Bindings::StructType) binding_type
Holds (gets or creates) the binding type metadata for this structure type.
Instance Method Summary (collapse)
-
- (Info) initialize(ruby_values = nil, struct_value = nil)
constructor
Constructs a new instance.
Constructor Details
- (Info) initialize(ruby_values = nil, struct_value = nil)
Constructs a new instance.
658 659 660 |
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/content/library/item.rb', line 658 def initialize(ruby_values=nil, struct_value=nil) super(self.class.binding_type, ruby_values, struct_value) end |
Instance Attribute Details
- (Object) cached
Returns the value of attribute cached
647 648 649 |
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/content/library/item.rb', line 647 def cached @cached end |
- (Object) checksum_info
Returns the value of attribute checksum_info
647 648 649 |
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/content/library/item.rb', line 647 def checksum_info @checksum_info end |
- (Object) name
Returns the value of attribute name
647 648 649 |
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/content/library/item.rb', line 647 def name @name end |
- (Object) size
Returns the value of attribute size
647 648 649 |
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/content/library/item.rb', line 647 def size @size end |
- (Com::Vmware::Content::Library::StorageBacking) storage_backing
The storage backing on which this object resides.
623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 |
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/content/library/item.rb', line 623 class Info < VAPI::Bindings::VapiStruct class << self # Holds (gets or creates) the binding type metadata for this structure type. # @scope class # @return [VAPI::Bindings::StructType] the binding type def binding_type @binding_type ||= VAPI::Bindings::StructType.new( 'com.vmware.content.library.item.storage.info', { 'storage_backing' => VAPI::Bindings::ReferenceType.new('Com::Vmware::Content::Library::StorageBacking'), 'storage_uris' => VAPI::Bindings::ListType.new(VAPI::Bindings::URIType.instance), 'checksum_info' => VAPI::Bindings::OptionalType.new(VAPI::Bindings::ReferenceType.new('Com::Vmware::Content::Library::Item::File::ChecksumInfo')), 'name' => VAPI::Bindings::StringType.instance, 'size' => VAPI::Bindings::IntegerType.instance, 'cached' => VAPI::Bindings::BooleanType.instance, 'version' => VAPI::Bindings::StringType.instance, }, Info, false, nil) end end attr_accessor :storage_backing, :storage_uris, :checksum_info, :name, :size, :cached, :version # Constructs a new instance. # @param ruby_values [Hash] a map of initial property values (optional) # @param struct_value [VAPI::Data::StructValue] a raw StructValue from the wire (optional) def initialize(ruby_values=nil, struct_value=nil) super(self.class.binding_type, ruby_values, struct_value) end end |
- (Array<URI>) storage_uris
URIs that identify the file on the storage backing.
These URIs may be specific to the backing and may need interpretation by the client. A client that understands a URI scheme in this list may use that URI to directly access the file on the storage backing. This can provide high-performance support for file manipulation.
623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 |
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/content/library/item.rb', line 623 class Info < VAPI::Bindings::VapiStruct class << self # Holds (gets or creates) the binding type metadata for this structure type. # @scope class # @return [VAPI::Bindings::StructType] the binding type def binding_type @binding_type ||= VAPI::Bindings::StructType.new( 'com.vmware.content.library.item.storage.info', { 'storage_backing' => VAPI::Bindings::ReferenceType.new('Com::Vmware::Content::Library::StorageBacking'), 'storage_uris' => VAPI::Bindings::ListType.new(VAPI::Bindings::URIType.instance), 'checksum_info' => VAPI::Bindings::OptionalType.new(VAPI::Bindings::ReferenceType.new('Com::Vmware::Content::Library::Item::File::ChecksumInfo')), 'name' => VAPI::Bindings::StringType.instance, 'size' => VAPI::Bindings::IntegerType.instance, 'cached' => VAPI::Bindings::BooleanType.instance, 'version' => VAPI::Bindings::StringType.instance, }, Info, false, nil) end end attr_accessor :storage_backing, :storage_uris, :checksum_info, :name, :size, :cached, :version # Constructs a new instance. # @param ruby_values [Hash] a map of initial property values (optional) # @param struct_value [VAPI::Data::StructValue] a raw StructValue from the wire (optional) def initialize(ruby_values=nil, struct_value=nil) super(self.class.binding_type, ruby_values, struct_value) end end |
- (Object) version
Returns the value of attribute version
647 648 649 |
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/content/library/item.rb', line 647 def version @version end |
Class Method Details
+ (VAPI::Bindings::StructType) binding_type
Holds (gets or creates) the binding type metadata for this structure type.
629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 |
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/content/library/item.rb', line 629 def binding_type @binding_type ||= VAPI::Bindings::StructType.new( 'com.vmware.content.library.item.storage.info', { 'storage_backing' => VAPI::Bindings::ReferenceType.new('Com::Vmware::Content::Library::StorageBacking'), 'storage_uris' => VAPI::Bindings::ListType.new(VAPI::Bindings::URIType.instance), 'checksum_info' => VAPI::Bindings::OptionalType.new(VAPI::Bindings::ReferenceType.new('Com::Vmware::Content::Library::Item::File::ChecksumInfo')), 'name' => VAPI::Bindings::StringType.instance, 'size' => VAPI::Bindings::IntegerType.instance, 'cached' => VAPI::Bindings::BooleanType.instance, 'version' => VAPI::Bindings::StringType.instance, }, Info, false, nil) end |