Class: Com::Vmware::Appliance::Recovery::Restore::Job::LocationType
- Inherits:
-
VAPI::Bindings::VapiEnum
- Object
- VAPI::Bindings::VapiEnum
- Com::Vmware::Appliance::Recovery::Restore::Job::LocationType
- Defined in:
- /build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/appliance/recovery/restore.rb
Overview
``Com::Vmware::Appliance::Recovery::Restore::Job::LocationType`` enumerated type Defines type of all locations for backup/restore
Constant Summary
- FTPS =
LocationType.new('FTPS')
- HTTP =
LocationType.new('HTTP')
- SCP =
LocationType.new('SCP')
- HTTPS =
LocationType.new('HTTPS')
- FTP =
LocationType.new('FTP')
Instance Attribute Summary (collapse)
-
- (Com::Vmware::Appliance::Recovery::Restore::Job::LocationType) ftp
Destination is FTP server.
-
- (Com::Vmware::Appliance::Recovery::Restore::Job::LocationType) ftps
Destination is FTPS server.
-
- (Com::Vmware::Appliance::Recovery::Restore::Job::LocationType) http
Destination is HTTP server.
-
- (Com::Vmware::Appliance::Recovery::Restore::Job::LocationType) https
Destination is HTTPS server.
-
- (Com::Vmware::Appliance::Recovery::Restore::Job::LocationType) scp
Destination is SSH server.
Class Method Summary (collapse)
-
+ (VAPI::Bindings::EnumType) binding_type
Holds (gets or creates) the binding type metadata for this enumeration type.
-
+ (LocationType) from_string(value)
Converts from a string value (perhaps off the wire) to an instance of this enum type.
Instance Attribute Details
- (Com::Vmware::Appliance::Recovery::Restore::Job::LocationType) ftp
Destination is FTP server
386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 |
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/appliance/recovery/restore.rb', line 386 class LocationType < 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.recovery.restore.job.location_type', LocationType) 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 [LocationType] 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 LocationType.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] ftps # @return [Com::Vmware::Appliance::Recovery::Restore::Job::LocationType] # Destination is FTPS server FTPS = LocationType.new('FTPS') # @!attribute [rw] http # @return [Com::Vmware::Appliance::Recovery::Restore::Job::LocationType] # Destination is HTTP server HTTP = LocationType.new('HTTP') # @!attribute [rw] scp # @return [Com::Vmware::Appliance::Recovery::Restore::Job::LocationType] # Destination is SSH server SCP = LocationType.new('SCP') # @!attribute [rw] https # @return [Com::Vmware::Appliance::Recovery::Restore::Job::LocationType] # Destination is HTTPS server HTTPS = LocationType.new('HTTPS') # @!attribute [rw] ftp # @return [Com::Vmware::Appliance::Recovery::Restore::Job::LocationType] # Destination is FTP server FTP = LocationType.new('FTP') end |
- (Com::Vmware::Appliance::Recovery::Restore::Job::LocationType) ftps
Destination is FTPS server
386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 |
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/appliance/recovery/restore.rb', line 386 class LocationType < 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.recovery.restore.job.location_type', LocationType) 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 [LocationType] 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 LocationType.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] ftps # @return [Com::Vmware::Appliance::Recovery::Restore::Job::LocationType] # Destination is FTPS server FTPS = LocationType.new('FTPS') # @!attribute [rw] http # @return [Com::Vmware::Appliance::Recovery::Restore::Job::LocationType] # Destination is HTTP server HTTP = LocationType.new('HTTP') # @!attribute [rw] scp # @return [Com::Vmware::Appliance::Recovery::Restore::Job::LocationType] # Destination is SSH server SCP = LocationType.new('SCP') # @!attribute [rw] https # @return [Com::Vmware::Appliance::Recovery::Restore::Job::LocationType] # Destination is HTTPS server HTTPS = LocationType.new('HTTPS') # @!attribute [rw] ftp # @return [Com::Vmware::Appliance::Recovery::Restore::Job::LocationType] # Destination is FTP server FTP = LocationType.new('FTP') end |
- (Com::Vmware::Appliance::Recovery::Restore::Job::LocationType) http
Destination is HTTP server
386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 |
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/appliance/recovery/restore.rb', line 386 class LocationType < 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.recovery.restore.job.location_type', LocationType) 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 [LocationType] 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 LocationType.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] ftps # @return [Com::Vmware::Appliance::Recovery::Restore::Job::LocationType] # Destination is FTPS server FTPS = LocationType.new('FTPS') # @!attribute [rw] http # @return [Com::Vmware::Appliance::Recovery::Restore::Job::LocationType] # Destination is HTTP server HTTP = LocationType.new('HTTP') # @!attribute [rw] scp # @return [Com::Vmware::Appliance::Recovery::Restore::Job::LocationType] # Destination is SSH server SCP = LocationType.new('SCP') # @!attribute [rw] https # @return [Com::Vmware::Appliance::Recovery::Restore::Job::LocationType] # Destination is HTTPS server HTTPS = LocationType.new('HTTPS') # @!attribute [rw] ftp # @return [Com::Vmware::Appliance::Recovery::Restore::Job::LocationType] # Destination is FTP server FTP = LocationType.new('FTP') end |
- (Com::Vmware::Appliance::Recovery::Restore::Job::LocationType) https
Destination is HTTPS server
386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 |
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/appliance/recovery/restore.rb', line 386 class LocationType < 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.recovery.restore.job.location_type', LocationType) 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 [LocationType] 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 LocationType.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] ftps # @return [Com::Vmware::Appliance::Recovery::Restore::Job::LocationType] # Destination is FTPS server FTPS = LocationType.new('FTPS') # @!attribute [rw] http # @return [Com::Vmware::Appliance::Recovery::Restore::Job::LocationType] # Destination is HTTP server HTTP = LocationType.new('HTTP') # @!attribute [rw] scp # @return [Com::Vmware::Appliance::Recovery::Restore::Job::LocationType] # Destination is SSH server SCP = LocationType.new('SCP') # @!attribute [rw] https # @return [Com::Vmware::Appliance::Recovery::Restore::Job::LocationType] # Destination is HTTPS server HTTPS = LocationType.new('HTTPS') # @!attribute [rw] ftp # @return [Com::Vmware::Appliance::Recovery::Restore::Job::LocationType] # Destination is FTP server FTP = LocationType.new('FTP') end |
- (Com::Vmware::Appliance::Recovery::Restore::Job::LocationType) scp
Destination is SSH server
386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 |
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/appliance/recovery/restore.rb', line 386 class LocationType < 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.recovery.restore.job.location_type', LocationType) 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 [LocationType] 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 LocationType.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] ftps # @return [Com::Vmware::Appliance::Recovery::Restore::Job::LocationType] # Destination is FTPS server FTPS = LocationType.new('FTPS') # @!attribute [rw] http # @return [Com::Vmware::Appliance::Recovery::Restore::Job::LocationType] # Destination is HTTP server HTTP = LocationType.new('HTTP') # @!attribute [rw] scp # @return [Com::Vmware::Appliance::Recovery::Restore::Job::LocationType] # Destination is SSH server SCP = LocationType.new('SCP') # @!attribute [rw] https # @return [Com::Vmware::Appliance::Recovery::Restore::Job::LocationType] # Destination is HTTPS server HTTPS = LocationType.new('HTTPS') # @!attribute [rw] ftp # @return [Com::Vmware::Appliance::Recovery::Restore::Job::LocationType] # Destination is FTP server FTP = LocationType.new('FTP') end |
Class Method Details
+ (VAPI::Bindings::EnumType) binding_type
Holds (gets or creates) the binding type metadata for this enumeration type.
392 393 394 395 396 |
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/appliance/recovery/restore.rb', line 392 def binding_type @binding_type ||= VAPI::Bindings::EnumType.new( 'com.vmware.appliance.recovery.restore.job.location_type', LocationType) end |
+ (LocationType) from_string(value)
Converts from a string value (perhaps off the wire) to an instance of this enum type.
403 404 405 406 407 408 409 |
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/appliance/recovery/restore.rb', line 403 def from_string(value) begin const_get(value) rescue NameError LocationType.new('UNKNOWN', value) end end |