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

Inherits:
VAPI::Bindings::VapiEnum
  • 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::UpdateDay`` enumerated type Defines days to query for updates

Constant Summary

MONDAY =
UpdateDay.new('MONDAY')
TUESDAY =
UpdateDay.new('TUESDAY')
FRIDAY =
UpdateDay.new('FRIDAY')
WEDNESDAY =
UpdateDay.new('WEDNESDAY')
THURSDAY =
UpdateDay.new('THURSDAY')
SATURDAY =
UpdateDay.new('SATURDAY')
SUNDAY =
UpdateDay.new('SUNDAY')
EVERYDAY =
UpdateDay.new('EVERYDAY')

Instance Attribute Summary (collapse)

Class Method Summary (collapse)

Instance Attribute Details

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

query for updates everyday



309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/appliance/techpreview/system.rb', line 309

class UpdateDay < VAPI::Bindings::VapiEnum

    class << self
        # Holds (gets or creates) the binding type metadata for this enumeration type.
        # @scope class
        # @return [VAPI::Bindings::EnumType] the binding type
        def binding_type
            @binding_type ||= VAPI::Bindings::EnumType.new(
                'com.vmware.appliance.techpreview.system.update.update_day',
                UpdateDay)
        end

        # Converts from a string value (perhaps off the wire) to an instance
        # of this enum type.
        # @param value [String] the actual value of the enum instance
        # @return [UpdateDay] the instance found for the value, otherwise
        #         an unknown instance will be built for the value
        def from_string(value)
            begin
                const_get(value)
            rescue NameError
                UpdateDay.new('UNKNOWN', value)
            end
        end
    end

    private

    # Constructs a new instance.
    # @param value [String] the actual value of the enum instance
    # @param unknown [String] the unknown value when value is 'UKNOWN'
    def initialize(value, unknown=nil)
        super(self.class.binding_type, value, unknown)
    end

    public

    # @!attribute [rw] monday
    #     @return [Com::Vmware::Appliance::Techpreview::System::Update::UpdateDay]
    #     query for updates on Monday
    MONDAY = UpdateDay.new('MONDAY')

    # @!attribute [rw] tuesday
    #     @return [Com::Vmware::Appliance::Techpreview::System::Update::UpdateDay]
    #     query for updates on Tuesday
    TUESDAY = UpdateDay.new('TUESDAY')

    # @!attribute [rw] friday
    #     @return [Com::Vmware::Appliance::Techpreview::System::Update::UpdateDay]
    #     query for updates on Friday
    FRIDAY = UpdateDay.new('FRIDAY')

    # @!attribute [rw] wednesday
    #     @return [Com::Vmware::Appliance::Techpreview::System::Update::UpdateDay]
    #     query for updates on Wednesday
    WEDNESDAY = UpdateDay.new('WEDNESDAY')

    # @!attribute [rw] thursday
    #     @return [Com::Vmware::Appliance::Techpreview::System::Update::UpdateDay]
    #     query for updates on Thursday
    THURSDAY = UpdateDay.new('THURSDAY')

    # @!attribute [rw] saturday
    #     @return [Com::Vmware::Appliance::Techpreview::System::Update::UpdateDay]
    #     query for updates on Saturday
    SATURDAY = UpdateDay.new('SATURDAY')

    # @!attribute [rw] sunday
    #     @return [Com::Vmware::Appliance::Techpreview::System::Update::UpdateDay]
    #     query for updates on Sunday
    SUNDAY = UpdateDay.new('SUNDAY')

    # @!attribute [rw] everyday
    #     @return [Com::Vmware::Appliance::Techpreview::System::Update::UpdateDay]
    #     query for updates everyday
    EVERYDAY = UpdateDay.new('EVERYDAY')

end

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

query for updates on Friday



309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/appliance/techpreview/system.rb', line 309

