Class: Com::Vmware::Vapi::Metadata::Metamodel::Type::BuiltinType

Inherits:
VAPI::Bindings::VapiEnum
  • Object
show all
Defined in:
/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/vapi/metadata/metamodel.rb

Overview

The ``Com::Vmware::Vapi::Metadata::Metamodel::Type::BuiltinType`` enumerated type provides enumeration value for each of the built-in types present in the interface definition language type system.

Constant Summary

VOID =
BuiltinType.new('VOID')
BOOLEAN =
BuiltinType.new('BOOLEAN')
LONG =
BuiltinType.new('LONG')
DOUBLE =
BuiltinType.new('DOUBLE')
STRING =
BuiltinType.new('STRING')
BINARY =
BuiltinType.new('BINARY')
SECRET =
BuiltinType.new('SECRET')
DATE_TIME =
BuiltinType.new('DATE_TIME')
ID =
BuiltinType.new('ID')
URI =
BuiltinType.new('URI')
ANY_ERROR =
BuiltinType.new('ANY_ERROR')
DYNAMIC_STRUCTURE =
BuiltinType.new('DYNAMIC_STRUCTURE')
OPAQUE =
BuiltinType.new('OPAQUE')

Instance Attribute Summary (collapse)

Class Method Summary (collapse)

Instance Attribute Details

- (Com::Vmware::Vapi::Metadata::Metamodel::Type::BuiltinType) any_error

The built-in type is an arbitrary error type. This is used if the value of a typed element can be one of any user defined named type which is an error .



2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/vapi/metadata/metamodel.rb', line 2229

class BuiltinType < 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.vapi.metadata.metamodel.type.builtin_type',
                BuiltinType)
        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 [BuiltinType] 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
                BuiltinType.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] void
    #     @return [Com::Vmware::Vapi::Metadata::Metamodel::Type::BuiltinType]
    #     The built-in type is a void. The value is  nil .
    VOID = BuiltinType.new('VOID')

    # @!attribute [rw] boolean
    #     @return [Com::Vmware::Vapi::Metadata::Metamodel::Type::BuiltinType]
    #     The built-in type is a boolean. The value is true or false.
    BOOLEAN = BuiltinType.new('BOOLEAN')

    # @!attribute [rw] long
    #     @return [Com::Vmware::Vapi::Metadata::Metamodel::Type::BuiltinType]
    #     The built-in type is a long. The value is a 64 bit signed integer.
    LONG = BuiltinType.new('LONG')

    # @!attribute [rw] double
    #     @return [Com::Vmware::Vapi::Metadata::Metamodel::Type::BuiltinType]
    #     The built-in type is a double. The value is a 64 bit floating point number.
    DOUBLE = BuiltinType.new('DOUBLE')

    # @!attribute [rw] string
    #     @return [Com::Vmware::Vapi::Metadata::Metamodel::Type::BuiltinType]
    #     The built-in type is a string. The value is a variable-length sequence of zero or more unicode characters.
    STRING = BuiltinType.new('STRING')

    # @!attribute [rw] binary
    #     @return [Com::Vmware::Vapi::Metadata::Metamodel::Type::BuiltinType]
    #     The built-in type is a binary. The value is a variable-length sequence of zero or more bytes.
    BINARY = BuiltinType.new('BINARY')

    # @!attribute [rw] secret
    #     @return [Com::Vmware::Vapi::Metadata::Metamodel::Type::BuiltinType]
    #     The built-in type is a secret. The value is a variable-length sequence of zero or more unicode characters. The value contains sensitive data that should not be printed or displayed anywhere.
    SECRET = BuiltinType.new('SECRET')

    # @!attribute [rw] date_time
    #     @return [Com::Vmware::Vapi::Metadata::Metamodel::Type::BuiltinType]
    #     The built-in type is a datetime. The value should be in the UTC timezone and the precision is milliseconds.
    DATE_TIME = BuiltinType.new('DATE_TIME')

    # @!attribute [rw] id
    #     @return [Com::Vmware::Vapi::Metadata::Metamodel::Type::BuiltinType]
    #     The built-in type is an ID. The value represents an identifier for a resource.
    ID = BuiltinType.new('ID')

    # @!attribute [rw] uri
    #     @return [Com::Vmware::Vapi::Metadata::Metamodel::Type::BuiltinType]
    #     The built-in type is an URI. The value follows the IRI specification in RFC 3987.
    URI = BuiltinType.new('URI')

    # @!attribute [rw] any_error
    #     @return [Com::Vmware::Vapi::Metadata::Metamodel::Type::BuiltinType]
    #     The built-in type is an arbitrary  error  type. This is used if the value of a typed element can be one of any user defined named type which is an  error .
    ANY_ERROR = BuiltinType.new('ANY_ERROR')

    # @!attribute [rw] dynamic_structure
    #     @return [Com::Vmware::Vapi::Metadata::Metamodel::Type::BuiltinType]
    #     The built-in type is a dynamic structure. This is used if the value of a typed element can be one of any user defined named type.
    DYNAMIC_STRUCTURE = BuiltinType.new('DYNAMIC_STRUCTURE')

    # @!attribute [rw] opaque
    #     @return [Com::Vmware::Vapi::Metadata::Metamodel::Type::BuiltinType]
    #     The built-in type is an opaque. This is used if the value of a typed element could be of any type and the actual type will be known only during the execution of the API. This is mostly used in infrastructure  classs .
    OPAQUE = BuiltinType.new('OPAQUE')

end

- (Com::Vmware::Vapi::Metadata::Metamodel::Type::BuiltinType) binary

The built-in type is a binary. The value is a variable-length sequence of zero or more bytes.



2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/vapi/metadata/metamodel.rb', line 2229

