Class: Com::Vmware::Appliance::System::Version::VersionStruct

Inherits:
VAPI::Bindings::VapiStruct
  • Object
show all
Defined in:
/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/appliance/system.rb

Overview

``Com::Vmware::Appliance::System::Version::VersionStruct`` class Structure representing appliance version information.

Instance Attribute Summary (collapse)

Class Method Summary (collapse)

Instance Method Summary (collapse)

Constructor Details

- (VersionStruct) initialize(ruby_values = nil, struct_value = nil)

Constructs a new instance.

Parameters:

  • ruby_values (Hash) (defaults to: nil)

    a map of initial property values (optional)

  • struct_value (VAPI::Data::StructValue) (defaults to: nil)

    a raw StructValue from the wire (optional)



373
374
375
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/appliance/system.rb', line 373

def initialize(ruby_values=nil, struct_value=nil)
    super(self.class.binding_type, ruby_values, struct_value)
end

Instance Attribute Details

- (String) build

Appliance build number.

Returns:

  • (String)


338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/appliance/system.rb', line 338

class VersionStruct < 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.appliance.system.version.version_struct',
                {
                    'version' => VAPI::Bindings::StringType.instance,
                    'product' => VAPI::Bindings::StringType.instance,
                    'build' => VAPI::Bindings::StringType.instance,
                    'type' => VAPI::Bindings::StringType.instance,
                    'summary' => VAPI::Bindings::StringType.instance,
                    'releasedate' => VAPI::Bindings::StringType.instance,
                    'install_time' => VAPI::Bindings::StringType.instance,
                },
                VersionStruct,
                false,
                nil)
        end
    end

    attr_accessor :version,
                  :product,
                  :build,
                  :type,
                  :summary,
                  :releasedate,
                  :install_time

    # 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

- (String) install_time

Display the date and time when this system was first installed. Value will not change on subsequent updates.

Returns:

  • (String)


338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/appliance/system.rb', line 338

class VersionStruct < 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.appliance.system.version.version_struct',
                {
                    'version' => VAPI::Bindings::StringType.instance,
                    'product' => VAPI::Bindings::StringType.instance,
                    'build' => VAPI::Bindings::StringType.instance,
                    'type' => VAPI::Bindings::StringType.instance,
                    'summary' => VAPI::Bindings::StringType.instance,
                    'releasedate' => VAPI::Bindings::StringType.instance,
                    'install_time' => VAPI::Bindings::StringType.instance,
                },
                VersionStruct,
                false,
                nil)
        end
    end

    attr_accessor :version,
                  :product,
                  :build,
                  :type,
                  :summary,
                  :releasedate,
                  :install_time

    # 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

- (String) product

Appliance name.

Returns:

  • (String)


338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/appliance/system.rb', line 338

class VersionStruct < 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.appliance.system.version.version_struct',
                {
                    'version' => VAPI::Bindings::StringType.instance,
                    'product' => VAPI::Bindings::StringType.instance,
                    'build' => VAPI::Bindings::StringType.instance,
                    'type' => VAPI::Bindings::StringType.instance,
                    'summary' => VAPI::Bindings::StringType.instance,
                    'releasedate' => VAPI::Bindings::StringType.instance,
                    'install_time' => VAPI::Bindings::StringType.instance,
                },
                VersionStruct,
                false,
                nil)
        end
    end

    attr_accessor :version,
                  :product,
                  :build,
                  :type,
                  :summary,
                  :releasedate,
                  :install_time

    # 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

- (String) releasedate

Release date of patch (empty string, if the appliance has not been patched)

Returns:

  • (String)


338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/appliance/system.rb', line 338

