Class List Method List File List

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

Inherits:
  VAPI::Bindings::VapiStruct
  - Object
  - VAPI::Bindings::VapiStruct
  - Com::Vmware::Appliance::Techpreview::System::Update::UpdateStructGet
  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::UpdateStructGet`` class Structure to get url update repository.

## Instance Attribute Summary (collapse)

- - (Com::Vmware::Appliance::Techpreview::System::Update::AutoUpdateNotification) check_updates

  Check for update at the pre-configured repository URL.

- - (String) current_url

  Current appliance update repository URL.

- - (Com::Vmware::Appliance::Techpreview::System::Update::UpdateDay) day

  day to query for updates.

- - (String) default_url

  Default appliance update repository URL.

- - (String) latest_update_install_time

  timestamp of latest update installation.

- - (String) latest_update_query_time

  timestamp of latest query to update repository.

- - (String) password

  password for the url update repository.

- - (String) time

  time to query for updates Format: HH:MM:SS Military (24 hour) Time Format.

- - (String) username

  username for the url update repository.

## 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)

- - (UpdateStructGet) initialize(ruby_values = nil, struct_value = nil) constructor

  Constructs a new instance.

## Constructor Details

### - (`UpdateStructGet`) 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)

    220
    221
    222
    # File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/appliance/techpreview/system.rb', line 220

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

## Instance Attribute Details

### - (`Com::Vmware::Appliance::Techpreview::System::Update::AutoUpdateNotification`) check_updates

Check for update at the pre-configured repository URL.

Returns:

- (`Com::Vmware::Appliance::Techpreview::System::Update::AutoUpdateNotification`)

    181
    182
    183
    184
    185
    186
    187
    188
    189
    190
    191
    192
    193
    194
    195
    196
    197
    198
    199
    200
    201
    202
    203
    204
    205
    206
    207
    208
    209
    210
    211
    212
    213
    214
    215
    216
    217
    218
    219
    220
    221
    222
    223
    # File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/appliance/techpreview/system.rb', line 181

    class UpdateStructGet < 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.techpreview.system.update.update_struct_get',
                    {
                        'current_URL' => VAPI::Bindings::StringType.instance,
                        'default_URL' => VAPI::Bindings::StringType.instance,
                        'check_updates' => VAPI::Bindings::ReferenceType.new('Com::Vmware::Appliance::Techpreview::System::Update::AutoUpdateNotification'),
                        'time' => VAPI::Bindings::StringType.instance,
                        'day' => VAPI::Bindings::ReferenceType.new('Com::Vmware::Appliance::Techpreview::System::Update::UpdateDay'),
                        'latest_update_install_time' => VAPI::Bindings::StringType.instance,
                        'latest_update_query_time' => VAPI::Bindings::StringType.instance,
                        'username' => VAPI::Bindings::StringType.instance,
                        'password' => VAPI::Bindings::StringType.instance,
                    },
                    UpdateStructGet,
                    false,
                    nil)
            end
        end

        attr_accessor :current_url,
                      :default_url,
                      :check_updates,
                      :time,
                      :day,
                      :latest_update_install_time,
                      :latest_update_query_time,
                      :username,
                      :password

        # 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`) current_url

Current appliance update repository URL.

Returns:

- (`String`)

    181
    182
    183
    184
    185
    186
    187
    188
    189
    190
    191
    192
    193
    194
    195
    196
    197
    198
    199
    200
    201
    202
    203
    204
    205
    206
    207
    208
    209
    210
    211
    212
    213
    214
    215
    216
    217
    218
    219
    220
    221
    222
    223
    # File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/appliance/techpreview/system.rb', line 181

    class UpdateStructGet < 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.techpreview.system.update.update_struct_get',
                    {
                        'current_URL' => VAPI::Bindings::StringType.instance,
                        'default_URL' => VAPI::Bindings::StringType.instance,
                        'check_updates' => VAPI::Bindings::ReferenceType.new('Com::Vmware::Appliance::Techpreview::System::Update::AutoUpdateNotification'),
                        'time' => VAPI::Bindings::StringType.instance,
                        'day' => VAPI::Bindings::ReferenceType.new('Com::Vmware::Appliance::Techpreview::System::Update::UpdateDay'),
                        'latest_update_install_time' => VAPI::Bindings::StringType.instance,
                        'latest_update_query_time' => VAPI::Bindings::StringType.instance,
                        'username' => VAPI::Bindings::StringType.instance,
                        'password' => VAPI::Bindings::StringType.instance,
                    },
                    UpdateStructGet,
                    false,
                    nil)
            end
        end

        attr_accessor :current_url,
                      :default_url,
                      :check_updates,
                      :time,
                      :day,
                      :latest_update_install_time,
                      :latest_update_query_time,
                      :username,
                      :password

        # 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