class BuiltinType < 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.vapi.metadata.metamodel.type.builtin_type',
                BuiltinType)
        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 [BuiltinType] 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
                BuiltinType.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] void
    #     @return [Com::Vmware::Vapi::Metadata::Metamodel::Type::BuiltinType]
    #     The built-in type is a void. The value is  nil .
    VOID = BuiltinType.new('VOID')

    # @!attribute [rw] boolean
    #     @return [Com::Vmware::Vapi::Metadata::Metamodel::Type::BuiltinType]
    #     The built-in type is a boolean. The value is true or false.
    BOOLEAN = BuiltinType.new('BOOLEAN')

    # @!attribute [rw] long
    #     @return [Com::Vmware::Vapi::Metadata::Metamodel::Type::BuiltinType]
    #     The built-in type is a long. The value is a 64 bit signed integer.
    LONG = BuiltinType.new('LONG')

    # @!attribute [rw] double
    #     @return [Com::Vmware::Vapi::Metadata::Metamodel::Type::BuiltinType]
    #     The built-in type is a double. The value is a 64 bit floating point number.
    DOUBLE = BuiltinType.new('DOUBLE')

    # @!attribute [rw] string
    #     @return [Com::Vmware::Vapi::Metadata::Metamodel::Type::BuiltinType]
    #     The built-in type is a string. The value is a variable-length sequence of zero or more unicode characters.
    STRING = BuiltinType.new('STRING')

    # @!attribute [rw] binary
    #     @return [Com::Vmware::Vapi::Metadata::Metamodel::Type::BuiltinType]
    #     The built-in type is a binary. The value is a variable-length sequence of zero or more bytes.
    BINARY = BuiltinType.new('BINARY')

    # @!attribute [rw] secret
    #     @return [Com::Vmware::Vapi::Metadata::Metamodel::Type::BuiltinType]
    #     The built-in type is a secret. The value is a variable-length sequence of zero or more unicode characters. The value contains sensitive data that should not be printed or displayed anywhere.
    SECRET = BuiltinType.new('SECRET')

    # @!attribute [rw] date_time
    #     @return [Com::Vmware::Vapi::Metadata::Metamodel::Type::BuiltinType]
    #     The built-in type is a datetime. The value should be in the UTC timezone and the precision is milliseconds.
    DATE_TIME = BuiltinType.new('DATE_TIME')

    # @!attribute [rw] id
    #     @return [Com::Vmware::Vapi::Metadata::Metamodel::Type::BuiltinType]
    #     The built-in type is an ID. The value represents an identifier for a resource.
    ID = BuiltinType.new('ID')

    # @!attribute [rw] uri
    #     @return [Com::Vmware::Vapi::Metadata::Metamodel::Type::BuiltinType]
    #     The built-in type is an URI. The value follows the IRI specification in RFC 3987.
    URI = BuiltinType.new('URI')

    # @!attribute [rw] any_error
    #     @return [Com::Vmware::Vapi::Metadata::Metamodel::Type::BuiltinType]
    #     The built-in type is an arbitrary  error  type. This is used if the value of a typed element can be one of any user defined named type which is an  error .
    ANY_ERROR = BuiltinType.new('ANY_ERROR')

    # @!attribute [rw] dynamic_structure
    #     @return [Com::Vmware::Vapi::Metadata::Metamodel::Type::BuiltinType]
    #     The built-in type is a dynamic structure. This is used if the value of a typed element can be one of any user defined named type.
    DYNAMIC_STRUCTURE = BuiltinType.new('DYNAMIC_STRUCTURE')

    # @!attribute [rw] opaque
    #     @return [Com::Vmware::Vapi::Metadata::Metamodel::Type::BuiltinType]
    #     The built-in type is an opaque. This is used if the value of a typed element could be of any type and the actual type will be known only during the execution of the API. This is mostly used in infrastructure  classs .
    OPAQUE = BuiltinType.new('OPAQUE')

end

- (Com::Vmware::Vapi::Metadata::Metamodel::Type::BuiltinType) boolean

The built-in type is a boolean. The value is true or false.



2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/vapi/metadata/metamodel.rb', line 2229

class BuiltinType < 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.vapi.metadata.metamodel.type.builtin_type',
                BuiltinType)
        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 [BuiltinType] 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
                BuiltinType.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] void
    #     @return [Com::Vmware::Vapi::Metadata::Metamodel::Type::BuiltinType]
    #     The built-in type is a void. The value is  nil .
    VOID = BuiltinType.new('VOID')

    # @!attribute [rw] boolean
    #     @return [Com::Vmware::Vapi::Metadata::Metamodel::Type::BuiltinType]
    #     The built-in type is a boolean. The value is true or false.
    BOOLEAN = BuiltinType.new('BOOLEAN')

    # @!attribute [rw] long
    #     @return [Com::Vmware::Vapi::Metadata::Metamodel::Type::BuiltinType]
    #     The built-in type is a long. The value is a 64 bit signed integer.
    LONG = BuiltinType.new('LONG')

    # @!attribute [rw] double
    #     @return [Com::Vmware::Vapi::Metadata::Metamodel::Type::BuiltinType]
    #     The built-in type is a double. The value is a 64 bit floating point number.
    DOUBLE = BuiltinType.new('DOUBLE')

    # @!attribute [rw] string
    #     @return [Com::Vmware::Vapi::Metadata::Metamodel::Type::BuiltinType]
    #     The built-in type is a string. The value is a variable-length sequence of zero or more unicode characters.
    STRING = BuiltinType.new('STRING')

    # @!attribute [rw] binary
    #     @return [Com::Vmware::Vapi::Metadata::Metamodel::Type::BuiltinType]
    #     The built-in type is a binary. The value is a variable-length sequence of zero or more bytes.
    BINARY = BuiltinType.new('BINARY')

    # @!attribute [rw] secret
    #     @return [Com::Vmware::Vapi::Metadata::Metamodel::Type::BuiltinType]
    #     The built-in type is a secret. The value is a variable-length sequence of zero or more unicode characters. The value contains sensitive data that should not be printed or displayed anywhere.
    SECRET = BuiltinType.new('SECRET')

    # @!attribute [rw] date_time
    #     @return [Com::Vmware::Vapi::Metadata::Metamodel::Type::BuiltinType]
    #     The built-in type is a datetime. The value should be in the UTC timezone and the precision is milliseconds.
    DATE_TIME = BuiltinType.new('DATE_TIME')

    # @!attribute [rw] id
    #     @return [Com::Vmware::Vapi::Metadata::Metamodel::Type::BuiltinType]
    #     The built-in type is an ID. The value represents an identifier for a resource.
    ID = BuiltinType.new('ID')

    # @!attribute [rw] uri
    #     @return [Com::Vmware::Vapi::Metadata::Metamodel::Type::BuiltinType]
    #     The built-in type is an URI. The value follows the IRI specification in RFC 3987.
    URI = BuiltinType.new('URI')

    # @!attribute [rw] any_error
    #     @return [Com::Vmware::Vapi::Metadata::Metamodel::Type::BuiltinType]
    #     The built-in type is an arbitrary  error  type. This is used if the value of a typed element can be one of any user defined named type which is an  error .
    ANY_ERROR = BuiltinType.new('ANY_ERROR')

    # @!attribute [rw] dynamic_structure
    #     @return [Com::Vmware::Vapi::Metadata::Metamodel::Type::BuiltinType]
    #     The built-in type is a dynamic structure. This is used if the value of a typed element can be one of any user defined named type.
    DYNAMIC_STRUCTURE = BuiltinType.new('DYNAMIC_STRUCTURE')

    # @!attribute [rw] opaque
    #     @return [Com::Vmware::Vapi::Metadata::Metamodel::Type::BuiltinType]
    #     The built-in type is an opaque. This is used if the value of a typed element could be of any type and the actual type will be known only during the execution of the API. This is mostly used in infrastructure  classs .
    OPAQUE = BuiltinType.new('OPAQUE')

end

- (Com::Vmware::Vapi::Metadata::Metamodel::Type::BuiltinType) date_time

The built-in type is a datetime. The value should be in the UTC timezone and the precision is milliseconds.



