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

Inherits:
VAPI::Bindings::VapiStruct
  • Object
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)

Class Method Summary (collapse)

Instance Method Summary (collapse)

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.



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



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