vapi std introspection operation: data definition
The vapi.std.introspection.operation.data_definition structure describes a vAPI data type.
Representation:
{
"element_definition" : {
"name" : "string",
"type" : "BINARY",
"fields" : {}
},
"name" : "string",
"type" : "BINARY",
"fields" : {}
}
"element_definition" : {
"name" : "string",
"type" : "BINARY",
"fields" : {}
},
"name" : "string",
"type" : "BINARY",
"fields" : {}
}
{
"element_definition" : {
"name" : "string",
"type" : "BINARY",
"fields" : [
{
"key" : "string"
}
]
},
"name" : "string",
"type" : "BINARY",
"fields" : [
{
"key" : "string"
}
]
}
"element_definition" : {
"name" : "string",
"type" : "BINARY",
"fields" : [
{
"key" : "string"
}
]
},
"name" : "string",
"type" : "BINARY",
"fields" : [
{
"key" : "string"
}
]
}
Attributes:
Name | Type | Description |
---|---|---|
Required | ||
-.type | string | Data type of the value. The vapi.std.introspection.operation.data_definition.data_type enumeration provides values representing the data types supported by the vAPI infrastructure. Value is one of: BINARY: Indicates the value is a binary type. BOOLEAN: Indicates the value is a boolean type. The possible values are True and False equivalent of the language used to invoke this operation. DOUBLE: Indicates the value is a double type. It is a 64 bit floating point number. DYNAMIC_STRUCTURE: Indicates the value is a dynamic structure. This means, any data of type STRUCTURE can be used. ERROR: Indicates the value is a specific error type. ANY_ERROR: Indicates the value is arbitrary error type. This means, any data of type ERROR can be used. LIST: Indicates the value is a list data type. Any value of this type can have zero or more elements in the list. LONG: Indicates the value is a long data type. It is a 64 bit signed integer number. OPAQUE: Indicates the value is an opaque type. This means, data of any vapi.std.introspection.operation.data_definition.data_type can be used. OPTIONAL: Indicates the value is an optional data type. Any value of this type can be null. SECRET: Indicates the value is a secret data type. This is used for sensitive information. The server will not log any data of this type and if possible wipe the data from the memory after usage. STRING: Indicates the value is a string data type. This is a unicode string. STRUCTURE: Indicates the value is a structure data type. A structure has string identifier and a set of fields with corresponding values. STRUCTURE_REF: Indicates the value is a structure reference. This is used to break circular dependencies in the type references. This just has a string identifier of the structure. Clients have to maintain a list of structures already visited and use that to resolve this reference. VOID: Indicates the value is a void data type. |
-.element_definition.type | string | Data type of the value. The vapi.std.introspection.operation.data_definition.data_type enumeration provides values representing the data types supported by the vAPI infrastructure. Value is one of: BINARY: Indicates the value is a binary type. BOOLEAN: Indicates the value is a boolean type. The possible values are True and False equivalent of the language used to invoke this operation. DOUBLE: Indicates the value is a double type. It is a 64 bit floating point number. DYNAMIC_STRUCTURE: Indicates the value is a dynamic structure. This means, any data of type STRUCTURE can be used. ERROR: Indicates the value is a specific error type. ANY_ERROR: Indicates the value is arbitrary error type. This means, any data of type ERROR can be used. LIST: Indicates the value is a list data type. Any value of this type can have zero or more elements in the list. LONG: Indicates the value is a long data type. It is a 64 bit signed integer number. OPAQUE: Indicates the value is an opaque type. This means, data of any vapi.std.introspection.operation.data_definition.data_type can be used. OPTIONAL: Indicates the value is an optional data type. Any value of this type can be null. SECRET: Indicates the value is a secret data type. This is used for sensitive information. The server will not log any data of this type and if possible wipe the data from the memory after usage. STRING: Indicates the value is a string data type. This is a unicode string. STRUCTURE: Indicates the value is a structure data type. A structure has string identifier and a set of fields with corresponding values. STRUCTURE_REF: Indicates the value is a structure reference. This is used to break circular dependencies in the type references. This just has a string identifier of the structure. Clients have to maintain a list of structures already visited and use that to resolve this reference. VOID: Indicates the value is a void data type. |
-.element_definition.fields.* | data_definition | |
-.element_definition.fields.*.type | string | Data type of the value. The vapi.std.introspection.operation.data_definition.data_type enumeration provides values representing the data types supported by the vAPI infrastructure. Value is one of: BINARY: Indicates the value is a binary type. BOOLEAN: Indicates the value is a boolean type. The possible values are True and False equivalent of the language used to invoke this operation. DOUBLE: Indicates the value is a double type. It is a 64 bit floating point number. DYNAMIC_STRUCTURE: Indicates the value is a dynamic structure. This means, any data of type STRUCTURE can be used. ERROR: Indicates the value is a specific error type. ANY_ERROR: Indicates the value is arbitrary error type. This means, any data of type ERROR can be used. LIST: Indicates the value is a list data type. Any value of this type can have zero or more elements in the list. LONG: Indicates the value is a long data type. It is a 64 bit signed integer number. OPAQUE: Indicates the value is an opaque type. This means, data of any vapi.std.introspection.operation.data_definition.data_type can be used. OPTIONAL: Indicates the value is an optional data type. Any value of this type can be null. SECRET: Indicates the value is a secret data type. This is used for sensitive information. The server will not log any data of this type and if possible wipe the data from the memory after usage. STRING: Indicates the value is a string data type. This is a unicode string. STRUCTURE: Indicates the value is a structure data type. A structure has string identifier and a set of fields with corresponding values. STRUCTURE_REF: Indicates the value is a structure reference. This is used to break circular dependencies in the type references. This just has a string identifier of the structure. Clients have to maintain a list of structures already visited and use that to resolve this reference. VOID: Indicates the value is a void data type. |
Optional | ||
-.element_definition | data_definition | Contains the element definition for generic data types like List and Optional. Optional. It is only relevant when type has value [OPTIONAL, LIST]. This field is optional and it is only relevant when the value of type is one of OPTIONAL or LIST. |
-.element_definition.element_definition | data_definition | Contains the element definition for generic data types like List and Optional. Optional. It is only relevant when type has value [OPTIONAL, LIST]. This field is optional and it is only relevant when the value of type is one of OPTIONAL or LIST. |
-.element_definition.name | string | Fully qualified name of the structure. Optional. It is only relevant when type has value [STRUCTURE, STRUCTURE_REF, ERROR]. This field is optional and it is only relevant when the value of type is one of STRUCTURE, STRUCTURE_REF, or ERROR. |
-.element_definition.fields | object | Fields of the structure type. The key of the map is the canonical name of the field and the value is the vapi.std.introspection.operation.data_definition for the field. The order of the structure fields defined in IDL is not maintained by the vapi.std.introspection.operation service. Optional. It is only relevant when type has value [STRUCTURE, ERROR]. This field is optional and it is only relevant when the value of type is one of STRUCTURE or ERROR.Object with element values of type data_definition. |
-.element_definition.fields.*.element_definition | data_definition | Contains the element definition for generic data types like List and Optional. Optional. It is only relevant when type has value [OPTIONAL, LIST]. This field is optional and it is only relevant when the value of type is one of OPTIONAL or LIST. |
-.element_definition.fields.*.name | string | Fully qualified name of the structure. Optional. It is only relevant when type has value [STRUCTURE, STRUCTURE_REF, ERROR]. This field is optional and it is only relevant when the value of type is one of STRUCTURE, STRUCTURE_REF, or ERROR. |
-.element_definition.fields.*.fields | object | Fields of the structure type. The key of the map is the canonical name of the field and the value is the vapi.std.introspection.operation.data_definition for the field. The order of the structure fields defined in IDL is not maintained by the vapi.std.introspection.operation service. Optional. It is only relevant when type has value [STRUCTURE, ERROR]. This field is optional and it is only relevant when the value of type is one of STRUCTURE or ERROR.Object with element values of type data_definition. |
-.name | string | Fully qualified name of the structure. Optional. It is only relevant when type has value [STRUCTURE, STRUCTURE_REF, ERROR]. This field is optional and it is only relevant when the value of type is one of STRUCTURE, STRUCTURE_REF, or ERROR. |
-.fields | object | Fields of the structure type. The key of the map is the canonical name of the field and the value is the vapi.std.introspection.operation.data_definition for the field. The order of the structure fields defined in IDL is not maintained by the vapi.std.introspection.operation service. Optional. It is only relevant when type has value [STRUCTURE, ERROR]. This field is optional and it is only relevant when the value of type is one of STRUCTURE or ERROR.Object with element values of type data_definition. |
Attributes:
Name | Type | Description |
---|---|---|
Required | ||
type | string | Data type of the value. The vapi.std.introspection.operation.data_definition.data_type enumeration provides values representing the data types supported by the vAPI infrastructure. Value is one of: BINARY: Indicates the value is a binary type. BOOLEAN: Indicates the value is a boolean type. The possible values are True and False equivalent of the language used to invoke this operation. DOUBLE: Indicates the value is a double type. It is a 64 bit floating point number. DYNAMIC_STRUCTURE: Indicates the value is a dynamic structure. This means, any data of type STRUCTURE can be used. ERROR: Indicates the value is a specific error type. ANY_ERROR: Indicates the value is arbitrary error type. This means, any data of type ERROR can be used. LIST: Indicates the value is a list data type. Any value of this type can have zero or more elements in the list. LONG: Indicates the value is a long data type. It is a 64 bit signed integer number. OPAQUE: Indicates the value is an opaque type. This means, data of any vapi.std.introspection.operation.data_definition.data_type can be used. OPTIONAL: Indicates the value is an optional data type. Any value of this type can be null. SECRET: Indicates the value is a secret data type. This is used for sensitive information. The server will not log any data of this type and if possible wipe the data from the memory after usage. STRING: Indicates the value is a string data type. This is a unicode string. STRUCTURE: Indicates the value is a structure data type. A structure has string identifier and a set of fields with corresponding values. STRUCTURE_REF: Indicates the value is a structure reference. This is used to break circular dependencies in the type references. This just has a string identifier of the structure. Clients have to maintain a list of structures already visited and use that to resolve this reference. VOID: Indicates the value is a void data type. |
element_definition.type | string | Data type of the value. The vapi.std.introspection.operation.data_definition.data_type enumeration provides values representing the data types supported by the vAPI infrastructure. Value is one of: BINARY: Indicates the value is a binary type. BOOLEAN: Indicates the value is a boolean type. The possible values are True and False equivalent of the language used to invoke this operation. DOUBLE: Indicates the value is a double type. It is a 64 bit floating point number. DYNAMIC_STRUCTURE: Indicates the value is a dynamic structure. This means, any data of type STRUCTURE can be used. ERROR: Indicates the value is a specific error type. ANY_ERROR: Indicates the value is arbitrary error type. This means, any data of type ERROR can be used. LIST: Indicates the value is a list data type. Any value of this type can have zero or more elements in the list. LONG: Indicates the value is a long data type. It is a 64 bit signed integer number. OPAQUE: Indicates the value is an opaque type. This means, data of any vapi.std.introspection.operation.data_definition.data_type can be used. OPTIONAL: Indicates the value is an optional data type. Any value of this type can be null. SECRET: Indicates the value is a secret data type. This is used for sensitive information. The server will not log any data of this type and if possible wipe the data from the memory after usage. STRING: Indicates the value is a string data type. This is a unicode string. STRUCTURE: Indicates the value is a structure data type. A structure has string identifier and a set of fields with corresponding values. STRUCTURE_REF: Indicates the value is a structure reference. This is used to break circular dependencies in the type references. This just has a string identifier of the structure. Clients have to maintain a list of structures already visited and use that to resolve this reference. VOID: Indicates the value is a void data type. |
element_definition.fields[].key | string | |
element_definition.fields[].value | data_definition | |
element_definition.fields[].value.type | string | Data type of the value. The vapi.std.introspection.operation.data_definition.data_type enumeration provides values representing the data types supported by the vAPI infrastructure. Value is one of: BINARY: Indicates the value is a binary type. BOOLEAN: Indicates the value is a boolean type. The possible values are True and False equivalent of the language used to invoke this operation. DOUBLE: Indicates the value is a double type. It is a 64 bit floating point number. DYNAMIC_STRUCTURE: Indicates the value is a dynamic structure. This means, any data of type STRUCTURE can be used. ERROR: Indicates the value is a specific error type. ANY_ERROR: Indicates the value is arbitrary error type. This means, any data of type ERROR can be used. LIST: Indicates the value is a list data type. Any value of this type can have zero or more elements in the list. LONG: Indicates the value is a long data type. It is a 64 bit signed integer number. OPAQUE: Indicates the value is an opaque type. This means, data of any vapi.std.introspection.operation.data_definition.data_type can be used. OPTIONAL: Indicates the value is an optional data type. Any value of this type can be null. SECRET: Indicates the value is a secret data type. This is used for sensitive information. The server will not log any data of this type and if possible wipe the data from the memory after usage. STRING: Indicates the value is a string data type. This is a unicode string. STRUCTURE: Indicates the value is a structure data type. A structure has string identifier and a set of fields with corresponding values. STRUCTURE_REF: Indicates the value is a structure reference. This is used to break circular dependencies in the type references. This just has a string identifier of the structure. Clients have to maintain a list of structures already visited and use that to resolve this reference. VOID: Indicates the value is a void data type. |
Optional | ||
element_definition | data_definition | Contains the element definition for generic data types like List and Optional. Optional. It is only relevant when type has value [OPTIONAL, LIST]. This field is optional and it is only relevant when the value of type is one of OPTIONAL or LIST. |
element_definition.element_definition | data_definition | Contains the element definition for generic data types like List and Optional. Optional. It is only relevant when type has value [OPTIONAL, LIST]. This field is optional and it is only relevant when the value of type is one of OPTIONAL or LIST. |
element_definition.name | string | Fully qualified name of the structure. Optional. It is only relevant when type has value [STRUCTURE, STRUCTURE_REF, ERROR]. This field is optional and it is only relevant when the value of type is one of STRUCTURE, STRUCTURE_REF, or ERROR. |
element_definition.fields | list | Fields of the structure type. The key of the map is the canonical name of the field and the value is the vapi.std.introspection.operation.data_definition for the field. The order of the structure fields defined in IDL is not maintained by the vapi.std.introspection.operation service. Optional. It is only relevant when type has value [STRUCTURE, ERROR]. This field is optional and it is only relevant when the value of type is one of STRUCTURE or ERROR.List of {"key": string, "value": data_definition} |
element_definition.fields[].value.element_definition | data_definition | Contains the element definition for generic data types like List and Optional. Optional. It is only relevant when type has value [OPTIONAL, LIST]. This field is optional and it is only relevant when the value of type is one of OPTIONAL or LIST. |
element_definition.fields[].value.name | string | Fully qualified name of the structure. Optional. It is only relevant when type has value [STRUCTURE, STRUCTURE_REF, ERROR]. This field is optional and it is only relevant when the value of type is one of STRUCTURE, STRUCTURE_REF, or ERROR. |
element_definition.fields[].value.fields | list | Fields of the structure type. The key of the map is the canonical name of the field and the value is the vapi.std.introspection.operation.data_definition for the field. The order of the structure fields defined in IDL is not maintained by the vapi.std.introspection.operation service. Optional. It is only relevant when type has value [STRUCTURE, ERROR]. This field is optional and it is only relevant when the value of type is one of STRUCTURE or ERROR.List of {"key": string, "value": data_definition} |
name | string | Fully qualified name of the structure. Optional. It is only relevant when type has value [STRUCTURE, STRUCTURE_REF, ERROR]. This field is optional and it is only relevant when the value of type is one of STRUCTURE, STRUCTURE_REF, or ERROR. |
fields | list | Fields of the structure type. The key of the map is the canonical name of the field and the value is the vapi.std.introspection.operation.data_definition for the field. The order of the structure fields defined in IDL is not maintained by the vapi.std.introspection.operation service. Optional. It is only relevant when type has value [STRUCTURE, ERROR]. This field is optional and it is only relevant when the value of type is one of STRUCTURE or ERROR.List of {"key": string, "value": data_definition} |