2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/vapi/metadata/metamodel.rb', line 2229

class BuiltinType < 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.vapi.metadata.metamodel.type.builtin_type',
                BuiltinType)
        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 [BuiltinType] 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
                BuiltinType.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] void
    #     @return [Com::Vmware::Vapi::Metadata::Metamodel::Type::BuiltinType]
    #     The built-in type is a void. The value is  nil .
    VOID = BuiltinType.new('VOID')

    # @!attribute [rw] boolean
    #     @return [Com::Vmware::Vapi::Metadata::Metamodel::Type::BuiltinType]
    #     The built-in type is a boolean. The value is true or false.
    BOOLEAN = BuiltinType.new('BOOLEAN')

    # @!attribute [rw] long
    #     @return [Com::Vmware::Vapi::Metadata::Metamodel::Type::BuiltinType]
    #     The built-in type is a long. The value is a 64 bit signed integer.
    LONG = BuiltinType.new('LONG')

    # @!attribute [rw] double
    #     @return [Com::Vmware::Vapi::Metadata::Metamodel::Type::BuiltinType]
    #     The built-in type is a double. The value is a 64 bit floating point number.
    DOUBLE = BuiltinType.new('DOUBLE')

    # @!attribute [rw] string
    #     @return [Com::Vmware::Vapi::Metadata::Metamodel::Type::BuiltinType]
    #     The built-in type is a string. The value is a variable-length sequence of zero or more unicode characters.
    STRING = BuiltinType.new('STRING')

    # @!attribute [rw] binary
    #     @return [Com::Vmware::Vapi::Metadata::Metamodel::Type::BuiltinType]
    #     The built-in type is a binary. The value is a variable-length sequence of zero or more bytes.
    BINARY = BuiltinType.new('BINARY')

    # @!attribute [rw] secret
    #     @return [Com::Vmware::Vapi::Metadata::Metamodel::Type::BuiltinType]
    #     The built-in type is a secret. The value is a variable-length sequence of zero or more unicode characters. The value contains sensitive data that should not be printed or displayed anywhere.
    SECRET = BuiltinType.new('SECRET')

    # @!attribute [rw] date_time
    #     @return [Com::Vmware::Vapi::Metadata::Metamodel::Type::BuiltinType]
    #     The built-in type is a datetime. The value should be in the UTC timezone and the precision is milliseconds.
    DATE_TIME = BuiltinType.new('DATE_TIME')

    # @!attribute [rw] id
    #     @return [Com::Vmware::Vapi::Metadata::Metamodel::Type::BuiltinType]
    #     The built-in type is an ID. The value represents an identifier for a resource.
    ID = BuiltinType.new('ID')

    # @!attribute [rw] uri
    #     @return [Com::Vmware::Vapi::Metadata::Metamodel::Type::BuiltinType]
    #     The built-in type is an URI. The value follows the IRI specification in RFC 3987.
    URI = BuiltinType.new('URI')

    # @!attribute [rw] any_error
    #     @return [Com::Vmware::Vapi::Metadata::Metamodel::Type::BuiltinType]
    #     The built-in type is an arbitrary  error  type. This is used if the value of a typed element can be one of any user defined named type which is an  error .
    ANY_ERROR = BuiltinType.new('ANY_ERROR')

    # @!attribute [rw] dynamic_structure
    #     @return [Com::Vmware::Vapi::Metadata::Metamodel::Type::BuiltinType]
    #     The built-in type is a dynamic structure. This is used if the value of a typed element can be one of any user defined named type.
    DYNAMIC_STRUCTURE = BuiltinType.new('DYNAMIC_STRUCTURE')

    # @!attribute [rw] opaque
    #     @return [Com::Vmware::Vapi::Metadata::Metamodel::Type::BuiltinType]
    #     The built-in type is an opaque. This is used if the value of a typed element could be of any type and the actual type will be known only during the execution of the API. This is mostly used in infrastructure  classs .
    OPAQUE = BuiltinType.new('OPAQUE')

end

- (Com::Vmware::Vapi::Metadata::Metamodel::Type::BuiltinType) double

The built-in type is a double. The value is a 64 bit floating point number.



2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/vapi/metadata/metamodel.rb', line 2229

class BuiltinType < 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.vapi.metadata.metamodel.type.builtin_type',
                BuiltinType)
        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 [BuiltinType] 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
                BuiltinType.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] void
    #     @return [Com::Vmware::Vapi::Metadata::Metamodel::Type::BuiltinType]
    #     The built-in type is a void. The value is  nil .
    VOID = BuiltinType.new('VOID')

    # @!attribute [rw] boolean
    #     @return [Com::Vmware::Vapi::Metadata::Metamodel::Type::BuiltinType]
    #     The built-in type is a boolean. The value is true or false.
    BOOLEAN = BuiltinType.new('BOOLEAN')

    # @!attribute [rw] long
    #     @return [Com::Vmware::Vapi::Metadata::Metamodel::Type::BuiltinType]
    #     The built-in type is a long. The value is a 64 bit signed integer.
    LONG = BuiltinType.new('LONG')

    # @!attribute [rw] double
    #     @return [Com::Vmware::Vapi::Metadata::Metamodel::Type::BuiltinType]
    #     The built-in type is a double. The value is a 64 bit floating point number.
    DOUBLE = BuiltinType.new('DOUBLE')

    # @!attribute [rw] string
    #     @return [Com::Vmware::Vapi::Metadata::Metamodel::Type::BuiltinType]
    #     The built-in type is a string. The value is a variable-length sequence of zero or more unicode characters.
    STRING = BuiltinType.new('STRING')

    # @!attribute [rw] binary
    #     @return [Com::Vmware::Vapi::Metadata::Metamodel::Type::BuiltinType]
    #     The built-in type is a binary. The value is a variable-length sequence of zero or more bytes.
    BINARY = BuiltinType.new('BINARY')

    # @!attribute [rw] secret
    #     @return [Com::Vmware::Vapi::Metadata::Metamodel::Type::BuiltinType]
    #     The built-in type is a secret. The value is a variable-length sequence of zero or more unicode characters. The value contains sensitive data that should not be printed or displayed anywhere.
    SECRET = BuiltinType.new('SECRET')

    # @!attribute [rw] date_time
    #     @return [Com::Vmware::Vapi::Metadata::Metamodel::Type::BuiltinType]
    #     The built-in type is a datetime. The value should be in the UTC timezone and the precision is milliseconds.
    DATE_TIME = BuiltinType.new('DATE_TIME')

    # @!attribute [rw] id
    #     @return [Com::Vmware::Vapi::Metadata::Metamodel::Type::BuiltinType]
    #     The built-in type is an ID. The value represents an identifier for a resource.
    ID = BuiltinType.new('ID')

    # @!attribute [rw] uri
    #     @return [Com::Vmware::Vapi::Metadata::Metamodel::Type::BuiltinType]
    #     The built-in type is an URI. The value follows the IRI specification in RFC 3987.
    URI = BuiltinType.new('URI')

    # @!attribute [rw] any_error
    #     @return [Com::Vmware::Vapi::Metadata::Metamodel::Type::BuiltinType]
    #     The built-in type is an arbitrary  error  type. This is used if the value of a typed element can be one of any user defined named type which is an  error .
    ANY_ERROR = BuiltinType.new('ANY_ERROR')

    # @!attribute [rw] dynamic_structure
    #     @return [Com::Vmware::Vapi::Metadata::Metamodel::Type::BuiltinType]
    #     The built-in type is a dynamic structure. This is used if the value of a typed element can be one of any user defined named type.
    DYNAMIC_STRUCTURE = BuiltinType.new('DYNAMIC_STRUCTURE')

    # @!attribute [rw] opaque
    #     @return [Com::Vmware::Vapi::Metadata::Metamodel::Type::BuiltinType]
    #     The built-in type is an opaque. This is used if the value of a typed element could be of any type and the actual type will be known only during the execution of the API. This is mostly used in infrastructure  classs .
    OPAQUE = BuiltinType.new('OPAQUE')