class UpdateDay < VAPI::Bindings::VapiEnum

    class << self
        # Holds (gets or creates) the binding type metadata for this enumeration type.
        # @scope class
        # @return [VAPI::Bindings::EnumType] the binding type
        def binding_type
            @binding_type ||= VAPI::Bindings::EnumType.new(
                'com.vmware.appliance.techpreview.system.update.update_day',
                UpdateDay)
        end

        # Converts from a string value (perhaps off the wire) to an instance
        # of this enum type.
        # @param value [String] the actual value of the enum instance
        # @return [UpdateDay] the instance found for the value, otherwise
        #         an unknown instance will be built for the value
        def from_string(value)
            begin
                const_get(value)
            rescue NameError
                UpdateDay.new('UNKNOWN', value)
            end
        end
    end

    private

    # Constructs a new instance.
    # @param value [String] the actual value of the enum instance
    # @param unknown [String] the unknown value when value is 'UKNOWN'
    def initialize(value, unknown=nil)
        super(self.class.binding_type, value, unknown)
    end

    public

    # @!attribute [rw] monday
    #     @return [Com::Vmware::Appliance::Techpreview::System::Update::UpdateDay]
    #     query for updates on Monday
    MONDAY = UpdateDay.new('MONDAY')

    # @!attribute [rw] tuesday
    #     @return [Com::Vmware::Appliance::Techpreview::System::Update::UpdateDay]
    #     query for updates on Tuesday
    TUESDAY = UpdateDay.new('TUESDAY')

    # @!attribute [rw] friday
    #     @return [Com::Vmware::Appliance::Techpreview::System::Update::UpdateDay]
    #     query for updates on Friday
    FRIDAY = UpdateDay.new('FRIDAY')

    # @!attribute [rw] wednesday
    #     @return [Com::Vmware::Appliance::Techpreview::System::Update::UpdateDay]
    #     query for updates on Wednesday
    WEDNESDAY = UpdateDay.new('WEDNESDAY')

    # @!attribute [rw] thursday
    #     @return [Com::Vmware::Appliance::Techpreview::System::Update::UpdateDay]
    #     query for updates on Thursday
    THURSDAY = UpdateDay.new('THURSDAY')

    # @!attribute [rw] saturday
    #     @return [Com::Vmware::Appliance::Techpreview::System::Update::UpdateDay]
    #     query for updates on Saturday
    SATURDAY = UpdateDay.new('SATURDAY')

    # @!attribute [rw] sunday
    #     @return [Com::Vmware::Appliance::Techpreview::System::Update::UpdateDay]
    #     query for updates on Sunday
    SUNDAY = UpdateDay.new('SUNDAY')

    # @!attribute [rw] everyday
    #     @return [Com::Vmware::Appliance::Techpreview::System::Update::UpdateDay]
    #     query for updates everyday
    EVERYDAY = UpdateDay.new('EVERYDAY')

end

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

query for updates on Monday



309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/appliance/techpreview/system.rb', line 309

class UpdateDay < VAPI::Bindings::VapiEnum

    class << self
        # Holds (gets or creates) the binding type metadata for this enumeration type.
        # @scope class
        # @return [VAPI::Bindings::EnumType] the binding type
        def binding_type
            @binding_type ||= VAPI::Bindings::EnumType.new(
                'com.vmware.appliance.techpreview.system.update.update_day',
                UpdateDay)
        end

        # Converts from a string value (perhaps off the wire) to an instance
        # of this enum type.
        # @param value [String] the actual value of the enum instance
        # @return [UpdateDay] the instance found for the value, otherwise
        #         an unknown instance will be built for the value
        def from_string(value)
            begin
                const_get(value)
            rescue NameError
                UpdateDay.new('UNKNOWN', value)
            end
        end
    end

    private

    # Constructs a new instance.
    # @param value [String] the actual value of the enum instance
    # @param unknown [String] the unknown value when value is 'UKNOWN'
    def initialize(value, unknown=nil)
        super(self.class.binding_type, value, unknown)
    end

    public

    # @!attribute [rw] monday
    #     @return [Com::Vmware::Appliance::Techpreview::System::Update::UpdateDay]
    #     query for updates on Monday
    MONDAY = UpdateDay.new('MONDAY')

    # @!attribute [rw] tuesday
    #     @return [Com::Vmware::Appliance::Techpreview::System::Update::UpdateDay]
    #     query for updates on Tuesday
    TUESDAY = UpdateDay.new('TUESDAY')

    # @!attribute [rw] friday
    #     @return [Com::Vmware::Appliance::Techpreview::System::Update::UpdateDay]
    #     query for updates on Friday
    FRIDAY = UpdateDay.new('FRIDAY')

    # @!attribute [rw] wednesday
    #     @return [Com::Vmware::Appliance::Techpreview::System::Update::UpdateDay]
    #     query for updates on Wednesday
    WEDNESDAY = UpdateDay.new('WEDNESDAY')

    # @!attribute [rw] thursday
    #     @return [Com::Vmware::Appliance::Techpreview::System::Update::UpdateDay]
    #     query for updates on Thursday
    THURSDAY = UpdateDay.new('THURSDAY')

    # @!attribute [rw] saturday
    #     @return [Com::Vmware::Appliance::Techpreview::System::Update::UpdateDay]
    #     query for updates on Saturday
    SATURDAY = UpdateDay.new('SATURDAY')

    # @!attribute [rw] sunday
    #     @return [Com::Vmware::Appliance::Techpreview::System::Update::UpdateDay]
    #     query for updates on Sunday
    SUNDAY = UpdateDay.new('SUNDAY')

    # @!attribute [rw] everyday
    #     @return [Com::Vmware::Appliance::Techpreview::System::Update::UpdateDay]
    #     query for updates everyday
    EVERYDAY = UpdateDay.new('EVERYDAY')