### - (`Com::Vmware::Appliance::Techpreview::System::Update::UpdateDay`) day

day to query for updates

Returns:

- (`Com::Vmware::Appliance::Techpreview::System::Update::UpdateDay`)

    181
    182
    183
    184
    185
    186
    187
    188
    189
    190
    191
    192
    193
    194
    195
    196
    197
    198
    199
    200
    201
    202
    203
    204
    205
    206
    207
    208
    209
    210
    211
    212
    213
    214
    215
    216
    217
    218
    219
    220
    221
    222
    223
    # File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/appliance/techpreview/system.rb', line 181

    class UpdateStructGet < 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.techpreview.system.update.update_struct_get',
                    {
                        'current_URL' => VAPI::Bindings::StringType.instance,
                        'default_URL' => VAPI::Bindings::StringType.instance,
                        'check_updates' => VAPI::Bindings::ReferenceType.new('Com::Vmware::Appliance::Techpreview::System::Update::AutoUpdateNotification'),
                        'time' => VAPI::Bindings::StringType.instance,
                        'day' => VAPI::Bindings::ReferenceType.new('Com::Vmware::Appliance::Techpreview::System::Update::UpdateDay'),
                        'latest_update_install_time' => VAPI::Bindings::StringType.instance,
                        'latest_update_query_time' => VAPI::Bindings::StringType.instance,
                        'username' => VAPI::Bindings::StringType.instance,
                        'password' => VAPI::Bindings::StringType.instance,
                    },
                    UpdateStructGet,
                    false,
                    nil)
            end
        end

        attr_accessor :current_url,
                      :default_url,
                      :check_updates,
                      :time,
                      :day,
                      :latest_update_install_time,
                      :latest_update_query_time,
                      :username,
                      :password

        # 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`) default_url

Default appliance update repository URL.

Returns:

- (`String`)

    181
    182
    183
    184
    185
    186
    187
    188
    189
    190
    191
    192
    193
    194
    195
    196
    197
    198
    199
    200
    201
    202
    203
    204
    205
    206
    207
    208
    209
    210
    211
    212
    213
    214
    215
    216
    217
    218
    219
    220
    221
    222
    223
    # File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/appliance/techpreview/system.rb', line 181

    class UpdateStructGet < 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.techpreview.system.update.update_struct_get',
                    {
                        'current_URL' => VAPI::Bindings::StringType.instance,
                        'default_URL' => VAPI::Bindings::StringType.instance,
                        'check_updates' => VAPI::Bindings::ReferenceType.new('Com::Vmware::Appliance::Techpreview::System::Update::AutoUpdateNotification'),
                        'time' => VAPI::Bindings::StringType.instance,
                        'day' => VAPI::Bindings::ReferenceType.new('Com::Vmware::Appliance::Techpreview::System::Update::UpdateDay'),
                        'latest_update_install_time' => VAPI::Bindings::StringType.instance,
                        'latest_update_query_time' => VAPI::Bindings::StringType.instance,
                        'username' => VAPI::Bindings::StringType.instance,
                        'password' => VAPI::Bindings::StringType.instance,
                    },
                    UpdateStructGet,
                    false,
                    nil)
            end
        end

        attr_accessor :current_url,
                      :default_url,
                      :check_updates,
                      :time,
                      :day,
                      :latest_update_install_time,
                      :latest_update_query_time,
                      :username,
                      :password

        # 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`) latest_update_install_time

timestamp of latest update installation

Returns:

- (`String`)

    181
    182
    183
    184
    185
    186
    187
    188
    189
    190
    191
    192
    193
    194
    195
    196
    197
    198
    199
    200
    201
    202
    203
    204
    205
    206
    207
    208
    209
    210
    211
    212
    213
    214
    215
    216
    217
    218
    219
    220
    221
    222
    223
    # File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/appliance/techpreview/system.rb', line 181

    class UpdateStructGet < 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.techpreview.system.update.update_struct_get',
                    {
                        'current_URL' => VAPI::Bindings::StringType.instance,
                        'default_URL' => VAPI::Bindings::StringType.instance,
                        'check_updates' => VAPI::Bindings::ReferenceType.new('Com::Vmware::Appliance::Techpreview::System::Update::AutoUpdateNotification'),
                        'time' => VAPI::Bindings::StringType.instance,
                        'day' => VAPI::Bindings::ReferenceType.new('Com::Vmware::Appliance::Techpreview::System::Update::UpdateDay'),
                        'latest_update_install_time' => VAPI::Bindings::StringType.instance,
                        'latest_update_query_time' => VAPI::Bindings::StringType.instance,
                        'username' => VAPI::Bindings::StringType.instance,
                        'password' => VAPI::Bindings::StringType.instance,
                    },
                    UpdateStructGet,
                    false,
                    nil)
            end
        end

        attr_accessor :current_url,
                      :default_url,
                      :check_updates,
                      :time,
                      :day,
                      :latest_update_install_time,
                      :latest_update_query_time,
                      :username,
                      :password

        # 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`) latest_update_query_time

timestamp of latest query to update repository

Returns:

- (`String`)

    181
    182
    183
    184
    185
    186
    187
    188
    189
    190
    191
    192
    193
    194
    195
    196
    197
    198
    199
    200
    201
    202
    203
    204
    205
    206
    207
    208
    209
    210
    211
    212
    213
    214
    215
    216
    217
    218
    219
    220
    221
    222
    223
    # File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/appliance/techpreview/system.rb', line 181

    class UpdateStructGet < 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.techpreview.system.update.update_struct_get',
                    {
                        'current_URL' => VAPI::Bindings::StringType.instance,
                        'default_URL' => VAPI::Bindings::StringType.instance,
                        'check_updates' => VAPI::Bindings::ReferenceType.new('Com::Vmware::Appliance::Techpreview::System::Update::AutoUpdateNotification'),
                        'time' => VAPI::Bindings::StringType.instance,
                        'day' => VAPI::Bindings::ReferenceType.new('Com::Vmware::Appliance::Techpreview::System::Update::UpdateDay'),
                        'latest_update_install_time' => VAPI::Bindings::StringType.instance,
                        'latest_update_query_time' => VAPI::Bindings::StringType.instance,
                        'username' => VAPI::Bindings::StringType.instance,
                        'password' => VAPI::Bindings::StringType.instance,
                    },
                    UpdateStructGet,
                    false,
                    nil)
            end
        end

        attr_accessor :current_url,
                      :default_url,
                      :check_updates,
                      :time,
                      :day,
                      :latest_update_install_time,
                      :latest_update_query_time,
                      :username,
                      :password

        # 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`) password

password for the url update repository

Returns:

- (`String`)

    181
    182
    183
    184
    185
    186
    187
    188
    189
    190
    191
    192
    193
    194
    195
    196
    197
    198
    199
    200
    201
    202
    203
    204
    205
    206
    207
    208
    209
    210
    211
    212
    213
    214
    215
    216
    217
    218
    219
    220
    221
    222
    223
    # File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/appliance/techpreview/system.rb', line 181

    class UpdateStructGet < 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.techpreview.system.update.update_struct_get',
                    {
                        'current_URL' => VAPI::Bindings::StringType.instance,
                        'default_URL' => VAPI::Bindings::StringType.instance,
                        'check_updates' => VAPI::Bindings::ReferenceType.new('Com::Vmware::Appliance::Techpreview::System::Update::AutoUpdateNotification'),
                        'time' => VAPI::Bindings::StringType.instance,
                        'day' => VAPI::Bindings::ReferenceType.new('Com::Vmware::Appliance::Techpreview::System::Update::UpdateDay'),
                        'latest_update_install_time' => VAPI::Bindings::StringType.instance,
                        'latest_update_query_time' => VAPI::Bindings::StringType.instance,
                        'username' => VAPI::Bindings::StringType.instance,
                        'password' => VAPI::Bindings::StringType.instance,
                    },
                    UpdateStructGet,
                    false,
                    nil)
            end
        end

        attr_accessor :current_url,
                      :default_url,
                      :check_updates,
                      :time,
                      :day,
                      :latest_update_install_time,
                      :latest_update_query_time,
                      :username,
                      :password

        # 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`) time

time to query for updates Format: HH:MM:SS Military (24 hour) Time Format