end

- (Com::Vmware::Vapi::Metadata::Metamodel::Type::BuiltinType) dynamic_structure

The built-in type is a dynamic structure. This is used if the value of a typed element can be one of any user defined named type.



2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/vapi/metadata/metamodel.rb', line 2229

class BuiltinType < 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.vapi.metadata.metamodel.type.builtin_type',
                BuiltinType)
        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 [BuiltinType] 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
                BuiltinType.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] void
    #     @return [Com::Vmware::Vapi::Metadata::Metamodel::Type::BuiltinType]
    #     The built-in type is a void. The value is  nil .
    VOID = BuiltinType.new('VOID')

    # @!attribute [rw] boolean
    #     @return [Com::Vmware::Vapi::Metadata::Metamodel::Type::BuiltinType]
    #     The built-in type is a boolean. The value is true or false.
    BOOLEAN = BuiltinType.new('BOOLEAN')

    # @!attribute [rw] long
    #     @return [Com::Vmware::Vapi::Metadata::Metamodel::Type::BuiltinType]
    #     The built-in type is a long. The value is a 64 bit signed integer.
    LONG = BuiltinType.new('LONG')

    # @!attribute [rw] double
    #     @return [Com::Vmware::Vapi::Metadata::Metamodel::Type::BuiltinType]
    #     The built-in type is a double. The value is a 64 bit floating point number.
    DOUBLE = BuiltinType.new('DOUBLE')

    # @!attribute [rw] string
    #     @return [Com::Vmware::Vapi::Metadata::Metamodel::Type::BuiltinType]
    #     The built-in type is a string. The value is a variable-length sequence of zero or more unicode characters.
    STRING = BuiltinType.new('STRING')

    # @!attribute [rw] binary
    #     @return [Com::Vmware::Vapi::Metadata::Metamodel::Type::BuiltinType]
    #     The built-in type is a binary. The value is a variable-length sequence of zero or more bytes.
    BINARY = BuiltinType.new('BINARY')

    # @!attribute [rw] secret
    #     @return [Com::Vmware::Vapi::Metadata::Metamodel::Type::BuiltinType]
    #     The built-in type is a secret. The value is a variable-length sequence of zero or more unicode characters. The value contains sensitive data that should not be printed or displayed anywhere.
    SECRET = BuiltinType.new('SECRET')

    # @!attribute [rw] date_time
    #     @return [Com::Vmware::Vapi::Metadata::Metamodel::Type::BuiltinType]
    #     The built-in type is a datetime. The value should be in the UTC timezone and the precision is milliseconds.
    DATE_TIME = BuiltinType.new('DATE_TIME')

    # @!attribute [rw] id
    #     @return [Com::Vmware::Vapi::Metadata::Metamodel::Type::BuiltinType]
    #     The built-in type is an ID. The value represents an identifier for a resource.
    ID = BuiltinType.new('ID')

    # @!attribute [rw] uri
    #     @return [Com::Vmware::Vapi::Metadata::Metamodel::Type::BuiltinType]
    #     The built-in type is an URI. The value follows the IRI specification in RFC 3987.
    URI = BuiltinType.new('URI')

    # @!attribute [rw] any_error
    #     @return [Com::Vmware::Vapi::Metadata::Metamodel::Type::BuiltinType]
    #     The built-in type is an arbitrary  error  type. This is used if the value of a typed element can be one of any user defined named type which is an  error .
    ANY_ERROR = BuiltinType.new('ANY_ERROR')

    # @!attribute [rw] dynamic_structure
    #     @return [Com::Vmware::Vapi::Metadata::Metamodel::Type::BuiltinType]
    #     The built-in type is a dynamic structure. This is used if the value of a typed element can be one of any user defined named type.
    DYNAMIC_STRUCTURE = BuiltinType.new('DYNAMIC_STRUCTURE')

    # @!attribute [rw] opaque
    #     @return [Com::Vmware::Vapi::Metadata::Metamodel::Type::BuiltinType]
    #     The built-in type is an opaque. This is used if the value of a typed element could be of any type and the actual type will be known only during the execution of the API. This is mostly used in infrastructure  classs .
    OPAQUE = BuiltinType.new('OPAQUE')

end

- (Com::Vmware::Vapi::Metadata::Metamodel::Type::BuiltinType) id

The built-in type is an ID. The value represents an identifier for a resource.



2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/vapi/metadata/metamodel.rb', line 2229

