Metadata_Metamodel_OperationInfo

Metadata_Metamodel_OperationInfo
Metadata_Metamodel_OperationInfo

The OperationInfo structure contains metamodel information of an operation element.

JSON Example
{
    "name": "string",
    "params": [
        {
            "name": "string",
            "type": {
                "category": "string",
                "builtin_type": "string",
                "user_defined_type": {
                    "resource_type": "string",
                    "resource_id": "string"
                },
                "generic_instantiation": {
                    "generic_type": "string",
                    "element_type": "Metadata_Metamodel_Type Object",
                    "map_key_type": "Metadata_Metamodel_Type Object",
                    "map_value_type": "Metadata_Metamodel_Type Object"
                }
            },
            "documentation": "string"
        }
    ],
    "output": {
        "type": "Metadata_Metamodel_Type Object",
        "documentation": "string"
    },
    "errors": [
        {
            "structure_id": "string",
            "documentation": "string"
        }
    ],
    "documentation": "string"
}
string
name
Required

Name of the operation element in a canonical format. The format is lower case with underscores. Each underscore represents a word boundary. If there are acronyms in the word, the capitalization is preserved. This format makes it easy to translate the segment into a different naming convention.

params
Required

Metamodel information for the parameter elements. The order of the parameters elements in the list is same as the order of the parameters declared in the interface definition file.

output
Required

The OperationResultInfo structure contains the metamodel information of an operation result element. An operation accepts a list of parameters and returns a result or an error. The OperationResultInfo describes the result element of an operation.

errors
Required

List of error elements that might be reported by the operation element. If the operation reports the same error for more than one reason, the list contains the error element associated with the error more than once with different documentation elements.

object
metadata
Required

Generic metadata elements for the operation element. The key in the map is the name of the metadata element and the value is the data associated with that metadata element. The MetadataIdentifier contains possible string values for key in the map.

string
documentation
Required

English language documentation for the service element. It can contain HTML markup and Javadoc tags.