end

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

query for updates on Saturday



309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/appliance/techpreview/system.rb', line 309

class UpdateDay < VAPI::Bindings::VapiEnum

    class << self
        # Holds (gets or creates) the binding type metadata for this enumeration type.
        # @scope class
        # @return [VAPI::Bindings::EnumType] the binding type
        def binding_type
            @binding_type ||= VAPI::Bindings::EnumType.new(
                'com.vmware.appliance.techpreview.system.update.update_day',
                UpdateDay)
        end

        # Converts from a string value (perhaps off the wire) to an instance
        # of this enum type.
        # @param value [String] the actual value of the enum instance
        # @return [UpdateDay] the instance found for the value, otherwise
        #         an unknown instance will be built for the value
        def from_string(value)
            begin
                const_get(value)
            rescue NameError
                UpdateDay.new('UNKNOWN', value)
            end
        end
    end

    private

    # Constructs a new instance.
    # @param value [String] the actual value of the enum instance
    # @param unknown [String] the unknown value when value is 'UKNOWN'
    def initialize(value, unknown=nil)
        super(self.class.binding_type, value, unknown)
    end

    public

    # @!attribute [rw] monday
    #     @return [Com::Vmware::Appliance::Techpreview::System::Update::UpdateDay]
    #     query for updates on Monday
    MONDAY = UpdateDay.new('MONDAY')

    # @!attribute [rw] tuesday
    #     @return [Com::Vmware::Appliance::Techpreview::System::Update::UpdateDay]
    #     query for updates on Tuesday
    TUESDAY = UpdateDay.new('TUESDAY')

    # @!attribute [rw] friday
    #     @return [Com::Vmware::Appliance::Techpreview::System::Update::UpdateDay]
    #     query for updates on Friday
    FRIDAY = UpdateDay.new('FRIDAY')

    # @!attribute [rw] wednesday
    #     @return [Com::Vmware::Appliance::Techpreview::System::Update::UpdateDay]
    #     query for updates on Wednesday
    WEDNESDAY = UpdateDay.new('WEDNESDAY')

    # @!attribute [rw] thursday
    #     @return [Com::Vmware::Appliance::Techpreview::System::Update::UpdateDay]
    #     query for updates on Thursday
    THURSDAY = UpdateDay.new('THURSDAY')

    # @!attribute [rw] saturday
    #     @return [Com::Vmware::Appliance::Techpreview::System::Update::UpdateDay]
    #     query for updates on Saturday
    SATURDAY = UpdateDay.new('SATURDAY')

    # @!attribute [rw] sunday
    #     @return [Com::Vmware::Appliance::Techpreview::System::Update::UpdateDay]
    #     query for updates on Sunday
    SUNDAY = UpdateDay.new('SUNDAY')

    # @!attribute [rw] everyday
    #     @return [Com::Vmware::Appliance::Techpreview::System::Update::UpdateDay]
    #     query for updates everyday
    EVERYDAY = UpdateDay.new('EVERYDAY')

end

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

query for updates on Sunday



309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/appliance/techpreview/system.rb', line 309