class BuiltinType < 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.vapi.metadata.metamodel.type.builtin_type',
                BuiltinType)
        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 [BuiltinType] 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
                BuiltinType.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] void
    #     @return [Com::Vmware::Vapi::Metadata::Metamodel::Type::BuiltinType]
    #     The built-in type is a void. The value is  nil .
    VOID = BuiltinType.new('VOID')

    # @!attribute [rw] boolean
    #     @return [Com::Vmware::Vapi::Metadata::Metamodel::Type::BuiltinType]
    #     The built-in type is a boolean. The value is true or false.
    BOOLEAN = BuiltinType.new('BOOLEAN')

    # @!attribute [rw] long
    #     @return [Com::Vmware::Vapi::Metadata::Metamodel::Type::BuiltinType]
    #     The built-in type is a long. The value is a 64 bit signed integer.
    LONG = BuiltinType.new('LONG')

    # @!attribute [rw] double
    #     @return [Com::Vmware::Vapi::Metadata::Metamodel::Type::BuiltinType]
    #     The built-in type is a double. The value is a 64 bit floating point number.
    DOUBLE = BuiltinType.new('DOUBLE')

    # @!attribute [rw] string
    #     @return [Com::Vmware::Vapi::Metadata::Metamodel::Type::BuiltinType]
    #     The built-in type is a string. The value is a variable-length sequence of zero or more unicode characters.
    STRING = BuiltinType.new('STRING')

    # @!attribute [rw] binary
    #     @return [Com::Vmware::Vapi::Metadata::Metamodel::Type::BuiltinType]
    #     The built-in type is a binary. The value is a variable-length sequence of zero or more bytes.
    BINARY = BuiltinType.new('BINARY')

    # @!attribute [rw] secret
    #     @return [Com::Vmware::Vapi::Metadata::Metamodel::Type::BuiltinType]
    #     The built-in type is a secret. The value is a variable-length sequence of zero or more unicode characters. The value contains sensitive data that should not be printed or displayed anywhere.
    SECRET = BuiltinType.new('SECRET')

    # @!attribute [rw] date_time
    #     @return [Com::Vmware::Vapi::Metadata::Metamodel::Type::BuiltinType]
    #     The built-in type is a datetime. The value should be in the UTC timezone and the precision is milliseconds.
    DATE_TIME = BuiltinType.new('DATE_TIME')

    # @!attribute [rw] id
    #     @return [Com::Vmware::Vapi::Metadata::Metamodel::Type::BuiltinType]
    #     The built-in type is an ID. The value represents an identifier for a resource.
    ID = BuiltinType.new('ID')

    # @!attribute [rw] uri
    #     @return [Com::Vmware::Vapi::Metadata::Metamodel::Type::BuiltinType]
    #     The built-in type is an URI. The value follows the IRI specification in RFC 3987.
    URI = BuiltinType.new('URI')

    # @!attribute [rw] any_error
    #     @return [Com::Vmware::Vapi::Metadata::Metamodel::Type::BuiltinType]
    #     The built-in type is an arbitrary  error  type. This is used if the value of a typed element can be one of any user defined named type which is an  error .
    ANY_ERROR = BuiltinType.new('ANY_ERROR')

    # @!attribute [rw] dynamic_structure
    #     @return [Com::Vmware::Vapi::Metadata::Metamodel::Type::BuiltinType]
    #     The built-in type is a dynamic structure. This is used if the value of a typed element can be one of any user defined named type.
    DYNAMIC_STRUCTURE = BuiltinType.new('DYNAMIC_STRUCTURE')

    # @!attribute [rw] opaque
    #     @return [Com::Vmware::Vapi::Metadata::Metamodel::Type::BuiltinType]
    #     The built-in type is an opaque. This is used if the value of a typed element could be of any type and the actual type will be known only during the execution of the API. This is mostly used in infrastructure  classs .
    OPAQUE = BuiltinType.new('OPAQUE')

end

- (Com::Vmware::Vapi::Metadata::Metamodel::Type::BuiltinType) long

The built-in type is a long. The value is a 64 bit signed integer.



2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/vapi/metadata/metamodel.rb', line 2229

class BuiltinType < 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.vapi.metadata.metamodel.type.builtin_type',
                BuiltinType)
        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 [BuiltinType] 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
                BuiltinType.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] void
    #     @return [Com::Vmware::Vapi::Metadata::Metamodel::Type::BuiltinType]
    #     The built-in type is a void. The value is  nil .
    VOID = BuiltinType.new('VOID')

    # @!attribute [rw] boolean
    #     @return [Com::Vmware::Vapi::Metadata::Metamodel::Type::BuiltinType]
    #     The built-in type is a boolean. The value is true or false.
    BOOLEAN = BuiltinType.new('BOOLEAN')

    # @!attribute [rw] long
    #     @return [Com::Vmware::Vapi::Metadata::Metamodel::Type::BuiltinType]
    #     The built-in type is a long. The value is a 64 bit signed integer.
    LONG = BuiltinType.new('LONG')

    # @!attribute [rw] double
    #     @return [Com::Vmware::Vapi::Metadata::Metamodel::Type::BuiltinType]
    #     The built-in type is a double. The value is a 64 bit floating point number.
    DOUBLE = BuiltinType.new('DOUBLE')

    # @!attribute [rw] string
    #     @return [Com::Vmware::Vapi::Metadata::Metamodel::Type::BuiltinType]
    #     The built-in type is a string. The value is a variable-length sequence of zero or more unicode characters.
    STRING = BuiltinType.new('STRING')

    # @!attribute [rw] binary
    #     @return [Com::Vmware::Vapi::Metadata::Metamodel::Type::BuiltinType]
    #     The built-in type is a binary. The value is a variable-length sequence of zero or more bytes.
    BINARY = BuiltinType.new('BINARY')

    # @!attribute [rw] secret
    #     @return [Com::Vmware::Vapi::Metadata::Metamodel::Type::BuiltinType]
    #     The built-in type is a secret. The value is a variable-length sequence of zero or more unicode characters. The value contains sensitive data that should not be printed or displayed anywhere.
    SECRET = BuiltinType.new('SECRET')

    # @!attribute [rw] date_time
    #     @return [Com::Vmware::Vapi::Metadata::Metamodel::Type::BuiltinType]
    #     The built-in type is a datetime. The value should be in the UTC timezone and the precision is milliseconds.
    DATE_TIME = BuiltinType.new('DATE_TIME')

    # @!attribute [rw] id
    #     @return [Com::Vmware::Vapi::Metadata::Metamodel::Type::BuiltinType]
    #     The built-in type is an ID. The value represents an identifier for a resource.
    ID = BuiltinType.new('ID')

    # @!attribute [rw] uri
    #     @return [Com::Vmware::Vapi::Metadata::Metamodel::Type::BuiltinType]
    #     The built-in type is an URI. The value follows the IRI specification in RFC 3987.
    URI = BuiltinType.new('URI')

    # @!attribute [rw] any_error
    #     @return [Com::Vmware::Vapi::Metadata::Metamodel::Type::BuiltinType]
    #     The built-in type is an arbitrary  error  type. This is used if the value of a typed element can be one of any user defined named type which is an  error .
    ANY_ERROR = BuiltinType.new('ANY_ERROR')

    # @!attribute [rw] dynamic_structure
    #     @return [Com::Vmware::Vapi::Metadata::Metamodel::Type::BuiltinType]
    #     The built-in type is a dynamic structure. This is used if the value of a typed element can be one of any user defined named type.
    DYNAMIC_STRUCTURE = BuiltinType.new('DYNAMIC_STRUCTURE')

    # @!attribute [rw] opaque
    #     @return [Com::Vmware::Vapi::Metadata::Metamodel::Type::BuiltinType]
    #     The built-in type is an opaque. This is used if the value of a typed element could be of any type and the actual type will be known only during the execution of the API. This is mostly used in infrastructure  classs .
    OPAQUE = BuiltinType.new('OPAQUE')

end

- (Com::Vmware::Vapi::Metadata::Metamodel::Type::BuiltinType) opaque

The built-in type is an opaque. This is used if the value of a typed element could be of any type and the actual type will be known only during the execution of the API. This is mostly used in infrastructure classs .



2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/vapi/metadata/metamodel.rb', line 2229

