Class List Method List File List

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

Inherits:
  VAPI::Bindings::VapiStruct
  - Object
  - VAPI::Bindings::VapiStruct
  - Com::Vmware::Appliance::Techpreview::System::Update::UpdateStructSet
  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::UpdateStructSet`` class Structure to set 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) 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)

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

  Constructs a new instance.

## Constructor Details

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

    147
    148
    149
    # File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/appliance/techpreview/system.rb', line 147

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

    114
    115
    116
    117
    118
    119
    120
    121
    122
    123
    124
    125
    126
    127
    128
    129
    130
    131
    132
    133
    134
    135
    136
    137
    138
    139
    140
    141
    142
    143
    144
    145
    146
    147
    148
    149
    150
    # File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/appliance/techpreview/system.rb', line 114

    class UpdateStructSet < 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_set',
                    {
                        'current_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'),
                        'username' => VAPI::Bindings::StringType.instance,
                        'password' => VAPI::Bindings::SecretType.instance,
                    },
                    UpdateStructSet,
                    false,
                    nil)
            end
        end

        attr_accessor :current_url,
                      :check_updates,
                      :time,
                      :day,
                      :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. Enter “default” to reset the url to the default url.

Returns:

- (`String`)

    114
    115
    116
    117
    118
    119
    120
    121
    122
    123
    124
    125
    126
    127
    128
    129
    130
    131
    132
    133
    134
    135
    136
    137
    138
    139
    140
    141
    142
    143
    144
    145
    146
    147
    148
    149
    150
    # File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/appliance/techpreview/system.rb', line 114

    class UpdateStructSet < 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_set',
                    {
                        'current_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'),
                        'username' => VAPI::Bindings::StringType.instance,
                        'password' => VAPI::Bindings::SecretType.instance,
                    },
                    UpdateStructSet,
                    false,
                    nil)
            end
        end

        attr_accessor :current_url,
                      :check_updates,
                      :time,
                      :day,
                      :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`)

    114
    115
    116
    117
    118
    119
    120
    121
    122
    123
    124
    125
    126
    127
    128
    129
    130
    131
    132
    133
    134
    135
    136
    137
    138
    139
    140
    141
    142
    143
    144
    145
    146
    147
    148
    149
    150
    # File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/appliance/techpreview/system.rb', line 114

    class UpdateStructSet < 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_set',
                    {
                        'current_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'),
                        'username' => VAPI::Bindings::StringType.instance,
                        'password' => VAPI::Bindings::SecretType.instance,
                    },
                    UpdateStructSet,
                    false,
                    nil)
            end
        end

        attr_accessor :current_url,
                      :check_updates,
                      :time,
                      :day,
                      :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`)

    114
    115
    116
    117
    118
    119
    120
    121
    122
    123
    124
    125
    126
    127
    128
    129
    130
    131
    132
    133
    134
    135
    136
    137
    138
    139
    140
    141
    142
    143
    144
    145
    146
    147
    148
    149
    150
    # File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/appliance/techpreview/system.rb', line 114

    class UpdateStructSet < 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_set',
                    {
                        'current_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'),
                        'username' => VAPI::Bindings::StringType.instance,
                        'password' => VAPI::Bindings::SecretType.instance,
                    },
                    UpdateStructSet,
                    false,
                    nil)
            end
        end

        attr_accessor :current_url,
                      :check_updates,
                      :time,
                      :day,
                      :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`)

    114
    115
    116
    117
    118
    119
    120
    121
    122
    123
    124
    125
    126
    127
    128
    129
    130
    131
    132
    133
    134
    135
    136
    137
    138
    139
    140
    141
    142
    143
    144
    145
    146
    147
    148
    149
    150
    # File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/appliance/techpreview/system.rb', line 114

    class UpdateStructSet < 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_set',
                    {
                        'current_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'),
                        'username' => VAPI::Bindings::StringType.instance,
                        'password' => VAPI::Bindings::SecretType.instance,
                    },
                    UpdateStructSet,
                    false,
                    nil)
            end
        end

        attr_accessor :current_url,
                      :check_updates,
                      :time,
                      :day,
                      :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`)

    114
    115
    116
    117
    118
    119
    120
    121
    122
    123
    124
    125
    126
    127
    128
    129
    130
    131
    132
    133
    134
    135
    136
    137
    138
    139
    140
    141
    142
    143
    144
    145
    146
    147
    148
    149
    150
    # File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/appliance/techpreview/system.rb', line 114

    class UpdateStructSet < 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_set',
                    {
                        'current_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'),
                        'username' => VAPI::Bindings::StringType.instance,
                        'password' => VAPI::Bindings::SecretType.instance,
                    },
                    UpdateStructSet,
                    false,
                    nil)
            end
        end

        attr_accessor :current_url,
                      :check_updates,
                      :time,
                      :day,
                      :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

    120
    121
    122
    123
    124
    125
    126
    127
    128
    129
    130
    131
    132
    133
    134
    # File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/appliance/techpreview/system.rb', line 120

    def binding_type
        @binding_type ||= VAPI::Bindings::StructType.new(
            'com.vmware.appliance.techpreview.system.update.update_struct_set',
            {
                'current_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'),
                'username' => VAPI::Bindings::StringType.instance,
                'password' => VAPI::Bindings::SecretType.instance,
            },
            UpdateStructSet,
            false,
            nil)
    end