Class List Method List File List

# Class: Com::Vmware::Appliance::System::Version

Inherits:
  VAPI::Bindings::VapiService
  - Object
  - VAPI::Bindings::VapiService
  - Com::Vmware::Appliance::System::Version
  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`` class provides methods Get the appliance version.

## Defined Under Namespace

Classes: VersionStruct

## Instance Method Summary (collapse)

- - (Com::Vmware::Appliance::System::Version::VersionStruct) get

  Get the version.

- - (Version) initialize(config) constructor

  Constructs a new instance.

## Constructor Details

### - (`Version`) initialize(config)

Constructs a new instance.

Parameters:

- config (`VAPI::Bindings::StubConfig`) —

  A hash with the api provider details.

    299
    300
    301
    # File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/appliance/system.rb', line 299

    def initialize(config)
        super(config, @@service_info)
    end

## Instance Method Details

### - (`Com::Vmware::Appliance::System::Version::VersionStruct`) get

Get the version.

Returns:

- (`Com::Vmware::Appliance::System::Version::VersionStruct`) —

  version information about the appliance

Raises:

- (`Com::Vmware::Vapi::Std::Errors::Error`) —

  Generic error

    310
    311
    312
    # File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/appliance/system.rb', line 310

    def get()
        invoke_with_info(@@get_info)
    end