class BuiltinType < 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.vapi.metadata.metamodel.type.builtin_type',
                BuiltinType)
        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 [BuiltinType] 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
                BuiltinType.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] void
    #     @return [Com::Vmware::Vapi::Metadata::Metamodel::Type::BuiltinType]
    #     The built-in type is a void. The value is  nil .
    VOID = BuiltinType.new('VOID')

    # @!attribute [rw] boolean
    #     @return [Com::Vmware::Vapi::Metadata::Metamodel::Type::BuiltinType]
    #     The built-in type is a boolean. The value is true or false.
    BOOLEAN = BuiltinType.new('BOOLEAN')

    # @!attribute [rw] long
    #     @return [Com::Vmware::Vapi::Metadata::Metamodel::Type::BuiltinType]
    #     The built-in type is a long. The value is a 64 bit signed integer.
    LONG = BuiltinType.new('LONG')

    # @!attribute [rw] double
    #     @return [Com::Vmware::Vapi::Metadata::Metamodel::Type::BuiltinType]
    #     The built-in type is a double. The value is a 64 bit floating point number.
    DOUBLE = BuiltinType.new('DOUBLE')

    # @!attribute [rw] string
    #     @return [Com::Vmware::Vapi::Metadata::Metamodel::Type::BuiltinType]
    #     The built-in type is a string. The value is a variable-length sequence of zero or more unicode characters.
    STRING = BuiltinType.new('STRING')

    # @!attribute [rw] binary
    #     @return [Com::Vmware::Vapi::Metadata::Metamodel::Type::BuiltinType]
    #     The built-in type is a binary. The value is a variable-length sequence of zero or more bytes.
    BINARY = BuiltinType.new('BINARY')

    # @!attribute [rw] secret
    #     @return [Com::Vmware::Vapi::Metadata::Metamodel::Type::BuiltinType]
    #     The built-in type is a secret. The value is a variable-length sequence of zero or more unicode characters. The value contains sensitive data that should not be printed or displayed anywhere.
    SECRET = BuiltinType.new('SECRET')

    # @!attribute [rw] date_time
    #     @return [Com::Vmware::Vapi::Metadata::Metamodel::Type::BuiltinType]
    #     The built-in type is a datetime. The value should be in the UTC timezone and the precision is milliseconds.
    DATE_TIME = BuiltinType.new('DATE_TIME')

    # @!attribute [rw] id
    #     @return [Com::Vmware::Vapi::Metadata::Metamodel::Type::BuiltinType]
    #     The built-in type is an ID. The value represents an identifier for a resource.
    ID = BuiltinType.new('ID')

    # @!attribute [rw] uri
    #     @return [Com::Vmware::Vapi::Metadata::Metamodel::Type::BuiltinType]
    #     The built-in type is an URI. The value follows the IRI specification in RFC 3987.
    URI = BuiltinType.new('URI')

    # @!attribute [rw] any_error
    #     @return [Com::Vmware::Vapi::Metadata::Metamodel::Type::BuiltinType]
    #     The built-in type is an arbitrary  error  type. This is used if the value of a typed element can be one of any user defined named type which is an  error .
    ANY_ERROR = BuiltinType.new('ANY_ERROR')

    # @!attribute [rw] dynamic_structure
    #     @return [Com::Vmware::Vapi::Metadata::Metamodel::Type::BuiltinType]
    #     The built-in type is a dynamic structure. This is used if the value of a typed element can be one of any user defined named type.
    DYNAMIC_STRUCTURE = BuiltinType.new('DYNAMIC_STRUCTURE')

    # @!attribute [rw] opaque
    #     @return [Com::Vmware::Vapi::Metadata::Metamodel::Type::BuiltinType]
    #     The built-in type is an opaque. This is used if the value of a typed element could be of any type and the actual type will be known only during the execution of the API. This is mostly used in infrastructure  classs .
    OPAQUE = BuiltinType.new('OPAQUE')

end

- (Com::Vmware::Vapi::Metadata::Metamodel::Type::BuiltinType) secret

The built-in type is a secret. The value is a variable-length sequence of zero or more unicode characters. The value contains sensitive data that should not be printed or displayed anywhere.



2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/vapi/metadata/metamodel.rb', line 2229

class BuiltinType < 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.vapi.metadata.metamodel.type.builtin_type',
                BuiltinType)
        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 [BuiltinType] 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
                BuiltinType.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] void
    #     @return [Com::Vmware::Vapi::Metadata::Metamodel::Type::BuiltinType]
    #     The built-in type is a void. The value is  nil .
    VOID = BuiltinType.new('VOID')

    # @!attribute [rw] boolean
    #     @return [Com::Vmware::Vapi::Metadata::Metamodel::Type::BuiltinType]
    #     The built-in type is a boolean. The value is true or false.
    BOOLEAN = BuiltinType.new('BOOLEAN')

    # @!attribute [rw] long
    #     @return [Com::Vmware::Vapi::Metadata::Metamodel::Type::BuiltinType]
    #     The built-in type is a long. The value is a 64 bit signed integer.
    LONG = BuiltinType.new('LONG')

    # @!attribute [rw] double
    #     @return [Com::Vmware::Vapi::Metadata::Metamodel::Type::BuiltinType]
    #     The built-in type is a double. The value is a 64 bit floating point number.
    DOUBLE = BuiltinType.new('DOUBLE')

    # @!attribute [rw] string
    #     @return [Com::Vmware::Vapi::Metadata::Metamodel::Type::BuiltinType]
    #     The built-in type is a string. The value is a variable-length sequence of zero or more unicode characters.
    STRING = BuiltinType.new('STRING')

    # @!attribute [rw] binary
    #     @return [Com::Vmware::Vapi::Metadata::Metamodel::Type::BuiltinType]
    #     The built-in type is a binary. The value is a variable-length sequence of zero or more bytes.
    BINARY = BuiltinType.new('BINARY')

    # @!attribute [rw] secret
    #     @return [Com::Vmware::Vapi::Metadata::Metamodel::Type::BuiltinType]
    #     The built-in type is a secret. The value is a variable-length sequence of zero or more unicode characters. The value contains sensitive data that should not be printed or displayed anywhere.
    SECRET = BuiltinType.new('SECRET')

    # @!attribute [rw] date_time
    #     @return [Com::Vmware::Vapi::Metadata::Metamodel::Type::BuiltinType]
    #     The built-in type is a datetime. The value should be in the UTC timezone and the precision is milliseconds.
    DATE_TIME = BuiltinType.new('DATE_TIME')

    # @!attribute [rw] id
    #     @return [Com::Vmware::Vapi::Metadata::Metamodel::Type::BuiltinType]
    #     The built-in type is an ID. The value represents an identifier for a resource.
    ID = BuiltinType.new('ID')

    # @!attribute [rw] uri
    #     @return [Com::Vmware::Vapi::Metadata::Metamodel::Type::BuiltinType]
    #     The built-in type is an URI. The value follows the IRI specification in RFC 3987.
    URI = BuiltinType.new('URI')

    # @!attribute [rw] any_error
    #     @return [Com::Vmware::Vapi::Metadata::Metamodel::Type::BuiltinType]
    #     The built-in type is an arbitrary  error  type. This is used if the value of a typed element can be one of any user defined named type which is an  error .
    ANY_ERROR = BuiltinType.new('ANY_ERROR')

    # @!attribute [rw] dynamic_structure
    #     @return [Com::Vmware::Vapi::Metadata::Metamodel::Type::BuiltinType]
    #     The built-in type is a dynamic structure. This is used if the value of a typed element can be one of any user defined named type.
    DYNAMIC_STRUCTURE = BuiltinType.new('DYNAMIC_STRUCTURE')

    # @!attribute [rw] opaque
    #     @return [Com::Vmware::Vapi::Metadata::Metamodel::Type::BuiltinType]
    #     The built-in type is an opaque. This is used if the value of a typed element could be of any type and the actual type will be known only during the execution of the API. This is mostly used in infrastructure  classs .
    OPAQUE = BuiltinType.new('OPAQUE')