class UpdateDay < VAPI::Bindings::VapiEnum

    class << self
        # Holds (gets or creates) the binding type metadata for this enumeration type.
        # @scope class
        # @return [VAPI::Bindings::EnumType] the binding type
        def binding_type
            @binding_type ||= VAPI::Bindings::EnumType.new(
                'com.vmware.appliance.techpreview.system.update.update_day',
                UpdateDay)
        end

        # Converts from a string value (perhaps off the wire) to an instance
        # of this enum type.
        # @param value [String] the actual value of the enum instance
        # @return [UpdateDay] the instance found for the value, otherwise
        #         an unknown instance will be built for the value
        def from_string(value)
            begin
                const_get(value)
            rescue NameError
                UpdateDay.new('UNKNOWN', value)
            end
        end
    end

    private

    # Constructs a new instance.
    # @param value [String] the actual value of the enum instance
    # @param unknown [String] the unknown value when value is 'UKNOWN'
    def initialize(value, unknown=nil)
        super(self.class.binding_type, value, unknown)
    end

    public

    # @!attribute [rw] monday
    #     @return [Com::Vmware::Appliance::Techpreview::System::Update::UpdateDay]
    #     query for updates on Monday
    MONDAY = UpdateDay.new('MONDAY')

    # @!attribute [rw] tuesday
    #     @return [Com::Vmware::Appliance::Techpreview::System::Update::UpdateDay]
    #     query for updates on Tuesday
    TUESDAY = UpdateDay.new('TUESDAY')

    # @!attribute [rw] friday
    #     @return [Com::Vmware::Appliance::Techpreview::System::Update::UpdateDay]
    #     query for updates on Friday
    FRIDAY = UpdateDay.new('FRIDAY')

    # @!attribute [rw] wednesday
    #     @return [Com::Vmware::Appliance::Techpreview::System::Update::UpdateDay]
    #     query for updates on Wednesday
    WEDNESDAY = UpdateDay.new('WEDNESDAY')

    # @!attribute [rw] thursday
    #     @return [Com::Vmware::Appliance::Techpreview::System::Update::UpdateDay]
    #     query for updates on Thursday
    THURSDAY = UpdateDay.new('THURSDAY')

    # @!attribute [rw] saturday
    #     @return [Com::Vmware::Appliance::Techpreview::System::Update::UpdateDay]
    #     query for updates on Saturday
    SATURDAY = UpdateDay.new('SATURDAY')

    # @!attribute [rw] sunday
    #     @return [Com::Vmware::Appliance::Techpreview::System::Update::UpdateDay]
    #     query for updates on Sunday
    SUNDAY = UpdateDay.new('SUNDAY')

    # @!attribute [rw] everyday
    #     @return [Com::Vmware::Appliance::Techpreview::System::Update::UpdateDay]
    #     query for updates everyday
    EVERYDAY = UpdateDay.new('EVERYDAY')

end

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

query for updates on Thursday



309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/appliance/techpreview/system.rb', line 309

