Class: Com::Vmware::Appliance::Techpreview::Networking::Routes::MessageStatus
- Inherits:
-
VAPI::Bindings::VapiEnum
- Object
- VAPI::Bindings::VapiEnum
- Com::Vmware::Appliance::Techpreview::Networking::Routes::MessageStatus
- Defined in:
- /build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/appliance/techpreview/networking.rb
Overview
``Com::Vmware::Appliance::Techpreview::Networking::Routes::MessageStatus`` enumerated type Individual test result
Constant Summary
- FAILURE =
MessageStatus.new('FAILURE')
- SUCCESS =
MessageStatus.new('SUCCESS')
Instance Attribute Summary (collapse)
-
- (Com::Vmware::Appliance::Techpreview::Networking::Routes::MessageStatus) failure
message indicates the test failed.
-
- (Com::Vmware::Appliance::Techpreview::Networking::Routes::MessageStatus) success
message indicates that the test was successful.
Class Method Summary (collapse)
-
+ (VAPI::Bindings::EnumType) binding_type
Holds (gets or creates) the binding type metadata for this enumeration type.
-
+ (MessageStatus) 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::Techpreview::Networking::Routes::MessageStatus) failure
message indicates the test failed.
1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 |
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/appliance/techpreview/networking.rb', line 1821 class MessageStatus < 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.networking.routes.message_status', MessageStatus) 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 [MessageStatus] 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 MessageStatus.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] failure # @return [Com::Vmware::Appliance::Techpreview::Networking::Routes::MessageStatus] # message indicates the test failed. FAILURE = MessageStatus.new('FAILURE') # @!attribute [rw] success # @return [Com::Vmware::Appliance::Techpreview::Networking::Routes::MessageStatus] # message indicates that the test was successful. SUCCESS = MessageStatus.new('SUCCESS') end |
- (Com::Vmware::Appliance::Techpreview::Networking::Routes::MessageStatus) success
message indicates that the test was successful.
1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 |
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/appliance/techpreview/networking.rb', line 1821 class MessageStatus < 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.networking.routes.message_status', MessageStatus) 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 [MessageStatus] 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 MessageStatus.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] failure # @return [Com::Vmware::Appliance::Techpreview::Networking::Routes::MessageStatus] # message indicates the test failed. FAILURE = MessageStatus.new('FAILURE') # @!attribute [rw] success # @return [Com::Vmware::Appliance::Techpreview::Networking::Routes::MessageStatus] # message indicates that the test was successful. SUCCESS = MessageStatus.new('SUCCESS') end |
Class Method Details
+ (VAPI::Bindings::EnumType) binding_type
Holds (gets or creates) the binding type metadata for this enumeration type.
1827 1828 1829 1830 1831 |
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/appliance/techpreview/networking.rb', line 1827 def binding_type @binding_type ||= VAPI::Bindings::EnumType.new( 'com.vmware.appliance.techpreview.networking.routes.message_status', MessageStatus) end |
+ (MessageStatus) from_string(value)
Converts from a string value (perhaps off the wire) to an instance of this enum type.
1838 1839 1840 1841 1842 1843 1844 |
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/appliance/techpreview/networking.rb', line 1838 def from_string(value) begin const_get(value) rescue NameError MessageStatus.new('UNKNOWN', value) end end |