end

- (Com::Vmware::Vapi::Metadata::Metamodel::Type::BuiltinType) string

The built-in type is a string. The value is a variable-length sequence of zero or more unicode characters.



2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/vapi/metadata/metamodel.rb', line 2229

class BuiltinType < 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.vapi.metadata.metamodel.type.builtin_type',
                BuiltinType)
        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 [BuiltinType] 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
                BuiltinType.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] void
    #     @return [Com::Vmware::Vapi::Metadata::Metamodel::Type::BuiltinType]
    #     The built-in type is a void. The value is  nil .
    VOID = BuiltinType.new('VOID')

    # @!attribute [rw] boolean
    #     @return [Com::Vmware::Vapi::Metadata::Metamodel::Type::BuiltinType]
    #     The built-in type is a boolean. The value is true or false.
    BOOLEAN = BuiltinType.new('BOOLEAN')

    # @!attribute [rw] long
    #     @return [Com::Vmware::Vapi::Metadata::Metamodel::Type::BuiltinType]
    #     The built-in type is a long. The value is a 64 bit signed integer.
    LONG = BuiltinType.new('LONG')

    # @!attribute [rw] double
    #     @return [Com::Vmware::Vapi::Metadata::Metamodel::Type::BuiltinType]
    #     The built-in type is a double. The value is a 64 bit floating point number.
    DOUBLE = BuiltinType.new('DOUBLE')

    # @!attribute [rw] string
    #     @return [Com::Vmware::Vapi::Metadata::Metamodel::Type::BuiltinType]
    #     The built-in type is a string. The value is a variable-length sequence of zero or more unicode characters.
    STRING = BuiltinType.new('STRING')

    # @!attribute [rw] binary
    #     @return [Com::Vmware::Vapi::Metadata::Metamodel::Type::BuiltinType]
    #     The built-in type is a binary. The value is a variable-length sequence of zero or more bytes.
    BINARY = BuiltinType.new('BINARY')

    # @!attribute [rw] secret
    #     @return [Com::Vmware::Vapi::Metadata::Metamodel::Type::BuiltinType]
    #     The built-in type is a secret. The value is a variable-length sequence of zero or more unicode characters. The value contains sensitive data that should not be printed or displayed anywhere.
    SECRET = BuiltinType.new('SECRET')

    # @!attribute [rw] date_time
    #     @return [Com::Vmware::Vapi::Metadata::Metamodel::Type::BuiltinType]
    #     The built-in type is a datetime. The value should be in the UTC timezone and the precision is milliseconds.
    DATE_TIME = BuiltinType.new('DATE_TIME')

    # @!attribute [rw] id
    #     @return [Com::Vmware::Vapi::Metadata::Metamodel::Type::BuiltinType]
    #     The built-in type is an ID. The value represents an identifier for a resource.
    ID = BuiltinType.new('ID')

    # @!attribute [rw] uri
    #     @return [Com::Vmware::Vapi::Metadata::Metamodel::Type::BuiltinType]
    #     The built-in type is an URI. The value follows the IRI specification in RFC 3987.
    URI = BuiltinType.new('URI')

    # @!attribute [rw] any_error
    #     @return [Com::Vmware::Vapi::Metadata::Metamodel::Type::BuiltinType]
    #     The built-in type is an arbitrary  error  type. This is used if the value of a typed element can be one of any user defined named type which is an  error .
    ANY_ERROR = BuiltinType.new('ANY_ERROR')

    # @!attribute [rw] dynamic_structure
    #     @return [Com::Vmware::Vapi::Metadata::Metamodel::Type::BuiltinType]
    #     The built-in type is a dynamic structure. This is used if the value of a typed element can be one of any user defined named type.
    DYNAMIC_STRUCTURE = BuiltinType.new('DYNAMIC_STRUCTURE')

    # @!attribute [rw] opaque
    #     @return [Com::Vmware::Vapi::Metadata::Metamodel::Type::BuiltinType]
    #     The built-in type is an opaque. This is used if the value of a typed element could be of any type and the actual type will be known only during the execution of the API. This is mostly used in infrastructure  classs .
    OPAQUE = BuiltinType.new('OPAQUE')

end

- (Com::Vmware::Vapi::Metadata::Metamodel::Type::BuiltinType) uri

The built-in type is an URI. The value follows the IRI specification in RFC 3987.



2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/vapi/metadata/metamodel.rb', line 2229