class UpdateDay < VAPI::Bindings::VapiEnum

    class << self
        # Holds (gets or creates) the binding type metadata for this enumeration type.
        # @scope class
        # @return [VAPI::Bindings::EnumType] the binding type
        def binding_type
            @binding_type ||= VAPI::Bindings::EnumType.new(
                'com.vmware.appliance.techpreview.system.update.update_day',
                UpdateDay)
        end

        # Converts from a string value (perhaps off the wire) to an instance
        # of this enum type.
        # @param value [String] the actual value of the enum instance
        # @return [UpdateDay] the instance found for the value, otherwise
        #         an unknown instance will be built for the value
        def from_string(value)
            begin
                const_get(value)
            rescue NameError
                UpdateDay.new('UNKNOWN', value)
            end
        end
    end

    private

    # Constructs a new instance.
    # @param value [String] the actual value of the enum instance
    # @param unknown [String] the unknown value when value is 'UKNOWN'
    def initialize(value, unknown=nil)
        super(self.class.binding_type, value, unknown)
    end

    public

    # @!attribute [rw] monday
    #     @return [Com::Vmware::Appliance::Techpreview::System::Update::UpdateDay]
    #     query for updates on Monday
    MONDAY = UpdateDay.new('MONDAY')

    # @!attribute [rw] tuesday
    #     @return [Com::Vmware::Appliance::Techpreview::System::Update::UpdateDay]
    #     query for updates on Tuesday
    TUESDAY = UpdateDay.new('TUESDAY')

    # @!attribute [rw] friday
    #     @return [Com::Vmware::Appliance::Techpreview::System::Update::UpdateDay]
    #     query for updates on Friday
    FRIDAY = UpdateDay.new('FRIDAY')

    # @!attribute [rw] wednesday
    #     @return [Com::Vmware::Appliance::Techpreview::System::Update::UpdateDay]
    #     query for updates on Wednesday
    WEDNESDAY = UpdateDay.new('WEDNESDAY')

    # @!attribute [rw] thursday
    #     @return [Com::Vmware::Appliance::Techpreview::System::Update::UpdateDay]
    #     query for updates on Thursday
    THURSDAY = UpdateDay.new('THURSDAY')

    # @!attribute [rw] saturday
    #     @return [Com::Vmware::Appliance::Techpreview::System::Update::UpdateDay]
    #     query for updates on Saturday
    SATURDAY = UpdateDay.new('SATURDAY')

    # @!attribute [rw] sunday
    #     @return [Com::Vmware::Appliance::Techpreview::System::Update::UpdateDay]
    #     query for updates on Sunday
    SUNDAY = UpdateDay.new('SUNDAY')

    # @!attribute [rw] everyday
    #     @return [Com::Vmware::Appliance::Techpreview::System::Update::UpdateDay]
    #     query for updates everyday
    EVERYDAY = UpdateDay.new('EVERYDAY')

end

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

query for updates on Tuesday



309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/appliance/techpreview/system.rb', line 309

class UpdateDay < VAPI::Bindings::VapiEnum

    class << self
        # Holds (gets or creates) the binding type metadata for this enumeration type.
        # @scope class
        # @return [VAPI::Bindings::EnumType] the binding type
        def binding_type
            @binding_type ||= VAPI::Bindings::EnumType.new(
                'com.vmware.appliance.techpreview.system.update.update_day',
                UpdateDay)
        end

        # Converts from a string value (perhaps off the wire) to an instance
        # of this enum type.
        # @param value [String] the actual value of the enum instance
        # @return [UpdateDay] the instance found for the value, otherwise
        #         an unknown instance will be built for the value
        def from_string(value)
            begin
                const_get(value)
            rescue NameError
                UpdateDay.new('UNKNOWN', value)
            end
        end
    end

    private

    # Constructs a new instance.
    # @param value [String] the actual value of the enum instance
    # @param unknown [String] the unknown value when value is 'UKNOWN'
    def initialize(value, unknown=nil)
        super(self.class.binding_type, value, unknown)
    end

    public

    # @!attribute [rw] monday
    #     @return [Com::Vmware::Appliance::Techpreview::System::Update::UpdateDay]
    #     query for updates on Monday
    MONDAY = UpdateDay.new('MONDAY')

    # @!attribute [rw] tuesday
    #     @return [Com::Vmware::Appliance::Techpreview::System::Update::UpdateDay]
    #     query for updates on Tuesday
    TUESDAY = UpdateDay.new('TUESDAY')

    # @!attribute [rw] friday
    #     @return [Com::Vmware::Appliance::Techpreview::System::Update::UpdateDay]
    #     query for updates on Friday
    FRIDAY = UpdateDay.new('FRIDAY')

    # @!attribute [rw] wednesday
    #     @return [Com::Vmware::Appliance::Techpreview::System::Update::UpdateDay]
    #     query for updates on Wednesday
    WEDNESDAY = UpdateDay.new('WEDNESDAY')

    # @!attribute [rw] thursday
    #     @return [Com::Vmware::Appliance::Techpreview::System::Update::UpdateDay]
    #     query for updates on Thursday
    THURSDAY = UpdateDay.new('THURSDAY')

    # @!attribute [rw] saturday
    #     @return [Com::Vmware::Appliance::Techpreview::System::Update::UpdateDay]
    #     query for updates on Saturday
    SATURDAY = UpdateDay.new('SATURDAY')

    # @!attribute [rw] sunday
    #     @return [Com::Vmware::Appliance::Techpreview::System::Update::UpdateDay]
    #     query for updates on Sunday
    SUNDAY = UpdateDay.new('SUNDAY')

    # @!attribute [rw] everyday
    #     @return [Com::Vmware::Appliance::Techpreview::System::Update::UpdateDay]
    #     query for updates everyday
    EVERYDAY = UpdateDay.new('EVERYDAY')

