Class List Method List File List

# Class: Com::Vmware::Appliance::Techpreview::System::Update

Inherits:
  VAPI::Bindings::VapiService
  - Object
  - VAPI::Bindings::VapiService
  - Com::Vmware::Appliance::Techpreview::System::Update
  show all
Defined in:
  /build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/appliance/techpreview/system.rb

## Overview

``Com::Vmware::Appliance::Techpreview::System::Update`` class provides methods Performs update repository configuration.

## Defined Under Namespace

Classes: AutoUpdateNotification, UpdateDay, UpdateStructGet, UpdateStructSet

## Instance Method Summary (collapse)

- - (Com::Vmware::Appliance::Techpreview::System::Update::UpdateStructGet) get

  Get update repository configuration.

- - (Update) initialize(config) constructor

  Constructs a new instance.

- - (Void) set(config)

  Set update repository configuration.

## Constructor Details

### - (`Update`) initialize(config)

Constructs a new instance.

Parameters:

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

  A hash with the api provider details.

    64
    65
    66
    # File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/appliance/techpreview/system.rb', line 64

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

## Instance Method Details

### - (`Com::Vmware::Appliance::Techpreview::System::Update::UpdateStructGet`) get

Get update repository configuration.

Returns:

- (`Com::Vmware::Appliance::Techpreview::System::Update::UpdateStructGet`) —

  update related configuration

Raises:

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

  Generic error

    89
    90
    91
    # File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/appliance/techpreview/system.rb', line 89

    def get()
        invoke_with_info(@@get_info)
    end

### - (`Void`) set(config)

Set update repository configuration.

Parameters:

- config (`Com::Vmware::Appliance::Techpreview::System::Update::UpdateStructSet`) —

  update related configuration

Returns:

- (`Void`)

Raises:

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

  Generic error

    76
    77
    78
    79
    80
    # File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/appliance/techpreview/system.rb', line 76

    def set(config)
        invoke_with_info(@@set_info, {
            'config' => config,
        })
    end