Returns:

- (`String`)

    181
    182
    183
    184
    185
    186
    187
    188
    189
    190
    191
    192
    193
    194
    195
    196
    197
    198
    199
    200
    201
    202
    203
    204
    205
    206
    207
    208
    209
    210
    211
    212
    213
    214
    215
    216
    217
    218
    219
    220
    221
    222
    223
    # File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/appliance/techpreview/system.rb', line 181

    class UpdateStructGet < 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.techpreview.system.update.update_struct_get',
                    {
                        'current_URL' => VAPI::Bindings::StringType.instance,
                        'default_URL' => VAPI::Bindings::StringType.instance,
                        'check_updates' => VAPI::Bindings::ReferenceType.new('Com::Vmware::Appliance::Techpreview::System::Update::AutoUpdateNotification'),
                        'time' => VAPI::Bindings::StringType.instance,
                        'day' => VAPI::Bindings::ReferenceType.new('Com::Vmware::Appliance::Techpreview::System::Update::UpdateDay'),
                        'latest_update_install_time' => VAPI::Bindings::StringType.instance,
                        'latest_update_query_time' => VAPI::Bindings::StringType.instance,
                        'username' => VAPI::Bindings::StringType.instance,
                        'password' => VAPI::Bindings::StringType.instance,
                    },
                    UpdateStructGet,
                    false,
                    nil)
            end
        end

        attr_accessor :current_url,
                      :default_url,
                      :check_updates,
                      :time,
                      :day,
                      :latest_update_install_time,
                      :latest_update_query_time,
                      :username,
                      :password

        # 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`) username

username for the url update repository

Returns:

- (`String`)

    181
    182
    183
    184
    185
    186
    187
    188
    189
    190
    191
    192
    193
    194
    195
    196
    197
    198
    199
    200
    201
    202
    203
    204
    205
    206
    207
    208
    209
    210
    211
    212
    213
    214
    215
    216
    217
    218
    219
    220
    221
    222
    223
    # File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/appliance/techpreview/system.rb', line 181

    class UpdateStructGet < 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.techpreview.system.update.update_struct_get',
                    {
                        'current_URL' => VAPI::Bindings::StringType.instance,
                        'default_URL' => VAPI::Bindings::StringType.instance,
                        'check_updates' => VAPI::Bindings::ReferenceType.new('Com::Vmware::Appliance::Techpreview::System::Update::AutoUpdateNotification'),
                        'time' => VAPI::Bindings::StringType.instance,
                        'day' => VAPI::Bindings::ReferenceType.new('Com::Vmware::Appliance::Techpreview::System::Update::UpdateDay'),
                        'latest_update_install_time' => VAPI::Bindings::StringType.instance,
                        'latest_update_query_time' => VAPI::Bindings::StringType.instance,
                        'username' => VAPI::Bindings::StringType.instance,
                        'password' => VAPI::Bindings::StringType.instance,
                    },
                    UpdateStructGet,
                    false,
                    nil)
            end
        end

        attr_accessor :current_url,
                      :default_url,
                      :check_updates,
                      :time,
                      :day,
                      :latest_update_install_time,
                      :latest_update_query_time,
                      :username,
                      :password

        # 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

    187
    188
    189
    190
    191
    192
    193
    194
    195
    196
    197
    198
    199
    200
    201
    202
    203
    204
    # File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/appliance/techpreview/system.rb', line 187

    def binding_type
        @binding_type ||= VAPI::Bindings::StructType.new(
            'com.vmware.appliance.techpreview.system.update.update_struct_get',
            {
                'current_URL' => VAPI::Bindings::StringType.instance,
                'default_URL' => VAPI::Bindings::StringType.instance,
                'check_updates' => VAPI::Bindings::ReferenceType.new('Com::Vmware::Appliance::Techpreview::System::Update::AutoUpdateNotification'),
                'time' => VAPI::Bindings::StringType.instance,
                'day' => VAPI::Bindings::ReferenceType.new('Com::Vmware::Appliance::Techpreview::System::Update::UpdateDay'),
                'latest_update_install_time' => VAPI::Bindings::StringType.instance,
                'latest_update_query_time' => VAPI::Bindings::StringType.instance,
                'username' => VAPI::Bindings::StringType.instance,
                'password' => VAPI::Bindings::StringType.instance,
            },
            UpdateStructGet,
            false,
            nil)
    end