end

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

query for updates on Wednesday



309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/appliance/techpreview/system.rb', line 309

class UpdateDay < VAPI::Bindings::VapiEnum

    class << self
        # Holds (gets or creates) the binding type metadata for this enumeration type.
        # @scope class
        # @return [VAPI::Bindings::EnumType] the binding type
        def binding_type
            @binding_type ||= VAPI::Bindings::EnumType.new(
                'com.vmware.appliance.techpreview.system.update.update_day',
                UpdateDay)
        end

        # Converts from a string value (perhaps off the wire) to an instance
        # of this enum type.
        # @param value [String] the actual value of the enum instance
        # @return [UpdateDay] the instance found for the value, otherwise
        #         an unknown instance will be built for the value
        def from_string(value)
            begin
                const_get(value)
            rescue NameError
                UpdateDay.new('UNKNOWN', value)
            end
        end
    end

    private

    # Constructs a new instance.
    # @param value [String] the actual value of the enum instance
    # @param unknown [String] the unknown value when value is 'UKNOWN'
    def initialize(value, unknown=nil)
        super(self.class.binding_type, value, unknown)
    end

    public

    # @!attribute [rw] monday
    #     @return [Com::Vmware::Appliance::Techpreview::System::Update::UpdateDay]
    #     query for updates on Monday
    MONDAY = UpdateDay.new('MONDAY')

    # @!attribute [rw] tuesday
    #     @return [Com::Vmware::Appliance::Techpreview::System::Update::UpdateDay]
    #     query for updates on Tuesday
    TUESDAY = UpdateDay.new('TUESDAY')

    # @!attribute [rw] friday
    #     @return [Com::Vmware::Appliance::Techpreview::System::Update::UpdateDay]
    #     query for updates on Friday
    FRIDAY = UpdateDay.new('FRIDAY')

    # @!attribute [rw] wednesday
    #     @return [Com::Vmware::Appliance::Techpreview::System::Update::UpdateDay]
    #     query for updates on Wednesday
    WEDNESDAY = UpdateDay.new('WEDNESDAY')

    # @!attribute [rw] thursday
    #     @return [Com::Vmware::Appliance::Techpreview::System::Update::UpdateDay]
    #     query for updates on Thursday
    THURSDAY = UpdateDay.new('THURSDAY')

    # @!attribute [rw] saturday
    #     @return [Com::Vmware::Appliance::Techpreview::System::Update::UpdateDay]
    #     query for updates on Saturday
    SATURDAY = UpdateDay.new('SATURDAY')

    # @!attribute [rw] sunday
    #     @return [Com::Vmware::Appliance::Techpreview::System::Update::UpdateDay]
    #     query for updates on Sunday
    SUNDAY = UpdateDay.new('SUNDAY')

    # @!attribute [rw] everyday
    #     @return [Com::Vmware::Appliance::Techpreview::System::Update::UpdateDay]
    #     query for updates everyday
    EVERYDAY = UpdateDay.new('EVERYDAY')

end

Class Method Details

+ (VAPI::Bindings::EnumType) binding_type

Holds (gets or creates) the binding type metadata for this enumeration type.

Returns:

  • (VAPI::Bindings::EnumType)

    the binding type



315
316
317
318
319
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/appliance/techpreview/system.rb', line 315

def binding_type
    @binding_type ||= VAPI::Bindings::EnumType.new(
        'com.vmware.appliance.techpreview.system.update.update_day',
        UpdateDay)
end

+ (UpdateDay) from_string(value)

Converts from a string value (perhaps off the wire) to an instance of this enum type.

Parameters:

  • value (String)

    the actual value of the enum instance

Returns:

  • (UpdateDay)

    the instance found for the value, otherwise an unknown instance will be built for the value



326
327
328
329
330
331
332
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/appliance/techpreview/system.rb', line 326

def from_string(value)
    begin
        const_get(value)
    rescue NameError
        UpdateDay.new('UNKNOWN', value)
    end
end