class BuiltinType < 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.vapi.metadata.metamodel.type.builtin_type',
                BuiltinType)
        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 [BuiltinType] 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
                BuiltinType.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] void
    #     @return [Com::Vmware::Vapi::Metadata::Metamodel::Type::BuiltinType]
    #     The built-in type is a void. The value is  nil .
    VOID = BuiltinType.new('VOID')

    # @!attribute [rw] boolean
    #     @return [Com::Vmware::Vapi::Metadata::Metamodel::Type::BuiltinType]
    #     The built-in type is a boolean. The value is true or false.
    BOOLEAN = BuiltinType.new('BOOLEAN')

    # @!attribute [rw] long
    #     @return [Com::Vmware::Vapi::Metadata::Metamodel::Type::BuiltinType]
    #     The built-in type is a long. The value is a 64 bit signed integer.
    LONG = BuiltinType.new('LONG')

    # @!attribute [rw] double
    #     @return [Com::Vmware::Vapi::Metadata::Metamodel::Type::BuiltinType]
    #     The built-in type is a double. The value is a 64 bit floating point number.
    DOUBLE = BuiltinType.new('DOUBLE')

    # @!attribute [rw] string
    #     @return [Com::Vmware::Vapi::Metadata::Metamodel::Type::BuiltinType]
    #     The built-in type is a string. The value is a variable-length sequence of zero or more unicode characters.
    STRING = BuiltinType.new('STRING')

    # @!attribute [rw] binary
    #     @return [Com::Vmware::Vapi::Metadata::Metamodel::Type::BuiltinType]
    #     The built-in type is a binary. The value is a variable-length sequence of zero or more bytes.
    BINARY = BuiltinType.new('BINARY')

    # @!attribute [rw] secret
    #     @return [Com::Vmware::Vapi::Metadata::Metamodel::Type::BuiltinType]
    #     The built-in type is a secret. The value is a variable-length sequence of zero or more unicode characters. The value contains sensitive data that should not be printed or displayed anywhere.
    SECRET = BuiltinType.new('SECRET')

    # @!attribute [rw] date_time
    #     @return [Com::Vmware::Vapi::Metadata::Metamodel::Type::BuiltinType]
    #     The built-in type is a datetime. The value should be in the UTC timezone and the precision is milliseconds.
    DATE_TIME = BuiltinType.new('DATE_TIME')

    # @!attribute [rw] id
    #     @return [Com::Vmware::Vapi::Metadata::Metamodel::Type::BuiltinType]
    #     The built-in type is an ID. The value represents an identifier for a resource.
    ID = BuiltinType.new('ID')

    # @!attribute [rw] uri
    #     @return [Com::Vmware::Vapi::Metadata::Metamodel::Type::BuiltinType]
    #     The built-in type is an URI. The value follows the IRI specification in RFC 3987.
    URI = BuiltinType.new('URI')

    # @!attribute [rw] any_error
    #     @return [Com::Vmware::Vapi::Metadata::Metamodel::Type::BuiltinType]
    #     The built-in type is an arbitrary  error  type. This is used if the value of a typed element can be one of any user defined named type which is an  error .
    ANY_ERROR = BuiltinType.new('ANY_ERROR')

    # @!attribute [rw] dynamic_structure
    #     @return [Com::Vmware::Vapi::Metadata::Metamodel::Type::BuiltinType]
    #     The built-in type is a dynamic structure. This is used if the value of a typed element can be one of any user defined named type.
    DYNAMIC_STRUCTURE = BuiltinType.new('DYNAMIC_STRUCTURE')

    # @!attribute [rw] opaque
    #     @return [Com::Vmware::Vapi::Metadata::Metamodel::Type::BuiltinType]
    #     The built-in type is an opaque. This is used if the value of a typed element could be of any type and the actual type will be known only during the execution of the API. This is mostly used in infrastructure  classs .
    OPAQUE = BuiltinType.new('OPAQUE')

end

- (Com::Vmware::Vapi::Metadata::Metamodel::Type::BuiltinType) void

The built-in type is a void. The value is nil .



2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/vapi/metadata/metamodel.rb', line 2229

class BuiltinType < 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.vapi.metadata.metamodel.type.builtin_type',
                BuiltinType)
        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 [BuiltinType] 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
                BuiltinType.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] void
    #     @return [Com::Vmware::Vapi::Metadata::Metamodel::Type::BuiltinType]
    #     The built-in type is a void. The value is  nil .
    VOID = BuiltinType.new('VOID')

    # @!attribute [rw] boolean
    #     @return [Com::Vmware::Vapi::Metadata::Metamodel::Type::BuiltinType]
    #     The built-in type is a boolean. The value is true or false.
    BOOLEAN = BuiltinType.new('BOOLEAN')

    # @!attribute [rw] long
    #     @return [Com::Vmware::Vapi::Metadata::Metamodel::Type::BuiltinType]
    #     The built-in type is a long. The value is a 64 bit signed integer.
    LONG = BuiltinType.new('LONG')

    # @!attribute [rw] double
    #     @return [Com::Vmware::Vapi::Metadata::Metamodel::Type::BuiltinType]
    #     The built-in type is a double. The value is a 64 bit floating point number.
    DOUBLE = BuiltinType.new('DOUBLE')

    # @!attribute [rw] string
    #     @return [Com::Vmware::Vapi::Metadata::Metamodel::Type::BuiltinType]
    #     The built-in type is a string. The value is a variable-length sequence of zero or more unicode characters.
    STRING = BuiltinType.new('STRING')

    # @!attribute [rw] binary
    #     @return [Com::Vmware::Vapi::Metadata::Metamodel::Type::BuiltinType]
    #     The built-in type is a binary. The value is a variable-length sequence of zero or more bytes.
    BINARY = BuiltinType.new('BINARY')

    # @!attribute [rw] secret
    #     @return [Com::Vmware::Vapi::Metadata::Metamodel::Type::BuiltinType]
    #     The built-in type is a secret. The value is a variable-length sequence of zero or more unicode characters. The value contains sensitive data that should not be printed or displayed anywhere.
    SECRET = BuiltinType.new('SECRET')

    # @!attribute [rw] date_time
    #     @return [Com::Vmware::Vapi::Metadata::Metamodel::Type::BuiltinType]
    #     The built-in type is a datetime. The value should be in the UTC timezone and the precision is milliseconds.
    DATE_TIME = BuiltinType.new('DATE_TIME')

    # @!attribute [rw] id
    #     @return [Com::Vmware::Vapi::Metadata::Metamodel::Type::BuiltinType]
    #     The built-in type is an ID. The value represents an identifier for a resource.
    ID = BuiltinType.new('ID')

    # @!attribute [rw] uri
    #     @return [Com::Vmware::Vapi::Metadata::Metamodel::Type::BuiltinType]
    #     The built-in type is an URI. The value follows the IRI specification in RFC 3987.
    URI = BuiltinType.new('URI')

    # @!attribute [rw] any_error
    #     @return [Com::Vmware::Vapi::Metadata::Metamodel::Type::BuiltinType]
    #     The built-in type is an arbitrary  error  type. This is used if the value of a typed element can be one of any user defined named type which is an  error .
    ANY_ERROR = BuiltinType.new('ANY_ERROR')

    # @!attribute [rw] dynamic_structure
    #     @return [Com::Vmware::Vapi::Metadata::Metamodel::Type::BuiltinType]
    #     The built-in type is a dynamic structure. This is used if the value of a typed element can be one of any user defined named type.
    DYNAMIC_STRUCTURE = BuiltinType.new('DYNAMIC_STRUCTURE')

    # @!attribute [rw] opaque
    #     @return [Com::Vmware::Vapi::Metadata::Metamodel::Type::BuiltinType]
    #     The built-in type is an opaque. This is used if the value of a typed element could be of any type and the actual type will be known only during the execution of the API. This is mostly used in infrastructure  classs .
    OPAQUE = BuiltinType.new('OPAQUE')

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



2235
2236
2237
2238
2239
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/vapi/metadata/metamodel.rb', line 2235

def binding_type
    @binding_type ||= VAPI::Bindings::EnumType.new(
        'com.vmware.vapi.metadata.metamodel.type.builtin_type',
        BuiltinType)
end

+ (BuiltinType) 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:

  • (BuiltinType)

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



2246
2247
2248
2249
2250
2251
2252
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/vapi/metadata/metamodel.rb', line 2246

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