class VersionStruct < 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.appliance.system.version.version_struct',
                {
                    'version' => VAPI::Bindings::StringType.instance,
                    'product' => VAPI::Bindings::StringType.instance,
                    'build' => VAPI::Bindings::StringType.instance,
                    'type' => VAPI::Bindings::StringType.instance,
                    'summary' => VAPI::Bindings::StringType.instance,
                    'releasedate' => VAPI::Bindings::StringType.instance,
                    'install_time' => VAPI::Bindings::StringType.instance,
                },
                VersionStruct,
                false,
                nil)
        end
    end

    attr_accessor :version,
                  :product,
                  :build,
                  :type,
                  :summary,
                  :releasedate,
                  :install_time

    # 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

- (String) summary

Summary of patch (empty string, if the appliance has not been patched)

Returns:

  • (String)


338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/appliance/system.rb', line 338

class VersionStruct < 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.appliance.system.version.version_struct',
                {
                    'version' => VAPI::Bindings::StringType.instance,
                    'product' => VAPI::Bindings::StringType.instance,
                    'build' => VAPI::Bindings::StringType.instance,
                    'type' => VAPI::Bindings::StringType.instance,
                    'summary' => VAPI::Bindings::StringType.instance,
                    'releasedate' => VAPI::Bindings::StringType.instance,
                    'install_time' => VAPI::Bindings::StringType.instance,
                },
                VersionStruct,
                false,
                nil)
        end
    end

    attr_accessor :version,
                  :product,
                  :build,
                  :type,
                  :summary,
                  :releasedate,
                  :install_time

    # 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

- (String) type

Type of product. Same product can have different deployment options, which is represented by type.

Returns:

  • (String)


338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/appliance/system.rb', line 338

class VersionStruct < 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.appliance.system.version.version_struct',
                {
                    'version' => VAPI::Bindings::StringType.instance,
                    'product' => VAPI::Bindings::StringType.instance,
                    'build' => VAPI::Bindings::StringType.instance,
                    'type' => VAPI::Bindings::StringType.instance,
                    'summary' => VAPI::Bindings::StringType.instance,
                    'releasedate' => VAPI::Bindings::StringType.instance,
                    'install_time' => VAPI::Bindings::StringType.instance,
                },
                VersionStruct,
                false,
                nil)
        end
    end

    attr_accessor :version,
                  :product,
                  :build,
                  :type,
                  :summary,
                  :releasedate,
                  :install_time

    # 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

- (String) version

Appliance version.

Returns:

  • (String)


338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/appliance/system.rb', line 338

class VersionStruct < 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.appliance.system.version.version_struct',
                {
                    'version' => VAPI::Bindings::StringType.instance,
                    'product' => VAPI::Bindings::StringType.instance,
                    'build' => VAPI::Bindings::StringType.instance,
                    'type' => VAPI::Bindings::StringType.instance,
                    'summary' => VAPI::Bindings::StringType.instance,
                    'releasedate' => VAPI::Bindings::StringType.instance,
                    'install_time' => VAPI::Bindings::StringType.instance,
                },
                VersionStruct,
                false,
                nil)
        end
    end

    attr_accessor :version,
                  :product,
                  :build,
                  :type,
                  :summary,
                  :releasedate,
                  :install_time

    # 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

Class Method Details

+ (VAPI::Bindings::StructType) binding_type

Holds (gets or creates) the binding type metadata for this structure type.

Returns:

  • (VAPI::Bindings::StructType)

    the binding type



344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/appliance/system.rb', line 344

def binding_type
    @binding_type ||= VAPI::Bindings::StructType.new(
        'com.vmware.appliance.system.version.version_struct',
        {
            'version' => VAPI::Bindings::StringType.instance,
            'product' => VAPI::Bindings::StringType.instance,
            'build' => VAPI::Bindings::StringType.instance,
            'type' => VAPI::Bindings::StringType.instance,
            'summary' => VAPI::Bindings::StringType.instance,
            'releasedate' => VAPI::Bindings::StringType.instance,
            'install_time' => VAPI::Bindings::StringType.instance,
        },
        VersionStruct,
        false,
        nil)
end