From f4b1f86cc479ddd3d4cd2c7b7bc45714514dd4fb Mon Sep 17 00:00:00 2001 From: Nipuna Fernando Date: Thu, 10 Oct 2024 19:29:25 +0530 Subject: [PATCH 1/4] Serialize variable def without init --- .../flowmodelgenerator/core/CodeAnalyzer.java | 6 + .../diagram_generator/config/variable7.json | 323 ++++++++++++++++++ .../diagram_generator/source/new_data.bal | 11 + 3 files changed, 340 insertions(+) create mode 100644 flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/diagram_generator/config/variable7.json diff --git a/flow-model-generator/modules/flow-model-generator-core/src/main/java/io/ballerina/flowmodelgenerator/core/CodeAnalyzer.java b/flow-model-generator/modules/flow-model-generator-core/src/main/java/io/ballerina/flowmodelgenerator/core/CodeAnalyzer.java index 76f1fd4eb..b4650f66b 100644 --- a/flow-model-generator/modules/flow-model-generator-core/src/main/java/io/ballerina/flowmodelgenerator/core/CodeAnalyzer.java +++ b/flow-model-generator/modules/flow-model-generator-core/src/main/java/io/ballerina/flowmodelgenerator/core/CodeAnalyzer.java @@ -417,6 +417,12 @@ public void visit(ByteArrayLiteralNode byteArrayLiteralNode) { public void visit(VariableDeclarationNode variableDeclarationNode) { Optional initializer = variableDeclarationNode.initializer(); if (initializer.isEmpty()) { + startNode(NodeKind.VARIABLE) + .metadata() + .description(Assign.DESCRIPTION) + .stepOut() + .properties().expression(null); + endNode(variableDeclarationNode); return; } ExpressionNode initializerNode = initializer.get(); diff --git a/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/diagram_generator/config/variable7.json b/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/diagram_generator/config/variable7.json new file mode 100644 index 000000000..3e65e2cc0 --- /dev/null +++ b/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/diagram_generator/config/variable7.json @@ -0,0 +1,323 @@ +{ + "start": { + "line": 37, + "offset": 0 + }, + "end": { + "line": 46, + "offset": 1 + }, + "source": "new_data.bal", + "description": "Tests a simple diagram flow", + "diagram": { + "fileName": "new_data.bal", + "nodes": [ + { + "id": "68728", + "metadata": { + "label": "Start" + }, + "codedata": { + "node": "EVENT_START", + "lineRange": { + "fileName": "new_data.bal", + "startLine": { + "line": 37, + "offset": 0 + }, + "endLine": { + "line": 46, + "offset": 1 + } + }, + "sourceCode": "function testNewDataWithoutExpression() returns error? {\n int a;\n string s;\n json j;\n xml x;\n\n a = 5;\n s = \"Ballerina\";\n j = {\"key\": \"value\"};\n}" + }, + "returning": false, + "flags": 0 + }, + { + "id": "69574", + "metadata": { + "label": "Variable", + "description": "Assign a value to a variable" + }, + "codedata": { + "node": "VARIABLE", + "lineRange": { + "fileName": "new_data.bal", + "startLine": { + "line": 38, + "offset": 4 + }, + "endLine": { + "line": 38, + "offset": 10 + } + }, + "sourceCode": "int a;" + }, + "returning": false, + "properties": { + "expression": { + "metadata": { + "label": "Expression", + "description": "Expression" + }, + "valueType": "EXPRESSION", + "value": "", + "optional": false, + "editable": true + } + }, + "flags": 0 + }, + { + "id": "70569", + "metadata": { + "label": "Variable", + "description": "Assign a value to a variable" + }, + "codedata": { + "node": "VARIABLE", + "lineRange": { + "fileName": "new_data.bal", + "startLine": { + "line": 39, + "offset": 4 + }, + "endLine": { + "line": 39, + "offset": 13 + } + }, + "sourceCode": "string s;" + }, + "returning": false, + "properties": { + "expression": { + "metadata": { + "label": "Expression", + "description": "Expression" + }, + "valueType": "EXPRESSION", + "value": "", + "optional": false, + "editable": true + } + }, + "flags": 0 + }, + { + "id": "71559", + "metadata": { + "label": "Variable", + "description": "Assign a value to a variable" + }, + "codedata": { + "node": "VARIABLE", + "lineRange": { + "fileName": "new_data.bal", + "startLine": { + "line": 40, + "offset": 4 + }, + "endLine": { + "line": 40, + "offset": 11 + } + }, + "sourceCode": "json j;" + }, + "returning": false, + "properties": { + "expression": { + "metadata": { + "label": "Expression", + "description": "Expression" + }, + "valueType": "EXPRESSION", + "value": "", + "optional": false, + "editable": true + } + }, + "flags": 0 + }, + { + "id": "72550", + "metadata": { + "label": "Variable", + "description": "Assign a value to a variable" + }, + "codedata": { + "node": "VARIABLE", + "lineRange": { + "fileName": "new_data.bal", + "startLine": { + "line": 41, + "offset": 4 + }, + "endLine": { + "line": 41, + "offset": 10 + } + }, + "sourceCode": "xml x;" + }, + "returning": false, + "properties": { + "expression": { + "metadata": { + "label": "Expression", + "description": "Expression" + }, + "valueType": "EXPRESSION", + "value": "", + "optional": false, + "editable": true + } + }, + "flags": 0 + }, + { + "id": "74534", + "metadata": { + "label": "Assign", + "description": "Assign a value to a variable" + }, + "codedata": { + "node": "ASSIGN", + "lineRange": { + "fileName": "new_data.bal", + "startLine": { + "line": 43, + "offset": 4 + }, + "endLine": { + "line": 43, + "offset": 10 + } + }, + "sourceCode": "a = 5;" + }, + "returning": false, + "properties": { + "expression": { + "metadata": { + "label": "Expression", + "description": "Expression" + }, + "valueType": "EXPRESSION", + "value": "5", + "optional": false, + "editable": true + }, + "variable": { + "metadata": { + "label": "Variable", + "description": "Result Variable" + }, + "valueType": "IDENTIFIER", + "value": "a", + "optional": false, + "editable": true + } + }, + "flags": 0 + }, + { + "id": "75536", + "metadata": { + "label": "Assign", + "description": "Assign a value to a variable" + }, + "codedata": { + "node": "ASSIGN", + "lineRange": { + "fileName": "new_data.bal", + "startLine": { + "line": 44, + "offset": 4 + }, + "endLine": { + "line": 44, + "offset": 20 + } + }, + "sourceCode": "s = \"Ballerina\";" + }, + "returning": false, + "properties": { + "expression": { + "metadata": { + "label": "Expression", + "description": "Expression" + }, + "valueType": "EXPRESSION", + "value": "\"Ballerina\"", + "optional": false, + "editable": true + }, + "variable": { + "metadata": { + "label": "Variable", + "description": "Result Variable" + }, + "valueType": "IDENTIFIER", + "value": "s", + "optional": false, + "editable": true + } + }, + "flags": 0 + }, + { + "id": "76533", + "metadata": { + "label": "Assign", + "description": "Assign a value to a variable" + }, + "codedata": { + "node": "ASSIGN", + "lineRange": { + "fileName": "new_data.bal", + "startLine": { + "line": 45, + "offset": 4 + }, + "endLine": { + "line": 45, + "offset": 25 + } + }, + "sourceCode": "j = {\"key\": \"value\"};" + }, + "returning": false, + "properties": { + "expression": { + "metadata": { + "label": "Expression", + "description": "Expression" + }, + "valueType": "EXPRESSION", + "value": "{\"key\": \"value\"}", + "optional": false, + "editable": true + }, + "variable": { + "metadata": { + "label": "Variable", + "description": "Result Variable" + }, + "valueType": "IDENTIFIER", + "value": "j", + "optional": false, + "editable": true + } + }, + "flags": 0 + } + ], + "connections": [] + } +} diff --git a/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/diagram_generator/source/new_data.bal b/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/diagram_generator/source/new_data.bal index ba7b03686..c2ae325e1 100644 --- a/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/diagram_generator/source/new_data.bal +++ b/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/diagram_generator/source/new_data.bal @@ -35,6 +35,17 @@ function testNewDataJson3(int amount) returns error? { [int, int] newData3 = [check calculate(amount), check calculate(amount + 1)]; } +function testNewDataWithoutExpression() returns error? { + int a; + string s; + json j; + xml x; + + a = 5; + s = "Ballerina"; + j = {"key": "value"}; +} + function calculate(int i) returns int|error { return 3; } From 461a54393b0c46d2e82a8e2371e5a5710f403fb5 Mon Sep 17 00:00:00 2001 From: Nipuna Fernando Date: Thu, 10 Oct 2024 19:48:12 +0530 Subject: [PATCH 2/4] Add type and variable to the variable node --- .../flowmodelgenerator/core/CodeAnalyzer.java | 26 +++--- .../core/model/node/Variable.java | 7 +- .../config/error_handler1.json | 57 ++++++++++++- .../config/error_handler2.json | 57 ++++++++++++- .../diagram_generator/config/variable7.json | 80 +++++++++++++++++++ .../diagram_generator/config/while1.json | 57 ++++++++++++- .../diagram_generator/config/while3.json | 57 ++++++++++++- .../diagram_generator/config/while4.json | 57 ++++++++++++- .../diagram_generator/config/while6.json | 57 ++++++++++++- .../diagram_generator/config/while7.json | 57 ++++++++++++- .../diagram_generator/config/while8.json | 57 ++++++++++++- 11 files changed, 546 insertions(+), 23 deletions(-) diff --git a/flow-model-generator/modules/flow-model-generator-core/src/main/java/io/ballerina/flowmodelgenerator/core/CodeAnalyzer.java b/flow-model-generator/modules/flow-model-generator-core/src/main/java/io/ballerina/flowmodelgenerator/core/CodeAnalyzer.java index b4650f66b..588a512a0 100644 --- a/flow-model-generator/modules/flow-model-generator-core/src/main/java/io/ballerina/flowmodelgenerator/core/CodeAnalyzer.java +++ b/flow-model-generator/modules/flow-model-generator-core/src/main/java/io/ballerina/flowmodelgenerator/core/CodeAnalyzer.java @@ -422,21 +422,19 @@ public void visit(VariableDeclarationNode variableDeclarationNode) { .description(Assign.DESCRIPTION) .stepOut() .properties().expression(null); - endNode(variableDeclarationNode); - return; - } - ExpressionNode initializerNode = initializer.get(); - this.typedBindingPatternNode = variableDeclarationNode.typedBindingPattern(); - - initializerNode.accept(this); + } else { + ExpressionNode initializerNode = initializer.get(); + this.typedBindingPatternNode = variableDeclarationNode.typedBindingPattern(); + initializerNode.accept(this); - // Generate the default expression node if a node is not built - if (isNodeUnidentified()) { - startNode(NodeKind.VARIABLE) - .metadata() - .description(Assign.DESCRIPTION) - .stepOut() - .properties().expression(initializerNode); + // Generate the default expression node if a node is not built + if (isNodeUnidentified()) { + startNode(NodeKind.VARIABLE) + .metadata() + .description(Assign.DESCRIPTION) + .stepOut() + .properties().expression(initializerNode); + } } // TODO: Find a better way on how we can achieve this diff --git a/flow-model-generator/modules/flow-model-generator-core/src/main/java/io/ballerina/flowmodelgenerator/core/model/node/Variable.java b/flow-model-generator/modules/flow-model-generator-core/src/main/java/io/ballerina/flowmodelgenerator/core/model/node/Variable.java index b60fd9ff7..ede742169 100644 --- a/flow-model-generator/modules/flow-model-generator-core/src/main/java/io/ballerina/flowmodelgenerator/core/model/node/Variable.java +++ b/flow-model-generator/modules/flow-model-generator-core/src/main/java/io/ballerina/flowmodelgenerator/core/model/node/Variable.java @@ -48,7 +48,12 @@ public void setConcreteConstData() { @Override public Map> toSource(SourceBuilder sourceBuilder) { - sourceBuilder.newVariable(); + Optional type = sourceBuilder.flowNode.getProperty(Property.DATA_TYPE_KEY); + Optional variable = sourceBuilder.flowNode.getProperty(Property.VARIABLE_KEY); + + if (type.isPresent() && variable.isPresent()) { + + } Optional exprProperty = sourceBuilder.flowNode.getProperty(Property.EXPRESSION_KEY); exprProperty.ifPresent(value -> sourceBuilder.token().expression(value).endOfStatement()); diff --git a/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/diagram_generator/config/error_handler1.json b/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/diagram_generator/config/error_handler1.json index 5c2344e3a..58c613aa4 100644 --- a/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/diagram_generator/config/error_handler1.json +++ b/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/diagram_generator/config/error_handler1.json @@ -9,7 +9,6 @@ }, "source": "error_handler.bal", "description": "Tests a error handler", - "forceAssign": false, "diagram": { "fileName": "error_handler.bal", "nodes": [ @@ -36,6 +35,62 @@ "returning": false, "flags": 0 }, + { + "id": "37964", + "metadata": { + "label": "Variable", + "description": "Assign a value to a variable" + }, + "codedata": { + "node": "VARIABLE", + "lineRange": { + "fileName": "error_handler.bal", + "startLine": { + "line": 6, + "offset": 8 + }, + "endLine": { + "line": 6, + "offset": 20 + } + }, + "sourceCode": "string? msg;" + }, + "returning": false, + "properties": { + "expression": { + "metadata": { + "label": "Expression", + "description": "Expression" + }, + "valueType": "EXPRESSION", + "value": "", + "optional": false, + "editable": true + }, + "variable": { + "metadata": { + "label": "Variable", + "description": "Name of the variable" + }, + "valueType": "IDENTIFIER", + "value": "msg", + "optional": false, + "editable": true + }, + "type": { + "metadata": { + "label": "Type", + "description": "Type of the variable" + }, + "valueType": "TYPE", + "value": "string|()", + "optional": false, + "editable": true + } + }, + "flags": 0 + }, { "id": "39100", "metadata": { diff --git a/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/diagram_generator/config/error_handler2.json b/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/diagram_generator/config/error_handler2.json index 39cf0eb3d..2a3b7844d 100644 --- a/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/diagram_generator/config/error_handler2.json +++ b/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/diagram_generator/config/error_handler2.json @@ -9,7 +9,6 @@ }, "source": "error_handler.bal", "description": "Tests a error handler", - "forceAssign": false, "diagram": { "fileName": "error_handler.bal", "nodes": [ @@ -36,6 +35,62 @@ "returning": false, "flags": 0 }, + { + "id": "47884", + "metadata": { + "label": "Variable", + "description": "Assign a value to a variable" + }, + "codedata": { + "node": "VARIABLE", + "lineRange": { + "fileName": "error_handler.bal", + "startLine": { + "line": 16, + "offset": 8 + }, + "endLine": { + "line": 16, + "offset": 20 + } + }, + "sourceCode": "string? msg;" + }, + "returning": false, + "properties": { + "expression": { + "metadata": { + "label": "Expression", + "description": "Expression" + }, + "valueType": "EXPRESSION", + "value": "", + "optional": false, + "editable": true + }, + "variable": { + "metadata": { + "label": "Variable", + "description": "Name of the variable" + }, + "valueType": "IDENTIFIER", + "value": "msg", + "optional": false, + "editable": true + }, + "type": { + "metadata": { + "label": "Type", + "description": "Type of the variable" + }, + "valueType": "TYPE", + "value": "string|()", + "optional": false, + "editable": true + } + }, + "flags": 0 + }, { "id": "49206", "metadata": { diff --git a/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/diagram_generator/config/variable7.json b/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/diagram_generator/config/variable7.json index 3e65e2cc0..c14317ef9 100644 --- a/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/diagram_generator/config/variable7.json +++ b/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/diagram_generator/config/variable7.json @@ -67,6 +67,26 @@ "value": "", "optional": false, "editable": true + }, + "variable": { + "metadata": { + "label": "Variable", + "description": "Name of the variable" + }, + "valueType": "IDENTIFIER", + "value": "a", + "optional": false, + "editable": true + }, + "type": { + "metadata": { + "label": "Type", + "description": "Type of the variable" + }, + "valueType": "TYPE", + "value": "int", + "optional": false, + "editable": true } }, "flags": 0 @@ -103,6 +123,26 @@ "value": "", "optional": false, "editable": true + }, + "variable": { + "metadata": { + "label": "Variable", + "description": "Name of the variable" + }, + "valueType": "IDENTIFIER", + "value": "s", + "optional": false, + "editable": true + }, + "type": { + "metadata": { + "label": "Type", + "description": "Type of the variable" + }, + "valueType": "TYPE", + "value": "string", + "optional": false, + "editable": true } }, "flags": 0 @@ -139,6 +179,26 @@ "value": "", "optional": false, "editable": true + }, + "variable": { + "metadata": { + "label": "Variable", + "description": "Name of the variable" + }, + "valueType": "IDENTIFIER", + "value": "j", + "optional": false, + "editable": true + }, + "type": { + "metadata": { + "label": "Type", + "description": "Type of the variable" + }, + "valueType": "TYPE", + "value": "json", + "optional": false, + "editable": true } }, "flags": 0 @@ -175,6 +235,26 @@ "value": "", "optional": false, "editable": true + }, + "variable": { + "metadata": { + "label": "Variable", + "description": "Name of the variable" + }, + "valueType": "IDENTIFIER", + "value": "x", + "optional": false, + "editable": true + }, + "type": { + "metadata": { + "label": "Type", + "description": "Type of the variable" + }, + "valueType": "TYPE", + "value": "xml", + "optional": false, + "editable": true } }, "flags": 0 diff --git a/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/diagram_generator/config/while1.json b/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/diagram_generator/config/while1.json index dde159bba..d1498f6ba 100644 --- a/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/diagram_generator/config/while1.json +++ b/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/diagram_generator/config/while1.json @@ -9,7 +9,6 @@ }, "source": "while.bal", "description": "Tests a simple diagram flow", - "forceAssign": false, "diagram": { "fileName": "while.bal", "nodes": [ @@ -36,6 +35,62 @@ "returning": false, "flags": 0 }, + { + "id": "37964", + "metadata": { + "label": "Variable", + "description": "Assign a value to a variable" + }, + "codedata": { + "node": "VARIABLE", + "lineRange": { + "fileName": "while.bal", + "startLine": { + "line": 6, + "offset": 8 + }, + "endLine": { + "line": 6, + "offset": 20 + } + }, + "sourceCode": "string? msg;" + }, + "returning": false, + "properties": { + "expression": { + "metadata": { + "label": "Expression", + "description": "Expression" + }, + "valueType": "EXPRESSION", + "value": "", + "optional": false, + "editable": true + }, + "variable": { + "metadata": { + "label": "Variable", + "description": "Name of the variable" + }, + "valueType": "IDENTIFIER", + "value": "msg", + "optional": false, + "editable": true + }, + "type": { + "metadata": { + "label": "Type", + "description": "Type of the variable" + }, + "valueType": "TYPE", + "value": "string|()", + "optional": false, + "editable": true + } + }, + "flags": 0 + }, { "id": "38954", "metadata": { diff --git a/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/diagram_generator/config/while3.json b/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/diagram_generator/config/while3.json index ada8d73bb..9dd2b1e8e 100644 --- a/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/diagram_generator/config/while3.json +++ b/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/diagram_generator/config/while3.json @@ -9,7 +9,6 @@ }, "source": "while.bal", "description": "Tests a simple diagram flow", - "forceAssign": false, "diagram": { "fileName": "while.bal", "nodes": [ @@ -36,6 +35,62 @@ "returning": false, "flags": 0 }, + { + "id": "56812", + "metadata": { + "label": "Variable", + "description": "Assign a value to a variable" + }, + "codedata": { + "node": "VARIABLE", + "lineRange": { + "fileName": "while.bal", + "startLine": { + "line": 25, + "offset": 8 + }, + "endLine": { + "line": 25, + "offset": 20 + } + }, + "sourceCode": "string? msg;" + }, + "returning": false, + "properties": { + "expression": { + "metadata": { + "label": "Expression", + "description": "Expression" + }, + "valueType": "EXPRESSION", + "value": "", + "optional": false, + "editable": true + }, + "variable": { + "metadata": { + "label": "Variable", + "description": "Name of the variable" + }, + "valueType": "IDENTIFIER", + "value": "msg", + "optional": false, + "editable": true + }, + "type": { + "metadata": { + "label": "Type", + "description": "Type of the variable" + }, + "valueType": "TYPE", + "value": "string|()", + "optional": false, + "editable": true + } + }, + "flags": 0 + }, { "id": "57802", "metadata": { diff --git a/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/diagram_generator/config/while4.json b/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/diagram_generator/config/while4.json index f2943c090..6e4b0f217 100644 --- a/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/diagram_generator/config/while4.json +++ b/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/diagram_generator/config/while4.json @@ -9,7 +9,6 @@ }, "source": "while.bal", "description": "Tests a simple diagram flow", - "forceAssign": false, "diagram": { "fileName": "while.bal", "nodes": [ @@ -36,6 +35,62 @@ "returning": false, "flags": 0 }, + { + "id": "68716", + "metadata": { + "label": "Variable", + "description": "Assign a value to a variable" + }, + "codedata": { + "node": "VARIABLE", + "lineRange": { + "fileName": "while.bal", + "startLine": { + "line": 37, + "offset": 8 + }, + "endLine": { + "line": 37, + "offset": 20 + } + }, + "sourceCode": "string? msg;" + }, + "returning": false, + "properties": { + "expression": { + "metadata": { + "label": "Expression", + "description": "Expression" + }, + "valueType": "EXPRESSION", + "value": "", + "optional": false, + "editable": true + }, + "variable": { + "metadata": { + "label": "Variable", + "description": "Name of the variable" + }, + "valueType": "IDENTIFIER", + "value": "msg", + "optional": false, + "editable": true + }, + "type": { + "metadata": { + "label": "Type", + "description": "Type of the variable" + }, + "valueType": "TYPE", + "value": "string|()", + "optional": false, + "editable": true + } + }, + "flags": 0 + }, { "id": "69706", "metadata": { diff --git a/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/diagram_generator/config/while6.json b/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/diagram_generator/config/while6.json index 6fdc56f19..ec2c2625a 100644 --- a/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/diagram_generator/config/while6.json +++ b/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/diagram_generator/config/while6.json @@ -9,7 +9,6 @@ }, "source": "while.bal", "description": "Tests a simple diagram flow", - "forceAssign": false, "diagram": { "fileName": "while.bal", "nodes": [ @@ -36,6 +35,62 @@ "returning": false, "flags": 0 }, + { + "id": "104428", + "metadata": { + "label": "Variable", + "description": "Assign a value to a variable" + }, + "codedata": { + "node": "VARIABLE", + "lineRange": { + "fileName": "while.bal", + "startLine": { + "line": 73, + "offset": 8 + }, + "endLine": { + "line": 73, + "offset": 20 + } + }, + "sourceCode": "string? msg;" + }, + "returning": false, + "properties": { + "expression": { + "metadata": { + "label": "Expression", + "description": "Expression" + }, + "valueType": "EXPRESSION", + "value": "", + "optional": false, + "editable": true + }, + "variable": { + "metadata": { + "label": "Variable", + "description": "Name of the variable" + }, + "valueType": "IDENTIFIER", + "value": "msg", + "optional": false, + "editable": true + }, + "type": { + "metadata": { + "label": "Type", + "description": "Type of the variable" + }, + "valueType": "TYPE", + "value": "string|()", + "optional": false, + "editable": true + } + }, + "flags": 0 + }, { "id": "105418", "metadata": { diff --git a/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/diagram_generator/config/while7.json b/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/diagram_generator/config/while7.json index 689f1f18a..4ee48c006 100644 --- a/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/diagram_generator/config/while7.json +++ b/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/diagram_generator/config/while7.json @@ -9,7 +9,6 @@ }, "source": "while.bal", "description": "Tests a simple diagram flow", - "forceAssign": false, "diagram": { "fileName": "while.bal", "nodes": [ @@ -36,6 +35,62 @@ "returning": false, "flags": 0 }, + { + "id": "119308", + "metadata": { + "label": "Variable", + "description": "Assign a value to a variable" + }, + "codedata": { + "node": "VARIABLE", + "lineRange": { + "fileName": "while.bal", + "startLine": { + "line": 88, + "offset": 8 + }, + "endLine": { + "line": 88, + "offset": 20 + } + }, + "sourceCode": "string? msg;" + }, + "returning": false, + "properties": { + "expression": { + "metadata": { + "label": "Expression", + "description": "Expression" + }, + "valueType": "EXPRESSION", + "value": "", + "optional": false, + "editable": true + }, + "variable": { + "metadata": { + "label": "Variable", + "description": "Name of the variable" + }, + "valueType": "IDENTIFIER", + "value": "msg", + "optional": false, + "editable": true + }, + "type": { + "metadata": { + "label": "Type", + "description": "Type of the variable" + }, + "valueType": "TYPE", + "value": "string|()", + "optional": false, + "editable": true + } + }, + "flags": 0 + }, { "id": "120298", "metadata": { diff --git a/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/diagram_generator/config/while8.json b/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/diagram_generator/config/while8.json index 23f47c497..783e755c6 100644 --- a/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/diagram_generator/config/while8.json +++ b/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/diagram_generator/config/while8.json @@ -9,7 +9,6 @@ }, "source": "while.bal", "description": "Tests a simple diagram flow", - "forceAssign": false, "diagram": { "fileName": "while.bal", "nodes": [ @@ -36,6 +35,62 @@ "returning": false, "flags": 0 }, + { + "id": "134188", + "metadata": { + "label": "Variable", + "description": "Assign a value to a variable" + }, + "codedata": { + "node": "VARIABLE", + "lineRange": { + "fileName": "while.bal", + "startLine": { + "line": 103, + "offset": 8 + }, + "endLine": { + "line": 103, + "offset": 20 + } + }, + "sourceCode": "string? msg;" + }, + "returning": false, + "properties": { + "expression": { + "metadata": { + "label": "Expression", + "description": "Expression" + }, + "valueType": "EXPRESSION", + "value": "", + "optional": false, + "editable": true + }, + "variable": { + "metadata": { + "label": "Variable", + "description": "Name of the variable" + }, + "valueType": "IDENTIFIER", + "value": "msg", + "optional": false, + "editable": true + }, + "type": { + "metadata": { + "label": "Type", + "description": "Type of the variable" + }, + "valueType": "TYPE", + "value": "string|()", + "optional": false, + "editable": true + } + }, + "flags": 0 + }, { "id": "135178", "metadata": { From bedd0ef98e7c44035cb58655531610c49751fb4f Mon Sep 17 00:00:00 2001 From: Nipuna Fernando Date: Thu, 10 Oct 2024 20:01:27 +0530 Subject: [PATCH 3/4] Deserialize variable def with no init --- .../core/model/node/Variable.java | 12 ++- .../resources/to_source/config/variable.json | 2 +- .../to_source/config/variable11.json | 24 +++--- .../to_source/config/variable12.json | 77 +++++++++++++++++++ .../to_source/config/variable13.json | 77 +++++++++++++++++++ .../to_source/config/variable14.json | 77 +++++++++++++++++++ .../to_source/config/variable15.json | 77 +++++++++++++++++++ .../to_source/config/variable16.json | 77 +++++++++++++++++++ .../to_source/config/variable17.json | 77 +++++++++++++++++++ .../to_source/config/variable18.json | 77 +++++++++++++++++++ .../to_source/config/variable19.json | 77 +++++++++++++++++++ .../to_source/config/variable20.json | 77 +++++++++++++++++++ .../to_source/config/variable21.json | 77 +++++++++++++++++++ .../to_source/config/variable22.json | 77 +++++++++++++++++++ 14 files changed, 868 insertions(+), 17 deletions(-) create mode 100644 flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/to_source/config/variable12.json create mode 100644 flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/to_source/config/variable13.json create mode 100644 flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/to_source/config/variable14.json create mode 100644 flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/to_source/config/variable15.json create mode 100644 flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/to_source/config/variable16.json create mode 100644 flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/to_source/config/variable17.json create mode 100644 flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/to_source/config/variable18.json create mode 100644 flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/to_source/config/variable19.json create mode 100644 flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/to_source/config/variable20.json create mode 100644 flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/to_source/config/variable21.json create mode 100644 flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/to_source/config/variable22.json diff --git a/flow-model-generator/modules/flow-model-generator-core/src/main/java/io/ballerina/flowmodelgenerator/core/model/node/Variable.java b/flow-model-generator/modules/flow-model-generator-core/src/main/java/io/ballerina/flowmodelgenerator/core/model/node/Variable.java index ede742169..91032ef00 100644 --- a/flow-model-generator/modules/flow-model-generator-core/src/main/java/io/ballerina/flowmodelgenerator/core/model/node/Variable.java +++ b/flow-model-generator/modules/flow-model-generator-core/src/main/java/io/ballerina/flowmodelgenerator/core/model/node/Variable.java @@ -18,6 +18,7 @@ package io.ballerina.flowmodelgenerator.core.model.node; +import io.ballerina.compiler.syntax.tree.SyntaxKind; import io.ballerina.flowmodelgenerator.core.model.NodeBuilder; import io.ballerina.flowmodelgenerator.core.model.NodeKind; import io.ballerina.flowmodelgenerator.core.model.Property; @@ -50,14 +51,17 @@ public void setConcreteConstData() { public Map> toSource(SourceBuilder sourceBuilder) { Optional type = sourceBuilder.flowNode.getProperty(Property.DATA_TYPE_KEY); Optional variable = sourceBuilder.flowNode.getProperty(Property.VARIABLE_KEY); - if (type.isPresent() && variable.isPresent()) { - + sourceBuilder.token().expressionWithType(type.get(), variable.get()); } Optional exprProperty = sourceBuilder.flowNode.getProperty(Property.EXPRESSION_KEY); - exprProperty.ifPresent(value -> sourceBuilder.token().expression(value).endOfStatement()); - + if (exprProperty.isPresent() && !exprProperty.get().toSourceCode().isEmpty()) { + sourceBuilder.token() + .keyword(SyntaxKind.EQUAL_TOKEN) + .expression(exprProperty.get()); + } + sourceBuilder.token().endOfStatement(); return sourceBuilder.textEdit(false).build(); } diff --git a/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/to_source/config/variable.json b/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/to_source/config/variable.json index 7a584dd16..7f66996a0 100644 --- a/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/to_source/config/variable.json +++ b/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/to_source/config/variable.json @@ -69,7 +69,7 @@ "character": 0 } }, - "newText": "var item = ;" + "newText": "var item;" } ] } diff --git a/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/to_source/config/variable11.json b/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/to_source/config/variable11.json index 79c818545..fc9428f2a 100644 --- a/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/to_source/config/variable11.json +++ b/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/to_source/config/variable11.json @@ -2,7 +2,7 @@ "source": "empty.bal", "description": "Sample diagram node", "diagram": { - "id": "53726", + "id": "49766", "metadata": { "label": "Variable", "description": "Assign a value to a variable" @@ -12,15 +12,15 @@ "lineRange": { "fileName": "new_data.bal", "startLine": { - "line": 22, + "line": 18, "offset": 4 }, "endLine": { - "line": 22, - "offset": 34 + "line": 18, + "offset": 42 } }, - "sourceCode": "string content = \"create xml\";" + "sourceCode": "json j1 = {\"name\": \"John\", \"age\": 34};" }, "returning": false, "properties": { @@ -30,7 +30,7 @@ "description": "Expression" }, "valueType": "EXPRESSION", - "value": "\"create xml\"", + "value": "{\"name\": \"John\", \"age\": 34}", "optional": false, "editable": true }, @@ -40,7 +40,7 @@ "description": "Name of the variable" }, "valueType": "IDENTIFIER", - "value": "content", + "value": "j1", "optional": false, "editable": true }, @@ -50,7 +50,7 @@ "description": "Type of the variable" }, "valueType": "TYPE", - "value": "string", + "value": "json", "optional": false, "editable": true } @@ -62,15 +62,15 @@ { "range": { "start": { - "line": 22, + "line": 18, "character": 4 }, "end": { - "line": 22, - "character": 34 + "line": 18, + "character": 42 } }, - "newText": "string content = \"create xml\";" + "newText": "json j1 = {\"name\": \"John\", \"age\": 34};" } ] } diff --git a/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/to_source/config/variable12.json b/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/to_source/config/variable12.json new file mode 100644 index 000000000..79c818545 --- /dev/null +++ b/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/to_source/config/variable12.json @@ -0,0 +1,77 @@ +{ + "source": "empty.bal", + "description": "Sample diagram node", + "diagram": { + "id": "53726", + "metadata": { + "label": "Variable", + "description": "Assign a value to a variable" + }, + "codedata": { + "node": "VARIABLE", + "lineRange": { + "fileName": "new_data.bal", + "startLine": { + "line": 22, + "offset": 4 + }, + "endLine": { + "line": 22, + "offset": 34 + } + }, + "sourceCode": "string content = \"create xml\";" + }, + "returning": false, + "properties": { + "expression": { + "metadata": { + "label": "Expression", + "description": "Expression" + }, + "valueType": "EXPRESSION", + "value": "\"create xml\"", + "optional": false, + "editable": true + }, + "variable": { + "metadata": { + "label": "Variable", + "description": "Name of the variable" + }, + "valueType": "IDENTIFIER", + "value": "content", + "optional": false, + "editable": true + }, + "type": { + "metadata": { + "label": "Type", + "description": "Type of the variable" + }, + "valueType": "TYPE", + "value": "string", + "optional": false, + "editable": true + } + }, + "flags": 0 + }, + "output": { + "empty.bal": [ + { + "range": { + "start": { + "line": 22, + "character": 4 + }, + "end": { + "line": 22, + "character": 34 + } + }, + "newText": "string content = \"create xml\";" + } + ] + } +} diff --git a/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/to_source/config/variable13.json b/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/to_source/config/variable13.json new file mode 100644 index 000000000..dcc8e76ef --- /dev/null +++ b/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/to_source/config/variable13.json @@ -0,0 +1,77 @@ +{ + "source": "empty.bal", + "description": "Sample diagram node", + "diagram": { + "id": "54721", + "metadata": { + "label": "Variable", + "description": "Assign a value to a variable" + }, + "codedata": { + "node": "VARIABLE", + "lineRange": { + "fileName": "new_data.bal", + "startLine": { + "line": 23, + "offset": 4 + }, + "endLine": { + "line": 23, + "offset": 37 + } + }, + "sourceCode": "xml x1 = xml `

${content}

`;" + }, + "returning": false, + "properties": { + "expression": { + "metadata": { + "label": "Expression", + "description": "Expression" + }, + "valueType": "EXPRESSION", + "value": "xml `

${content}

`", + "optional": false, + "editable": true + }, + "variable": { + "metadata": { + "label": "Variable", + "description": "Name of the variable" + }, + "valueType": "IDENTIFIER", + "value": "x1", + "optional": false, + "editable": true + }, + "type": { + "metadata": { + "label": "Type", + "description": "Type of the variable" + }, + "valueType": "TYPE", + "value": "xml", + "optional": false, + "editable": true + } + }, + "flags": 0 + }, + "output": { + "empty.bal": [ + { + "range": { + "start": { + "line": 23, + "character": 4 + }, + "end": { + "line": 23, + "character": 37 + } + }, + "newText": "xml x1 = xml `

${content}

`;" + } + ] + } +} diff --git a/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/to_source/config/variable14.json b/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/to_source/config/variable14.json new file mode 100644 index 000000000..58c19952b --- /dev/null +++ b/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/to_source/config/variable14.json @@ -0,0 +1,77 @@ +{ + "source": "empty.bal", + "description": "Sample diagram node", + "diagram": { + "id": "55723", + "metadata": { + "label": "Variable", + "description": "Assign a value to a variable" + }, + "codedata": { + "node": "VARIABLE", + "lineRange": { + "fileName": "new_data.bal", + "startLine": { + "line": 24, + "offset": 4 + }, + "endLine": { + "line": 24, + "offset": 47 + } + }, + "sourceCode": "xml x2 = xml `The Lost World`;" + }, + "returning": false, + "properties": { + "expression": { + "metadata": { + "label": "Expression", + "description": "Expression" + }, + "valueType": "EXPRESSION", + "value": "xml `The Lost World`", + "optional": false, + "editable": true + }, + "variable": { + "metadata": { + "label": "Variable", + "description": "Name of the variable" + }, + "valueType": "IDENTIFIER", + "value": "x2", + "optional": false, + "editable": true + }, + "type": { + "metadata": { + "label": "Type", + "description": "Type of the variable" + }, + "valueType": "TYPE", + "value": "xml", + "optional": false, + "editable": true + } + }, + "flags": 0 + }, + "output": { + "empty.bal": [ + { + "range": { + "start": { + "line": 24, + "character": 4 + }, + "end": { + "line": 24, + "character": 47 + } + }, + "newText": "xml x2 = xml `The Lost World`;" + } + ] + } +} diff --git a/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/to_source/config/variable15.json b/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/to_source/config/variable15.json new file mode 100644 index 000000000..c88f286e8 --- /dev/null +++ b/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/to_source/config/variable15.json @@ -0,0 +1,77 @@ +{ + "source": "empty.bal", + "description": "Sample diagram node", + "diagram": { + "id": "59696", + "metadata": { + "label": "Variable", + "description": "Assign a value to a variable" + }, + "codedata": { + "node": "VARIABLE", + "lineRange": { + "fileName": "new_data.bal", + "startLine": { + "line": 28, + "offset": 4 + }, + "endLine": { + "line": 28, + "offset": 52 + } + }, + "sourceCode": "json newData = {value: check calculate(amount)};" + }, + "returning": false, + "properties": { + "expression": { + "metadata": { + "label": "Expression", + "description": "Expression" + }, + "valueType": "EXPRESSION", + "value": "{value: check calculate(amount)}", + "optional": false, + "editable": true + }, + "variable": { + "metadata": { + "label": "Variable", + "description": "Name of the variable" + }, + "valueType": "IDENTIFIER", + "value": "newData", + "optional": false, + "editable": true + }, + "type": { + "metadata": { + "label": "Type", + "description": "Type of the variable" + }, + "valueType": "TYPE", + "value": "json", + "optional": false, + "editable": true + } + }, + "flags": 0 + }, + "output": { + "empty.bal": [ + { + "range": { + "start": { + "line": 28, + "character": 4 + }, + "end": { + "line": 28, + "character": 52 + } + }, + "newText": "json newData = {value: check calculate(amount)};" + } + ] + } +} diff --git a/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/to_source/config/variable16.json b/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/to_source/config/variable16.json new file mode 100644 index 000000000..3845f094f --- /dev/null +++ b/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/to_source/config/variable16.json @@ -0,0 +1,77 @@ +{ + "source": "empty.bal", + "description": "Sample diagram node", + "diagram": { + "id": "63687", + "metadata": { + "label": "Variable", + "description": "Assign a value to a variable" + }, + "codedata": { + "node": "VARIABLE", + "lineRange": { + "fileName": "new_data.bal", + "startLine": { + "line": 32, + "offset": 4 + }, + "endLine": { + "line": 32, + "offset": 75 + } + }, + "sourceCode": "json newData1 = [check calculate(amount), check calculate(amount + 1)];" + }, + "returning": false, + "properties": { + "expression": { + "metadata": { + "label": "Expression", + "description": "Expression" + }, + "valueType": "EXPRESSION", + "value": "[check calculate(amount), check calculate(amount + 1)]", + "optional": false, + "editable": true + }, + "variable": { + "metadata": { + "label": "Variable", + "description": "Name of the variable" + }, + "valueType": "IDENTIFIER", + "value": "newData1", + "optional": false, + "editable": true + }, + "type": { + "metadata": { + "label": "Type", + "description": "Type of the variable" + }, + "valueType": "TYPE", + "value": "json", + "optional": false, + "editable": true + } + }, + "flags": 0 + }, + "output": { + "empty.bal": [ + { + "range": { + "start": { + "line": 32, + "character": 4 + }, + "end": { + "line": 32, + "character": 75 + } + }, + "newText": "json newData1 = [check calculate(amount), check calculate(amount + 1)];" + } + ] + } +} diff --git a/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/to_source/config/variable17.json b/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/to_source/config/variable17.json new file mode 100644 index 000000000..e0a712f6b --- /dev/null +++ b/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/to_source/config/variable17.json @@ -0,0 +1,77 @@ +{ + "source": "empty.bal", + "description": "Sample diagram node", + "diagram": { + "id": "64637", + "metadata": { + "label": "Variable", + "description": "Assign a value to a variable" + }, + "codedata": { + "node": "VARIABLE", + "lineRange": { + "fileName": "new_data.bal", + "startLine": { + "line": 33, + "offset": 4 + }, + "endLine": { + "line": 33, + "offset": 33 + } + }, + "sourceCode": "[int, int] newData2 = [1, 2];" + }, + "returning": false, + "properties": { + "expression": { + "metadata": { + "label": "Expression", + "description": "Expression" + }, + "valueType": "EXPRESSION", + "value": "[1, 2]", + "optional": false, + "editable": true + }, + "variable": { + "metadata": { + "label": "Variable", + "description": "Name of the variable" + }, + "valueType": "IDENTIFIER", + "value": "newData2", + "optional": false, + "editable": true + }, + "type": { + "metadata": { + "label": "Type", + "description": "Type of the variable" + }, + "valueType": "TYPE", + "value": "[int, int]", + "optional": false, + "editable": true + } + }, + "flags": 0 + }, + "output": { + "empty.bal": [ + { + "range": { + "start": { + "line": 33, + "character": 4 + }, + "end": { + "line": 33, + "character": 33 + } + }, + "newText": "[int, int] newData2 = [1, 2];" + } + ] + } +} diff --git a/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/to_source/config/variable18.json b/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/to_source/config/variable18.json new file mode 100644 index 000000000..b7b0ca254 --- /dev/null +++ b/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/to_source/config/variable18.json @@ -0,0 +1,77 @@ +{ + "source": "empty.bal", + "description": "Sample diagram node", + "diagram": { + "id": "65677", + "metadata": { + "label": "Variable", + "description": "Assign a value to a variable" + }, + "codedata": { + "node": "VARIABLE", + "lineRange": { + "fileName": "new_data.bal", + "startLine": { + "line": 34, + "offset": 4 + }, + "endLine": { + "line": 34, + "offset": 81 + } + }, + "sourceCode": "[int, int] newData3 = [check calculate(amount), check calculate(amount + 1)];" + }, + "returning": false, + "properties": { + "expression": { + "metadata": { + "label": "Expression", + "description": "Expression" + }, + "valueType": "EXPRESSION", + "value": "[check calculate(amount), check calculate(amount + 1)]", + "optional": false, + "editable": true + }, + "variable": { + "metadata": { + "label": "Variable", + "description": "Name of the variable" + }, + "valueType": "IDENTIFIER", + "value": "newData3", + "optional": false, + "editable": true + }, + "type": { + "metadata": { + "label": "Type", + "description": "Type of the variable" + }, + "valueType": "TYPE", + "value": "[int, int]", + "optional": false, + "editable": true + } + }, + "flags": 0 + }, + "output": { + "empty.bal": [ + { + "range": { + "start": { + "line": 34, + "character": 4 + }, + "end": { + "line": 34, + "character": 81 + } + }, + "newText": "[int, int] newData3 = [check calculate(amount), check calculate(amount + 1)];" + } + ] + } +} diff --git a/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/to_source/config/variable19.json b/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/to_source/config/variable19.json new file mode 100644 index 000000000..9ed012664 --- /dev/null +++ b/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/to_source/config/variable19.json @@ -0,0 +1,77 @@ +{ + "source": "empty.bal", + "description": "Sample diagram node", + "diagram": { + "id": "69574", + "metadata": { + "label": "Variable", + "description": "Assign a value to a variable" + }, + "codedata": { + "node": "VARIABLE", + "lineRange": { + "fileName": "new_data.bal", + "startLine": { + "line": 38, + "offset": 4 + }, + "endLine": { + "line": 38, + "offset": 10 + } + }, + "sourceCode": "int a;" + }, + "returning": false, + "properties": { + "expression": { + "metadata": { + "label": "Expression", + "description": "Expression" + }, + "valueType": "EXPRESSION", + "value": "", + "optional": false, + "editable": true + }, + "variable": { + "metadata": { + "label": "Variable", + "description": "Name of the variable" + }, + "valueType": "IDENTIFIER", + "value": "a", + "optional": false, + "editable": true + }, + "type": { + "metadata": { + "label": "Type", + "description": "Type of the variable" + }, + "valueType": "TYPE", + "value": "int", + "optional": false, + "editable": true + } + }, + "flags": 0 + }, + "output": { + "empty.bal": [ + { + "range": { + "start": { + "line": 38, + "character": 4 + }, + "end": { + "line": 38, + "character": 10 + } + }, + "newText": "int a;" + } + ] + } +} diff --git a/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/to_source/config/variable20.json b/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/to_source/config/variable20.json new file mode 100644 index 000000000..e76d88392 --- /dev/null +++ b/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/to_source/config/variable20.json @@ -0,0 +1,77 @@ +{ + "source": "empty.bal", + "description": "Sample diagram node", + "diagram": { + "id": "70569", + "metadata": { + "label": "Variable", + "description": "Assign a value to a variable" + }, + "codedata": { + "node": "VARIABLE", + "lineRange": { + "fileName": "new_data.bal", + "startLine": { + "line": 39, + "offset": 4 + }, + "endLine": { + "line": 39, + "offset": 13 + } + }, + "sourceCode": "string s;" + }, + "returning": false, + "properties": { + "expression": { + "metadata": { + "label": "Expression", + "description": "Expression" + }, + "valueType": "EXPRESSION", + "value": "", + "optional": false, + "editable": true + }, + "variable": { + "metadata": { + "label": "Variable", + "description": "Name of the variable" + }, + "valueType": "IDENTIFIER", + "value": "s", + "optional": false, + "editable": true + }, + "type": { + "metadata": { + "label": "Type", + "description": "Type of the variable" + }, + "valueType": "TYPE", + "value": "string", + "optional": false, + "editable": true + } + }, + "flags": 0 + }, + "output": { + "empty.bal": [ + { + "range": { + "start": { + "line": 39, + "character": 4 + }, + "end": { + "line": 39, + "character": 13 + } + }, + "newText": "string s;" + } + ] + } +} diff --git a/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/to_source/config/variable21.json b/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/to_source/config/variable21.json new file mode 100644 index 000000000..adede1949 --- /dev/null +++ b/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/to_source/config/variable21.json @@ -0,0 +1,77 @@ +{ + "source": "empty.bal", + "description": "Sample diagram node", + "diagram": { + "id": "71559", + "metadata": { + "label": "Variable", + "description": "Assign a value to a variable" + }, + "codedata": { + "node": "VARIABLE", + "lineRange": { + "fileName": "new_data.bal", + "startLine": { + "line": 40, + "offset": 4 + }, + "endLine": { + "line": 40, + "offset": 11 + } + }, + "sourceCode": "json j;" + }, + "returning": false, + "properties": { + "expression": { + "metadata": { + "label": "Expression", + "description": "Expression" + }, + "valueType": "EXPRESSION", + "value": "", + "optional": false, + "editable": true + }, + "variable": { + "metadata": { + "label": "Variable", + "description": "Name of the variable" + }, + "valueType": "IDENTIFIER", + "value": "j", + "optional": false, + "editable": true + }, + "type": { + "metadata": { + "label": "Type", + "description": "Type of the variable" + }, + "valueType": "TYPE", + "value": "json", + "optional": false, + "editable": true + } + }, + "flags": 0 + }, + "output": { + "empty.bal": [ + { + "range": { + "start": { + "line": 40, + "character": 4 + }, + "end": { + "line": 40, + "character": 11 + } + }, + "newText": "json j;" + } + ] + } +} diff --git a/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/to_source/config/variable22.json b/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/to_source/config/variable22.json new file mode 100644 index 000000000..6d1ee7d02 --- /dev/null +++ b/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/to_source/config/variable22.json @@ -0,0 +1,77 @@ +{ + "source": "empty.bal", + "description": "Sample diagram node", + "diagram": { + "id": "72550", + "metadata": { + "label": "Variable", + "description": "Assign a value to a variable" + }, + "codedata": { + "node": "VARIABLE", + "lineRange": { + "fileName": "new_data.bal", + "startLine": { + "line": 41, + "offset": 4 + }, + "endLine": { + "line": 41, + "offset": 10 + } + }, + "sourceCode": "xml x;" + }, + "returning": false, + "properties": { + "expression": { + "metadata": { + "label": "Expression", + "description": "Expression" + }, + "valueType": "EXPRESSION", + "value": "", + "optional": false, + "editable": true + }, + "variable": { + "metadata": { + "label": "Variable", + "description": "Name of the variable" + }, + "valueType": "IDENTIFIER", + "value": "x", + "optional": false, + "editable": true + }, + "type": { + "metadata": { + "label": "Type", + "description": "Type of the variable" + }, + "valueType": "TYPE", + "value": "xml", + "optional": false, + "editable": true + } + }, + "flags": 0 + }, + "output": { + "empty.bal": [ + { + "range": { + "start": { + "line": 41, + "character": 4 + }, + "end": { + "line": 41, + "character": 10 + } + }, + "newText": "xml x;" + } + ] + } +} From 84ca1e132bc2dc4b7072a14508de3e2aea290eed Mon Sep 17 00:00:00 2001 From: Nipuna Fernando Date: Thu, 10 Oct 2024 20:17:14 +0530 Subject: [PATCH 4/4] Rename Expression to EXPRESSION --- .../src/main/resources/node_templates.json | 2 +- .../node_template/config/action_call-http-get.json | 4 ++-- .../node_template/config/action_call-http-post.json | 8 ++++---- .../node_template/config/action_call-redis-get.json | 2 +- .../node_template/config/action_call-redis-set.json | 4 ++-- .../node_template/config/new_connection-http.json | 4 ++-- .../node_template/config/new_connection-redis.json | 2 +- 7 files changed, 13 insertions(+), 13 deletions(-) diff --git a/flow-model-generator/modules/flow-model-generator-ls-extension/src/main/resources/node_templates.json b/flow-model-generator/modules/flow-model-generator-ls-extension/src/main/resources/node_templates.json index 811e42ddd..7a7b2df62 100644 --- a/flow-model-generator/modules/flow-model-generator-ls-extension/src/main/resources/node_templates.json +++ b/flow-model-generator/modules/flow-model-generator-ls-extension/src/main/resources/node_templates.json @@ -1 +1 @@ -{"NEW_CONNECTION:ballerina:http:Client:init":{"metadata":{"label":"New Connection", "description":"Create a new connection", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerina_http_2.12.0.png"}, "codedata":{"node":"NEW_CONNECTION", "module":"http", "symbol":"init", "org":"ballerina", "object":"Client", "importStmt":"import ballerina/http as http;", "flags":1}, "properties":{"url":{"metadata":{"label":"url", "description":"URL of the target service\n"}, "valueType":"Expression", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "config":{"metadata":{"label":"config", "description":"The configurations to be used when initializing the `client`\n"}, "valueType":"Expression", "value":"{}", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"ClientConfiguration", "category":"records", "isInclusion":true, "orgName":"ballerina", "moduleName":"http", "version":"2.12.0"}}, "order":1}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"http:Client"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"http:Client", "valueTypeConstraints":{"typeOf":["http:Client"]}, "order":2, "group":"Basic"}, "scope":{"metadata":{"label":"Scope", "description":"Scope of the connection"}, "valueType":"Enum", "value":"Global", "advanced":true, "valueTypeConstraints":{"enum":["Global", "Service", "Local"]}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerina:http:Client:post":{"metadata":{"label":"post", "description":"The `Client.post()` function can be used to send HTTP POST requests to HTTP endpoints.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerina_http_2.12.0.png"}, "codedata":{"node":"ACTION_CALL", "module":"http", "symbol":"post", "org":"ballerina", "object":"Client", "flags":1}, "properties":{"path":{"metadata":{"label":"path", "description":"Resource path\n"}, "valueType":"Expression", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "message":{"metadata":{"label":"message", "description":"An HTTP outbound request or any allowed payload\n"}, "valueType":"Expression", "value":"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"RequestMessage", "category":"types", "orgName":"ballerina", "moduleName":"http", "version":"2.12.0"}}, "order":1}, "headers":{"metadata":{"label":"headers", "description":"The entity headers\n"}, "valueType":"Expression", "value":"()", "optional":true, "editable":true, "valueTypeConstraints":{"type":{"name":"map", "category":"map", "isNullable":true, "constraint":{"isAnonymousUnionType":true, "memberTypes":[{"name":"string", "category":"builtin"}, {"isArrayType":true, "arrayDimensions":1, "elementType":{"name":"string", "category":"builtin"}}]}}}, "order":2}, "mediaType":{"metadata":{"label":"mediaType", "description":"The MIME type header of the request entity\n"}, "valueType":"Expression", "value":"()", "optional":true, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin", "isNullable":true}}, "order":3}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"json"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"json", "valueTypeConstraints":{"typeOf":["json"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"http:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerina:http:Client:put":{"metadata":{"label":"put", "description":"The `Client.put()` function can be used to send HTTP PUT requests to HTTP endpoints.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerina_http_2.12.0.png"}, "codedata":{"node":"ACTION_CALL", "module":"http", "symbol":"put", "org":"ballerina", "object":"Client", "flags":1}, "properties":{"path":{"metadata":{"label":"path", "description":"Resource path\n"}, "valueType":"Expression", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "message":{"metadata":{"label":"message", "description":"An HTTP outbound request or any allowed payload\n"}, "valueType":"Expression", "value":"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"RequestMessage", "category":"types", "orgName":"ballerina", "moduleName":"http", "version":"2.12.0"}}, "order":1}, "headers":{"metadata":{"label":"headers", "description":"The entity headers\n"}, "valueType":"Expression", "value":"()", "optional":true, "editable":true, "valueTypeConstraints":{"type":{"name":"map", "category":"map", "isNullable":true, "constraint":{"isAnonymousUnionType":true, "memberTypes":[{"name":"string", "category":"builtin"}, {"isArrayType":true, "arrayDimensions":1, "elementType":{"name":"string", "category":"builtin"}}]}}}, "order":2}, "mediaType":{"metadata":{"label":"mediaType", "description":"The MIME type header of the request entity\n"}, "valueType":"Expression", "value":"()", "optional":true, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin", "isNullable":true}}, "order":3}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"json"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"json", "valueTypeConstraints":{"typeOf":["json"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"http:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerina:http:Client:patch":{"metadata":{"label":"patch", "description":"The `Client.patch()` function can be used to send HTTP PATCH requests to HTTP endpoints.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerina_http_2.12.0.png"}, "codedata":{"node":"ACTION_CALL", "module":"http", "symbol":"patch", "org":"ballerina", "object":"Client", "flags":1}, "properties":{"path":{"metadata":{"label":"path", "description":"Resource path\n"}, "valueType":"Expression", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "message":{"metadata":{"label":"message", "description":"An HTTP outbound request or any allowed payload\n"}, "valueType":"Expression", "value":"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"RequestMessage", "category":"types", "orgName":"ballerina", "moduleName":"http", "version":"2.12.0"}}, "order":1}, "headers":{"metadata":{"label":"headers", "description":"The entity headers\n"}, "valueType":"Expression", "value":"()", "optional":true, "editable":true, "valueTypeConstraints":{"type":{"name":"map", "category":"map", "isNullable":true, "constraint":{"isAnonymousUnionType":true, "memberTypes":[{"name":"string", "category":"builtin"}, {"isArrayType":true, "arrayDimensions":1, "elementType":{"name":"string", "category":"builtin"}}]}}}, "order":2}, "mediaType":{"metadata":{"label":"mediaType", "description":"The MIME type header of the request entity\n"}, "valueType":"Expression", "value":"()", "optional":true, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin", "isNullable":true}}, "order":3}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"json"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"json", "valueTypeConstraints":{"typeOf":["json"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"http:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerina:http:Client:delete":{"metadata":{"label":"delete", "description":"The `Client.delete()` function can be used to send HTTP DELETE requests to HTTP endpoints.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerina_http_2.12.0.png"}, "codedata":{"node":"ACTION_CALL", "module":"http", "symbol":"delete", "org":"ballerina", "object":"Client", "flags":1}, "properties":{"path":{"metadata":{"label":"path", "description":"Resource path\n"}, "valueType":"Expression", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "message":{"metadata":{"label":"message", "description":"An optional HTTP outbound request message or any allowed payload\n"}, "valueType":"Expression", "value":"()", "optional":true, "editable":true, "valueTypeConstraints":{"type":{"name":"RequestMessage", "category":"types", "orgName":"ballerina", "moduleName":"http", "version":"2.12.0"}}, "order":1}, "headers":{"metadata":{"label":"headers", "description":"The entity headers\n"}, "valueType":"Expression", "value":"()", "optional":true, "editable":true, "valueTypeConstraints":{"type":{"name":"map", "category":"map", "isNullable":true, "constraint":{"isAnonymousUnionType":true, "memberTypes":[{"name":"string", "category":"builtin"}, {"isArrayType":true, "arrayDimensions":1, "elementType":{"name":"string", "category":"builtin"}}]}}}, "order":2}, "mediaType":{"metadata":{"label":"mediaType", "description":"The MIME type header of the request entity\n"}, "valueType":"Expression", "value":"()", "optional":true, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin", "isNullable":true}}, "order":3}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"json"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"json", "valueTypeConstraints":{"typeOf":["json"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"http:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerina:http:Client:head":{"metadata":{"label":"head", "description":"The `Client.head()` function can be used to send HTTP HEAD requests to HTTP endpoints.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerina_http_2.12.0.png"}, "codedata":{"node":"ACTION_CALL", "module":"http", "symbol":"head", "org":"ballerina", "object":"Client", "flags":1}, "properties":{"path":{"metadata":{"label":"path", "description":"Resource path\n"}, "valueType":"Expression", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "headers":{"metadata":{"label":"headers", "description":"The entity headers\n"}, "valueType":"Expression", "value":"()", "optional":true, "editable":true, "valueTypeConstraints":{"type":{"name":"map", "category":"map", "isNullable":true, "constraint":{"isAnonymousUnionType":true, "memberTypes":[{"name":"string", "category":"builtin"}, {"isArrayType":true, "arrayDimensions":1, "elementType":{"name":"string", "category":"builtin"}}]}}}, "order":1}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"http:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerina:http:Client:get":{"metadata":{"label":"get", "description":"The `Client.get()` function can be used to send HTTP GET requests to HTTP endpoints.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerina_http_2.12.0.png"}, "codedata":{"node":"ACTION_CALL", "module":"http", "symbol":"get", "org":"ballerina", "object":"Client", "flags":1}, "properties":{"path":{"metadata":{"label":"path", "description":"Request path\n"}, "valueType":"Expression", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "headers":{"metadata":{"label":"headers", "description":"The entity headers\n"}, "valueType":"Expression", "value":"()", "optional":true, "editable":true, "valueTypeConstraints":{"type":{"name":"map", "category":"map", "isNullable":true, "constraint":{"isAnonymousUnionType":true, "memberTypes":[{"name":"string", "category":"builtin"}, {"isArrayType":true, "arrayDimensions":1, "elementType":{"name":"string", "category":"builtin"}}]}}}, "order":1}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"json"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"json", "valueTypeConstraints":{"typeOf":["json"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"http:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerina:http:Client:options":{"metadata":{"label":"options", "description":"The `Client.options()` function can be used to send HTTP OPTIONS requests to HTTP endpoints.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerina_http_2.12.0.png"}, "codedata":{"node":"ACTION_CALL", "module":"http", "symbol":"options", "org":"ballerina", "object":"Client", "flags":1}, "properties":{"path":{"metadata":{"label":"path", "description":"Request path\n"}, "valueType":"Expression", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "headers":{"metadata":{"label":"headers", "description":"The entity headers\n"}, "valueType":"Expression", "value":"()", "optional":true, "editable":true, "valueTypeConstraints":{"type":{"name":"map", "category":"map", "isNullable":true, "constraint":{"isAnonymousUnionType":true, "memberTypes":[{"name":"string", "category":"builtin"}, {"isArrayType":true, "arrayDimensions":1, "elementType":{"name":"string", "category":"builtin"}}]}}}, "order":1}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"json"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"json", "valueTypeConstraints":{"typeOf":["json"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"http:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerina:http:Client:execute":{"metadata":{"label":"execute", "description":"Invokes an HTTP call with the specified HTTP verb.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerina_http_2.12.0.png"}, "codedata":{"node":"ACTION_CALL", "module":"http", "symbol":"execute", "org":"ballerina", "object":"Client", "flags":1}, "properties":{"httpVerb":{"metadata":{"label":"httpVerb", "description":"HTTP verb value\n"}, "valueType":"Expression", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "path":{"metadata":{"label":"path", "description":"Resource path\n"}, "valueType":"Expression", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":1}, "message":{"metadata":{"label":"message", "description":"An HTTP outbound request or any allowed payload\n"}, "valueType":"Expression", "value":"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"RequestMessage", "category":"types", "orgName":"ballerina", "moduleName":"http", "version":"2.12.0"}}, "order":2}, "headers":{"metadata":{"label":"headers", "description":"The entity headers\n"}, "valueType":"Expression", "value":"()", "optional":true, "editable":true, "valueTypeConstraints":{"type":{"name":"map", "category":"map", "isNullable":true, "constraint":{"isAnonymousUnionType":true, "memberTypes":[{"name":"string", "category":"builtin"}, {"isArrayType":true, "arrayDimensions":1, "elementType":{"name":"string", "category":"builtin"}}]}}}, "order":3}, "mediaType":{"metadata":{"label":"mediaType", "description":"The MIME type header of the request entity\n"}, "valueType":"Expression", "value":"()", "optional":true, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin", "isNullable":true}}, "order":4}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"json"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"json", "valueTypeConstraints":{"typeOf":["json"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"http:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerina:http:Client:forward":{"metadata":{"label":"forward", "description":"The `Client.forward()` function can be used to invoke an HTTP call with inbound request's HTTP verb\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerina_http_2.12.0.png"}, "codedata":{"node":"ACTION_CALL", "module":"http", "symbol":"forward", "org":"ballerina", "object":"Client", "flags":1}, "properties":{"path":{"metadata":{"label":"path", "description":"Request path\n"}, "valueType":"Expression", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "request":{"metadata":{"label":"request", "description":"An HTTP inbound request message\n"}, "valueType":"Expression", "value":"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"Request", "category":"classes", "orgName":"ballerina", "moduleName":"http", "version":"2.12.0"}}, "order":1}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"json"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"json", "valueTypeConstraints":{"typeOf":["json"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"http:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerina:http:Client:submit":{"metadata":{"label":"submit", "description":"Submits an HTTP request to a service with the specified HTTP verb.\nThe `Client->submit()` function does not give out a `http:Response` as the result.\nRather it returns an `http:HttpFuture` which can be used to do further interactions with the endpoint.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerina_http_2.12.0.png"}, "codedata":{"node":"ACTION_CALL", "module":"http", "symbol":"submit", "org":"ballerina", "object":"Client", "flags":1}, "properties":{"httpVerb":{"metadata":{"label":"httpVerb", "description":"The HTTP verb value\n"}, "valueType":"Expression", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "path":{"metadata":{"label":"path", "description":"The resource path\n"}, "valueType":"Expression", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":1}, "message":{"metadata":{"label":"message", "description":"An HTTP outbound request or any allowed payload\n"}, "valueType":"Expression", "value":"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"RequestMessage", "category":"types", "orgName":"ballerina", "moduleName":"http", "version":"2.12.0"}}, "order":2}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"http:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerina:http:Client:getResponse":{"metadata":{"label":"getResponse", "description":"This just pass the request to actual network call.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerina_http_2.12.0.png"}, "codedata":{"node":"ACTION_CALL", "module":"http", "symbol":"getResponse", "org":"ballerina", "object":"Client", "flags":1}, "properties":{"httpFuture":{"metadata":{"label":"httpFuture", "description":"The `http:HttpFuture` related to a previous asynchronous invocation\n"}, "valueType":"Expression", "value":"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"HttpFuture", "category":"classes", "orgName":"ballerina", "moduleName":"http", "version":"2.12.0"}}, "order":0}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"http:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerina:http:Client:hasPromise":{"metadata":{"label":"hasPromise", "description":"This just pass the request to actual network call.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerina_http_2.12.0.png"}, "codedata":{"node":"ACTION_CALL", "module":"http", "symbol":"hasPromise", "org":"ballerina", "object":"Client", "flags":1}, "properties":{"httpFuture":{"metadata":{"label":"httpFuture", "description":"The `http:HttpFuture` relates to a previous asynchronous invocation\n"}, "valueType":"Expression", "value":"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"HttpFuture", "category":"classes", "orgName":"ballerina", "moduleName":"http", "version":"2.12.0"}}, "order":0}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"http:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerina:http:Client:getNextPromise":{"metadata":{"label":"getNextPromise", "description":"This just pass the request to actual network call.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerina_http_2.12.0.png"}, "codedata":{"node":"ACTION_CALL", "module":"http", "symbol":"getNextPromise", "org":"ballerina", "object":"Client", "flags":1}, "properties":{"httpFuture":{"metadata":{"label":"httpFuture", "description":"The `http:HttpFuture` related to a previous asynchronous invocation\n"}, "valueType":"Expression", "value":"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"HttpFuture", "category":"classes", "orgName":"ballerina", "moduleName":"http", "version":"2.12.0"}}, "order":0}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"http:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerina:http:Client:getPromisedResponse":{"metadata":{"label":"getPromisedResponse", "description":"Passes the request to an actual network call.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerina_http_2.12.0.png"}, "codedata":{"node":"ACTION_CALL", "module":"http", "symbol":"getPromisedResponse", "org":"ballerina", "object":"Client", "flags":1}, "properties":{"promise":{"metadata":{"label":"promise", "description":"The related `http:PushPromise`\n"}, "valueType":"Expression", "value":"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"PushPromise", "category":"classes", "orgName":"ballerina", "moduleName":"http", "version":"2.12.0"}}, "order":0}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"http:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerina:http:Client:rejectPromise":{"metadata":{"label":"rejectPromise", "description":"This just pass the request to actual network call.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerina_http_2.12.0.png"}, "codedata":{"node":"ACTION_CALL", "module":"http", "symbol":"rejectPromise", "org":"ballerina", "object":"Client", "flags":1}, "properties":{"promise":{"metadata":{"label":"promise", "description":"The Push Promise to be rejected\n"}, "valueType":"Expression", "value":"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"PushPromise", "category":"classes", "orgName":"ballerina", "moduleName":"http", "version":"2.12.0"}}, "order":0}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"http:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "NEW_CONNECTION:ballerina:graphql:Client:init":{"metadata":{"label":"New Connection", "description":"Create a new connection", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerina_graphql_1.14.0.png"}, "codedata":{"node":"NEW_CONNECTION", "module":"graphql", "symbol":"init", "org":"ballerina", "object":"Client", "importStmt":"import ballerina/graphql as graphql;", "flags":1}, "properties":{"serviceUrl":{"metadata":{"label":"serviceUrl", "description":"URL of the target service\n"}, "valueType":"Expression", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "clientConfig":{"metadata":{"label":"clientConfig", "description":"The configurations to be used when initializing the `connector`\n"}, "valueType":"Expression", "value":"{}", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"ClientConfiguration", "category":"records", "isInclusion":true, "orgName":"ballerina", "moduleName":"graphql", "version":"1.14.0"}}, "order":1}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"graphql:Client"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"graphql:Client", "valueTypeConstraints":{"typeOf":["graphql:Client"]}, "order":2, "group":"Basic"}, "scope":{"metadata":{"label":"Scope", "description":"Scope of the connection"}, "valueType":"Enum", "value":"Global", "advanced":true, "valueTypeConstraints":{"enum":["Global", "Service", "Local"]}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerina:graphql:Client:executeWithType":{"metadata":{"label":"executeWithType", "description":"Executes a GraphQL document and data binds the GraphQL response to a record with data and extensions\nwhich is a subtype of GenericResponse.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerina_graphql_1.14.0.png"}, "codedata":{"node":"ACTION_CALL", "module":"graphql", "symbol":"executeWithType", "org":"ballerina", "object":"Client", "flags":1}, "properties":{"document":{"metadata":{"label":"document", "description":"The GraphQL document. It can include queries & mutations.\nFor example `query OperationName($code:ID!) {country(code:$code) {name}}`.\n"}, "valueType":"Expression", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "variables":{"metadata":{"label":"variables", "description":"The GraphQL variables. For example `{\"code\": \"\"}`.\n"}, "valueType":"Expression", "value":"()", "optional":true, "editable":true, "valueTypeConstraints":{"type":{"name":"map", "category":"map", "isNullable":true, "constraint":{"name":"anydata", "category":"builtin"}}}, "order":1}, "operationName":{"metadata":{"label":"operationName", "description":"The GraphQL operation name. If a request has two or more operations, then each operation must have a name.\nA request can only execute one operation, so you must also include the operation name to execute.\n"}, "valueType":"Expression", "value":"()", "optional":true, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin", "isNullable":true}}, "order":2}, "headers":{"metadata":{"label":"headers", "description":"The GraphQL API headers to execute each query\n"}, "valueType":"Expression", "value":"()", "optional":true, "editable":true, "valueTypeConstraints":{"type":{"name":"map", "category":"map", "isNullable":true, "constraint":{"isAnonymousUnionType":true, "memberTypes":[{"name":"string", "category":"builtin"}, {"isArrayType":true, "arrayDimensions":1, "elementType":{"name":"string", "category":"builtin"}}]}}}, "order":3}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"json"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"json", "valueTypeConstraints":{"typeOf":["json"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"graphql:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerina:graphql:Client:execute":{"metadata":{"label":"execute", "description":"Executes a GraphQL document and data binds the GraphQL response to a record with data, extensions and errors\nwhich is a subtype of GenericResponseWithErrors.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerina_graphql_1.14.0.png"}, "codedata":{"node":"ACTION_CALL", "module":"graphql", "symbol":"execute", "org":"ballerina", "object":"Client", "flags":1}, "properties":{"document":{"metadata":{"label":"document", "description":"The GraphQL document. It can include queries & mutations.\nFor example `query countryByCode($code:ID!) {country(code:$code) {name}}`.\n"}, "valueType":"Expression", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "variables":{"metadata":{"label":"variables", "description":"The GraphQL variables. For example `{\"code\": \"\"}`.\n"}, "valueType":"Expression", "value":"()", "optional":true, "editable":true, "valueTypeConstraints":{"type":{"name":"map", "category":"map", "isNullable":true, "constraint":{"name":"anydata", "category":"builtin"}}}, "order":1}, "operationName":{"metadata":{"label":"operationName", "description":"The GraphQL operation name. If a request has two or more operations, then each operation must have a name.\nA request can only execute one operation, so you must also include the operation name to execute.\n"}, "valueType":"Expression", "value":"()", "optional":true, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin", "isNullable":true}}, "order":2}, "headers":{"metadata":{"label":"headers", "description":"The GraphQL API headers to execute each query\n"}, "valueType":"Expression", "value":"()", "optional":true, "editable":true, "valueTypeConstraints":{"type":{"name":"map", "category":"map", "isNullable":true, "constraint":{"isAnonymousUnionType":true, "memberTypes":[{"name":"string", "category":"builtin"}, {"isArrayType":true, "arrayDimensions":1, "elementType":{"name":"string", "category":"builtin"}}]}}}, "order":3}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"json"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"json", "valueTypeConstraints":{"typeOf":["json"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"graphql:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "NEW_CONNECTION:ballerina:grpc:Client:init":{"metadata":{"label":"New Connection", "description":"Create a new connection", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerina_grpc_1.12.0.png"}, "codedata":{"node":"NEW_CONNECTION", "module":"grpc", "symbol":"init", "org":"ballerina", "object":"Client", "importStmt":"import ballerina/grpc as grpc;", "flags":1}, "properties":{"url":{"metadata":{"label":"url", "description":"The server URL\n"}, "valueType":"Expression", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "config":{"metadata":{"label":"config", "description":"- The client endpoint configurations\n"}, "valueType":"Expression", "value":"{}", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"ClientConfiguration", "category":"records", "isInclusion":true, "orgName":"ballerina", "moduleName":"grpc", "version":"1.12.0"}}, "order":1}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"grpc:Client"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"grpc:Client", "valueTypeConstraints":{"typeOf":["grpc:Client"]}, "order":2, "group":"Basic"}, "scope":{"metadata":{"label":"Scope", "description":"Scope of the connection"}, "valueType":"Enum", "value":"Global", "advanced":true, "valueTypeConstraints":{"enum":["Global", "Service", "Local"]}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerina:grpc:Client:executeSimpleRPC":{"metadata":{"label":"executeSimpleRPC", "description":"Calls when executing a unary gRPC service.\n```ballerina\n[anydata, map]|grpc:Error result = grpcClient->executeSimpleRPC(\"HelloWorld\/hello\", req, headers);\n```\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerina_grpc_1.12.0.png"}, "codedata":{"node":"ACTION_CALL", "module":"grpc", "symbol":"executeSimpleRPC", "org":"ballerina", "object":"Client", "flags":1}, "properties":{"methodID":{"metadata":{"label":"methodID", "description":"Remote service method ID\n"}, "valueType":"Expression", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "payload":{"metadata":{"label":"payload", "description":"Request message. The message type varies with the remote service method parameter\n"}, "valueType":"Expression", "value":"{}", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"anydata", "category":"builtin"}}, "order":1}, "headers":{"metadata":{"label":"headers", "description":"Optional headers parameter. The header value are passed only if needed. The default value is `()`\n"}, "valueType":"Expression", "value":"{}", "optional":true, "editable":true, "valueTypeConstraints":{"type":{"name":"map", "category":"map", "constraint":{"isAnonymousUnionType":true, "memberTypes":[{"name":"string", "category":"builtin"}, {"isArrayType":true, "arrayDimensions":1, "elementType":{"name":"string", "category":"builtin"}}]}}}, "order":2}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"grpc:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerina:grpc:Client:executeServerStreaming":{"metadata":{"label":"executeServerStreaming", "description":"Calls when executing a server streaming call with a gRPC service.\n```ballerina\n[stream, map]|grpc:Error result = grpcClient->executeServerStreaming(\"HelloWorld\/hello\", req, headers);\n```\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerina_grpc_1.12.0.png"}, "codedata":{"node":"ACTION_CALL", "module":"grpc", "symbol":"executeServerStreaming", "org":"ballerina", "object":"Client", "flags":1}, "properties":{"methodID":{"metadata":{"label":"methodID", "description":"Remote service method ID\n"}, "valueType":"Expression", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "payload":{"metadata":{"label":"payload", "description":"Request message. The message type varies with the remote service method parameter\n"}, "valueType":"Expression", "value":"{}", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"anydata", "category":"builtin"}}, "order":1}, "headers":{"metadata":{"label":"headers", "description":"Optional headers parameter. The header value are passed only if needed. The default value is `()`\n"}, "valueType":"Expression", "value":"{}", "optional":true, "editable":true, "valueTypeConstraints":{"type":{"name":"map", "category":"map", "constraint":{"isAnonymousUnionType":true, "memberTypes":[{"name":"string", "category":"builtin"}, {"isArrayType":true, "arrayDimensions":1, "elementType":{"name":"string", "category":"builtin"}}]}}}, "order":2}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"grpc:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerina:grpc:Client:executeClientStreaming":{"metadata":{"label":"executeClientStreaming", "description":"Calls when executing a client streaming call with a gRPC service.\n```ballerina\ngrpc:StreamingClient|grpc:Error result = grpcClient->executeClientStreaming(\"HelloWorld\/hello\", headers);\n```\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerina_grpc_1.12.0.png"}, "codedata":{"node":"ACTION_CALL", "module":"grpc", "symbol":"executeClientStreaming", "org":"ballerina", "object":"Client", "flags":1}, "properties":{"methodID":{"metadata":{"label":"methodID", "description":"Remote service method ID\n"}, "valueType":"Expression", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "headers":{"metadata":{"label":"headers", "description":"Optional headers parameter. The header value are passed only if needed. The default value is `()`\n"}, "valueType":"Expression", "value":"{}", "optional":true, "editable":true, "valueTypeConstraints":{"type":{"name":"map", "category":"map", "constraint":{"isAnonymousUnionType":true, "memberTypes":[{"name":"string", "category":"builtin"}, {"isArrayType":true, "arrayDimensions":1, "elementType":{"name":"string", "category":"builtin"}}]}}}, "order":1}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"grpc:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerina:grpc:Client:executeBidirectionalStreaming":{"metadata":{"label":"executeBidirectionalStreaming", "description":"Calls when executing a bi-directional streaming call with a gRPC service.\n```ballerina\ngrpc:StreamingClient|grpc:Error result = grpcClient->executeBidirectionalStreaming(\"HelloWorld\/hello\", headers);\n```\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerina_grpc_1.12.0.png"}, "codedata":{"node":"ACTION_CALL", "module":"grpc", "symbol":"executeBidirectionalStreaming", "org":"ballerina", "object":"Client", "flags":1}, "properties":{"methodID":{"metadata":{"label":"methodID", "description":"Remote service method ID\n"}, "valueType":"Expression", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "headers":{"metadata":{"label":"headers", "description":"Optional headers parameter. The header value are passed only if needed. The default value is `()`\n"}, "valueType":"Expression", "value":"{}", "optional":true, "editable":true, "valueTypeConstraints":{"type":{"name":"map", "category":"map", "constraint":{"isAnonymousUnionType":true, "memberTypes":[{"name":"string", "category":"builtin"}, {"isArrayType":true, "arrayDimensions":1, "elementType":{"name":"string", "category":"builtin"}}]}}}, "order":1}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"grpc:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "NEW_CONNECTION:ballerina:grpc:StreamingClient:init":{"metadata":{"label":"New Connection", "description":"Create a new connection", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerina_grpc_1.12.0.png"}, "codedata":{"node":"NEW_CONNECTION", "module":"grpc", "symbol":"init", "org":"ballerina", "object":"StreamingClient", "importStmt":"import ballerina/grpc as grpc;"}, "properties":{"variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"grpc:StreamingClient"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"grpc:StreamingClient", "valueTypeConstraints":{"typeOf":["grpc:StreamingClient"]}, "order":2, "group":"Basic"}, "scope":{"metadata":{"label":"Scope", "description":"Scope of the connection"}, "valueType":"Enum", "value":"Global", "advanced":true, "valueTypeConstraints":{"enum":["Global", "Service", "Local"]}, "order":3, "group":"Core"}}, "flags":0}, "ACTION_CALL:ballerina:grpc:StreamingClient:send":{"metadata":{"label":"send", "description":"Sends the request message to the server.\n```ballerina\ngrpc:Error? err = sClient->send(message);\n```\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerina_grpc_1.12.0.png"}, "codedata":{"node":"ACTION_CALL", "module":"grpc", "symbol":"send", "org":"ballerina", "object":"StreamingClient", "flags":1}, "properties":{"res":{"metadata":{"label":"res", "description":"The inbound request message\n"}, "valueType":"Expression", "value":"{}", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"anydata", "category":"builtin"}}, "order":0}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"grpc:StreamingClient"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerina:grpc:StreamingClient:complete":{"metadata":{"label":"complete", "description":"Informs the server when the caller has sent all the messages.\n```ballerina\ngrpc:Error? result = sClient->complete();\n```\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerina_grpc_1.12.0.png"}, "codedata":{"node":"ACTION_CALL", "module":"grpc", "symbol":"complete", "org":"ballerina", "object":"StreamingClient", "flags":1}, "properties":{"variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"grpc:StreamingClient"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerina:grpc:StreamingClient:sendError":{"metadata":{"label":"sendError", "description":"Sends an error message to the server.\n```ballerina\ngrpc:Error? result = sClient->sendError(error grpc:AbortedError(\"Operation aborted\"));\n```\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerina_grpc_1.12.0.png"}, "codedata":{"node":"ACTION_CALL", "module":"grpc", "symbol":"sendError", "org":"ballerina", "object":"StreamingClient", "flags":1}, "properties":{"err":{"metadata":{"label":"err", "description":"Error instance\n"}, "valueType":"Expression", "value":"error (\"error message\")", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"Error", "category":"errors", "orgName":"ballerina", "moduleName":"grpc", "version":"1.12.0"}}, "order":0}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"grpc:StreamingClient"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerina:grpc:StreamingClient:receive":{"metadata":{"label":"receive", "description":"Receives server responses in client streaming and bidirectional streaming.\n```ballerina\n[anydata, map]|grpc:Error? result = streamingClient->receive();\n```\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerina_grpc_1.12.0.png"}, "codedata":{"node":"ACTION_CALL", "module":"grpc", "symbol":"receive", "org":"ballerina", "object":"StreamingClient", "flags":1}, "properties":{"variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"grpc:StreamingClient"}}, "order":3, "group":"Core"}}, "flags":1}, "NEW_CONNECTION:ballerina:websocket:Client:init":{"metadata":{"label":"New Connection", "description":"Create a new connection", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerina_websocket_2.12.0.png"}, "codedata":{"node":"NEW_CONNECTION", "module":"websocket", "symbol":"init", "org":"ballerina", "object":"Client", "importStmt":"import ballerina/websocket as websocket;", "flags":1}, "properties":{"url":{"metadata":{"label":"url", "description":"URL of the target service\n"}, "valueType":"Expression", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "config":{"metadata":{"label":"config", "description":"The configurations to be used when initializing the client\n"}, "valueType":"Expression", "value":"{}", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"ClientConfiguration", "category":"records", "isInclusion":true, "orgName":"ballerina", "moduleName":"websocket", "version":"2.12.0"}}, "order":1}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"websocket:Client"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"websocket:Client", "valueTypeConstraints":{"typeOf":["websocket:Client"]}, "order":2, "group":"Basic"}, "scope":{"metadata":{"label":"Scope", "description":"Scope of the connection"}, "valueType":"Enum", "value":"Global", "advanced":true, "valueTypeConstraints":{"enum":["Global", "Service", "Local"]}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerina:websocket:Client:writeTextMessage":{"metadata":{"label":"writeTextMessage", "description":"Writes text messages to the connection. If an error occurs while sending the text message to the connection, that message\nwill be lost.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerina_websocket_2.12.0.png"}, "codedata":{"node":"ACTION_CALL", "module":"websocket", "symbol":"writeTextMessage", "org":"ballerina", "object":"Client", "flags":1}, "properties":{"data":{"metadata":{"label":"data", "description":"Data to be sent\n"}, "valueType":"Expression", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"websocket:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerina:websocket:Client:writeBinaryMessage":{"metadata":{"label":"writeBinaryMessage", "description":"Writes binary data to the connection. If an error occurs while sending the binary message to the connection,\nthat message will be lost.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerina_websocket_2.12.0.png"}, "codedata":{"node":"ACTION_CALL", "module":"websocket", "symbol":"writeBinaryMessage", "org":"ballerina", "object":"Client", "flags":1}, "properties":{"data":{"metadata":{"label":"data", "description":"Binary data to be sent\n"}, "valueType":"Expression", "value":"[]", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"isArrayType":true, "arrayDimensions":1, "elementType":{"name":"byte", "category":"builtin"}}}, "order":0}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"websocket:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerina:websocket:Client:ping":{"metadata":{"label":"ping", "description":"Pings the connection. If an error occurs while sending the ping frame to the server, that frame will be lost.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerina_websocket_2.12.0.png"}, "codedata":{"node":"ACTION_CALL", "module":"websocket", "symbol":"ping", "org":"ballerina", "object":"Client", "flags":1}, "properties":{"data":{"metadata":{"label":"data", "description":"Binary data to be sent\n"}, "valueType":"Expression", "value":"[]", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"isArrayType":true, "arrayDimensions":1, "elementType":{"name":"byte", "category":"builtin"}}}, "order":0}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"websocket:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerina:websocket:Client:pong":{"metadata":{"label":"pong", "description":"Sends a pong message to the connection. If an error occurs while sending the pong frame to the connection, that\nthe frame will be lost.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerina_websocket_2.12.0.png"}, "codedata":{"node":"ACTION_CALL", "module":"websocket", "symbol":"pong", "org":"ballerina", "object":"Client", "flags":1}, "properties":{"data":{"metadata":{"label":"data", "description":"Binary data to be sent\n"}, "valueType":"Expression", "value":"[]", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"isArrayType":true, "arrayDimensions":1, "elementType":{"name":"byte", "category":"builtin"}}}, "order":0}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"websocket:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerina:websocket:Client:close":{"metadata":{"label":"close", "description":"Closes the connection.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerina_websocket_2.12.0.png"}, "codedata":{"node":"ACTION_CALL", "module":"websocket", "symbol":"close", "org":"ballerina", "object":"Client", "flags":1}, "properties":{"statusCode":{"metadata":{"label":"statusCode", "description":"Status code for closing the connection\n"}, "valueType":"Expression", "value":"1000", "optional":true, "editable":true, "valueTypeConstraints":{"type":{"name":"int", "category":"builtin", "isNullable":true}}, "order":0}, "reason":{"metadata":{"label":"reason", "description":"Reason for closing the connection\n"}, "valueType":"Expression", "value":"()", "optional":true, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin", "isNullable":true}}, "order":1}, "timeout":{"metadata":{"label":"timeout", "description":"Time to wait (in seconds) for the close frame to be received from the remote endpoint before closing the\nconnection. If the timeout exceeds, then the connection is terminated even though a close frame\nis not received from the remote endpoint. If the value is < 0 (e.g., -1), then the connection\nwaits until a close frame is received. If the WebSocket frame is received from the remote\nendpoint within the waiting period, the connection is terminated immediately\n"}, "valueType":"Expression", "value":"60", "optional":true, "editable":true, "valueTypeConstraints":{"type":{"name":"decimal", "category":"builtin"}}, "order":2}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"websocket:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerina:websocket:Client:readTextMessage":{"metadata":{"label":"readTextMessage", "description":"Reads text messages in a synchronous manner.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerina_websocket_2.12.0.png"}, "codedata":{"node":"ACTION_CALL", "module":"websocket", "symbol":"readTextMessage", "org":"ballerina", "object":"Client", "flags":1}, "properties":{"variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"websocket:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerina:websocket:Client:readBinaryMessage":{"metadata":{"label":"readBinaryMessage", "description":"Reads binary data in a synchronous manner.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerina_websocket_2.12.0.png"}, "codedata":{"node":"ACTION_CALL", "module":"websocket", "symbol":"readBinaryMessage", "org":"ballerina", "object":"Client", "flags":1}, "properties":{"variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"websocket:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerina:websocket:Client:readMessage":{"metadata":{"label":"readMessage", "description":"Reads data from the WebSocket connection.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerina_websocket_2.12.0.png"}, "codedata":{"node":"ACTION_CALL", "module":"websocket", "symbol":"readMessage", "org":"ballerina", "object":"Client", "flags":1}, "properties":{"variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"json"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"json", "valueTypeConstraints":{"typeOf":["json"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"websocket:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerina:websocket:Client:writeMessage":{"metadata":{"label":"writeMessage", "description":"Writes messages to the connection. If an error occurs while sending the message to the connection, that message\nwill be lost.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerina_websocket_2.12.0.png"}, "codedata":{"node":"ACTION_CALL", "module":"websocket", "symbol":"writeMessage", "org":"ballerina", "object":"Client", "flags":1}, "properties":{"data":{"metadata":{"label":"data", "description":"Data to be sent\n"}, "valueType":"Expression", "value":"{}", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"anydata", "category":"builtin"}}, "order":0}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"websocket:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "NEW_CONNECTION:ballerinax:mysql:Client:init":{"metadata":{"label":"New Connection", "description":"Create a new connection", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_mysql_1.13.0.png"}, "codedata":{"node":"NEW_CONNECTION", "module":"mysql", "symbol":"init", "org":"ballerinax", "object":"Client", "importStmt":"import ballerinax/mysql as mysql;", "flags":1}, "properties":{"host":{"metadata":{"label":"host", "description":"Hostname of the MySQL server\n"}, "valueType":"Expression", "value":"\"localhost\"", "optional":true, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "user":{"metadata":{"label":"user", "description":"If the MySQL server is secured, the username\n"}, "valueType":"Expression", "value":"\"root\"", "optional":true, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin", "isNullable":true}}, "order":1}, "password":{"metadata":{"label":"password", "description":"The password of the MySQL server for the provided username\n"}, "valueType":"Expression", "value":"()", "optional":true, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin", "isNullable":true}}, "order":2}, "database":{"metadata":{"label":"database", "description":"The name of the database\n"}, "valueType":"Expression", "value":"()", "optional":true, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin", "isNullable":true}}, "order":3}, "port":{"metadata":{"label":"port", "description":"Port number of the MySQL server\n"}, "valueType":"Expression", "value":"3306", "optional":true, "editable":true, "valueTypeConstraints":{"type":{"name":"int", "category":"builtin"}}, "order":4}, "options":{"metadata":{"label":"options", "description":"MySQL database options\n"}, "valueType":"Expression", "value":"()", "optional":true, "editable":true, "valueTypeConstraints":{"type":{"name":"Options", "category":"records", "isNullable":true, "orgName":"ballerinax", "moduleName":"mysql", "version":"1.13.0"}}, "order":5}, "connectionPool":{"metadata":{"label":"connectionPool", "description":"The `sql:ConnectionPool` to be used for the connection. If there is no\n`connectionPool` provided, the global connection pool (shared by all clients) will be used\n"}, "valueType":"Expression", "value":"()", "optional":true, "editable":true, "valueTypeConstraints":{"type":{"name":"ConnectionPool", "category":"reference", "isNullable":true, "moduleName":"sql"}}, "order":6}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"mysql:Client"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"mysql:Client", "valueTypeConstraints":{"typeOf":["mysql:Client"]}, "order":2, "group":"Basic"}, "scope":{"metadata":{"label":"Scope", "description":"Scope of the connection"}, "valueType":"Enum", "value":"Global", "advanced":true, "valueTypeConstraints":{"enum":["Global", "Service", "Local"]}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:mysql:Client:query":{"metadata":{"label":"query", "description":"Executes the query, which may return multiple results.\nWhen processing the stream, make sure to consume all fetched data or close the stream.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_mysql_1.13.0.png"}, "codedata":{"node":"ACTION_CALL", "module":"mysql", "symbol":"query", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"sqlQuery":{"metadata":{"label":"sqlQuery", "description":"The SQL query such as `` `SELECT * from Album WHERE name=${albumName}` ``\n"}, "valueType":"Expression", "value":"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"ParameterizedQuery", "category":"reference", "moduleName":"sql"}}, "order":0}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"map"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"map", "valueTypeConstraints":{"typeOf":["map"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"mysql:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:mysql:Client:queryRow":{"metadata":{"label":"queryRow", "description":"Executes the query, which is expected to return at most one row of the result.\nIf the query does not return any results, `sql:NoRowsError` is returned.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_mysql_1.13.0.png"}, "codedata":{"node":"ACTION_CALL", "module":"mysql", "symbol":"queryRow", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"sqlQuery":{"metadata":{"label":"sqlQuery", "description":"The SQL query such as `` `SELECT * from Album WHERE name=${albumName}` ``\n"}, "valueType":"Expression", "value":"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"ParameterizedQuery", "category":"reference", "moduleName":"sql"}}, "order":0}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"json"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"json", "valueTypeConstraints":{"typeOf":["json"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"mysql:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:mysql:Client:execute":{"metadata":{"label":"execute", "description":"Executes the SQL query. Only the metadata of the execution is returned (not the results from the query).\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_mysql_1.13.0.png"}, "codedata":{"node":"ACTION_CALL", "module":"mysql", "symbol":"execute", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"sqlQuery":{"metadata":{"label":"sqlQuery", "description":"The SQL query such as `` `DELETE FROM Album WHERE artist=${artistName}` ``\n"}, "valueType":"Expression", "value":"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"ParameterizedQuery", "category":"reference", "moduleName":"sql"}}, "order":0}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"mysql:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:mysql:Client:batchExecute":{"metadata":{"label":"batchExecute", "description":"Executes an SQL query with multiple sets of parameters in a batch. Only the metadata of the execution is returned (not results from the query).\nIf one of the commands in the batch fails (except syntax error), the `sql:BatchExecuteError` will be deferred until the remaining commands are completed.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_mysql_1.13.0.png"}, "codedata":{"node":"ACTION_CALL", "module":"mysql", "symbol":"batchExecute", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"sqlQueries":{"metadata":{"label":"sqlQueries", "description":"The SQL query with multiple sets of parameters\n"}, "valueType":"Expression", "value":"[]", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"isArrayType":true, "arrayDimensions":1, "elementType":{"name":"ParameterizedQuery", "category":"reference", "moduleName":"sql"}}}, "order":0}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"mysql:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:mysql:Client:call":{"metadata":{"label":"call", "description":"Executes an SQL query, which calls a stored procedure. This may or may not return results.\nOnce the results are processed, invoke the `close` method on the `sql:ProcedureCallResult`.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_mysql_1.13.0.png"}, "codedata":{"node":"ACTION_CALL", "module":"mysql", "symbol":"call", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"sqlQuery":{"metadata":{"label":"sqlQuery", "description":"The SQL query such as `` `CALL sp_GetAlbums();` ``\n"}, "valueType":"Expression", "value":"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"ParameterizedCallQuery", "category":"reference", "moduleName":"sql"}}, "order":0}, "rowTypes":{"metadata":{"label":"rowTypes", "description":"`typedesc` array of the records to which the results need to be returned\n"}, "valueType":"Expression", "value":"[]", "optional":true, "editable":true, "valueTypeConstraints":{"type":{"isArrayType":true, "arrayDimensions":1, "elementType":{"isTypeDesc":true, "elementType":{"category":"inline_record"}}}}, "order":1}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"mysql:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "NEW_CONNECTION:ballerinax:redis:Client:init":{"metadata":{"label":"New Connection", "description":"Create a new connection", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"NEW_CONNECTION", "module":"redis", "symbol":"init", "org":"ballerinax", "object":"Client", "importStmt":"import ballerinax/redis as redis;", "flags":1}, "properties":{"config":{"metadata":{"label":"config", "description":"configuration for the connector\n"}, "valueType":"Expression", "value":"{}", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"ConnectionConfig", "category":"records", "isInclusion":true, "orgName":"ballerinax", "moduleName":"redis", "version":"3.0.2"}}, "order":0}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"redis:Client", "valueTypeConstraints":{"typeOf":["redis:Client"]}, "order":2, "group":"Basic"}, "scope":{"metadata":{"label":"Scope", "description":"Scope of the connection"}, "valueType":"Enum", "value":"Global", "advanced":true, "valueTypeConstraints":{"enum":["Global", "Service", "Local"]}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:append":{"metadata":{"label":"append", "description":"Append a value to a key.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"append", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"key":{"metadata":{"label":"key", "description":"Key referring to a value\n"}, "valueType":"Expression", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "value":{"metadata":{"label":"value", "description":"String value to be appended\n"}, "valueType":"Expression", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":1}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:bitCount":{"metadata":{"label":"bitCount", "description":"Count set bits in a string.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"bitCount", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"key":{"metadata":{"label":"key", "description":"Key referring to a value\n"}, "valueType":"Expression", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:bitOpAnd":{"metadata":{"label":"bitOpAnd", "description":"Perform bitwise AND between strings.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"bitOpAnd", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"destination":{"metadata":{"label":"destination", "description":"Result key of the operation\n"}, "valueType":"Expression", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "keys":{"metadata":{"label":"keys", "description":"Input keys to perform AND between\n"}, "valueType":"Expression", "value":"[]", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"isArrayType":true, "arrayDimensions":1, "elementType":{"name":"string", "category":"builtin"}}}, "order":1}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:bitOpOr":{"metadata":{"label":"bitOpOr", "description":"Perform bitwise OR between strings.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"bitOpOr", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"destination":{"metadata":{"label":"destination", "description":"Result key of the operation\n"}, "valueType":"Expression", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "keys":{"metadata":{"label":"keys", "description":"Input keys to perform OR between\n"}, "valueType":"Expression", "value":"[]", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"isArrayType":true, "arrayDimensions":1, "elementType":{"name":"string", "category":"builtin"}}}, "order":1}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:bitOpNot":{"metadata":{"label":"bitOpNot", "description":"Perform bitwise NOT on a string.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"bitOpNot", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"destination":{"metadata":{"label":"destination", "description":"Result key of the operation\n"}, "valueType":"Expression", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "key":{"metadata":{"label":"key", "description":"Input key to perform NOT\n"}, "valueType":"Expression", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":1}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:bitOpXor":{"metadata":{"label":"bitOpXor", "description":"Perform bitwise XOR between strings.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"bitOpXor", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"destination":{"metadata":{"label":"destination", "description":"Result key of the operation\n"}, "valueType":"Expression", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "keys":{"metadata":{"label":"keys", "description":"Input keys to perform XOR between\n"}, "valueType":"Expression", "value":"[]", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"isArrayType":true, "arrayDimensions":1, "elementType":{"name":"string", "category":"builtin"}}}, "order":1}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:decr":{"metadata":{"label":"decr", "description":"Decrement integer value of a key by one.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"decr", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"key":{"metadata":{"label":"key", "description":"Key referring to a value\n"}, "valueType":"Expression", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:decrBy":{"metadata":{"label":"decrBy", "description":"Decrement integer value of a key by the given number.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"decrBy", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"key":{"metadata":{"label":"key", "description":"Key referring to a value\n"}, "valueType":"Expression", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "value":{"metadata":{"label":"value", "description":"Value to be decremented\n"}, "valueType":"Expression", "value":"0", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"int", "category":"builtin"}}, "order":1}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:getBit":{"metadata":{"label":"getBit", "description":"Returns bit value at offset in the string value stored at key.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"getBit", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"key":{"metadata":{"label":"key", "description":"Key referring to a value\n"}, "valueType":"Expression", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "offset":{"metadata":{"label":"offset", "description":"Offset in string value\n"}, "valueType":"Expression", "value":"0", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"int", "category":"builtin"}}, "order":1}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:getRange":{"metadata":{"label":"getRange", "description":"Get substring of string stored at a key.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"getRange", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"key":{"metadata":{"label":"key", "description":"Key referring to a value\n"}, "valueType":"Expression", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "startPos":{"metadata":{"label":"startPos", "description":"Starting point of substring\n"}, "valueType":"Expression", "value":"0", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"int", "category":"builtin"}}, "order":1}, "end":{"metadata":{"label":"end", "description":"End point of substring\n"}, "valueType":"Expression", "value":"0", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"int", "category":"builtin"}}, "order":2}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:getSet":{"metadata":{"label":"getSet", "description":"Set string value of key and return its existing value.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"getSet", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"key":{"metadata":{"label":"key", "description":"Key referring to a value\n"}, "valueType":"Expression", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "value":{"metadata":{"label":"value", "description":"Value to be set\n"}, "valueType":"Expression", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":1}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:get":{"metadata":{"label":"get", "description":"Get value of key.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"get", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"key":{"metadata":{"label":"key", "description":"Key referring to a value\n"}, "valueType":"Expression", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:incr":{"metadata":{"label":"incr", "description":"Increment integer value of a key by one.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"incr", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"key":{"metadata":{"label":"key", "description":"Key referring to a value\n"}, "valueType":"Expression", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:incrBy":{"metadata":{"label":"incrBy", "description":"Increment integer value of key by the given amount.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"incrBy", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"key":{"metadata":{"label":"key", "description":"Key referring to a value\n"}, "valueType":"Expression", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "value":{"metadata":{"label":"value", "description":"Amount to increment\n"}, "valueType":"Expression", "value":"0", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"int", "category":"builtin"}}, "order":1}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:incrByFloat":{"metadata":{"label":"incrByFloat", "description":"Increment integer value of key by the given float.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"incrByFloat", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"key":{"metadata":{"label":"key", "description":"Key referring to a value\n"}, "valueType":"Expression", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "value":{"metadata":{"label":"value", "description":"Amount to increment\n"}, "valueType":"Expression", "value":"0.0", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"float", "category":"builtin"}}, "order":1}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:mGet":{"metadata":{"label":"mGet", "description":"Get values of all given keys.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"mGet", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"keys":{"metadata":{"label":"keys", "description":"Keys of which values need to be retrieved\n"}, "valueType":"Expression", "value":"[]", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"isArrayType":true, "arrayDimensions":1, "elementType":{"name":"string", "category":"builtin"}}}, "order":0}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:mSet":{"metadata":{"label":"mSet", "description":"Set multiple keys to multiple values.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"mSet", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"keyValueMap":{"metadata":{"label":"keyValueMap", "description":"Map of key-value pairs to be set\n"}, "valueType":"Expression", "value":"{}", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"map", "category":"map", "constraint":{"name":"any", "category":"builtin"}}}, "order":0}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:mSetNx":{"metadata":{"label":"mSetNx", "description":"Set multiple keys to multiple values, only if none of the keys exist.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"mSetNx", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"keyValueMap":{"metadata":{"label":"keyValueMap", "description":"Map of key-value pairs to be set\n"}, "valueType":"Expression", "value":"{}", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"map", "category":"map", "constraint":{"name":"any", "category":"builtin"}}}, "order":0}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:pSetEx":{"metadata":{"label":"pSetEx", "description":"Set value and expiration in milliseconds of a key.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"pSetEx", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"key":{"metadata":{"label":"key", "description":"Key referring to a value\n"}, "valueType":"Expression", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "value":{"metadata":{"label":"value", "description":"Value to be set\n"}, "valueType":"Expression", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":1}, "expirationTime":{"metadata":{"label":"expirationTime", "description":"Expiration time in milli seconds\n"}, "valueType":"Expression", "value":"0", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"int", "category":"builtin"}}, "order":2}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:set":{"metadata":{"label":"set", "description":"Set the value of a key.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"set", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"key":{"metadata":{"label":"key", "description":"Key referring to a value\n"}, "valueType":"Expression", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "value":{"metadata":{"label":"value", "description":"Values\n"}, "valueType":"Expression", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":1}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:setBit":{"metadata":{"label":"setBit", "description":"Sets or clears the bit at offset in the string value stored at key.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"setBit", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"key":{"metadata":{"label":"key", "description":"Key referring to a value\n"}, "valueType":"Expression", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "value":{"metadata":{"label":"value", "description":"Value to be set\n"}, "valueType":"Expression", "value":"0", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"int", "category":"builtin"}}, "order":1}, "offset":{"metadata":{"label":"offset", "description":"Offset at which the value should be set\n"}, "valueType":"Expression", "value":"0", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"int", "category":"builtin"}}, "order":2}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:setEx":{"metadata":{"label":"setEx", "description":"Set the value and expiration of a key.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"setEx", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"key":{"metadata":{"label":"key", "description":"Key referring to a value\n"}, "valueType":"Expression", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "value":{"metadata":{"label":"value", "description":"Value to be set\n"}, "valueType":"Expression", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":1}, "expirationTime":{"metadata":{"label":"expirationTime", "description":"Expiration time to be set, in seconds\n"}, "valueType":"Expression", "value":"0", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"int", "category":"builtin"}}, "order":2}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:setNx":{"metadata":{"label":"setNx", "description":"Set value of a key, only if key does not exist.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"setNx", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"key":{"metadata":{"label":"key", "description":"Key referring to a value\n"}, "valueType":"Expression", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "value":{"metadata":{"label":"value", "description":"Value to be set\n"}, "valueType":"Expression", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":1}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:setRange":{"metadata":{"label":"setRange", "description":"Overwrite part of string at key starting at the specified offset.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"setRange", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"key":{"metadata":{"label":"key", "description":"Key referring to a value\n"}, "valueType":"Expression", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "offset":{"metadata":{"label":"offset", "description":"Offset at which the value should be set\n"}, "valueType":"Expression", "value":"0", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"int", "category":"builtin"}}, "order":1}, "value":{"metadata":{"label":"value", "description":"Value to be set\n"}, "valueType":"Expression", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":2}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:strLen":{"metadata":{"label":"strLen", "description":"Get length of value stored in a key.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"strLen", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"key":{"metadata":{"label":"key", "description":"Key referring to a value\n"}, "valueType":"Expression", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:lPush":{"metadata":{"label":"lPush", "description":"Prepend one or multiple values to list.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"lPush", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"key":{"metadata":{"label":"key", "description":"Key referring to a value\n"}, "valueType":"Expression", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "values":{"metadata":{"label":"values", "description":"Values to be prepended\n"}, "valueType":"Expression", "value":"[]", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"isArrayType":true, "arrayDimensions":1, "elementType":{"name":"string", "category":"builtin"}}}, "order":1}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:lPop":{"metadata":{"label":"lPop", "description":"Remove and get the first element in a list.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"lPop", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"key":{"metadata":{"label":"key", "description":"Key referring to a value\n"}, "valueType":"Expression", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:lPushX":{"metadata":{"label":"lPushX", "description":"Prepend one or multiple values to a list, only if the list exists.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"lPushX", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"key":{"metadata":{"label":"key", "description":"Key referring to a value\n"}, "valueType":"Expression", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "values":{"metadata":{"label":"values", "description":"Values to be prepended\n"}, "valueType":"Expression", "value":"[]", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"isArrayType":true, "arrayDimensions":1, "elementType":{"name":"string", "category":"builtin"}}}, "order":1}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:bLPop":{"metadata":{"label":"bLPop", "description":"Remove and get the first element in a list, or block until one is available.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"bLPop", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"timeOut":{"metadata":{"label":"timeOut", "description":"Timeout in seconds\n"}, "valueType":"Expression", "value":"0", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"int", "category":"builtin"}}, "order":0}, "keys":{"metadata":{"label":"keys", "description":"Keys referring to values\n"}, "valueType":"Expression", "value":"[]", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"isArrayType":true, "arrayDimensions":1, "elementType":{"name":"string", "category":"builtin"}}}, "order":1}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:bRPop":{"metadata":{"label":"bRPop", "description":"Remove and get the last element in a list, or block until one is available.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"bRPop", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"timeout":{"metadata":{"label":"timeout", "description":"Timeout in seconds\n"}, "valueType":"Expression", "value":"0", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"int", "category":"builtin"}}, "order":0}, "keys":{"metadata":{"label":"keys", "description":"Keys referring to values\n"}, "valueType":"Expression", "value":"[]", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"isArrayType":true, "arrayDimensions":1, "elementType":{"name":"string", "category":"builtin"}}}, "order":1}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:lIndex":{"metadata":{"label":"lIndex", "description":"Get an element from list by its index.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"lIndex", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"key":{"metadata":{"label":"key", "description":"Key referring to a value\n"}, "valueType":"Expression", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "index":{"metadata":{"label":"index", "description":"Index from which the element should be retrieved\n"}, "valueType":"Expression", "value":"0", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"int", "category":"builtin"}}, "order":1}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:lInsert":{"metadata":{"label":"lInsert", "description":"Insert an element before or after another element in a list.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"lInsert", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"key":{"metadata":{"label":"key", "description":"Key referring to a value\n"}, "valueType":"Expression", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "before":{"metadata":{"label":"before", "description":"Boolean value representing Whether element should be inserted before or after the pivot\n"}, "valueType":"Expression", "value":"false", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"boolean", "category":"builtin"}}, "order":1}, "pivot":{"metadata":{"label":"pivot", "description":"Pivot position\n"}, "valueType":"Expression", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":2}, "value":{"metadata":{"label":"value", "description":"Value to insert\n"}, "valueType":"Expression", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":3}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:lLen":{"metadata":{"label":"lLen", "description":"Get length of a list.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"lLen", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"key":{"metadata":{"label":"key", "description":"Key referring to a value\n"}, "valueType":"Expression", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:lRange":{"metadata":{"label":"lRange", "description":"Get a range of elements from a list.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"lRange", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"key":{"metadata":{"label":"key", "description":"Key referring to a value\n"}, "valueType":"Expression", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "startPos":{"metadata":{"label":"startPos", "description":"Begining index of the range\n"}, "valueType":"Expression", "value":"0", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"int", "category":"builtin"}}, "order":1}, "stopPos":{"metadata":{"label":"stopPos", "description":"Last index of the range\n"}, "valueType":"Expression", "value":"0", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"int", "category":"builtin"}}, "order":2}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:lRem":{"metadata":{"label":"lRem", "description":"Remove elements from list.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"lRem", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"key":{"metadata":{"label":"key", "description":"Key referring to a value\n"}, "valueType":"Expression", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "count":{"metadata":{"label":"count", "description":"Number of elements to be removed\n"}, "valueType":"Expression", "value":"0", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"int", "category":"builtin"}}, "order":1}, "value":{"metadata":{"label":"value", "description":"Value which the elements to be removed should be equal to\n"}, "valueType":"Expression", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":2}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:lSet":{"metadata":{"label":"lSet", "description":"Set the value of an element in a list by its index.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"lSet", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"key":{"metadata":{"label":"key", "description":"Key of the list\n"}, "valueType":"Expression", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "index":{"metadata":{"label":"index", "description":"Index of the element of which the value needs to be set\n"}, "valueType":"Expression", "value":"0", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"int", "category":"builtin"}}, "order":1}, "value":{"metadata":{"label":"value", "description":"Value to be set\n"}, "valueType":"Expression", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":2}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:lTrim":{"metadata":{"label":"lTrim", "description":"Trim list to the specified range.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"lTrim", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"key":{"metadata":{"label":"key", "description":"Key of the list\n"}, "valueType":"Expression", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "startPos":{"metadata":{"label":"startPos", "description":"Starting index of the range\n"}, "valueType":"Expression", "value":"0", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"int", "category":"builtin"}}, "order":1}, "stopPos":{"metadata":{"label":"stopPos", "description":"End index of the range\n"}, "valueType":"Expression", "value":"0", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"int", "category":"builtin"}}, "order":2}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:rPop":{"metadata":{"label":"rPop", "description":"Remove and get the last element in a list.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"rPop", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"key":{"metadata":{"label":"key", "description":"Key of the list\n"}, "valueType":"Expression", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:rPopLPush":{"metadata":{"label":"rPopLPush", "description":"Remove the last element in a list, append it to another list and return it.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"rPopLPush", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"src":{"metadata":{"label":"src", "description":"Source key\n"}, "valueType":"Expression", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "destination":{"metadata":{"label":"destination", "description":"Destination key\n"}, "valueType":"Expression", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":1}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:rPush":{"metadata":{"label":"rPush", "description":"Append one or multiple values to a list.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"rPush", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"key":{"metadata":{"label":"key", "description":"Key of the list\n"}, "valueType":"Expression", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "values":{"metadata":{"label":"values", "description":"Array of values to be appended\n"}, "valueType":"Expression", "value":"[]", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"isArrayType":true, "arrayDimensions":1, "elementType":{"name":"string", "category":"builtin"}}}, "order":1}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:rPushX":{"metadata":{"label":"rPushX", "description":"Append one or multiple values to a list, only if the list exists.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"rPushX", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"key":{"metadata":{"label":"key", "description":"Key of the list\n"}, "valueType":"Expression", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "values":{"metadata":{"label":"values", "description":"Array of values to be appended\n"}, "valueType":"Expression", "value":"[]", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"isArrayType":true, "arrayDimensions":1, "elementType":{"name":"string", "category":"builtin"}}}, "order":1}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:sAdd":{"metadata":{"label":"sAdd", "description":"Add one or more members to a set.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"sAdd", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"key":{"metadata":{"label":"key", "description":"Key of the set\n"}, "valueType":"Expression", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "values":{"metadata":{"label":"values", "description":"Array of values to be added\n"}, "valueType":"Expression", "value":"[]", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"isArrayType":true, "arrayDimensions":1, "elementType":{"name":"string", "category":"builtin"}}}, "order":1}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:sCard":{"metadata":{"label":"sCard", "description":"Get the number of members in a set\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"sCard", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"key":{"metadata":{"label":"key", "description":"Key of the set\n"}, "valueType":"Expression", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:sDiff":{"metadata":{"label":"sDiff", "description":"Return set resulting from the difference between the first set and all the successive sets\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"sDiff", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"keys":{"metadata":{"label":"keys", "description":"The keys of the sets\n"}, "valueType":"Expression", "value":"[]", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"isArrayType":true, "arrayDimensions":1, "elementType":{"name":"string", "category":"builtin"}}}, "order":0}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:sDiffStore":{"metadata":{"label":"sDiffStore", "description":"Obtain the set resulting from the difference between the first set and all the successive.\nsets and store at the provided destination.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"sDiffStore", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"destination":{"metadata":{"label":"destination", "description":"Destination key of the resulting set\n"}, "valueType":"Expression", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "keys":{"metadata":{"label":"keys", "description":"Keys of the sets to find the difference of\n"}, "valueType":"Expression", "value":"[]", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"isArrayType":true, "arrayDimensions":1, "elementType":{"name":"string", "category":"builtin"}}}, "order":1}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:sInter":{"metadata":{"label":"sInter", "description":"Return the intersection of the provided sets.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"sInter", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"keys":{"metadata":{"label":"keys", "description":"Keys of the sets to be intersected\n"}, "valueType":"Expression", "value":"[]", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"isArrayType":true, "arrayDimensions":1, "elementType":{"name":"string", "category":"builtin"}}}, "order":0}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:sInterStore":{"metadata":{"label":"sInterStore", "description":"Obtain the intersection of the provided sets and store at the provided destination.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"sInterStore", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"destination":{"metadata":{"label":"destination", "description":"Destination key of the resulting set\n"}, "valueType":"Expression", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "keys":{"metadata":{"label":"keys", "description":"Keys of the sets to be intersected\n"}, "valueType":"Expression", "value":"[]", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"isArrayType":true, "arrayDimensions":1, "elementType":{"name":"string", "category":"builtin"}}}, "order":1}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:sIsMember":{"metadata":{"label":"sIsMember", "description":"Determine if a given value is a member of a set.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"sIsMember", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"key":{"metadata":{"label":"key", "description":"Key of the set\n"}, "valueType":"Expression", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "value":{"metadata":{"label":"value", "description":"Value of a key\n"}, "valueType":"Expression", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":1}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:sMembers":{"metadata":{"label":"sMembers", "description":"Get all members in a set.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"sMembers", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"key":{"metadata":{"label":"key", "description":"Key of the set\n"}, "valueType":"Expression", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:sMove":{"metadata":{"label":"sMove", "description":"Move a member from one set to another.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"sMove", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"src":{"metadata":{"label":"src", "description":"Source key\n"}, "valueType":"Expression", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "destination":{"metadata":{"label":"destination", "description":"Destination key\n"}, "valueType":"Expression", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":1}, "member":{"metadata":{"label":"member", "description":"Member to be moved\n"}, "valueType":"Expression", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":2}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:sPop":{"metadata":{"label":"sPop", "description":"Remove and return a random member from a set.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"sPop", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"key":{"metadata":{"label":"key", "description":"Source key\n"}, "valueType":"Expression", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "count":{"metadata":{"label":"count", "description":"Number of members to pop\n"}, "valueType":"Expression", "value":"0", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"int", "category":"builtin"}}, "order":1}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:sRandMember":{"metadata":{"label":"sRandMember", "description":"Get one or multiple random members from a set.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"sRandMember", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"key":{"metadata":{"label":"key", "description":"Key of the set\n"}, "valueType":"Expression", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "count":{"metadata":{"label":"count", "description":"Number of members to obtain\n"}, "valueType":"Expression", "value":"0", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"int", "category":"builtin"}}, "order":1}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:sRem":{"metadata":{"label":"sRem", "description":"Remove one or more members from a set.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"sRem", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"key":{"metadata":{"label":"key", "description":"Key of the set\n"}, "valueType":"Expression", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "members":{"metadata":{"label":"members", "description":"Array of members to remove\n"}, "valueType":"Expression", "value":"[]", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"isArrayType":true, "arrayDimensions":1, "elementType":{"name":"string", "category":"builtin"}}}, "order":1}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:sUnion":{"metadata":{"label":"sUnion", "description":"Return the union of multiple sets.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"sUnion", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"keys":{"metadata":{"label":"keys", "description":"Array of keys of sets\n"}, "valueType":"Expression", "value":"[]", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"isArrayType":true, "arrayDimensions":1, "elementType":{"name":"string", "category":"builtin"}}}, "order":0}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:sUnionStore":{"metadata":{"label":"sUnionStore", "description":"Return the union of multiple sets.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"sUnionStore", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"destination":{"metadata":{"label":"destination", "description":"Destination key of the resulting set\n"}, "valueType":"Expression", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "keys":{"metadata":{"label":"keys", "description":"Array of keys of sets\n"}, "valueType":"Expression", "value":"[]", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"isArrayType":true, "arrayDimensions":1, "elementType":{"name":"string", "category":"builtin"}}}, "order":1}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:zAdd":{"metadata":{"label":"zAdd", "description":"Add one or more members to a sorted set, or update its score if it already exist.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"zAdd", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"key":{"metadata":{"label":"key", "description":"Key of the sorted set\n"}, "valueType":"Expression", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "memberScoreMap":{"metadata":{"label":"memberScoreMap", "description":"Map of members and corresponding scores\n"}, "valueType":"Expression", "value":"{}", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"map", "category":"map", "constraint":{"name":"any", "category":"builtin"}}}, "order":1}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:zCard":{"metadata":{"label":"zCard", "description":"Get the number of members in a sorted set.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"zCard", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"key":{"metadata":{"label":"key", "description":"Key of the sorted set\n"}, "valueType":"Expression", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:zCount":{"metadata":{"label":"zCount", "description":"Count the members in a sorted set with scores within the given range.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"zCount", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"key":{"metadata":{"label":"key", "description":"Key of the sorted set\n"}, "valueType":"Expression", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "min":{"metadata":{"label":"min", "description":"Minimum score of the range\n"}, "valueType":"Expression", "value":"0.0", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"float", "category":"builtin"}}, "order":1}, "max":{"metadata":{"label":"max", "description":"Maximum score of the range\n"}, "valueType":"Expression", "value":"0.0", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"float", "category":"builtin"}}, "order":2}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:zIncrBy":{"metadata":{"label":"zIncrBy", "description":"Increment the score of a member in a sorted set.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"zIncrBy", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"key":{"metadata":{"label":"key", "description":"Key of the sorted set\n"}, "valueType":"Expression", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "amount":{"metadata":{"label":"amount", "description":"Amount to increment\n"}, "valueType":"Expression", "value":"0.0", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"float", "category":"builtin"}}, "order":1}, "member":{"metadata":{"label":"member", "description":"Member whose score to be incremented\n"}, "valueType":"Expression", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":2}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:zInterStore":{"metadata":{"label":"zInterStore", "description":"Intersect multiple sorted sets and store the resulting sorted set in a new key.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"zInterStore", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"destination":{"metadata":{"label":"destination", "description":"Destination key of the resulting sorted set\n"}, "valueType":"Expression", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "keys":{"metadata":{"label":"keys", "description":"Keys of the sorted sets to be intersected\n"}, "valueType":"Expression", "value":"[]", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"isArrayType":true, "arrayDimensions":1, "elementType":{"name":"string", "category":"builtin"}}}, "order":1}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:zLexCount":{"metadata":{"label":"zLexCount", "description":"Count the members in a sorted set within the given lexicographical range.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"zLexCount", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"key":{"metadata":{"label":"key", "description":"Key of the sorted set\n"}, "valueType":"Expression", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "min":{"metadata":{"label":"min", "description":"Minimum lexicographical value of the range\n"}, "valueType":"Expression", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":1}, "max":{"metadata":{"label":"max", "description":"Maximum lexicographical value of the range\n"}, "valueType":"Expression", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":2}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:zRange":{"metadata":{"label":"zRange", "description":"Return a range of members in a sorted set, by index.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"zRange", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"key":{"metadata":{"label":"key", "description":"Key of the sorted set\n"}, "valueType":"Expression", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "min":{"metadata":{"label":"min", "description":"Minimum index of the range\n"}, "valueType":"Expression", "value":"0", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"int", "category":"builtin"}}, "order":1}, "max":{"metadata":{"label":"max", "description":"Maximum index of the range\n"}, "valueType":"Expression", "value":"0", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"int", "category":"builtin"}}, "order":2}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:zRangeByLex":{"metadata":{"label":"zRangeByLex", "description":"Return a range of members in a sorted set, by lexicographical range from lowest to highest.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"zRangeByLex", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"key":{"metadata":{"label":"key", "description":"Key of the sorted set\n"}, "valueType":"Expression", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "min":{"metadata":{"label":"min", "description":"Minimum lexicographical value of the range\n"}, "valueType":"Expression", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":1}, "max":{"metadata":{"label":"max", "description":"Maximum lexicographical value of the range\n"}, "valueType":"Expression", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":2}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:zRevRangeByLex":{"metadata":{"label":"zRevRangeByLex", "description":"Return a range of members in a sorted set, by lexicographical range ordered from highest to\nlowest.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"zRevRangeByLex", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"key":{"metadata":{"label":"key", "description":"Key of the sorted set\n"}, "valueType":"Expression", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "min":{"metadata":{"label":"min", "description":"Lexicographical value of the range\n"}, "valueType":"Expression", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":1}, "max":{"metadata":{"label":"max", "description":"Maximum lexicographical value of the range\n"}, "valueType":"Expression", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":2}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:zRangeByScore":{"metadata":{"label":"zRangeByScore", "description":"Return a range of members in a sorted set, by score from lowest to highest.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"zRangeByScore", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"key":{"metadata":{"label":"key", "description":"Key of sorted set\n"}, "valueType":"Expression", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "min":{"metadata":{"label":"min", "description":"Minimum score of range\n"}, "valueType":"Expression", "value":"0.0", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"float", "category":"builtin"}}, "order":1}, "max":{"metadata":{"label":"max", "description":"Maximum score of range\n"}, "valueType":"Expression", "value":"0.0", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"float", "category":"builtin"}}, "order":2}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:zRank":{"metadata":{"label":"zRank", "description":"Determine index of a member in a sorted set.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"zRank", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"key":{"metadata":{"label":"key", "description":"Key of the sorted set\n"}, "valueType":"Expression", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "member":{"metadata":{"label":"member", "description":"Member of which the index needs to be obtained\n"}, "valueType":"Expression", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":1}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:zRem":{"metadata":{"label":"zRem", "description":"Remove one or more members from a sorted set\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"zRem", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"key":{"metadata":{"label":"key", "description":"Key of the sorted set\n"}, "valueType":"Expression", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "members":{"metadata":{"label":"members", "description":"Members to be removed\n"}, "valueType":"Expression", "value":"[]", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"isArrayType":true, "arrayDimensions":1, "elementType":{"name":"string", "category":"builtin"}}}, "order":1}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:zRemRangeByLex":{"metadata":{"label":"zRemRangeByLex", "description":"Remove all members in a sorted set between the given lexicographical range.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"zRemRangeByLex", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"key":{"metadata":{"label":"key", "description":"Key of the sorted set\n"}, "valueType":"Expression", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "min":{"metadata":{"label":"min", "description":"Minimum lexicographical value of the range\n"}, "valueType":"Expression", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":1}, "max":{"metadata":{"label":"max", "description":"Maximum lexicographical value of the range\n"}, "valueType":"Expression", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":2}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:zRemRangeByRank":{"metadata":{"label":"zRemRangeByRank", "description":"Remove all members in a sorted set within the given indices.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"zRemRangeByRank", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"key":{"metadata":{"label":"key", "description":"Key of the sorted set\n"}, "valueType":"Expression", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "min":{"metadata":{"label":"min", "description":"Minimum index of the range\n"}, "valueType":"Expression", "value":"0", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"int", "category":"builtin"}}, "order":1}, "max":{"metadata":{"label":"max", "description":"Maximum index of the range\n"}, "valueType":"Expression", "value":"0", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"int", "category":"builtin"}}, "order":2}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:zRemRangeByScore":{"metadata":{"label":"zRemRangeByScore", "description":"Remove all members in a sorted set within the given scores.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"zRemRangeByScore", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"key":{"metadata":{"label":"key", "description":"Key of the sorted set\n"}, "valueType":"Expression", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "min":{"metadata":{"label":"min", "description":"Minimum score of the range\n"}, "valueType":"Expression", "value":"0.0", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"float", "category":"builtin"}}, "order":1}, "max":{"metadata":{"label":"max", "description":"Maximum score of the range\n"}, "valueType":"Expression", "value":"0.0", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"float", "category":"builtin"}}, "order":2}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:zRevRange":{"metadata":{"label":"zRevRange", "description":"Return a range of members in a sorted set, by index, ordered highest to lowest.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"zRevRange", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"key":{"metadata":{"label":"key", "description":"Key of the sorted set\n"}, "valueType":"Expression", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "min":{"metadata":{"label":"min", "description":"Minimum index of the range\n"}, "valueType":"Expression", "value":"0", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"int", "category":"builtin"}}, "order":1}, "max":{"metadata":{"label":"max", "description":"Maximum index of the range\n"}, "valueType":"Expression", "value":"0", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"int", "category":"builtin"}}, "order":2}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:zRevRangeByScore":{"metadata":{"label":"zRevRangeByScore", "description":"Return a range of members in a sorted set, by score from highest to lowest.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"zRevRangeByScore", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"key":{"metadata":{"label":"key", "description":"Key of the sorted set\n"}, "valueType":"Expression", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "min":{"metadata":{"label":"min", "description":"Minimum score of the range\n"}, "valueType":"Expression", "value":"0.0", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"float", "category":"builtin"}}, "order":1}, "max":{"metadata":{"label":"max", "description":"Maximum score of the range\n"}, "valueType":"Expression", "value":"0.0", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"float", "category":"builtin"}}, "order":2}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:zRevRank":{"metadata":{"label":"zRevRank", "description":"Determine the index of a member in a sorted set\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"zRevRank", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"key":{"metadata":{"label":"key", "description":"Key of the sorted set\n"}, "valueType":"Expression", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "member":{"metadata":{"label":"member", "description":"Member of which the index needs to be obtained\n"}, "valueType":"Expression", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":1}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:zScore":{"metadata":{"label":"zScore", "description":"Determine the score of a member in a sorted set\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"zScore", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"key":{"metadata":{"label":"key", "description":"Key of the sorted set\n"}, "valueType":"Expression", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "member":{"metadata":{"label":"member", "description":"Member of which the score needs to be obtained\n"}, "valueType":"Expression", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":1}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:zUnionStore":{"metadata":{"label":"zUnionStore", "description":"Return the union of multiple sorted sets\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"zUnionStore", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"destination":{"metadata":{"label":"destination", "description":"Destination key of the resulting set\n"}, "valueType":"Expression", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "keys":{"metadata":{"label":"keys", "description":"Array of keys of sorted sets\n"}, "valueType":"Expression", "value":"[]", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"isArrayType":true, "arrayDimensions":1, "elementType":{"name":"string", "category":"builtin"}}}, "order":1}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:hDel":{"metadata":{"label":"hDel", "description":"Delete one or more hash fields.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"hDel", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"key":{"metadata":{"label":"key", "description":"Key of the hash\n"}, "valueType":"Expression", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "fields":{"metadata":{"label":"fields", "description":"Array of fields to be deleted\n"}, "valueType":"Expression", "value":"[]", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"isArrayType":true, "arrayDimensions":1, "elementType":{"name":"string", "category":"builtin"}}}, "order":1}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:hExists":{"metadata":{"label":"hExists", "description":"Determine if a hash field exists.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"hExists", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"key":{"metadata":{"label":"key", "description":"Key of the hash\n"}, "valueType":"Expression", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "'field":{"metadata":{"label":"'field", "description":""}, "valueType":"Expression", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":1}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:hGet":{"metadata":{"label":"hGet", "description":"Get the value of a hash field.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"hGet", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"key":{"metadata":{"label":"key", "description":"Key of the hash\n"}, "valueType":"Expression", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "'field":{"metadata":{"label":"'field", "description":""}, "valueType":"Expression", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":1}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:hGetAll":{"metadata":{"label":"hGetAll", "description":"Get the all values of a hash.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"hGetAll", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"key":{"metadata":{"label":"key", "description":"Key of the hash\n"}, "valueType":"Expression", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:hIncrBy":{"metadata":{"label":"hIncrBy", "description":"Increment the integer value of a hash field by the given number.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"hIncrBy", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"key":{"metadata":{"label":"key", "description":"Key of the hash\n"}, "valueType":"Expression", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "'field":{"metadata":{"label":"'field", "description":""}, "valueType":"Expression", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":1}, "amount":{"metadata":{"label":"amount", "description":"Amount to increment\n"}, "valueType":"Expression", "value":"0", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"int", "category":"builtin"}}, "order":2}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:hIncrByFloat":{"metadata":{"label":"hIncrByFloat", "description":"Increment the float value of a hash field by the given number.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"hIncrByFloat", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"key":{"metadata":{"label":"key", "description":"Key of the hash\n"}, "valueType":"Expression", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "'field":{"metadata":{"label":"'field", "description":""}, "valueType":"Expression", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":1}, "amount":{"metadata":{"label":"amount", "description":"Amount to increment\n"}, "valueType":"Expression", "value":"0.0", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"float", "category":"builtin"}}, "order":2}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:hKeys":{"metadata":{"label":"hKeys", "description":"Get all the fields in a hash.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"hKeys", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"key":{"metadata":{"label":"key", "description":"Key of the hash\n"}, "valueType":"Expression", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:hLen":{"metadata":{"label":"hLen", "description":"Get the number of fields in a hash.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"hLen", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"key":{"metadata":{"label":"key", "description":"Key of the hash\n"}, "valueType":"Expression", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:hMGet":{"metadata":{"label":"hMGet", "description":"Get the values of all the given hash fields.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"hMGet", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"key":{"metadata":{"label":"key", "description":"Key of the hash\n"}, "valueType":"Expression", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "fields":{"metadata":{"label":"fields", "description":"Array of hash fields\n"}, "valueType":"Expression", "value":"[]", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"isArrayType":true, "arrayDimensions":1, "elementType":{"name":"string", "category":"builtin"}}}, "order":1}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:hMSet":{"metadata":{"label":"hMSet", "description":"Set multiple hash fields to multiple values.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"hMSet", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"key":{"metadata":{"label":"key", "description":"Key of the hash\n"}, "valueType":"Expression", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "fieldValueMap":{"metadata":{"label":"fieldValueMap", "description":"Map of field-value pairs\n"}, "valueType":"Expression", "value":"{}", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"map", "category":"map", "constraint":{"name":"any", "category":"builtin"}}}, "order":1}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:hSet":{"metadata":{"label":"hSet", "description":"Set the string value of a hash field.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"hSet", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"key":{"metadata":{"label":"key", "description":"Key of the hash\n"}, "valueType":"Expression", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "'field":{"metadata":{"label":"'field", "description":""}, "valueType":"Expression", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":1}, "value":{"metadata":{"label":"value", "description":"Value to be set to the field\n"}, "valueType":"Expression", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":2}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:hSetNx":{"metadata":{"label":"hSetNx", "description":"Set the string value of a hash field, only if the field does not exist.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"hSetNx", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"key":{"metadata":{"label":"key", "description":"Key of the hash\n"}, "valueType":"Expression", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "'field":{"metadata":{"label":"'field", "description":""}, "valueType":"Expression", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":1}, "value":{"metadata":{"label":"value", "description":"Value to be set to the field\n"}, "valueType":"Expression", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":2}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:hStrLen":{"metadata":{"label":"hStrLen", "description":"Get the string length of the field value in a hash.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"hStrLen", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"key":{"metadata":{"label":"key", "description":"Key of the hash\n"}, "valueType":"Expression", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "'field":{"metadata":{"label":"'field", "description":""}, "valueType":"Expression", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":1}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:hVals":{"metadata":{"label":"hVals", "description":"Get all the values in a hash.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"hVals", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"key":{"metadata":{"label":"key", "description":"Key of the hash\n"}, "valueType":"Expression", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:del":{"metadata":{"label":"del", "description":"Delete one or more keys.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"del", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"keys":{"metadata":{"label":"keys", "description":"Key to be deleted\n"}, "valueType":"Expression", "value":"[]", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"isArrayType":true, "arrayDimensions":1, "elementType":{"name":"string", "category":"builtin"}}}, "order":0}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:exists":{"metadata":{"label":"exists", "description":"Determine how many keys exist.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"exists", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"keys":{"metadata":{"label":"keys", "description":"Keys of which existence to be found out\n"}, "valueType":"Expression", "value":"[]", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"isArrayType":true, "arrayDimensions":1, "elementType":{"name":"string", "category":"builtin"}}}, "order":0}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:expire":{"metadata":{"label":"expire", "description":"Set a key's time to live in seconds.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"expire", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"key":{"metadata":{"label":"key", "description":"Keys of which expiry time to be set\n"}, "valueType":"Expression", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "seconds":{"metadata":{"label":"seconds", "description":"Expiry in seconds\n"}, "valueType":"Expression", "value":"0", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"int", "category":"builtin"}}, "order":1}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:keys":{"metadata":{"label":"keys", "description":"Find all keys matching the given pattern.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"keys", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"pattern":{"metadata":{"label":"pattern", "description":"Pattern to match\n"}, "valueType":"Expression", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:move":{"metadata":{"label":"move", "description":"Move a key to another database.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"move", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"key":{"metadata":{"label":"key", "description":"Key to be moved\n"}, "valueType":"Expression", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "database":{"metadata":{"label":"database", "description":"Database to which the key needs to be moved\n"}, "valueType":"Expression", "value":"0", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"int", "category":"builtin"}}, "order":1}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:persist":{"metadata":{"label":"persist", "description":"Remove the expiration from a key.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"persist", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"key":{"metadata":{"label":"key", "description":"Key of which expiry time should be removed\n"}, "valueType":"Expression", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:pExpire":{"metadata":{"label":"pExpire", "description":"Set a key's time to live in milliseconds.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"pExpire", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"key":{"metadata":{"label":"key", "description":"Key of which expiry time should be removed\n"}, "valueType":"Expression", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "expirationTime":{"metadata":{"label":"expirationTime", "description":"Expiry time in milli seconds\n"}, "valueType":"Expression", "value":"0", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"int", "category":"builtin"}}, "order":1}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:pTtl":{"metadata":{"label":"pTtl", "description":"Get the time to live for a key in milliseconds.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"pTtl", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"key":{"metadata":{"label":"key", "description":"Key of which time-to-live should be obtained\n"}, "valueType":"Expression", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:randomKey":{"metadata":{"label":"randomKey", "description":"Return a random key from the keyspace.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"randomKey", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:rename":{"metadata":{"label":"rename", "description":"Rename a key.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"rename", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"key":{"metadata":{"label":"key", "description":"Key to be renamed\n"}, "valueType":"Expression", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "newName":{"metadata":{"label":"newName", "description":"New name of the key\n"}, "valueType":"Expression", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":1}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:renameNx":{"metadata":{"label":"renameNx", "description":"Rename a key, only if the new key does not exist.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"renameNx", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"key":{"metadata":{"label":"key", "description":"Key to be renamed\n"}, "valueType":"Expression", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "newName":{"metadata":{"label":"newName", "description":"New name of the key\n"}, "valueType":"Expression", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":1}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:sort":{"metadata":{"label":"sort", "description":"Sort elements in a list, set or sorted set.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"sort", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"key":{"metadata":{"label":"key", "description":"Key of the data type to be sorted\n"}, "valueType":"Expression", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:ttl":{"metadata":{"label":"ttl", "description":"Get the time to live for a key.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"ttl", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"key":{"metadata":{"label":"key", "description":"Key of which the time to live needs to be obtained\n"}, "valueType":"Expression", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:redisType":{"metadata":{"label":"redisType", "description":"Determine the type stored at key.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"redisType", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"key":{"metadata":{"label":"key", "description":"Key of which the type needs to be obtained\n"}, "valueType":"Expression", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:clusterInfo":{"metadata":{"label":"clusterInfo", "description":"Retrieve information and statistics about the cluster observed by the current node.\nThis command is exclusively available in cluster mode. If the connection is in a non-clustered mode,\nthe API will return a `redis:Error`. Other errors will also be appropriately handled.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"clusterInfo", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:ping":{"metadata":{"label":"ping", "description":"Ping the server.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"ping", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:auth":{"metadata":{"label":"auth", "description":"Authenticate to the server.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"auth", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"password":{"metadata":{"label":"password", "description":"Password to authenticate\n"}, "valueType":"Expression", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:echo":{"metadata":{"label":"echo", "description":"Echo the given string.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"echo", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"message":{"metadata":{"label":"message", "description":"Message to be echo-ed\n"}, "valueType":"Expression", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "NEW_CONNECTION:ballerinax:mssql:Client:init":{"metadata":{"label":"New Connection", "description":"Create a new connection", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_mssql_1.13.0.png"}, "codedata":{"node":"NEW_CONNECTION", "module":"mssql", "symbol":"init", "org":"ballerinax", "object":"Client", "importStmt":"import ballerinax/mssql as mssql;", "flags":1}, "properties":{"host":{"metadata":{"label":"host", "description":"Hostname of the MSSQL server\n"}, "valueType":"Expression", "value":"\"localhost\"", "optional":true, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "user":{"metadata":{"label":"user", "description":"If the MSSQL server is secured, the username\n"}, "valueType":"Expression", "value":"\"sa\"", "optional":true, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin", "isNullable":true}}, "order":1}, "password":{"metadata":{"label":"password", "description":"The password of the MSSQL server for the provided username\n"}, "valueType":"Expression", "value":"()", "optional":true, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin", "isNullable":true}}, "order":2}, "database":{"metadata":{"label":"database", "description":"The name of the database\n"}, "valueType":"Expression", "value":"()", "optional":true, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin", "isNullable":true}}, "order":3}, "port":{"metadata":{"label":"port", "description":"Port number of the MSSQL server\n"}, "valueType":"Expression", "value":"1433", "optional":true, "editable":true, "valueTypeConstraints":{"type":{"name":"int", "category":"builtin"}}, "order":4}, "instance":{"metadata":{"label":"instance", "description":"Instance name of the MSSQL server\n"}, "valueType":"Expression", "value":"\"\"", "optional":true, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":5}, "options":{"metadata":{"label":"options", "description":"MSSQL database connection options\n"}, "valueType":"Expression", "value":"()", "optional":true, "editable":true, "valueTypeConstraints":{"type":{"name":"Options", "category":"records", "isNullable":true, "orgName":"ballerinax", "moduleName":"mssql", "version":"1.13.0"}}, "order":6}, "connectionPool":{"metadata":{"label":"connectionPool", "description":"The `sql:ConnectionPool` to be used for the connection. If there is no\n`connectionPool` provided, the global connection pool (shared by all clients) will be used\n"}, "valueType":"Expression", "value":"()", "optional":true, "editable":true, "valueTypeConstraints":{"type":{"name":"ConnectionPool", "category":"reference", "isNullable":true, "moduleName":"sql"}}, "order":7}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"mssql:Client"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"mssql:Client", "valueTypeConstraints":{"typeOf":["mssql:Client"]}, "order":2, "group":"Basic"}, "scope":{"metadata":{"label":"Scope", "description":"Scope of the connection"}, "valueType":"Enum", "value":"Global", "advanced":true, "valueTypeConstraints":{"enum":["Global", "Service", "Local"]}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:mssql:Client:query":{"metadata":{"label":"query", "description":"Executes the query, which may return multiple results.\nWhen processing the stream, make sure to consume all fetched data or close the stream.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_mssql_1.13.0.png"}, "codedata":{"node":"ACTION_CALL", "module":"mssql", "symbol":"query", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"sqlQuery":{"metadata":{"label":"sqlQuery", "description":"The SQL query such as `` `SELECT * from Album WHERE name=${albumName}` ``\n"}, "valueType":"Expression", "value":"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"ParameterizedQuery", "category":"reference", "moduleName":"sql"}}, "order":0}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"map"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"map", "valueTypeConstraints":{"typeOf":["map"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"mssql:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:mssql:Client:queryRow":{"metadata":{"label":"queryRow", "description":"Executes the query, which is expected to return at most one row of the result.\nIf the query does not return any results, an `sql:NoRowsError` is returned.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_mssql_1.13.0.png"}, "codedata":{"node":"ACTION_CALL", "module":"mssql", "symbol":"queryRow", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"sqlQuery":{"metadata":{"label":"sqlQuery", "description":"The SQL query such as `` `SELECT * from Album WHERE name=${albumName}` ``\n"}, "valueType":"Expression", "value":"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"ParameterizedQuery", "category":"reference", "moduleName":"sql"}}, "order":0}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"json"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"json", "valueTypeConstraints":{"typeOf":["json"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"mssql:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:mssql:Client:execute":{"metadata":{"label":"execute", "description":"Executes the SQL query. Only the metadata of the execution is returned (not the results from the query).\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_mssql_1.13.0.png"}, "codedata":{"node":"ACTION_CALL", "module":"mssql", "symbol":"execute", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"sqlQuery":{"metadata":{"label":"sqlQuery", "description":"The SQL query such as `` `DELETE FROM Album WHERE artist=${artistName}` ``\n"}, "valueType":"Expression", "value":"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"ParameterizedQuery", "category":"reference", "moduleName":"sql"}}, "order":0}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"mssql:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:mssql:Client:batchExecute":{"metadata":{"label":"batchExecute", "description":"Executes an SQL query with multiple sets of parameters in a batch. Only the metadata of the execution is\nreturned (not results from the query). If one of the commands in the batch fails (except syntax error),\nthe `sql:BatchExecuteError` will be deferred until the remaining commands are completed.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_mssql_1.13.0.png"}, "codedata":{"node":"ACTION_CALL", "module":"mssql", "symbol":"batchExecute", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"sqlQueries":{"metadata":{"label":"sqlQueries", "description":"The SQL query with multiple sets of parameters\n"}, "valueType":"Expression", "value":"[]", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"isArrayType":true, "arrayDimensions":1, "elementType":{"name":"ParameterizedQuery", "category":"reference", "moduleName":"sql"}}}, "order":0}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"mssql:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:mssql:Client:call":{"metadata":{"label":"call", "description":"Executes an SQL query, which calls a stored procedure. This may or may not\nreturn results. Once the results are processed, the `close` method on `sql:ProcedureCallResult` must be called.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_mssql_1.13.0.png"}, "codedata":{"node":"ACTION_CALL", "module":"mssql", "symbol":"call", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"sqlQuery":{"metadata":{"label":"sqlQuery", "description":"The SQL query such as `` `CALL sp_GetAlbums();` ``\n"}, "valueType":"Expression", "value":"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"ParameterizedCallQuery", "category":"reference", "moduleName":"sql"}}, "order":0}, "rowTypes":{"metadata":{"label":"rowTypes", "description":"`typedesc` array of the records to which the results need to be returned\n"}, "valueType":"Expression", "value":"[]", "optional":true, "editable":true, "valueTypeConstraints":{"type":{"isArrayType":true, "arrayDimensions":1, "elementType":{"isTypeDesc":true, "elementType":{"category":"inline_record"}}}}, "order":1}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"mssql:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "NEW_CONNECTION:ballerinax:oracledb:Client:init":{"metadata":{"label":"New Connection", "description":"Create a new connection", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_oracledb_1.11.0.png"}, "codedata":{"node":"NEW_CONNECTION", "module":"oracledb", "symbol":"init", "org":"ballerinax", "object":"Client", "importStmt":"import ballerinax/oracledb as oracledb;", "flags":1}, "properties":{"host":{"metadata":{"label":"host", "description":"Hostname of the Oracle database server\n"}, "valueType":"Expression", "value":"\"localhost\"", "optional":true, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "user":{"metadata":{"label":"user", "description":"Name of a user of the Oracle database server\n"}, "valueType":"Expression", "value":"\"sys\"", "optional":true, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin", "isNullable":true}}, "order":1}, "password":{"metadata":{"label":"password", "description":"The password of the Oracle database server for the provided username\n"}, "valueType":"Expression", "value":"()", "optional":true, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin", "isNullable":true}}, "order":2}, "database":{"metadata":{"label":"database", "description":"System identifier or the service name of the database\n"}, "valueType":"Expression", "value":"()", "optional":true, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin", "isNullable":true}}, "order":3}, "port":{"metadata":{"label":"port", "description":"Port number of the Oracle database server\n"}, "valueType":"Expression", "value":"1521", "optional":true, "editable":true, "valueTypeConstraints":{"type":{"name":"int", "category":"builtin"}}, "order":4}, "options":{"metadata":{"label":"options", "description":"Oracle database connection properties\n"}, "valueType":"Expression", "value":"()", "optional":true, "editable":true, "valueTypeConstraints":{"type":{"name":"Options", "category":"records", "isNullable":true, "orgName":"ballerinax", "moduleName":"oracledb", "version":"1.11.0"}}, "order":5}, "connectionPool":{"metadata":{"label":"connectionPool", "description":"The `sql:ConnectionPool` object to be used within the client. If there is no\n`connectionPool` provided, the global connection pool will be used\n"}, "valueType":"Expression", "value":"()", "optional":true, "editable":true, "valueTypeConstraints":{"type":{"name":"ConnectionPool", "category":"libs", "isNullable":true, "orgName":"ballerina", "moduleName":"sql", "version":"1.11.0"}}, "order":6}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"oracledb:Client"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"oracledb:Client", "valueTypeConstraints":{"typeOf":["oracledb:Client"]}, "order":2, "group":"Basic"}, "scope":{"metadata":{"label":"Scope", "description":"Scope of the connection"}, "valueType":"Enum", "value":"Global", "advanced":true, "valueTypeConstraints":{"enum":["Global", "Service", "Local"]}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:oracledb:Client:query":{"metadata":{"label":"query", "description":"Executes the query, which may return multiple results.\nWhen processing the stream, make sure to consume all fetched data or close the stream.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_oracledb_1.11.0.png"}, "codedata":{"node":"ACTION_CALL", "module":"oracledb", "symbol":"query", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"sqlQuery":{"metadata":{"label":"sqlQuery", "description":"The SQL query such as `` `SELECT * from Album WHERE name=${albumName}` ``\n"}, "valueType":"Expression", "value":"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"ParameterizedQuery", "category":"libs", "orgName":"ballerina", "moduleName":"sql", "version":"1.11.0"}}, "order":0}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"map"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"map", "valueTypeConstraints":{"typeOf":["map"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"oracledb:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:oracledb:Client:queryRow":{"metadata":{"label":"queryRow", "description":"Executes the query, which is expected to return at most one row of the result.\nIf the query does not return any results, an `sql:NoRowsError` is returned.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_oracledb_1.11.0.png"}, "codedata":{"node":"ACTION_CALL", "module":"oracledb", "symbol":"queryRow", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"sqlQuery":{"metadata":{"label":"sqlQuery", "description":"The SQL query such as `` `SELECT * from Album WHERE name=${albumName}` ``\n"}, "valueType":"Expression", "value":"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"ParameterizedQuery", "category":"libs", "orgName":"ballerina", "moduleName":"sql", "version":"1.11.0"}}, "order":0}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"json"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"json", "valueTypeConstraints":{"typeOf":["json"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"oracledb:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:oracledb:Client:execute":{"metadata":{"label":"execute", "description":"Executes the SQL query. Only the metadata of the execution is returned (not the results from the query).\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_oracledb_1.11.0.png"}, "codedata":{"node":"ACTION_CALL", "module":"oracledb", "symbol":"execute", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"sqlQuery":{"metadata":{"label":"sqlQuery", "description":"The SQL query such as `` `DELETE FROM Album WHERE artist=${artistName}` ``\n"}, "valueType":"Expression", "value":"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"ParameterizedQuery", "category":"libs", "orgName":"ballerina", "moduleName":"sql", "version":"1.11.0"}}, "order":0}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"oracledb:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:oracledb:Client:batchExecute":{"metadata":{"label":"batchExecute", "description":"Executes the SQL query with multiple sets of parameters in a batch. Only the metadata of the execution is returned (not results from the query).\nIf one of the commands in the batch fails, the `sql:BatchExecuteError` will be returned immediately.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_oracledb_1.11.0.png"}, "codedata":{"node":"ACTION_CALL", "module":"oracledb", "symbol":"batchExecute", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"sqlQueries":{"metadata":{"label":"sqlQueries", "description":"The SQL query with multiple sets of parameters\n"}, "valueType":"Expression", "value":"[]", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"isArrayType":true, "arrayDimensions":1, "elementType":{"name":"ParameterizedQuery", "category":"libs", "orgName":"ballerina", "moduleName":"sql", "version":"1.11.0"}}}, "order":0}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"oracledb:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:oracledb:Client:call":{"metadata":{"label":"call", "description":"Executes an SQL query, which calls a stored procedure. This may or may not\nreturn results. Once the results are processed, the `close` method on `sql:ProcedureCallResult` must be called.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_oracledb_1.11.0.png"}, "codedata":{"node":"ACTION_CALL", "module":"oracledb", "symbol":"call", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"sqlQuery":{"metadata":{"label":"sqlQuery", "description":"The SQL query such as `` `CALL sp_GetAlbums();` ``\n"}, "valueType":"Expression", "value":"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"ParameterizedCallQuery", "category":"libs", "orgName":"ballerina", "moduleName":"sql", "version":"1.11.0"}}, "order":0}, "rowTypes":{"metadata":{"label":"rowTypes", "description":"`typedesc` array of the records to which the results need to be returned\n"}, "valueType":"Expression", "value":"[]", "optional":true, "editable":true, "valueTypeConstraints":{"type":{"isArrayType":true, "arrayDimensions":1, "elementType":{"isTypeDesc":true, "elementType":{"category":"inline_record"}}}}, "order":1}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"oracledb:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "NEW_CONNECTION:ballerinax:mongodb:Client:init":{"metadata":{"label":"New Connection", "description":"Create a new connection", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_mongodb_5.0.0.png"}, "codedata":{"node":"NEW_CONNECTION", "module":"mongodb", "symbol":"init", "org":"ballerinax", "object":"Client", "importStmt":"import ballerinax/mongodb as mongodb;", "flags":1}, "properties":{"config":{"metadata":{"label":"config", "description":"The connection configurations for connecting to a MongoDB server\n"}, "valueType":"Expression", "value":"{}", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"ConnectionConfig", "category":"records", "isInclusion":true, "orgName":"ballerinax", "moduleName":"mongodb", "version":"5.0.0"}}, "order":0}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"mongodb:Client"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"mongodb:Client", "valueTypeConstraints":{"typeOf":["mongodb:Client"]}, "order":2, "group":"Basic"}, "scope":{"metadata":{"label":"Scope", "description":"Scope of the connection"}, "valueType":"Enum", "value":"Global", "advanced":true, "valueTypeConstraints":{"enum":["Global", "Service", "Local"]}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:mongodb:Client:listDatabaseNames":{"metadata":{"label":"listDatabaseNames", "description":"Lists the database names in the MongoDB server.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_mongodb_5.0.0.png"}, "codedata":{"node":"ACTION_CALL", "module":"mongodb", "symbol":"listDatabaseNames", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"mongodb:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:mongodb:Client:getDatabase":{"metadata":{"label":"getDatabase", "description":"Retrieves a database from the MongoDB server.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_mongodb_5.0.0.png"}, "codedata":{"node":"ACTION_CALL", "module":"mongodb", "symbol":"getDatabase", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"databaseName":{"metadata":{"label":"databaseName", "description":"Name of the database\n"}, "valueType":"Expression", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"mongodb:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:mongodb:Client:close":{"metadata":{"label":"close", "description":"Closes the client.\n\n> **Note:** Use a single client instance for the lifetime of the application and close it when the application is done.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_mongodb_5.0.0.png"}, "codedata":{"node":"ACTION_CALL", "module":"mongodb", "symbol":"close", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"mongodb:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "NEW_CONNECTION:ballerinax:postgresql:Client:init":{"metadata":{"label":"New Connection", "description":"Create a new connection", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_postgresql_1.13.0.png"}, "codedata":{"node":"NEW_CONNECTION", "module":"postgresql", "symbol":"init", "org":"ballerinax", "object":"Client", "importStmt":"import ballerinax/postgresql as postgresql;", "flags":1}, "properties":{"host":{"metadata":{"label":"host", "description":"Hostname of the PostgreSQL server\n"}, "valueType":"Expression", "value":"\"localhost\"", "optional":true, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "username":{"metadata":{"label":"username", "description":""}, "valueType":"Expression", "value":"\"postgres\"", "optional":true, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin", "isNullable":true}}, "order":1}, "password":{"metadata":{"label":"password", "description":"The password of the PostgreSQL server for the provided username\n"}, "valueType":"Expression", "value":"()", "optional":true, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin", "isNullable":true}}, "order":2}, "database":{"metadata":{"label":"database", "description":"The name of the database. The default is to connect to a database with the\nsame name as the username\n"}, "valueType":"Expression", "value":"()", "optional":true, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin", "isNullable":true}}, "order":3}, "port":{"metadata":{"label":"port", "description":"Port number of the PostgreSQL server\n"}, "valueType":"Expression", "value":"5432", "optional":true, "editable":true, "valueTypeConstraints":{"type":{"name":"int", "category":"builtin"}}, "order":4}, "options":{"metadata":{"label":"options", "description":"The database specific PostgreSQL connection properties\n"}, "valueType":"Expression", "value":"()", "optional":true, "editable":true, "valueTypeConstraints":{"type":{"name":"Options", "category":"records", "isNullable":true, "orgName":"ballerinax", "moduleName":"postgresql", "version":"1.13.0"}}, "order":5}, "connectionPool":{"metadata":{"label":"connectionPool", "description":"The `sql:ConnectionPool` object to be used within the client. If there is no\n`connectionPool` provided, the global connection pool will be used\n"}, "valueType":"Expression", "value":"()", "optional":true, "editable":true, "valueTypeConstraints":{"type":{"name":"ConnectionPool", "category":"reference", "isNullable":true, "moduleName":"sql"}}, "order":6}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"postgresql:Client"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"postgresql:Client", "valueTypeConstraints":{"typeOf":["postgresql:Client"]}, "order":2, "group":"Basic"}, "scope":{"metadata":{"label":"Scope", "description":"Scope of the connection"}, "valueType":"Enum", "value":"Global", "advanced":true, "valueTypeConstraints":{"enum":["Global", "Service", "Local"]}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:postgresql:Client:query":{"metadata":{"label":"query", "description":"Executes the query, which may return multiple results.\nWhen processing the stream, make sure to consume all fetched data or close the stream.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_postgresql_1.13.0.png"}, "codedata":{"node":"ACTION_CALL", "module":"postgresql", "symbol":"query", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"sqlQuery":{"metadata":{"label":"sqlQuery", "description":"The SQL query such as `` `SELECT * from Album WHERE name=${albumName}` ``\n"}, "valueType":"Expression", "value":"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"ParameterizedQuery", "category":"reference", "moduleName":"sql"}}, "order":0}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"map"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"map", "valueTypeConstraints":{"typeOf":["map"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"postgresql:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:postgresql:Client:queryRow":{"metadata":{"label":"queryRow", "description":"Executes the query, which is expected to return at most one row of the result.\nIf the query does not return any results, an `sql:NoRowsError` is returned.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_postgresql_1.13.0.png"}, "codedata":{"node":"ACTION_CALL", "module":"postgresql", "symbol":"queryRow", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"sqlQuery":{"metadata":{"label":"sqlQuery", "description":"The SQL query such as `` `SELECT * from Album WHERE name=${albumName}` ``\n"}, "valueType":"Expression", "value":"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"ParameterizedQuery", "category":"reference", "moduleName":"sql"}}, "order":0}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"json"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"json", "valueTypeConstraints":{"typeOf":["json"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"postgresql:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:postgresql:Client:execute":{"metadata":{"label":"execute", "description":"Executes the SQL query. Only the metadata of the execution is returned (not the results from the query).\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_postgresql_1.13.0.png"}, "codedata":{"node":"ACTION_CALL", "module":"postgresql", "symbol":"execute", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"sqlQuery":{"metadata":{"label":"sqlQuery", "description":"The SQL query such as `` `DELETE FROM Album WHERE artist=${artistName}` ``\n"}, "valueType":"Expression", "value":"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"ParameterizedQuery", "category":"reference", "moduleName":"sql"}}, "order":0}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"postgresql:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:postgresql:Client:batchExecute":{"metadata":{"label":"batchExecute", "description":"Executes the SQL query with multiple sets of parameters in a batch. Only the metadata of the execution is returned (not results from the query).\nIf one of the commands in the batch fails, the `sql:BatchExecuteError` will be returned immediately.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_postgresql_1.13.0.png"}, "codedata":{"node":"ACTION_CALL", "module":"postgresql", "symbol":"batchExecute", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"sqlQueries":{"metadata":{"label":"sqlQueries", "description":"The SQL query with multiple sets of parameters\n"}, "valueType":"Expression", "value":"[]", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"isArrayType":true, "arrayDimensions":1, "elementType":{"name":"ParameterizedQuery", "category":"reference", "moduleName":"sql"}}}, "order":0}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"postgresql:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:postgresql:Client:call":{"metadata":{"label":"call", "description":"Executes an SQL query, which calls a stored procedure. This may or may not\nreturn results. Once the results are processed, the `close` method on `sql:ProcedureCallResult` must be called.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_postgresql_1.13.0.png"}, "codedata":{"node":"ACTION_CALL", "module":"postgresql", "symbol":"call", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"sqlQuery":{"metadata":{"label":"sqlQuery", "description":"The SQL query such as `` `CALL sp_GetAlbums();` ``\n"}, "valueType":"Expression", "value":"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"ParameterizedCallQuery", "category":"reference", "moduleName":"sql"}}, "order":0}, "rowTypes":{"metadata":{"label":"rowTypes", "description":"`typedesc` array of the records to which the results need to be returned\n"}, "valueType":"Expression", "value":"[]", "optional":true, "editable":true, "valueTypeConstraints":{"type":{"isArrayType":true, "arrayDimensions":1, "elementType":{"isTypeDesc":true, "elementType":{"category":"inline_record"}}}}, "order":1}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"postgresql:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "FUNCTION_CALL:ballerina:log:printInfo":{"metadata":{"label":"printInfo", "description":"Prints info logs.\n```ballerina\nlog:printInfo(\"info message\", id = 845315)\n```\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerina_log_2.10.0.png"}, "codedata":{"node":"FUNCTION_CALL", "module":"log", "symbol":"printInfo", "org":"ballerina", "importStmt":"import ballerina/log as log", "flags":1}, "properties":{"msg":{"metadata":{"label":"msg", "description":"The message to be logged\n"}, "valueType":"Expression", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "'error":{"metadata":{"label":"'error", "description":"The error struct to be logged\n"}, "valueType":"Expression", "value":"()", "optional":true, "editable":true, "valueTypeConstraints":{"type":{"name":"error", "category":"builtin", "isNullable":true}}, "order":1}, "stackTrace":{"metadata":{"label":"stackTrace", "description":"The error stack trace to be logged\n"}, "valueType":"Expression", "value":"()", "optional":true, "editable":true, "valueTypeConstraints":{"type":{"isArrayType":true, "isNullable":true, "arrayDimensions":1, "elementType":{"name":"StackFrame", "category":"libs", "orgName":"ballerina", "moduleName":"lang.error", "version":"0.0.0"}}}, "order":2}, "keyValues":{"metadata":{"label":"keyValues", "description":"The key-value pairs to be logged\n"}, "valueType":"Expression", "value":"{}", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"KeyValues", "category":"records", "isInclusion":true, "orgName":"ballerina", "moduleName":"log", "version":"2.10.0"}}, "order":3}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}}, "flags":1}, "FUNCTION_CALL:ballerina:log:printError":{"metadata":{"label":"printError", "description":"Prints error logs.\n```ballerina\nerror e = error(\"error occurred\");\nlog:printError(\"error log with cause\", 'error = e, id = 845315);\n```\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerina_log_2.10.0.png"}, "codedata":{"node":"FUNCTION_CALL", "module":"log", "symbol":"printError", "org":"ballerina", "importStmt":"import ballerina/log as log", "flags":1}, "properties":{"msg":{"metadata":{"label":"msg", "description":"The message to be logged\n"}, "valueType":"Expression", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "'error":{"metadata":{"label":"'error", "description":"The error struct to be logged\n"}, "valueType":"Expression", "value":"()", "optional":true, "editable":true, "valueTypeConstraints":{"type":{"name":"error", "category":"builtin", "isNullable":true}}, "order":1}, "stackTrace":{"metadata":{"label":"stackTrace", "description":"The error stack trace to be logged\n"}, "valueType":"Expression", "value":"()", "optional":true, "editable":true, "valueTypeConstraints":{"type":{"isArrayType":true, "isNullable":true, "arrayDimensions":1, "elementType":{"name":"StackFrame", "category":"libs", "orgName":"ballerina", "moduleName":"lang.error", "version":"0.0.0"}}}, "order":2}, "keyValues":{"metadata":{"label":"keyValues", "description":"The key-value pairs to be logged\n"}, "valueType":"Expression", "value":"{}", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"KeyValues", "category":"records", "isInclusion":true, "orgName":"ballerina", "moduleName":"log", "version":"2.10.0"}}, "order":3}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}}, "flags":1}, "FUNCTION_CALL:ballerina:log:printWarn":{"metadata":{"label":"printWarn", "description":"Prints warn logs.\n```ballerina\nlog:printWarn(\"warn message\", id = 845315)\n```\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerina_log_2.10.0.png"}, "codedata":{"node":"FUNCTION_CALL", "module":"log", "symbol":"printWarn", "org":"ballerina", "importStmt":"import ballerina/log as log", "flags":1}, "properties":{"msg":{"metadata":{"label":"msg", "description":"The message to be logged\n"}, "valueType":"Expression", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "'error":{"metadata":{"label":"'error", "description":"The error struct to be logged\n"}, "valueType":"Expression", "value":"()", "optional":true, "editable":true, "valueTypeConstraints":{"type":{"name":"error", "category":"builtin", "isNullable":true}}, "order":1}, "stackTrace":{"metadata":{"label":"stackTrace", "description":"The error stack trace to be logged\n"}, "valueType":"Expression", "value":"()", "optional":true, "editable":true, "valueTypeConstraints":{"type":{"isArrayType":true, "isNullable":true, "arrayDimensions":1, "elementType":{"name":"StackFrame", "category":"libs", "orgName":"ballerina", "moduleName":"lang.error", "version":"0.0.0"}}}, "order":2}, "keyValues":{"metadata":{"label":"keyValues", "description":"The key-value pairs to be logged\n"}, "valueType":"Expression", "value":"{}", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"KeyValues", "category":"records", "isInclusion":true, "orgName":"ballerina", "moduleName":"log", "version":"2.10.0"}}, "order":3}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}}, "flags":1}, "FUNCTION_CALL:ballerina:log:printDebug":{"metadata":{"label":"printDebug", "description":"Prints debug logs.\n```ballerina\nlog:printDebug(\"debug message\", id = 845315)\n```\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerina_log_2.10.0.png"}, "codedata":{"node":"FUNCTION_CALL", "module":"log", "symbol":"printDebug", "org":"ballerina", "importStmt":"import ballerina/log as log", "flags":1}, "properties":{"msg":{"metadata":{"label":"msg", "description":"The message to be logged\n"}, "valueType":"Expression", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "'error":{"metadata":{"label":"'error", "description":"The error struct to be logged\n"}, "valueType":"Expression", "value":"()", "optional":true, "editable":true, "valueTypeConstraints":{"type":{"name":"error", "category":"builtin", "isNullable":true}}, "order":1}, "stackTrace":{"metadata":{"label":"stackTrace", "description":"The error stack trace to be logged\n"}, "valueType":"Expression", "value":"()", "optional":true, "editable":true, "valueTypeConstraints":{"type":{"isArrayType":true, "isNullable":true, "arrayDimensions":1, "elementType":{"name":"StackFrame", "category":"libs", "orgName":"ballerina", "moduleName":"lang.error", "version":"0.0.0"}}}, "order":2}, "keyValues":{"metadata":{"label":"keyValues", "description":"The key-value pairs to be logged\n"}, "valueType":"Expression", "value":"{}", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"KeyValues", "category":"records", "isInclusion":true, "orgName":"ballerina", "moduleName":"log", "version":"2.10.0"}}, "order":3}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}}, "flags":1}, "FUNCTION_CALL:ballerina:data.jsondata:toJson":{"metadata":{"label":"toJson", "description":"Converts a value of type `anydata` to `json`.\n\n", "icon":""}, "codedata":{"node":"FUNCTION_CALL", "module":"data.jsondata", "symbol":"toJson", "org":"ballerina", "importStmt":"import ballerina/data.jsondata as jsondata", "flags":1}, "properties":{"v":{"metadata":{"label":"v", "description":"Source anydata value\n"}, "valueType":"Expression", "value":"{}", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"anydata", "category":"builtin"}}, "order":0}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}}, "flags":1}, "FUNCTION_CALL:ballerina:data.xmldata:toXml":{"metadata":{"label":"toXml", "description":"Converts a `Map` or `Record` representation to its XML representation.\nAdditionally, when converting from a record, the `xmldata:Namespace`, `xmldata:Name`, and `xmldata:Attribute`\nannotations can be used to add `namespaces`, `name of elements`, and `attributes` to XML representation.\n\n", "icon":""}, "codedata":{"node":"FUNCTION_CALL", "module":"data.xmldata", "symbol":"toXml", "org":"ballerina", "importStmt":"import ballerina/data.xmldata as xmldata", "flags":1}, "properties":{"mapValue":{"metadata":{"label":"mapValue", "description":"The `Map` or `Record` representation source to be converted to XML\n"}, "valueType":"Expression", "value":"{}", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"map", "category":"map", "constraint":{"name":"anydata", "category":"builtin"}}}, "order":0}, "options":{"metadata":{"label":"options", "description":"Options to be used for filtering in the projection\n"}, "valueType":"Expression", "value":"{}", "optional":true, "editable":true, "valueTypeConstraints":{"type":{"name":"Options", "category":"records", "orgName":"ballerina", "moduleName":"data.xmldata", "version":"1.0.0"}}, "order":1}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}}, "flags":1}, "FUNCTION_CALL:ballerina:data.jsondata:parseAsType":{"metadata":{"label":"parseAsType", "description":"Convert value of type `json` to subtype of `anydata`.\n\n", "icon":""}, "codedata":{"node":"FUNCTION_CALL", "module":"data.jsondata", "symbol":"parseAsType", "org":"ballerina", "importStmt":"import ballerina/data.jsondata as jsondata", "flags":1}, "properties":{"v":{"metadata":{"label":"v", "description":"Source JSON value\n"}, "valueType":"Expression", "value":"{}", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"json", "category":"builtin"}}, "order":0}, "options":{"metadata":{"label":"options", "description":"Options to be used for filtering in the projection\n"}, "valueType":"Expression", "value":"{}", "optional":true, "editable":true, "valueTypeConstraints":{"type":{"name":"Options", "category":"records", "orgName":"ballerina", "moduleName":"data.jsondata", "version":"0.2.0"}}, "order":1}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"json"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"json", "valueTypeConstraints":{"typeOf":["json"]}, "order":2, "group":"Basic"}}, "flags":1}, "FUNCTION_CALL:ballerina:data.xmldata:parseAsType":{"metadata":{"label":"parseAsType", "description":"Converts XML to record type with projection.\n\n", "icon":""}, "codedata":{"node":"FUNCTION_CALL", "module":"data.xmldata", "symbol":"parseAsType", "org":"ballerina", "importStmt":"import ballerina/data.xmldata as xmldata", "flags":1}, "properties":{"v":{"metadata":{"label":"v", "description":"Source XML value \n"}, "valueType":"Expression", "value":"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"xml", "category":"builtin"}}, "order":0}, "options":{"metadata":{"label":"options", "description":"Options to be used for filtering in the projection\n"}, "valueType":"Expression", "value":"{}", "optional":true, "editable":true, "valueTypeConstraints":{"type":{"name":"SourceOptions", "category":"records", "orgName":"ballerina", "moduleName":"data.xmldata", "version":"1.0.0"}}, "order":1}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"map"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"map", "valueTypeConstraints":{"typeOf":["map"]}, "order":2, "group":"Basic"}}, "flags":1}, "FUNCTION_CALL:ballerina:data.jsondata:read":{"metadata":{"label":"read", "description":"Extract details from the given JSON value using the provided query template expression.\n\n```ballerina\nread({id: 1, \"name\": \"John Doe\"}, `$.name`) => \"John Doe\"\n```\n\n", "icon":""}, "codedata":{"node":"FUNCTION_CALL", "module":"data.jsondata", "symbol":"read", "org":"ballerina", "importStmt":"import ballerina/data.jsondata as jsondata", "flags":1}, "properties":{"'json":{"metadata":{"label":"'json", "description":"JSON value\n"}, "valueType":"Expression", "value":"{}", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"json", "category":"builtin"}}, "order":0}, "query":{"metadata":{"label":"query", "description":"JSON path expression\n"}, "valueType":"Expression", "value":"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"JsonPathRawTemplate", "category":"objectTypes", "orgName":"ballerina", "moduleName":"data.jsondata", "version":"0.2.0"}}, "order":1}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}}, "flags":1}, "FUNCTION_CALL:ballerina:data.jsondata:prettify":{"metadata":{"label":"prettify", "description":"Prettifies a `json` value to print it.\n\n", "icon":""}, "codedata":{"node":"FUNCTION_CALL", "module":"data.jsondata", "symbol":"prettify", "org":"ballerina", "importStmt":"import ballerina/data.jsondata as jsondata", "flags":1}, "properties":{"value":{"metadata":{"label":"value", "description":"The `json` value to be prettified\n"}, "valueType":"Expression", "value":"{}", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"json", "category":"builtin"}}, "order":0}, "indentation":{"metadata":{"label":"indentation", "description":"The number of spaces for an indentation\n"}, "valueType":"Expression", "value":"4", "optional":true, "editable":true, "valueTypeConstraints":{"type":{"name":"int", "category":"builtin"}}, "order":1}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}}, "flags":1}, "FUNCTION_CALL:ballerina:xslt:transform":{"metadata":{"label":"transform", "description":"Transforms the single-rooted XML content to another XML\/HTML\/plain text using XSL transformations.\n```ballerina\nxml|error target = xslt:transform(sourceXml, xsl);\n```\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerina_xslt_2.7.0.png"}, "codedata":{"node":"FUNCTION_CALL", "module":"xslt", "symbol":"transform", "org":"ballerina", "importStmt":"import ballerina/xslt as xslt", "flags":1}, "properties":{"input":{"metadata":{"label":"input", "description":"An XML object, which needs to be transformed\n"}, "valueType":"Expression", "value":"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"xml", "category":"builtin"}}, "order":0}, "xsl":{"metadata":{"label":"xsl", "description":"The XSL style sheet represented in an XML object\n"}, "valueType":"Expression", "value":"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"xml", "category":"builtin"}}, "order":1}, "params":{"metadata":{"label":"params", "description":"Optional parameters passed into the xslt template\n"}, "valueType":"Expression", "value":"{}", "optional":true, "editable":true, "valueTypeConstraints":{"type":{"name":"map", "category":"map", "constraint":{"isAnonymousUnionType":true, "memberTypes":[{"name":"string", "category":"builtin"}, {"name":"decimal", "category":"builtin"}]}}}, "order":2}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}}, "flags":1}, "FUNCTION_CALL:ballerina:io:fileReadCsv":{"metadata":{"label":"fileReadCsv", "description":"Read file content as a CSV.\nWhen the expected data type is record[], the first entry of the csv file should contain matching headers.\n```ballerina\nstring[][]|io:Error content = io:fileReadCsv(\".\/resources\/myfile.csv\");\nrecord{}[]|io:Error content = io:fileReadCsv(\".\/resources\/myfile.csv\");\n```\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerina_io_1.6.1.png"}, "codedata":{"node":"FUNCTION_CALL", "module":"io", "symbol":"fileReadCsv", "org":"ballerina", "importStmt":"import ballerina/io as io", "flags":1}, "properties":{"path":{"metadata":{"label":"path", "description":"The CSV file path\n"}, "valueType":"Expression", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "skipHeaders":{"metadata":{"label":"skipHeaders", "description":"Number of headers, which should be skipped prior to reading records\n"}, "valueType":"Expression", "value":"0", "optional":true, "editable":true, "valueTypeConstraints":{"type":{"name":"int", "category":"builtin"}}, "order":1}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"json"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"json", "valueTypeConstraints":{"typeOf":["json"]}, "order":2, "group":"Basic"}}, "flags":1}, "FUNCTION_CALL:ballerina:io:fileReadJson":{"metadata":{"label":"fileReadJson", "description":"Reads file content as a JSON.\n```ballerina\njson|io:Error content = io:fileReadJson(\".\/resources\/myfile.json\");\n```\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerina_io_1.6.1.png"}, "codedata":{"node":"FUNCTION_CALL", "module":"io", "symbol":"fileReadJson", "org":"ballerina", "importStmt":"import ballerina/io as io", "flags":1}, "properties":{"path":{"metadata":{"label":"path", "description":"The path of the JSON file\n"}, "valueType":"Expression", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}}, "flags":1}, "FUNCTION_CALL:ballerina:io:fileReadBytes":{"metadata":{"label":"fileReadBytes", "description":"Read the entire file content as a byte array.\n```ballerina\nbyte[]|io:Error content = io:fileReadBytes(\".\/resources\/myfile.txt\");\n```\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerina_io_1.6.1.png"}, "codedata":{"node":"FUNCTION_CALL", "module":"io", "symbol":"fileReadBytes", "org":"ballerina", "importStmt":"import ballerina/io as io", "flags":1}, "properties":{"path":{"metadata":{"label":"path", "description":"The path of the file\n"}, "valueType":"Expression", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}}, "flags":1}, "FUNCTION_CALL:ballerina:io:fileReadXml":{"metadata":{"label":"fileReadXml", "description":"Reads file content as an XML.\n```ballerina\nxml|io:Error content = io:fileReadXml(\".\/resources\/myfile.xml\");\n```\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerina_io_1.6.1.png"}, "codedata":{"node":"FUNCTION_CALL", "module":"io", "symbol":"fileReadXml", "org":"ballerina", "importStmt":"import ballerina/io as io", "flags":1}, "properties":{"path":{"metadata":{"label":"path", "description":"The path of the XML file\n"}, "valueType":"Expression", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}}, "flags":1}, "FUNCTION_CALL:ballerina:io:fileWriteCsv":{"metadata":{"label":"fileWriteCsv", "description":"Write CSV content to a file.\nWhen the input is a record[] type in `OVERWRITE`, headers will be written to the CSV file by default.\nFor `APPEND`, order of the existing csv file is inferred using the headers and used as the order.\n```ballerina\ntype Coord record {int x;int y;};\nCoord[] contentRecord = [{x: 1,y: 2},{x: 1,y: 2}]\nstring[][] content = [[\"Anne\", \"Johnson\", \"SE\"], [\"John\", \"Cameron\", \"QA\"]];\nio:Error? result = io:fileWriteCsv(\".\/resources\/myfile.csv\", content);\nio:Error? resultRecord = io:fileWriteCsv(\".\/resources\/myfileRecord.csv\", contentRecord);\n```\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerina_io_1.6.1.png"}, "codedata":{"node":"FUNCTION_CALL", "module":"io", "symbol":"fileWriteCsv", "org":"ballerina", "importStmt":"import ballerina/io as io", "flags":1}, "properties":{"path":{"metadata":{"label":"path", "description":"The CSV file path\n"}, "valueType":"Expression", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "content":{"metadata":{"label":"content", "description":"CSV content as an array of string arrays or a array of Ballerina records\n"}, "valueType":"Expression", "value":"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"isAnonymousUnionType":true, "memberTypes":[{"isArrayType":true, "arrayDimensions":1, "elementType":{"name":"string", "category":"builtin"}}, {"isArrayType":true, "arrayDimensions":1, "elementType":{"name":"map", "category":"map", "constraint":{"name":"anydata", "category":"builtin"}}}]}}, "order":1}, "option":{"metadata":{"label":"option", "description":"To indicate whether to overwrite or append the given content\n"}, "valueType":"Expression", "value":"OVERWRITE", "optional":true, "editable":true, "valueTypeConstraints":{"type":{"name":"FileWriteOption", "category":"enums", "orgName":"ballerina", "moduleName":"io", "version":"1.6.1"}}, "order":2}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}}, "flags":1}, "FUNCTION_CALL:ballerina:io:fileWriteJson":{"metadata":{"label":"fileWriteJson", "description":"Write a JSON to a file.\n```ballerina\njson content = {\"name\": \"Anne\", \"age\": 30};\nio:Error? result = io:fileWriteJson(\".\/resources\/myfile.json\", content);\n```\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerina_io_1.6.1.png"}, "codedata":{"node":"FUNCTION_CALL", "module":"io", "symbol":"fileWriteJson", "org":"ballerina", "importStmt":"import ballerina/io as io", "flags":1}, "properties":{"path":{"metadata":{"label":"path", "description":"The path of the JSON file\n"}, "valueType":"Expression", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "content":{"metadata":{"label":"content", "description":"JSON content to write\n"}, "valueType":"Expression", "value":"{}", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"json", "category":"builtin"}}, "order":1}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}}, "flags":1}, "FUNCTION_CALL:ballerina:io:fileWriteBytes":{"metadata":{"label":"fileWriteBytes", "description":"Write a set of bytes to a file.\n```ballerina\nbyte[] content = [60, 78, 39, 28];\nio:Error? result = io:fileWriteBytes(\".\/resources\/myfile.txt\", content);\n```\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerina_io_1.6.1.png"}, "codedata":{"node":"FUNCTION_CALL", "module":"io", "symbol":"fileWriteBytes", "org":"ballerina", "importStmt":"import ballerina/io as io", "flags":1}, "properties":{"path":{"metadata":{"label":"path", "description":"The path of the file\n"}, "valueType":"Expression", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "content":{"metadata":{"label":"content", "description":"Byte content to write\n"}, "valueType":"Expression", "value":"[]", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"isArrayType":true, "arrayDimensions":1, "elementType":{"name":"byte", "category":"builtin"}}}, "order":1}, "option":{"metadata":{"label":"option", "description":"To indicate whether to overwrite or append the given content\n"}, "valueType":"Expression", "value":"OVERWRITE", "optional":true, "editable":true, "valueTypeConstraints":{"type":{"name":"FileWriteOption", "category":"enums", "orgName":"ballerina", "moduleName":"io", "version":"1.6.1"}}, "order":2}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}}, "flags":1}, "FUNCTION_CALL:ballerina:io:fileWriteXml":{"metadata":{"label":"fileWriteXml", "description":"Write XML content to a file.\n```ballerina\nxml content = xml `The Lost World<\/book>`;\nio:Error? result = io:fileWriteXml(\".\/resources\/myfile.xml\", content);\n```\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerina_io_1.6.1.png"}, "codedata":{"node":"FUNCTION_CALL", "module":"io", "symbol":"fileWriteXml", "org":"ballerina", "importStmt":"import ballerina/io as io", "flags":1}, "properties":{"path":{"metadata":{"label":"path", "description":"The path of the XML file\n"}, "valueType":"Expression", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "content":{"metadata":{"label":"content", "description":"XML content to write\n"}, "valueType":"Expression", "value":"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"xml", "category":"builtin"}}, "order":1}, "fileWriteOption":{"metadata":{"label":"fileWriteOption", "description":"File write option (`OVERWRITE` and `APPEND` are the possible values and the default value is `OVERWRITE`)\n"}, "valueType":"Expression", "value":"OVERWRITE", "optional":true, "editable":true, "valueTypeConstraints":{"type":{"name":"FileWriteOption", "category":"enums", "orgName":"ballerina", "moduleName":"io", "version":"1.6.1"}}, "order":2}, "xmlOptions":{"metadata":{"label":"xmlOptions", "description":"XML writing options (XML entity type and DOCTYPE)\n"}, "valueType":"Expression", "value":"{}", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"XmlWriteOptions", "category":"records", "isInclusion":true, "orgName":"ballerina", "moduleName":"io", "version":"1.6.1"}}, "order":3}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}}, "flags":1}} \ No newline at end of file +{"NEW_CONNECTION:ballerina:http:Client:init":{"metadata":{"label":"New Connection", "description":"Create a new connection", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerina_http_2.12.0.png"}, "codedata":{"node":"NEW_CONNECTION", "module":"http", "symbol":"init", "org":"ballerina", "object":"Client", "importStmt":"import ballerina/http as http;", "flags":1}, "properties":{"url":{"metadata":{"label":"url", "description":"URL of the target service\n"}, "valueType": "EXPRESSION", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "config":{"metadata":{"label":"config", "description":"The configurations to be used when initializing the `client`\n"}, "valueType": "EXPRESSION", "value":"{}", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"ClientConfiguration", "category":"records", "isInclusion":true, "orgName":"ballerina", "moduleName":"http", "version":"2.12.0"}}, "order":1}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"http:Client"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"http:Client", "valueTypeConstraints":{"typeOf":["http:Client"]}, "order":2, "group":"Basic"}, "scope":{"metadata":{"label":"Scope", "description":"Scope of the connection"}, "valueType":"Enum", "value":"Global", "advanced":true, "valueTypeConstraints":{"enum":["Global", "Service", "Local"]}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerina:http:Client:post":{"metadata":{"label":"post", "description":"The `Client.post()` function can be used to send HTTP POST requests to HTTP endpoints.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerina_http_2.12.0.png"}, "codedata":{"node":"ACTION_CALL", "module":"http", "symbol":"post", "org":"ballerina", "object":"Client", "flags":1}, "properties":{"path":{"metadata":{"label":"path", "description":"Resource path\n"}, "valueType": "EXPRESSION", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "message":{"metadata":{"label":"message", "description":"An HTTP outbound request or any allowed payload\n"}, "valueType": "EXPRESSION", "value":"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"RequestMessage", "category":"types", "orgName":"ballerina", "moduleName":"http", "version":"2.12.0"}}, "order":1}, "headers":{"metadata":{"label":"headers", "description":"The entity headers\n"}, "valueType": "EXPRESSION", "value":"()", "optional":true, "editable":true, "valueTypeConstraints":{"type":{"name":"map", "category":"map", "isNullable":true, "constraint":{"isAnonymousUnionType":true, "memberTypes":[{"name":"string", "category":"builtin"}, {"isArrayType":true, "arrayDimensions":1, "elementType":{"name":"string", "category":"builtin"}}]}}}, "order":2}, "mediaType":{"metadata":{"label":"mediaType", "description":"The MIME type header of the request entity\n"}, "valueType": "EXPRESSION", "value":"()", "optional":true, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin", "isNullable":true}}, "order":3}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"json"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"json", "valueTypeConstraints":{"typeOf":["json"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"http:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerina:http:Client:put":{"metadata":{"label":"put", "description":"The `Client.put()` function can be used to send HTTP PUT requests to HTTP endpoints.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerina_http_2.12.0.png"}, "codedata":{"node":"ACTION_CALL", "module":"http", "symbol":"put", "org":"ballerina", "object":"Client", "flags":1}, "properties":{"path":{"metadata":{"label":"path", "description":"Resource path\n"}, "valueType": "EXPRESSION", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "message":{"metadata":{"label":"message", "description":"An HTTP outbound request or any allowed payload\n"}, "valueType": "EXPRESSION", "value":"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"RequestMessage", "category":"types", "orgName":"ballerina", "moduleName":"http", "version":"2.12.0"}}, "order":1}, "headers":{"metadata":{"label":"headers", "description":"The entity headers\n"}, "valueType": "EXPRESSION", "value":"()", "optional":true, "editable":true, "valueTypeConstraints":{"type":{"name":"map", "category":"map", "isNullable":true, "constraint":{"isAnonymousUnionType":true, "memberTypes":[{"name":"string", "category":"builtin"}, {"isArrayType":true, "arrayDimensions":1, "elementType":{"name":"string", "category":"builtin"}}]}}}, "order":2}, "mediaType":{"metadata":{"label":"mediaType", "description":"The MIME type header of the request entity\n"}, "valueType": "EXPRESSION", "value":"()", "optional":true, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin", "isNullable":true}}, "order":3}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"json"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"json", "valueTypeConstraints":{"typeOf":["json"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"http:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerina:http:Client:patch":{"metadata":{"label":"patch", "description":"The `Client.patch()` function can be used to send HTTP PATCH requests to HTTP endpoints.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerina_http_2.12.0.png"}, "codedata":{"node":"ACTION_CALL", "module":"http", "symbol":"patch", "org":"ballerina", "object":"Client", "flags":1}, "properties":{"path":{"metadata":{"label":"path", "description":"Resource path\n"}, "valueType": "EXPRESSION", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "message":{"metadata":{"label":"message", "description":"An HTTP outbound request or any allowed payload\n"}, "valueType": "EXPRESSION", "value":"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"RequestMessage", "category":"types", "orgName":"ballerina", "moduleName":"http", "version":"2.12.0"}}, "order":1}, "headers":{"metadata":{"label":"headers", "description":"The entity headers\n"}, "valueType": "EXPRESSION", "value":"()", "optional":true, "editable":true, "valueTypeConstraints":{"type":{"name":"map", "category":"map", "isNullable":true, "constraint":{"isAnonymousUnionType":true, "memberTypes":[{"name":"string", "category":"builtin"}, {"isArrayType":true, "arrayDimensions":1, "elementType":{"name":"string", "category":"builtin"}}]}}}, "order":2}, "mediaType":{"metadata":{"label":"mediaType", "description":"The MIME type header of the request entity\n"}, "valueType": "EXPRESSION", "value":"()", "optional":true, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin", "isNullable":true}}, "order":3}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"json"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"json", "valueTypeConstraints":{"typeOf":["json"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"http:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerina:http:Client:delete":{"metadata":{"label":"delete", "description":"The `Client.delete()` function can be used to send HTTP DELETE requests to HTTP endpoints.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerina_http_2.12.0.png"}, "codedata":{"node":"ACTION_CALL", "module":"http", "symbol":"delete", "org":"ballerina", "object":"Client", "flags":1}, "properties":{"path":{"metadata":{"label":"path", "description":"Resource path\n"}, "valueType": "EXPRESSION", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "message":{"metadata":{"label":"message", "description":"An optional HTTP outbound request message or any allowed payload\n"}, "valueType": "EXPRESSION", "value":"()", "optional":true, "editable":true, "valueTypeConstraints":{"type":{"name":"RequestMessage", "category":"types", "orgName":"ballerina", "moduleName":"http", "version":"2.12.0"}}, "order":1}, "headers":{"metadata":{"label":"headers", "description":"The entity headers\n"}, "valueType": "EXPRESSION", "value":"()", "optional":true, "editable":true, "valueTypeConstraints":{"type":{"name":"map", "category":"map", "isNullable":true, "constraint":{"isAnonymousUnionType":true, "memberTypes":[{"name":"string", "category":"builtin"}, {"isArrayType":true, "arrayDimensions":1, "elementType":{"name":"string", "category":"builtin"}}]}}}, "order":2}, "mediaType":{"metadata":{"label":"mediaType", "description":"The MIME type header of the request entity\n"}, "valueType": "EXPRESSION", "value":"()", "optional":true, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin", "isNullable":true}}, "order":3}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"json"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"json", "valueTypeConstraints":{"typeOf":["json"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"http:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerina:http:Client:head":{"metadata":{"label":"head", "description":"The `Client.head()` function can be used to send HTTP HEAD requests to HTTP endpoints.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerina_http_2.12.0.png"}, "codedata":{"node":"ACTION_CALL", "module":"http", "symbol":"head", "org":"ballerina", "object":"Client", "flags":1}, "properties":{"path":{"metadata":{"label":"path", "description":"Resource path\n"}, "valueType": "EXPRESSION", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "headers":{"metadata":{"label":"headers", "description":"The entity headers\n"}, "valueType": "EXPRESSION", "value":"()", "optional":true, "editable":true, "valueTypeConstraints":{"type":{"name":"map", "category":"map", "isNullable":true, "constraint":{"isAnonymousUnionType":true, "memberTypes":[{"name":"string", "category":"builtin"}, {"isArrayType":true, "arrayDimensions":1, "elementType":{"name":"string", "category":"builtin"}}]}}}, "order":1}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"http:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerina:http:Client:get":{"metadata":{"label":"get", "description":"The `Client.get()` function can be used to send HTTP GET requests to HTTP endpoints.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerina_http_2.12.0.png"}, "codedata":{"node":"ACTION_CALL", "module":"http", "symbol":"get", "org":"ballerina", "object":"Client", "flags":1}, "properties":{"path":{"metadata":{"label":"path", "description":"Request path\n"}, "valueType": "EXPRESSION", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "headers":{"metadata":{"label":"headers", "description":"The entity headers\n"}, "valueType": "EXPRESSION", "value":"()", "optional":true, "editable":true, "valueTypeConstraints":{"type":{"name":"map", "category":"map", "isNullable":true, "constraint":{"isAnonymousUnionType":true, "memberTypes":[{"name":"string", "category":"builtin"}, {"isArrayType":true, "arrayDimensions":1, "elementType":{"name":"string", "category":"builtin"}}]}}}, "order":1}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"json"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"json", "valueTypeConstraints":{"typeOf":["json"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"http:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerina:http:Client:options":{"metadata":{"label":"options", "description":"The `Client.options()` function can be used to send HTTP OPTIONS requests to HTTP endpoints.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerina_http_2.12.0.png"}, "codedata":{"node":"ACTION_CALL", "module":"http", "symbol":"options", "org":"ballerina", "object":"Client", "flags":1}, "properties":{"path":{"metadata":{"label":"path", "description":"Request path\n"}, "valueType": "EXPRESSION", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "headers":{"metadata":{"label":"headers", "description":"The entity headers\n"}, "valueType": "EXPRESSION", "value":"()", "optional":true, "editable":true, "valueTypeConstraints":{"type":{"name":"map", "category":"map", "isNullable":true, "constraint":{"isAnonymousUnionType":true, "memberTypes":[{"name":"string", "category":"builtin"}, {"isArrayType":true, "arrayDimensions":1, "elementType":{"name":"string", "category":"builtin"}}]}}}, "order":1}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"json"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"json", "valueTypeConstraints":{"typeOf":["json"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"http:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerina:http:Client:execute":{"metadata":{"label":"execute", "description":"Invokes an HTTP call with the specified HTTP verb.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerina_http_2.12.0.png"}, "codedata":{"node":"ACTION_CALL", "module":"http", "symbol":"execute", "org":"ballerina", "object":"Client", "flags":1}, "properties":{"httpVerb":{"metadata":{"label":"httpVerb", "description":"HTTP verb value\n"}, "valueType": "EXPRESSION", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "path":{"metadata":{"label":"path", "description":"Resource path\n"}, "valueType": "EXPRESSION", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":1}, "message":{"metadata":{"label":"message", "description":"An HTTP outbound request or any allowed payload\n"}, "valueType": "EXPRESSION", "value":"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"RequestMessage", "category":"types", "orgName":"ballerina", "moduleName":"http", "version":"2.12.0"}}, "order":2}, "headers":{"metadata":{"label":"headers", "description":"The entity headers\n"}, "valueType": "EXPRESSION", "value":"()", "optional":true, "editable":true, "valueTypeConstraints":{"type":{"name":"map", "category":"map", "isNullable":true, "constraint":{"isAnonymousUnionType":true, "memberTypes":[{"name":"string", "category":"builtin"}, {"isArrayType":true, "arrayDimensions":1, "elementType":{"name":"string", "category":"builtin"}}]}}}, "order":3}, "mediaType":{"metadata":{"label":"mediaType", "description":"The MIME type header of the request entity\n"}, "valueType": "EXPRESSION", "value":"()", "optional":true, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin", "isNullable":true}}, "order":4}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"json"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"json", "valueTypeConstraints":{"typeOf":["json"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"http:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerina:http:Client:forward":{"metadata":{"label":"forward", "description":"The `Client.forward()` function can be used to invoke an HTTP call with inbound request's HTTP verb\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerina_http_2.12.0.png"}, "codedata":{"node":"ACTION_CALL", "module":"http", "symbol":"forward", "org":"ballerina", "object":"Client", "flags":1}, "properties":{"path":{"metadata":{"label":"path", "description":"Request path\n"}, "valueType": "EXPRESSION", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "request":{"metadata":{"label":"request", "description":"An HTTP inbound request message\n"}, "valueType": "EXPRESSION", "value":"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"Request", "category":"classes", "orgName":"ballerina", "moduleName":"http", "version":"2.12.0"}}, "order":1}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"json"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"json", "valueTypeConstraints":{"typeOf":["json"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"http:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerina:http:Client:submit":{"metadata":{"label":"submit", "description":"Submits an HTTP request to a service with the specified HTTP verb.\nThe `Client->submit()` function does not give out a `http:Response` as the result.\nRather it returns an `http:HttpFuture` which can be used to do further interactions with the endpoint.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerina_http_2.12.0.png"}, "codedata":{"node":"ACTION_CALL", "module":"http", "symbol":"submit", "org":"ballerina", "object":"Client", "flags":1}, "properties":{"httpVerb":{"metadata":{"label":"httpVerb", "description":"The HTTP verb value\n"}, "valueType": "EXPRESSION", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "path":{"metadata":{"label":"path", "description":"The resource path\n"}, "valueType": "EXPRESSION", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":1}, "message":{"metadata":{"label":"message", "description":"An HTTP outbound request or any allowed payload\n"}, "valueType": "EXPRESSION", "value":"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"RequestMessage", "category":"types", "orgName":"ballerina", "moduleName":"http", "version":"2.12.0"}}, "order":2}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"http:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerina:http:Client:getResponse":{"metadata":{"label":"getResponse", "description":"This just pass the request to actual network call.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerina_http_2.12.0.png"}, "codedata":{"node":"ACTION_CALL", "module":"http", "symbol":"getResponse", "org":"ballerina", "object":"Client", "flags":1}, "properties":{"httpFuture":{"metadata":{"label":"httpFuture", "description":"The `http:HttpFuture` related to a previous asynchronous invocation\n"}, "valueType": "EXPRESSION", "value":"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"HttpFuture", "category":"classes", "orgName":"ballerina", "moduleName":"http", "version":"2.12.0"}}, "order":0}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"http:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerina:http:Client:hasPromise":{"metadata":{"label":"hasPromise", "description":"This just pass the request to actual network call.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerina_http_2.12.0.png"}, "codedata":{"node":"ACTION_CALL", "module":"http", "symbol":"hasPromise", "org":"ballerina", "object":"Client", "flags":1}, "properties":{"httpFuture":{"metadata":{"label":"httpFuture", "description":"The `http:HttpFuture` relates to a previous asynchronous invocation\n"}, "valueType": "EXPRESSION", "value":"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"HttpFuture", "category":"classes", "orgName":"ballerina", "moduleName":"http", "version":"2.12.0"}}, "order":0}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"http:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerina:http:Client:getNextPromise":{"metadata":{"label":"getNextPromise", "description":"This just pass the request to actual network call.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerina_http_2.12.0.png"}, "codedata":{"node":"ACTION_CALL", "module":"http", "symbol":"getNextPromise", "org":"ballerina", "object":"Client", "flags":1}, "properties":{"httpFuture":{"metadata":{"label":"httpFuture", "description":"The `http:HttpFuture` related to a previous asynchronous invocation\n"}, "valueType": "EXPRESSION", "value":"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"HttpFuture", "category":"classes", "orgName":"ballerina", "moduleName":"http", "version":"2.12.0"}}, "order":0}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"http:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerina:http:Client:getPromisedResponse":{"metadata":{"label":"getPromisedResponse", "description":"Passes the request to an actual network call.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerina_http_2.12.0.png"}, "codedata":{"node":"ACTION_CALL", "module":"http", "symbol":"getPromisedResponse", "org":"ballerina", "object":"Client", "flags":1}, "properties":{"promise":{"metadata":{"label":"promise", "description":"The related `http:PushPromise`\n"}, "valueType": "EXPRESSION", "value":"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"PushPromise", "category":"classes", "orgName":"ballerina", "moduleName":"http", "version":"2.12.0"}}, "order":0}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"http:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerina:http:Client:rejectPromise":{"metadata":{"label":"rejectPromise", "description":"This just pass the request to actual network call.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerina_http_2.12.0.png"}, "codedata":{"node":"ACTION_CALL", "module":"http", "symbol":"rejectPromise", "org":"ballerina", "object":"Client", "flags":1}, "properties":{"promise":{"metadata":{"label":"promise", "description":"The Push Promise to be rejected\n"}, "valueType": "EXPRESSION", "value":"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"PushPromise", "category":"classes", "orgName":"ballerina", "moduleName":"http", "version":"2.12.0"}}, "order":0}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"http:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "NEW_CONNECTION:ballerina:graphql:Client:init":{"metadata":{"label":"New Connection", "description":"Create a new connection", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerina_graphql_1.14.0.png"}, "codedata":{"node":"NEW_CONNECTION", "module":"graphql", "symbol":"init", "org":"ballerina", "object":"Client", "importStmt":"import ballerina/graphql as graphql;", "flags":1}, "properties":{"serviceUrl":{"metadata":{"label":"serviceUrl", "description":"URL of the target service\n"}, "valueType": "EXPRESSION", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "clientConfig":{"metadata":{"label":"clientConfig", "description":"The configurations to be used when initializing the `connector`\n"}, "valueType": "EXPRESSION", "value":"{}", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"ClientConfiguration", "category":"records", "isInclusion":true, "orgName":"ballerina", "moduleName":"graphql", "version":"1.14.0"}}, "order":1}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"graphql:Client"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"graphql:Client", "valueTypeConstraints":{"typeOf":["graphql:Client"]}, "order":2, "group":"Basic"}, "scope":{"metadata":{"label":"Scope", "description":"Scope of the connection"}, "valueType":"Enum", "value":"Global", "advanced":true, "valueTypeConstraints":{"enum":["Global", "Service", "Local"]}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerina:graphql:Client:executeWithType":{"metadata":{"label":"executeWithType", "description":"Executes a GraphQL document and data binds the GraphQL response to a record with data and extensions\nwhich is a subtype of GenericResponse.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerina_graphql_1.14.0.png"}, "codedata":{"node":"ACTION_CALL", "module":"graphql", "symbol":"executeWithType", "org":"ballerina", "object":"Client", "flags":1}, "properties":{"document":{"metadata":{"label":"document", "description":"The GraphQL document. It can include queries & mutations.\nFor example `query OperationName($code:ID!) {country(code:$code) {name}}`.\n"}, "valueType": "EXPRESSION", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "variables":{"metadata":{"label":"variables", "description":"The GraphQL variables. For example `{\"code\": \"\"}`.\n"}, "valueType": "EXPRESSION", "value":"()", "optional":true, "editable":true, "valueTypeConstraints":{"type":{"name":"map", "category":"map", "isNullable":true, "constraint":{"name":"anydata", "category":"builtin"}}}, "order":1}, "operationName":{"metadata":{"label":"operationName", "description":"The GraphQL operation name. If a request has two or more operations, then each operation must have a name.\nA request can only execute one operation, so you must also include the operation name to execute.\n"}, "valueType": "EXPRESSION", "value":"()", "optional":true, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin", "isNullable":true}}, "order":2}, "headers":{"metadata":{"label":"headers", "description":"The GraphQL API headers to execute each query\n"}, "valueType": "EXPRESSION", "value":"()", "optional":true, "editable":true, "valueTypeConstraints":{"type":{"name":"map", "category":"map", "isNullable":true, "constraint":{"isAnonymousUnionType":true, "memberTypes":[{"name":"string", "category":"builtin"}, {"isArrayType":true, "arrayDimensions":1, "elementType":{"name":"string", "category":"builtin"}}]}}}, "order":3}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"json"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"json", "valueTypeConstraints":{"typeOf":["json"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"graphql:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerina:graphql:Client:execute":{"metadata":{"label":"execute", "description":"Executes a GraphQL document and data binds the GraphQL response to a record with data, extensions and errors\nwhich is a subtype of GenericResponseWithErrors.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerina_graphql_1.14.0.png"}, "codedata":{"node":"ACTION_CALL", "module":"graphql", "symbol":"execute", "org":"ballerina", "object":"Client", "flags":1}, "properties":{"document":{"metadata":{"label":"document", "description":"The GraphQL document. It can include queries & mutations.\nFor example `query countryByCode($code:ID!) {country(code:$code) {name}}`.\n"}, "valueType": "EXPRESSION", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "variables":{"metadata":{"label":"variables", "description":"The GraphQL variables. For example `{\"code\": \"\"}`.\n"}, "valueType": "EXPRESSION", "value":"()", "optional":true, "editable":true, "valueTypeConstraints":{"type":{"name":"map", "category":"map", "isNullable":true, "constraint":{"name":"anydata", "category":"builtin"}}}, "order":1}, "operationName":{"metadata":{"label":"operationName", "description":"The GraphQL operation name. If a request has two or more operations, then each operation must have a name.\nA request can only execute one operation, so you must also include the operation name to execute.\n"}, "valueType": "EXPRESSION", "value":"()", "optional":true, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin", "isNullable":true}}, "order":2}, "headers":{"metadata":{"label":"headers", "description":"The GraphQL API headers to execute each query\n"}, "valueType": "EXPRESSION", "value":"()", "optional":true, "editable":true, "valueTypeConstraints":{"type":{"name":"map", "category":"map", "isNullable":true, "constraint":{"isAnonymousUnionType":true, "memberTypes":[{"name":"string", "category":"builtin"}, {"isArrayType":true, "arrayDimensions":1, "elementType":{"name":"string", "category":"builtin"}}]}}}, "order":3}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"json"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"json", "valueTypeConstraints":{"typeOf":["json"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"graphql:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "NEW_CONNECTION:ballerina:grpc:Client:init":{"metadata":{"label":"New Connection", "description":"Create a new connection", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerina_grpc_1.12.0.png"}, "codedata":{"node":"NEW_CONNECTION", "module":"grpc", "symbol":"init", "org":"ballerina", "object":"Client", "importStmt":"import ballerina/grpc as grpc;", "flags":1}, "properties":{"url":{"metadata":{"label":"url", "description":"The server URL\n"}, "valueType": "EXPRESSION", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "config":{"metadata":{"label":"config", "description":"- The client endpoint configurations\n"}, "valueType": "EXPRESSION", "value":"{}", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"ClientConfiguration", "category":"records", "isInclusion":true, "orgName":"ballerina", "moduleName":"grpc", "version":"1.12.0"}}, "order":1}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"grpc:Client"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"grpc:Client", "valueTypeConstraints":{"typeOf":["grpc:Client"]}, "order":2, "group":"Basic"}, "scope":{"metadata":{"label":"Scope", "description":"Scope of the connection"}, "valueType":"Enum", "value":"Global", "advanced":true, "valueTypeConstraints":{"enum":["Global", "Service", "Local"]}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerina:grpc:Client:executeSimpleRPC":{"metadata":{"label":"executeSimpleRPC", "description":"Calls when executing a unary gRPC service.\n```ballerina\n[anydata, map]|grpc:Error result = grpcClient->executeSimpleRPC(\"HelloWorld\/hello\", req, headers);\n```\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerina_grpc_1.12.0.png"}, "codedata":{"node":"ACTION_CALL", "module":"grpc", "symbol":"executeSimpleRPC", "org":"ballerina", "object":"Client", "flags":1}, "properties":{"methodID":{"metadata":{"label":"methodID", "description":"Remote service method ID\n"}, "valueType": "EXPRESSION", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "payload":{"metadata":{"label":"payload", "description":"Request message. The message type varies with the remote service method parameter\n"}, "valueType": "EXPRESSION", "value":"{}", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"anydata", "category":"builtin"}}, "order":1}, "headers":{"metadata":{"label":"headers", "description":"Optional headers parameter. The header value are passed only if needed. The default value is `()`\n"}, "valueType": "EXPRESSION", "value":"{}", "optional":true, "editable":true, "valueTypeConstraints":{"type":{"name":"map", "category":"map", "constraint":{"isAnonymousUnionType":true, "memberTypes":[{"name":"string", "category":"builtin"}, {"isArrayType":true, "arrayDimensions":1, "elementType":{"name":"string", "category":"builtin"}}]}}}, "order":2}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"grpc:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerina:grpc:Client:executeServerStreaming":{"metadata":{"label":"executeServerStreaming", "description":"Calls when executing a server streaming call with a gRPC service.\n```ballerina\n[stream, map]|grpc:Error result = grpcClient->executeServerStreaming(\"HelloWorld\/hello\", req, headers);\n```\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerina_grpc_1.12.0.png"}, "codedata":{"node":"ACTION_CALL", "module":"grpc", "symbol":"executeServerStreaming", "org":"ballerina", "object":"Client", "flags":1}, "properties":{"methodID":{"metadata":{"label":"methodID", "description":"Remote service method ID\n"}, "valueType": "EXPRESSION", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "payload":{"metadata":{"label":"payload", "description":"Request message. The message type varies with the remote service method parameter\n"}, "valueType": "EXPRESSION", "value":"{}", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"anydata", "category":"builtin"}}, "order":1}, "headers":{"metadata":{"label":"headers", "description":"Optional headers parameter. The header value are passed only if needed. The default value is `()`\n"}, "valueType": "EXPRESSION", "value":"{}", "optional":true, "editable":true, "valueTypeConstraints":{"type":{"name":"map", "category":"map", "constraint":{"isAnonymousUnionType":true, "memberTypes":[{"name":"string", "category":"builtin"}, {"isArrayType":true, "arrayDimensions":1, "elementType":{"name":"string", "category":"builtin"}}]}}}, "order":2}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"grpc:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerina:grpc:Client:executeClientStreaming":{"metadata":{"label":"executeClientStreaming", "description":"Calls when executing a client streaming call with a gRPC service.\n```ballerina\ngrpc:StreamingClient|grpc:Error result = grpcClient->executeClientStreaming(\"HelloWorld\/hello\", headers);\n```\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerina_grpc_1.12.0.png"}, "codedata":{"node":"ACTION_CALL", "module":"grpc", "symbol":"executeClientStreaming", "org":"ballerina", "object":"Client", "flags":1}, "properties":{"methodID":{"metadata":{"label":"methodID", "description":"Remote service method ID\n"}, "valueType": "EXPRESSION", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "headers":{"metadata":{"label":"headers", "description":"Optional headers parameter. The header value are passed only if needed. The default value is `()`\n"}, "valueType": "EXPRESSION", "value":"{}", "optional":true, "editable":true, "valueTypeConstraints":{"type":{"name":"map", "category":"map", "constraint":{"isAnonymousUnionType":true, "memberTypes":[{"name":"string", "category":"builtin"}, {"isArrayType":true, "arrayDimensions":1, "elementType":{"name":"string", "category":"builtin"}}]}}}, "order":1}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"grpc:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerina:grpc:Client:executeBidirectionalStreaming":{"metadata":{"label":"executeBidirectionalStreaming", "description":"Calls when executing a bi-directional streaming call with a gRPC service.\n```ballerina\ngrpc:StreamingClient|grpc:Error result = grpcClient->executeBidirectionalStreaming(\"HelloWorld\/hello\", headers);\n```\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerina_grpc_1.12.0.png"}, "codedata":{"node":"ACTION_CALL", "module":"grpc", "symbol":"executeBidirectionalStreaming", "org":"ballerina", "object":"Client", "flags":1}, "properties":{"methodID":{"metadata":{"label":"methodID", "description":"Remote service method ID\n"}, "valueType": "EXPRESSION", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "headers":{"metadata":{"label":"headers", "description":"Optional headers parameter. The header value are passed only if needed. The default value is `()`\n"}, "valueType": "EXPRESSION", "value":"{}", "optional":true, "editable":true, "valueTypeConstraints":{"type":{"name":"map", "category":"map", "constraint":{"isAnonymousUnionType":true, "memberTypes":[{"name":"string", "category":"builtin"}, {"isArrayType":true, "arrayDimensions":1, "elementType":{"name":"string", "category":"builtin"}}]}}}, "order":1}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"grpc:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "NEW_CONNECTION:ballerina:grpc:StreamingClient:init":{"metadata":{"label":"New Connection", "description":"Create a new connection", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerina_grpc_1.12.0.png"}, "codedata":{"node":"NEW_CONNECTION", "module":"grpc", "symbol":"init", "org":"ballerina", "object":"StreamingClient", "importStmt":"import ballerina/grpc as grpc;"}, "properties":{"variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"grpc:StreamingClient"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"grpc:StreamingClient", "valueTypeConstraints":{"typeOf":["grpc:StreamingClient"]}, "order":2, "group":"Basic"}, "scope":{"metadata":{"label":"Scope", "description":"Scope of the connection"}, "valueType":"Enum", "value":"Global", "advanced":true, "valueTypeConstraints":{"enum":["Global", "Service", "Local"]}, "order":3, "group":"Core"}}, "flags":0}, "ACTION_CALL:ballerina:grpc:StreamingClient:send":{"metadata":{"label":"send", "description":"Sends the request message to the server.\n```ballerina\ngrpc:Error? err = sClient->send(message);\n```\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerina_grpc_1.12.0.png"}, "codedata":{"node":"ACTION_CALL", "module":"grpc", "symbol":"send", "org":"ballerina", "object":"StreamingClient", "flags":1}, "properties":{"res":{"metadata":{"label":"res", "description":"The inbound request message\n"}, "valueType": "EXPRESSION", "value":"{}", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"anydata", "category":"builtin"}}, "order":0}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"grpc:StreamingClient"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerina:grpc:StreamingClient:complete":{"metadata":{"label":"complete", "description":"Informs the server when the caller has sent all the messages.\n```ballerina\ngrpc:Error? result = sClient->complete();\n```\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerina_grpc_1.12.0.png"}, "codedata":{"node":"ACTION_CALL", "module":"grpc", "symbol":"complete", "org":"ballerina", "object":"StreamingClient", "flags":1}, "properties":{"variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"grpc:StreamingClient"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerina:grpc:StreamingClient:sendError":{"metadata":{"label":"sendError", "description":"Sends an error message to the server.\n```ballerina\ngrpc:Error? result = sClient->sendError(error grpc:AbortedError(\"Operation aborted\"));\n```\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerina_grpc_1.12.0.png"}, "codedata":{"node":"ACTION_CALL", "module":"grpc", "symbol":"sendError", "org":"ballerina", "object":"StreamingClient", "flags":1}, "properties":{"err":{"metadata":{"label":"err", "description":"Error instance\n"}, "valueType": "EXPRESSION", "value":"error (\"error message\")", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"Error", "category":"errors", "orgName":"ballerina", "moduleName":"grpc", "version":"1.12.0"}}, "order":0}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"grpc:StreamingClient"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerina:grpc:StreamingClient:receive":{"metadata":{"label":"receive", "description":"Receives server responses in client streaming and bidirectional streaming.\n```ballerina\n[anydata, map]|grpc:Error? result = streamingClient->receive();\n```\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerina_grpc_1.12.0.png"}, "codedata":{"node":"ACTION_CALL", "module":"grpc", "symbol":"receive", "org":"ballerina", "object":"StreamingClient", "flags":1}, "properties":{"variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"grpc:StreamingClient"}}, "order":3, "group":"Core"}}, "flags":1}, "NEW_CONNECTION:ballerina:websocket:Client:init":{"metadata":{"label":"New Connection", "description":"Create a new connection", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerina_websocket_2.12.0.png"}, "codedata":{"node":"NEW_CONNECTION", "module":"websocket", "symbol":"init", "org":"ballerina", "object":"Client", "importStmt":"import ballerina/websocket as websocket;", "flags":1}, "properties":{"url":{"metadata":{"label":"url", "description":"URL of the target service\n"}, "valueType": "EXPRESSION", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "config":{"metadata":{"label":"config", "description":"The configurations to be used when initializing the client\n"}, "valueType": "EXPRESSION", "value":"{}", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"ClientConfiguration", "category":"records", "isInclusion":true, "orgName":"ballerina", "moduleName":"websocket", "version":"2.12.0"}}, "order":1}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"websocket:Client"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"websocket:Client", "valueTypeConstraints":{"typeOf":["websocket:Client"]}, "order":2, "group":"Basic"}, "scope":{"metadata":{"label":"Scope", "description":"Scope of the connection"}, "valueType":"Enum", "value":"Global", "advanced":true, "valueTypeConstraints":{"enum":["Global", "Service", "Local"]}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerina:websocket:Client:writeTextMessage":{"metadata":{"label":"writeTextMessage", "description":"Writes text messages to the connection. If an error occurs while sending the text message to the connection, that message\nwill be lost.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerina_websocket_2.12.0.png"}, "codedata":{"node":"ACTION_CALL", "module":"websocket", "symbol":"writeTextMessage", "org":"ballerina", "object":"Client", "flags":1}, "properties":{"data":{"metadata":{"label":"data", "description":"Data to be sent\n"}, "valueType": "EXPRESSION", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"websocket:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerina:websocket:Client:writeBinaryMessage":{"metadata":{"label":"writeBinaryMessage", "description":"Writes binary data to the connection. If an error occurs while sending the binary message to the connection,\nthat message will be lost.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerina_websocket_2.12.0.png"}, "codedata":{"node":"ACTION_CALL", "module":"websocket", "symbol":"writeBinaryMessage", "org":"ballerina", "object":"Client", "flags":1}, "properties":{"data":{"metadata":{"label":"data", "description":"Binary data to be sent\n"}, "valueType": "EXPRESSION", "value":"[]", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"isArrayType":true, "arrayDimensions":1, "elementType":{"name":"byte", "category":"builtin"}}}, "order":0}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"websocket:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerina:websocket:Client:ping":{"metadata":{"label":"ping", "description":"Pings the connection. If an error occurs while sending the ping frame to the server, that frame will be lost.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerina_websocket_2.12.0.png"}, "codedata":{"node":"ACTION_CALL", "module":"websocket", "symbol":"ping", "org":"ballerina", "object":"Client", "flags":1}, "properties":{"data":{"metadata":{"label":"data", "description":"Binary data to be sent\n"}, "valueType": "EXPRESSION", "value":"[]", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"isArrayType":true, "arrayDimensions":1, "elementType":{"name":"byte", "category":"builtin"}}}, "order":0}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"websocket:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerina:websocket:Client:pong":{"metadata":{"label":"pong", "description":"Sends a pong message to the connection. If an error occurs while sending the pong frame to the connection, that\nthe frame will be lost.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerina_websocket_2.12.0.png"}, "codedata":{"node":"ACTION_CALL", "module":"websocket", "symbol":"pong", "org":"ballerina", "object":"Client", "flags":1}, "properties":{"data":{"metadata":{"label":"data", "description":"Binary data to be sent\n"}, "valueType": "EXPRESSION", "value":"[]", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"isArrayType":true, "arrayDimensions":1, "elementType":{"name":"byte", "category":"builtin"}}}, "order":0}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"websocket:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerina:websocket:Client:close":{"metadata":{"label":"close", "description":"Closes the connection.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerina_websocket_2.12.0.png"}, "codedata":{"node":"ACTION_CALL", "module":"websocket", "symbol":"close", "org":"ballerina", "object":"Client", "flags":1}, "properties":{"statusCode":{"metadata":{"label":"statusCode", "description":"Status code for closing the connection\n"}, "valueType": "EXPRESSION", "value":"1000", "optional":true, "editable":true, "valueTypeConstraints":{"type":{"name":"int", "category":"builtin", "isNullable":true}}, "order":0}, "reason":{"metadata":{"label":"reason", "description":"Reason for closing the connection\n"}, "valueType": "EXPRESSION", "value":"()", "optional":true, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin", "isNullable":true}}, "order":1}, "timeout":{"metadata":{"label":"timeout", "description":"Time to wait (in seconds) for the close frame to be received from the remote endpoint before closing the\nconnection. If the timeout exceeds, then the connection is terminated even though a close frame\nis not received from the remote endpoint. If the value is < 0 (e.g., -1), then the connection\nwaits until a close frame is received. If the WebSocket frame is received from the remote\nendpoint within the waiting period, the connection is terminated immediately\n"}, "valueType": "EXPRESSION", "value":"60", "optional":true, "editable":true, "valueTypeConstraints":{"type":{"name":"decimal", "category":"builtin"}}, "order":2}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"websocket:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerina:websocket:Client:readTextMessage":{"metadata":{"label":"readTextMessage", "description":"Reads text messages in a synchronous manner.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerina_websocket_2.12.0.png"}, "codedata":{"node":"ACTION_CALL", "module":"websocket", "symbol":"readTextMessage", "org":"ballerina", "object":"Client", "flags":1}, "properties":{"variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"websocket:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerina:websocket:Client:readBinaryMessage":{"metadata":{"label":"readBinaryMessage", "description":"Reads binary data in a synchronous manner.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerina_websocket_2.12.0.png"}, "codedata":{"node":"ACTION_CALL", "module":"websocket", "symbol":"readBinaryMessage", "org":"ballerina", "object":"Client", "flags":1}, "properties":{"variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"websocket:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerina:websocket:Client:readMessage":{"metadata":{"label":"readMessage", "description":"Reads data from the WebSocket connection.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerina_websocket_2.12.0.png"}, "codedata":{"node":"ACTION_CALL", "module":"websocket", "symbol":"readMessage", "org":"ballerina", "object":"Client", "flags":1}, "properties":{"variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"json"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"json", "valueTypeConstraints":{"typeOf":["json"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"websocket:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerina:websocket:Client:writeMessage":{"metadata":{"label":"writeMessage", "description":"Writes messages to the connection. If an error occurs while sending the message to the connection, that message\nwill be lost.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerina_websocket_2.12.0.png"}, "codedata":{"node":"ACTION_CALL", "module":"websocket", "symbol":"writeMessage", "org":"ballerina", "object":"Client", "flags":1}, "properties":{"data":{"metadata":{"label":"data", "description":"Data to be sent\n"}, "valueType": "EXPRESSION", "value":"{}", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"anydata", "category":"builtin"}}, "order":0}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"websocket:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "NEW_CONNECTION:ballerinax:mysql:Client:init":{"metadata":{"label":"New Connection", "description":"Create a new connection", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_mysql_1.13.0.png"}, "codedata":{"node":"NEW_CONNECTION", "module":"mysql", "symbol":"init", "org":"ballerinax", "object":"Client", "importStmt":"import ballerinax/mysql as mysql;", "flags":1}, "properties":{"host":{"metadata":{"label":"host", "description":"Hostname of the MySQL server\n"}, "valueType": "EXPRESSION", "value":"\"localhost\"", "optional":true, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "user":{"metadata":{"label":"user", "description":"If the MySQL server is secured, the username\n"}, "valueType": "EXPRESSION", "value":"\"root\"", "optional":true, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin", "isNullable":true}}, "order":1}, "password":{"metadata":{"label":"password", "description":"The password of the MySQL server for the provided username\n"}, "valueType": "EXPRESSION", "value":"()", "optional":true, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin", "isNullable":true}}, "order":2}, "database":{"metadata":{"label":"database", "description":"The name of the database\n"}, "valueType": "EXPRESSION", "value":"()", "optional":true, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin", "isNullable":true}}, "order":3}, "port":{"metadata":{"label":"port", "description":"Port number of the MySQL server\n"}, "valueType": "EXPRESSION", "value":"3306", "optional":true, "editable":true, "valueTypeConstraints":{"type":{"name":"int", "category":"builtin"}}, "order":4}, "options":{"metadata":{"label":"options", "description":"MySQL database options\n"}, "valueType": "EXPRESSION", "value":"()", "optional":true, "editable":true, "valueTypeConstraints":{"type":{"name":"Options", "category":"records", "isNullable":true, "orgName":"ballerinax", "moduleName":"mysql", "version":"1.13.0"}}, "order":5}, "connectionPool":{"metadata":{"label":"connectionPool", "description":"The `sql:ConnectionPool` to be used for the connection. If there is no\n`connectionPool` provided, the global connection pool (shared by all clients) will be used\n"}, "valueType": "EXPRESSION", "value":"()", "optional":true, "editable":true, "valueTypeConstraints":{"type":{"name":"ConnectionPool", "category":"reference", "isNullable":true, "moduleName":"sql"}}, "order":6}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"mysql:Client"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"mysql:Client", "valueTypeConstraints":{"typeOf":["mysql:Client"]}, "order":2, "group":"Basic"}, "scope":{"metadata":{"label":"Scope", "description":"Scope of the connection"}, "valueType":"Enum", "value":"Global", "advanced":true, "valueTypeConstraints":{"enum":["Global", "Service", "Local"]}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:mysql:Client:query":{"metadata":{"label":"query", "description":"Executes the query, which may return multiple results.\nWhen processing the stream, make sure to consume all fetched data or close the stream.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_mysql_1.13.0.png"}, "codedata":{"node":"ACTION_CALL", "module":"mysql", "symbol":"query", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"sqlQuery":{"metadata":{"label":"sqlQuery", "description":"The SQL query such as `` `SELECT * from Album WHERE name=${albumName}` ``\n"}, "valueType": "EXPRESSION", "value":"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"ParameterizedQuery", "category":"reference", "moduleName":"sql"}}, "order":0}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"map"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"map", "valueTypeConstraints":{"typeOf":["map"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"mysql:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:mysql:Client:queryRow":{"metadata":{"label":"queryRow", "description":"Executes the query, which is expected to return at most one row of the result.\nIf the query does not return any results, `sql:NoRowsError` is returned.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_mysql_1.13.0.png"}, "codedata":{"node":"ACTION_CALL", "module":"mysql", "symbol":"queryRow", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"sqlQuery":{"metadata":{"label":"sqlQuery", "description":"The SQL query such as `` `SELECT * from Album WHERE name=${albumName}` ``\n"}, "valueType": "EXPRESSION", "value":"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"ParameterizedQuery", "category":"reference", "moduleName":"sql"}}, "order":0}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"json"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"json", "valueTypeConstraints":{"typeOf":["json"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"mysql:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:mysql:Client:execute":{"metadata":{"label":"execute", "description":"Executes the SQL query. Only the metadata of the execution is returned (not the results from the query).\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_mysql_1.13.0.png"}, "codedata":{"node":"ACTION_CALL", "module":"mysql", "symbol":"execute", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"sqlQuery":{"metadata":{"label":"sqlQuery", "description":"The SQL query such as `` `DELETE FROM Album WHERE artist=${artistName}` ``\n"}, "valueType": "EXPRESSION", "value":"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"ParameterizedQuery", "category":"reference", "moduleName":"sql"}}, "order":0}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"mysql:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:mysql:Client:batchExecute":{"metadata":{"label":"batchExecute", "description":"Executes an SQL query with multiple sets of parameters in a batch. Only the metadata of the execution is returned (not results from the query).\nIf one of the commands in the batch fails (except syntax error), the `sql:BatchExecuteError` will be deferred until the remaining commands are completed.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_mysql_1.13.0.png"}, "codedata":{"node":"ACTION_CALL", "module":"mysql", "symbol":"batchExecute", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"sqlQueries":{"metadata":{"label":"sqlQueries", "description":"The SQL query with multiple sets of parameters\n"}, "valueType": "EXPRESSION", "value":"[]", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"isArrayType":true, "arrayDimensions":1, "elementType":{"name":"ParameterizedQuery", "category":"reference", "moduleName":"sql"}}}, "order":0}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"mysql:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:mysql:Client:call":{"metadata":{"label":"call", "description":"Executes an SQL query, which calls a stored procedure. This may or may not return results.\nOnce the results are processed, invoke the `close` method on the `sql:ProcedureCallResult`.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_mysql_1.13.0.png"}, "codedata":{"node":"ACTION_CALL", "module":"mysql", "symbol":"call", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"sqlQuery":{"metadata":{"label":"sqlQuery", "description":"The SQL query such as `` `CALL sp_GetAlbums();` ``\n"}, "valueType": "EXPRESSION", "value":"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"ParameterizedCallQuery", "category":"reference", "moduleName":"sql"}}, "order":0}, "rowTypes":{"metadata":{"label":"rowTypes", "description":"`typedesc` array of the records to which the results need to be returned\n"}, "valueType": "EXPRESSION", "value":"[]", "optional":true, "editable":true, "valueTypeConstraints":{"type":{"isArrayType":true, "arrayDimensions":1, "elementType":{"isTypeDesc":true, "elementType":{"category":"inline_record"}}}}, "order":1}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"mysql:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "NEW_CONNECTION:ballerinax:redis:Client:init":{"metadata":{"label":"New Connection", "description":"Create a new connection", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"NEW_CONNECTION", "module":"redis", "symbol":"init", "org":"ballerinax", "object":"Client", "importStmt":"import ballerinax/redis as redis;", "flags":1}, "properties":{"config":{"metadata":{"label":"config", "description":"configuration for the connector\n"}, "valueType": "EXPRESSION", "value":"{}", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"ConnectionConfig", "category":"records", "isInclusion":true, "orgName":"ballerinax", "moduleName":"redis", "version":"3.0.2"}}, "order":0}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"redis:Client", "valueTypeConstraints":{"typeOf":["redis:Client"]}, "order":2, "group":"Basic"}, "scope":{"metadata":{"label":"Scope", "description":"Scope of the connection"}, "valueType":"Enum", "value":"Global", "advanced":true, "valueTypeConstraints":{"enum":["Global", "Service", "Local"]}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:append":{"metadata":{"label":"append", "description":"Append a value to a key.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"append", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"key":{"metadata":{"label":"key", "description":"Key referring to a value\n"}, "valueType": "EXPRESSION", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "value":{"metadata":{"label":"value", "description":"String value to be appended\n"}, "valueType": "EXPRESSION", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":1}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:bitCount":{"metadata":{"label":"bitCount", "description":"Count set bits in a string.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"bitCount", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"key":{"metadata":{"label":"key", "description":"Key referring to a value\n"}, "valueType": "EXPRESSION", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:bitOpAnd":{"metadata":{"label":"bitOpAnd", "description":"Perform bitwise AND between strings.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"bitOpAnd", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"destination":{"metadata":{"label":"destination", "description":"Result key of the operation\n"}, "valueType": "EXPRESSION", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "keys":{"metadata":{"label":"keys", "description":"Input keys to perform AND between\n"}, "valueType": "EXPRESSION", "value":"[]", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"isArrayType":true, "arrayDimensions":1, "elementType":{"name":"string", "category":"builtin"}}}, "order":1}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:bitOpOr":{"metadata":{"label":"bitOpOr", "description":"Perform bitwise OR between strings.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"bitOpOr", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"destination":{"metadata":{"label":"destination", "description":"Result key of the operation\n"}, "valueType": "EXPRESSION", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "keys":{"metadata":{"label":"keys", "description":"Input keys to perform OR between\n"}, "valueType": "EXPRESSION", "value":"[]", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"isArrayType":true, "arrayDimensions":1, "elementType":{"name":"string", "category":"builtin"}}}, "order":1}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:bitOpNot":{"metadata":{"label":"bitOpNot", "description":"Perform bitwise NOT on a string.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"bitOpNot", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"destination":{"metadata":{"label":"destination", "description":"Result key of the operation\n"}, "valueType": "EXPRESSION", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "key":{"metadata":{"label":"key", "description":"Input key to perform NOT\n"}, "valueType": "EXPRESSION", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":1}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:bitOpXor":{"metadata":{"label":"bitOpXor", "description":"Perform bitwise XOR between strings.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"bitOpXor", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"destination":{"metadata":{"label":"destination", "description":"Result key of the operation\n"}, "valueType": "EXPRESSION", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "keys":{"metadata":{"label":"keys", "description":"Input keys to perform XOR between\n"}, "valueType": "EXPRESSION", "value":"[]", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"isArrayType":true, "arrayDimensions":1, "elementType":{"name":"string", "category":"builtin"}}}, "order":1}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:decr":{"metadata":{"label":"decr", "description":"Decrement integer value of a key by one.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"decr", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"key":{"metadata":{"label":"key", "description":"Key referring to a value\n"}, "valueType": "EXPRESSION", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:decrBy":{"metadata":{"label":"decrBy", "description":"Decrement integer value of a key by the given number.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"decrBy", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"key":{"metadata":{"label":"key", "description":"Key referring to a value\n"}, "valueType": "EXPRESSION", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "value":{"metadata":{"label":"value", "description":"Value to be decremented\n"}, "valueType": "EXPRESSION", "value":"0", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"int", "category":"builtin"}}, "order":1}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:getBit":{"metadata":{"label":"getBit", "description":"Returns bit value at offset in the string value stored at key.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"getBit", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"key":{"metadata":{"label":"key", "description":"Key referring to a value\n"}, "valueType": "EXPRESSION", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "offset":{"metadata":{"label":"offset", "description":"Offset in string value\n"}, "valueType": "EXPRESSION", "value":"0", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"int", "category":"builtin"}}, "order":1}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:getRange":{"metadata":{"label":"getRange", "description":"Get substring of string stored at a key.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"getRange", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"key":{"metadata":{"label":"key", "description":"Key referring to a value\n"}, "valueType": "EXPRESSION", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "startPos":{"metadata":{"label":"startPos", "description":"Starting point of substring\n"}, "valueType": "EXPRESSION", "value":"0", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"int", "category":"builtin"}}, "order":1}, "end":{"metadata":{"label":"end", "description":"End point of substring\n"}, "valueType": "EXPRESSION", "value":"0", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"int", "category":"builtin"}}, "order":2}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:getSet":{"metadata":{"label":"getSet", "description":"Set string value of key and return its existing value.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"getSet", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"key":{"metadata":{"label":"key", "description":"Key referring to a value\n"}, "valueType": "EXPRESSION", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "value":{"metadata":{"label":"value", "description":"Value to be set\n"}, "valueType": "EXPRESSION", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":1}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:get":{"metadata":{"label":"get", "description":"Get value of key.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"get", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"key":{"metadata":{"label":"key", "description":"Key referring to a value\n"}, "valueType": "EXPRESSION", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:incr":{"metadata":{"label":"incr", "description":"Increment integer value of a key by one.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"incr", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"key":{"metadata":{"label":"key", "description":"Key referring to a value\n"}, "valueType": "EXPRESSION", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:incrBy":{"metadata":{"label":"incrBy", "description":"Increment integer value of key by the given amount.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"incrBy", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"key":{"metadata":{"label":"key", "description":"Key referring to a value\n"}, "valueType": "EXPRESSION", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "value":{"metadata":{"label":"value", "description":"Amount to increment\n"}, "valueType": "EXPRESSION", "value":"0", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"int", "category":"builtin"}}, "order":1}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:incrByFloat":{"metadata":{"label":"incrByFloat", "description":"Increment integer value of key by the given float.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"incrByFloat", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"key":{"metadata":{"label":"key", "description":"Key referring to a value\n"}, "valueType": "EXPRESSION", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "value":{"metadata":{"label":"value", "description":"Amount to increment\n"}, "valueType": "EXPRESSION", "value":"0.0", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"float", "category":"builtin"}}, "order":1}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:mGet":{"metadata":{"label":"mGet", "description":"Get values of all given keys.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"mGet", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"keys":{"metadata":{"label":"keys", "description":"Keys of which values need to be retrieved\n"}, "valueType": "EXPRESSION", "value":"[]", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"isArrayType":true, "arrayDimensions":1, "elementType":{"name":"string", "category":"builtin"}}}, "order":0}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:mSet":{"metadata":{"label":"mSet", "description":"Set multiple keys to multiple values.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"mSet", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"keyValueMap":{"metadata":{"label":"keyValueMap", "description":"Map of key-value pairs to be set\n"}, "valueType": "EXPRESSION", "value":"{}", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"map", "category":"map", "constraint":{"name":"any", "category":"builtin"}}}, "order":0}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:mSetNx":{"metadata":{"label":"mSetNx", "description":"Set multiple keys to multiple values, only if none of the keys exist.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"mSetNx", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"keyValueMap":{"metadata":{"label":"keyValueMap", "description":"Map of key-value pairs to be set\n"}, "valueType": "EXPRESSION", "value":"{}", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"map", "category":"map", "constraint":{"name":"any", "category":"builtin"}}}, "order":0}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:pSetEx":{"metadata":{"label":"pSetEx", "description":"Set value and expiration in milliseconds of a key.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"pSetEx", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"key":{"metadata":{"label":"key", "description":"Key referring to a value\n"}, "valueType": "EXPRESSION", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "value":{"metadata":{"label":"value", "description":"Value to be set\n"}, "valueType": "EXPRESSION", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":1}, "expirationTime":{"metadata":{"label":"expirationTime", "description":"Expiration time in milli seconds\n"}, "valueType": "EXPRESSION", "value":"0", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"int", "category":"builtin"}}, "order":2}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:set":{"metadata":{"label":"set", "description":"Set the value of a key.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"set", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"key":{"metadata":{"label":"key", "description":"Key referring to a value\n"}, "valueType": "EXPRESSION", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "value":{"metadata":{"label":"value", "description":"Values\n"}, "valueType": "EXPRESSION", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":1}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:setBit":{"metadata":{"label":"setBit", "description":"Sets or clears the bit at offset in the string value stored at key.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"setBit", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"key":{"metadata":{"label":"key", "description":"Key referring to a value\n"}, "valueType": "EXPRESSION", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "value":{"metadata":{"label":"value", "description":"Value to be set\n"}, "valueType": "EXPRESSION", "value":"0", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"int", "category":"builtin"}}, "order":1}, "offset":{"metadata":{"label":"offset", "description":"Offset at which the value should be set\n"}, "valueType": "EXPRESSION", "value":"0", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"int", "category":"builtin"}}, "order":2}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:setEx":{"metadata":{"label":"setEx", "description":"Set the value and expiration of a key.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"setEx", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"key":{"metadata":{"label":"key", "description":"Key referring to a value\n"}, "valueType": "EXPRESSION", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "value":{"metadata":{"label":"value", "description":"Value to be set\n"}, "valueType": "EXPRESSION", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":1}, "expirationTime":{"metadata":{"label":"expirationTime", "description":"Expiration time to be set, in seconds\n"}, "valueType": "EXPRESSION", "value":"0", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"int", "category":"builtin"}}, "order":2}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:setNx":{"metadata":{"label":"setNx", "description":"Set value of a key, only if key does not exist.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"setNx", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"key":{"metadata":{"label":"key", "description":"Key referring to a value\n"}, "valueType": "EXPRESSION", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "value":{"metadata":{"label":"value", "description":"Value to be set\n"}, "valueType": "EXPRESSION", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":1}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:setRange":{"metadata":{"label":"setRange", "description":"Overwrite part of string at key starting at the specified offset.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"setRange", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"key":{"metadata":{"label":"key", "description":"Key referring to a value\n"}, "valueType": "EXPRESSION", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "offset":{"metadata":{"label":"offset", "description":"Offset at which the value should be set\n"}, "valueType": "EXPRESSION", "value":"0", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"int", "category":"builtin"}}, "order":1}, "value":{"metadata":{"label":"value", "description":"Value to be set\n"}, "valueType": "EXPRESSION", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":2}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:strLen":{"metadata":{"label":"strLen", "description":"Get length of value stored in a key.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"strLen", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"key":{"metadata":{"label":"key", "description":"Key referring to a value\n"}, "valueType": "EXPRESSION", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:lPush":{"metadata":{"label":"lPush", "description":"Prepend one or multiple values to list.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"lPush", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"key":{"metadata":{"label":"key", "description":"Key referring to a value\n"}, "valueType": "EXPRESSION", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "values":{"metadata":{"label":"values", "description":"Values to be prepended\n"}, "valueType": "EXPRESSION", "value":"[]", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"isArrayType":true, "arrayDimensions":1, "elementType":{"name":"string", "category":"builtin"}}}, "order":1}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:lPop":{"metadata":{"label":"lPop", "description":"Remove and get the first element in a list.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"lPop", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"key":{"metadata":{"label":"key", "description":"Key referring to a value\n"}, "valueType": "EXPRESSION", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:lPushX":{"metadata":{"label":"lPushX", "description":"Prepend one or multiple values to a list, only if the list exists.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"lPushX", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"key":{"metadata":{"label":"key", "description":"Key referring to a value\n"}, "valueType": "EXPRESSION", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "values":{"metadata":{"label":"values", "description":"Values to be prepended\n"}, "valueType": "EXPRESSION", "value":"[]", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"isArrayType":true, "arrayDimensions":1, "elementType":{"name":"string", "category":"builtin"}}}, "order":1}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:bLPop":{"metadata":{"label":"bLPop", "description":"Remove and get the first element in a list, or block until one is available.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"bLPop", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"timeOut":{"metadata":{"label":"timeOut", "description":"Timeout in seconds\n"}, "valueType": "EXPRESSION", "value":"0", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"int", "category":"builtin"}}, "order":0}, "keys":{"metadata":{"label":"keys", "description":"Keys referring to values\n"}, "valueType": "EXPRESSION", "value":"[]", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"isArrayType":true, "arrayDimensions":1, "elementType":{"name":"string", "category":"builtin"}}}, "order":1}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:bRPop":{"metadata":{"label":"bRPop", "description":"Remove and get the last element in a list, or block until one is available.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"bRPop", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"timeout":{"metadata":{"label":"timeout", "description":"Timeout in seconds\n"}, "valueType": "EXPRESSION", "value":"0", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"int", "category":"builtin"}}, "order":0}, "keys":{"metadata":{"label":"keys", "description":"Keys referring to values\n"}, "valueType": "EXPRESSION", "value":"[]", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"isArrayType":true, "arrayDimensions":1, "elementType":{"name":"string", "category":"builtin"}}}, "order":1}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:lIndex":{"metadata":{"label":"lIndex", "description":"Get an element from list by its index.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"lIndex", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"key":{"metadata":{"label":"key", "description":"Key referring to a value\n"}, "valueType": "EXPRESSION", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "index":{"metadata":{"label":"index", "description":"Index from which the element should be retrieved\n"}, "valueType": "EXPRESSION", "value":"0", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"int", "category":"builtin"}}, "order":1}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:lInsert":{"metadata":{"label":"lInsert", "description":"Insert an element before or after another element in a list.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"lInsert", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"key":{"metadata":{"label":"key", "description":"Key referring to a value\n"}, "valueType": "EXPRESSION", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "before":{"metadata":{"label":"before", "description":"Boolean value representing Whether element should be inserted before or after the pivot\n"}, "valueType": "EXPRESSION", "value":"false", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"boolean", "category":"builtin"}}, "order":1}, "pivot":{"metadata":{"label":"pivot", "description":"Pivot position\n"}, "valueType": "EXPRESSION", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":2}, "value":{"metadata":{"label":"value", "description":"Value to insert\n"}, "valueType": "EXPRESSION", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":3}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:lLen":{"metadata":{"label":"lLen", "description":"Get length of a list.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"lLen", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"key":{"metadata":{"label":"key", "description":"Key referring to a value\n"}, "valueType": "EXPRESSION", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:lRange":{"metadata":{"label":"lRange", "description":"Get a range of elements from a list.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"lRange", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"key":{"metadata":{"label":"key", "description":"Key referring to a value\n"}, "valueType": "EXPRESSION", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "startPos":{"metadata":{"label":"startPos", "description":"Begining index of the range\n"}, "valueType": "EXPRESSION", "value":"0", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"int", "category":"builtin"}}, "order":1}, "stopPos":{"metadata":{"label":"stopPos", "description":"Last index of the range\n"}, "valueType": "EXPRESSION", "value":"0", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"int", "category":"builtin"}}, "order":2}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:lRem":{"metadata":{"label":"lRem", "description":"Remove elements from list.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"lRem", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"key":{"metadata":{"label":"key", "description":"Key referring to a value\n"}, "valueType": "EXPRESSION", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "count":{"metadata":{"label":"count", "description":"Number of elements to be removed\n"}, "valueType": "EXPRESSION", "value":"0", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"int", "category":"builtin"}}, "order":1}, "value":{"metadata":{"label":"value", "description":"Value which the elements to be removed should be equal to\n"}, "valueType": "EXPRESSION", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":2}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:lSet":{"metadata":{"label":"lSet", "description":"Set the value of an element in a list by its index.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"lSet", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"key":{"metadata":{"label":"key", "description":"Key of the list\n"}, "valueType": "EXPRESSION", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "index":{"metadata":{"label":"index", "description":"Index of the element of which the value needs to be set\n"}, "valueType": "EXPRESSION", "value":"0", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"int", "category":"builtin"}}, "order":1}, "value":{"metadata":{"label":"value", "description":"Value to be set\n"}, "valueType": "EXPRESSION", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":2}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:lTrim":{"metadata":{"label":"lTrim", "description":"Trim list to the specified range.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"lTrim", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"key":{"metadata":{"label":"key", "description":"Key of the list\n"}, "valueType": "EXPRESSION", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "startPos":{"metadata":{"label":"startPos", "description":"Starting index of the range\n"}, "valueType": "EXPRESSION", "value":"0", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"int", "category":"builtin"}}, "order":1}, "stopPos":{"metadata":{"label":"stopPos", "description":"End index of the range\n"}, "valueType": "EXPRESSION", "value":"0", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"int", "category":"builtin"}}, "order":2}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:rPop":{"metadata":{"label":"rPop", "description":"Remove and get the last element in a list.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"rPop", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"key":{"metadata":{"label":"key", "description":"Key of the list\n"}, "valueType": "EXPRESSION", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:rPopLPush":{"metadata":{"label":"rPopLPush", "description":"Remove the last element in a list, append it to another list and return it.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"rPopLPush", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"src":{"metadata":{"label":"src", "description":"Source key\n"}, "valueType": "EXPRESSION", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "destination":{"metadata":{"label":"destination", "description":"Destination key\n"}, "valueType": "EXPRESSION", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":1}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:rPush":{"metadata":{"label":"rPush", "description":"Append one or multiple values to a list.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"rPush", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"key":{"metadata":{"label":"key", "description":"Key of the list\n"}, "valueType": "EXPRESSION", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "values":{"metadata":{"label":"values", "description":"Array of values to be appended\n"}, "valueType": "EXPRESSION", "value":"[]", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"isArrayType":true, "arrayDimensions":1, "elementType":{"name":"string", "category":"builtin"}}}, "order":1}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:rPushX":{"metadata":{"label":"rPushX", "description":"Append one or multiple values to a list, only if the list exists.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"rPushX", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"key":{"metadata":{"label":"key", "description":"Key of the list\n"}, "valueType": "EXPRESSION", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "values":{"metadata":{"label":"values", "description":"Array of values to be appended\n"}, "valueType": "EXPRESSION", "value":"[]", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"isArrayType":true, "arrayDimensions":1, "elementType":{"name":"string", "category":"builtin"}}}, "order":1}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:sAdd":{"metadata":{"label":"sAdd", "description":"Add one or more members to a set.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"sAdd", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"key":{"metadata":{"label":"key", "description":"Key of the set\n"}, "valueType": "EXPRESSION", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "values":{"metadata":{"label":"values", "description":"Array of values to be added\n"}, "valueType": "EXPRESSION", "value":"[]", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"isArrayType":true, "arrayDimensions":1, "elementType":{"name":"string", "category":"builtin"}}}, "order":1}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:sCard":{"metadata":{"label":"sCard", "description":"Get the number of members in a set\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"sCard", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"key":{"metadata":{"label":"key", "description":"Key of the set\n"}, "valueType": "EXPRESSION", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:sDiff":{"metadata":{"label":"sDiff", "description":"Return set resulting from the difference between the first set and all the successive sets\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"sDiff", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"keys":{"metadata":{"label":"keys", "description":"The keys of the sets\n"}, "valueType": "EXPRESSION", "value":"[]", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"isArrayType":true, "arrayDimensions":1, "elementType":{"name":"string", "category":"builtin"}}}, "order":0}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:sDiffStore":{"metadata":{"label":"sDiffStore", "description":"Obtain the set resulting from the difference between the first set and all the successive.\nsets and store at the provided destination.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"sDiffStore", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"destination":{"metadata":{"label":"destination", "description":"Destination key of the resulting set\n"}, "valueType": "EXPRESSION", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "keys":{"metadata":{"label":"keys", "description":"Keys of the sets to find the difference of\n"}, "valueType": "EXPRESSION", "value":"[]", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"isArrayType":true, "arrayDimensions":1, "elementType":{"name":"string", "category":"builtin"}}}, "order":1}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:sInter":{"metadata":{"label":"sInter", "description":"Return the intersection of the provided sets.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"sInter", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"keys":{"metadata":{"label":"keys", "description":"Keys of the sets to be intersected\n"}, "valueType": "EXPRESSION", "value":"[]", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"isArrayType":true, "arrayDimensions":1, "elementType":{"name":"string", "category":"builtin"}}}, "order":0}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:sInterStore":{"metadata":{"label":"sInterStore", "description":"Obtain the intersection of the provided sets and store at the provided destination.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"sInterStore", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"destination":{"metadata":{"label":"destination", "description":"Destination key of the resulting set\n"}, "valueType": "EXPRESSION", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "keys":{"metadata":{"label":"keys", "description":"Keys of the sets to be intersected\n"}, "valueType": "EXPRESSION", "value":"[]", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"isArrayType":true, "arrayDimensions":1, "elementType":{"name":"string", "category":"builtin"}}}, "order":1}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:sIsMember":{"metadata":{"label":"sIsMember", "description":"Determine if a given value is a member of a set.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"sIsMember", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"key":{"metadata":{"label":"key", "description":"Key of the set\n"}, "valueType": "EXPRESSION", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "value":{"metadata":{"label":"value", "description":"Value of a key\n"}, "valueType": "EXPRESSION", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":1}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:sMembers":{"metadata":{"label":"sMembers", "description":"Get all members in a set.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"sMembers", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"key":{"metadata":{"label":"key", "description":"Key of the set\n"}, "valueType": "EXPRESSION", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:sMove":{"metadata":{"label":"sMove", "description":"Move a member from one set to another.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"sMove", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"src":{"metadata":{"label":"src", "description":"Source key\n"}, "valueType": "EXPRESSION", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "destination":{"metadata":{"label":"destination", "description":"Destination key\n"}, "valueType": "EXPRESSION", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":1}, "member":{"metadata":{"label":"member", "description":"Member to be moved\n"}, "valueType": "EXPRESSION", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":2}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:sPop":{"metadata":{"label":"sPop", "description":"Remove and return a random member from a set.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"sPop", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"key":{"metadata":{"label":"key", "description":"Source key\n"}, "valueType": "EXPRESSION", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "count":{"metadata":{"label":"count", "description":"Number of members to pop\n"}, "valueType": "EXPRESSION", "value":"0", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"int", "category":"builtin"}}, "order":1}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:sRandMember":{"metadata":{"label":"sRandMember", "description":"Get one or multiple random members from a set.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"sRandMember", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"key":{"metadata":{"label":"key", "description":"Key of the set\n"}, "valueType": "EXPRESSION", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "count":{"metadata":{"label":"count", "description":"Number of members to obtain\n"}, "valueType": "EXPRESSION", "value":"0", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"int", "category":"builtin"}}, "order":1}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:sRem":{"metadata":{"label":"sRem", "description":"Remove one or more members from a set.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"sRem", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"key":{"metadata":{"label":"key", "description":"Key of the set\n"}, "valueType": "EXPRESSION", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "members":{"metadata":{"label":"members", "description":"Array of members to remove\n"}, "valueType": "EXPRESSION", "value":"[]", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"isArrayType":true, "arrayDimensions":1, "elementType":{"name":"string", "category":"builtin"}}}, "order":1}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:sUnion":{"metadata":{"label":"sUnion", "description":"Return the union of multiple sets.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"sUnion", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"keys":{"metadata":{"label":"keys", "description":"Array of keys of sets\n"}, "valueType": "EXPRESSION", "value":"[]", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"isArrayType":true, "arrayDimensions":1, "elementType":{"name":"string", "category":"builtin"}}}, "order":0}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:sUnionStore":{"metadata":{"label":"sUnionStore", "description":"Return the union of multiple sets.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"sUnionStore", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"destination":{"metadata":{"label":"destination", "description":"Destination key of the resulting set\n"}, "valueType": "EXPRESSION", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "keys":{"metadata":{"label":"keys", "description":"Array of keys of sets\n"}, "valueType": "EXPRESSION", "value":"[]", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"isArrayType":true, "arrayDimensions":1, "elementType":{"name":"string", "category":"builtin"}}}, "order":1}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:zAdd":{"metadata":{"label":"zAdd", "description":"Add one or more members to a sorted set, or update its score if it already exist.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"zAdd", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"key":{"metadata":{"label":"key", "description":"Key of the sorted set\n"}, "valueType": "EXPRESSION", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "memberScoreMap":{"metadata":{"label":"memberScoreMap", "description":"Map of members and corresponding scores\n"}, "valueType": "EXPRESSION", "value":"{}", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"map", "category":"map", "constraint":{"name":"any", "category":"builtin"}}}, "order":1}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:zCard":{"metadata":{"label":"zCard", "description":"Get the number of members in a sorted set.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"zCard", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"key":{"metadata":{"label":"key", "description":"Key of the sorted set\n"}, "valueType": "EXPRESSION", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:zCount":{"metadata":{"label":"zCount", "description":"Count the members in a sorted set with scores within the given range.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"zCount", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"key":{"metadata":{"label":"key", "description":"Key of the sorted set\n"}, "valueType": "EXPRESSION", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "min":{"metadata":{"label":"min", "description":"Minimum score of the range\n"}, "valueType": "EXPRESSION", "value":"0.0", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"float", "category":"builtin"}}, "order":1}, "max":{"metadata":{"label":"max", "description":"Maximum score of the range\n"}, "valueType": "EXPRESSION", "value":"0.0", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"float", "category":"builtin"}}, "order":2}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:zIncrBy":{"metadata":{"label":"zIncrBy", "description":"Increment the score of a member in a sorted set.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"zIncrBy", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"key":{"metadata":{"label":"key", "description":"Key of the sorted set\n"}, "valueType": "EXPRESSION", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "amount":{"metadata":{"label":"amount", "description":"Amount to increment\n"}, "valueType": "EXPRESSION", "value":"0.0", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"float", "category":"builtin"}}, "order":1}, "member":{"metadata":{"label":"member", "description":"Member whose score to be incremented\n"}, "valueType": "EXPRESSION", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":2}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:zInterStore":{"metadata":{"label":"zInterStore", "description":"Intersect multiple sorted sets and store the resulting sorted set in a new key.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"zInterStore", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"destination":{"metadata":{"label":"destination", "description":"Destination key of the resulting sorted set\n"}, "valueType": "EXPRESSION", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "keys":{"metadata":{"label":"keys", "description":"Keys of the sorted sets to be intersected\n"}, "valueType": "EXPRESSION", "value":"[]", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"isArrayType":true, "arrayDimensions":1, "elementType":{"name":"string", "category":"builtin"}}}, "order":1}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:zLexCount":{"metadata":{"label":"zLexCount", "description":"Count the members in a sorted set within the given lexicographical range.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"zLexCount", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"key":{"metadata":{"label":"key", "description":"Key of the sorted set\n"}, "valueType": "EXPRESSION", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "min":{"metadata":{"label":"min", "description":"Minimum lexicographical value of the range\n"}, "valueType": "EXPRESSION", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":1}, "max":{"metadata":{"label":"max", "description":"Maximum lexicographical value of the range\n"}, "valueType": "EXPRESSION", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":2}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:zRange":{"metadata":{"label":"zRange", "description":"Return a range of members in a sorted set, by index.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"zRange", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"key":{"metadata":{"label":"key", "description":"Key of the sorted set\n"}, "valueType": "EXPRESSION", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "min":{"metadata":{"label":"min", "description":"Minimum index of the range\n"}, "valueType": "EXPRESSION", "value":"0", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"int", "category":"builtin"}}, "order":1}, "max":{"metadata":{"label":"max", "description":"Maximum index of the range\n"}, "valueType": "EXPRESSION", "value":"0", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"int", "category":"builtin"}}, "order":2}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:zRangeByLex":{"metadata":{"label":"zRangeByLex", "description":"Return a range of members in a sorted set, by lexicographical range from lowest to highest.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"zRangeByLex", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"key":{"metadata":{"label":"key", "description":"Key of the sorted set\n"}, "valueType": "EXPRESSION", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "min":{"metadata":{"label":"min", "description":"Minimum lexicographical value of the range\n"}, "valueType": "EXPRESSION", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":1}, "max":{"metadata":{"label":"max", "description":"Maximum lexicographical value of the range\n"}, "valueType": "EXPRESSION", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":2}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:zRevRangeByLex":{"metadata":{"label":"zRevRangeByLex", "description":"Return a range of members in a sorted set, by lexicographical range ordered from highest to\nlowest.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"zRevRangeByLex", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"key":{"metadata":{"label":"key", "description":"Key of the sorted set\n"}, "valueType": "EXPRESSION", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "min":{"metadata":{"label":"min", "description":"Lexicographical value of the range\n"}, "valueType": "EXPRESSION", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":1}, "max":{"metadata":{"label":"max", "description":"Maximum lexicographical value of the range\n"}, "valueType": "EXPRESSION", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":2}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:zRangeByScore":{"metadata":{"label":"zRangeByScore", "description":"Return a range of members in a sorted set, by score from lowest to highest.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"zRangeByScore", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"key":{"metadata":{"label":"key", "description":"Key of sorted set\n"}, "valueType": "EXPRESSION", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "min":{"metadata":{"label":"min", "description":"Minimum score of range\n"}, "valueType": "EXPRESSION", "value":"0.0", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"float", "category":"builtin"}}, "order":1}, "max":{"metadata":{"label":"max", "description":"Maximum score of range\n"}, "valueType": "EXPRESSION", "value":"0.0", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"float", "category":"builtin"}}, "order":2}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:zRank":{"metadata":{"label":"zRank", "description":"Determine index of a member in a sorted set.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"zRank", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"key":{"metadata":{"label":"key", "description":"Key of the sorted set\n"}, "valueType": "EXPRESSION", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "member":{"metadata":{"label":"member", "description":"Member of which the index needs to be obtained\n"}, "valueType": "EXPRESSION", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":1}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:zRem":{"metadata":{"label":"zRem", "description":"Remove one or more members from a sorted set\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"zRem", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"key":{"metadata":{"label":"key", "description":"Key of the sorted set\n"}, "valueType": "EXPRESSION", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "members":{"metadata":{"label":"members", "description":"Members to be removed\n"}, "valueType": "EXPRESSION", "value":"[]", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"isArrayType":true, "arrayDimensions":1, "elementType":{"name":"string", "category":"builtin"}}}, "order":1}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:zRemRangeByLex":{"metadata":{"label":"zRemRangeByLex", "description":"Remove all members in a sorted set between the given lexicographical range.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"zRemRangeByLex", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"key":{"metadata":{"label":"key", "description":"Key of the sorted set\n"}, "valueType": "EXPRESSION", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "min":{"metadata":{"label":"min", "description":"Minimum lexicographical value of the range\n"}, "valueType": "EXPRESSION", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":1}, "max":{"metadata":{"label":"max", "description":"Maximum lexicographical value of the range\n"}, "valueType": "EXPRESSION", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":2}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:zRemRangeByRank":{"metadata":{"label":"zRemRangeByRank", "description":"Remove all members in a sorted set within the given indices.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"zRemRangeByRank", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"key":{"metadata":{"label":"key", "description":"Key of the sorted set\n"}, "valueType": "EXPRESSION", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "min":{"metadata":{"label":"min", "description":"Minimum index of the range\n"}, "valueType": "EXPRESSION", "value":"0", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"int", "category":"builtin"}}, "order":1}, "max":{"metadata":{"label":"max", "description":"Maximum index of the range\n"}, "valueType": "EXPRESSION", "value":"0", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"int", "category":"builtin"}}, "order":2}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:zRemRangeByScore":{"metadata":{"label":"zRemRangeByScore", "description":"Remove all members in a sorted set within the given scores.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"zRemRangeByScore", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"key":{"metadata":{"label":"key", "description":"Key of the sorted set\n"}, "valueType": "EXPRESSION", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "min":{"metadata":{"label":"min", "description":"Minimum score of the range\n"}, "valueType": "EXPRESSION", "value":"0.0", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"float", "category":"builtin"}}, "order":1}, "max":{"metadata":{"label":"max", "description":"Maximum score of the range\n"}, "valueType": "EXPRESSION", "value":"0.0", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"float", "category":"builtin"}}, "order":2}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:zRevRange":{"metadata":{"label":"zRevRange", "description":"Return a range of members in a sorted set, by index, ordered highest to lowest.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"zRevRange", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"key":{"metadata":{"label":"key", "description":"Key of the sorted set\n"}, "valueType": "EXPRESSION", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "min":{"metadata":{"label":"min", "description":"Minimum index of the range\n"}, "valueType": "EXPRESSION", "value":"0", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"int", "category":"builtin"}}, "order":1}, "max":{"metadata":{"label":"max", "description":"Maximum index of the range\n"}, "valueType": "EXPRESSION", "value":"0", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"int", "category":"builtin"}}, "order":2}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:zRevRangeByScore":{"metadata":{"label":"zRevRangeByScore", "description":"Return a range of members in a sorted set, by score from highest to lowest.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"zRevRangeByScore", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"key":{"metadata":{"label":"key", "description":"Key of the sorted set\n"}, "valueType": "EXPRESSION", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "min":{"metadata":{"label":"min", "description":"Minimum score of the range\n"}, "valueType": "EXPRESSION", "value":"0.0", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"float", "category":"builtin"}}, "order":1}, "max":{"metadata":{"label":"max", "description":"Maximum score of the range\n"}, "valueType": "EXPRESSION", "value":"0.0", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"float", "category":"builtin"}}, "order":2}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:zRevRank":{"metadata":{"label":"zRevRank", "description":"Determine the index of a member in a sorted set\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"zRevRank", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"key":{"metadata":{"label":"key", "description":"Key of the sorted set\n"}, "valueType": "EXPRESSION", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "member":{"metadata":{"label":"member", "description":"Member of which the index needs to be obtained\n"}, "valueType": "EXPRESSION", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":1}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:zScore":{"metadata":{"label":"zScore", "description":"Determine the score of a member in a sorted set\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"zScore", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"key":{"metadata":{"label":"key", "description":"Key of the sorted set\n"}, "valueType": "EXPRESSION", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "member":{"metadata":{"label":"member", "description":"Member of which the score needs to be obtained\n"}, "valueType": "EXPRESSION", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":1}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:zUnionStore":{"metadata":{"label":"zUnionStore", "description":"Return the union of multiple sorted sets\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"zUnionStore", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"destination":{"metadata":{"label":"destination", "description":"Destination key of the resulting set\n"}, "valueType": "EXPRESSION", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "keys":{"metadata":{"label":"keys", "description":"Array of keys of sorted sets\n"}, "valueType": "EXPRESSION", "value":"[]", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"isArrayType":true, "arrayDimensions":1, "elementType":{"name":"string", "category":"builtin"}}}, "order":1}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:hDel":{"metadata":{"label":"hDel", "description":"Delete one or more hash fields.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"hDel", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"key":{"metadata":{"label":"key", "description":"Key of the hash\n"}, "valueType": "EXPRESSION", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "fields":{"metadata":{"label":"fields", "description":"Array of fields to be deleted\n"}, "valueType": "EXPRESSION", "value":"[]", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"isArrayType":true, "arrayDimensions":1, "elementType":{"name":"string", "category":"builtin"}}}, "order":1}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:hExists":{"metadata":{"label":"hExists", "description":"Determine if a hash field exists.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"hExists", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"key":{"metadata":{"label":"key", "description":"Key of the hash\n"}, "valueType": "EXPRESSION", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "'field":{"metadata":{"label":"'field", "description":""}, "valueType": "EXPRESSION", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":1}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:hGet":{"metadata":{"label":"hGet", "description":"Get the value of a hash field.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"hGet", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"key":{"metadata":{"label":"key", "description":"Key of the hash\n"}, "valueType": "EXPRESSION", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "'field":{"metadata":{"label":"'field", "description":""}, "valueType": "EXPRESSION", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":1}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:hGetAll":{"metadata":{"label":"hGetAll", "description":"Get the all values of a hash.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"hGetAll", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"key":{"metadata":{"label":"key", "description":"Key of the hash\n"}, "valueType": "EXPRESSION", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:hIncrBy":{"metadata":{"label":"hIncrBy", "description":"Increment the integer value of a hash field by the given number.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"hIncrBy", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"key":{"metadata":{"label":"key", "description":"Key of the hash\n"}, "valueType": "EXPRESSION", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "'field":{"metadata":{"label":"'field", "description":""}, "valueType": "EXPRESSION", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":1}, "amount":{"metadata":{"label":"amount", "description":"Amount to increment\n"}, "valueType": "EXPRESSION", "value":"0", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"int", "category":"builtin"}}, "order":2}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:hIncrByFloat":{"metadata":{"label":"hIncrByFloat", "description":"Increment the float value of a hash field by the given number.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"hIncrByFloat", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"key":{"metadata":{"label":"key", "description":"Key of the hash\n"}, "valueType": "EXPRESSION", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "'field":{"metadata":{"label":"'field", "description":""}, "valueType": "EXPRESSION", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":1}, "amount":{"metadata":{"label":"amount", "description":"Amount to increment\n"}, "valueType": "EXPRESSION", "value":"0.0", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"float", "category":"builtin"}}, "order":2}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:hKeys":{"metadata":{"label":"hKeys", "description":"Get all the fields in a hash.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"hKeys", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"key":{"metadata":{"label":"key", "description":"Key of the hash\n"}, "valueType": "EXPRESSION", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:hLen":{"metadata":{"label":"hLen", "description":"Get the number of fields in a hash.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"hLen", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"key":{"metadata":{"label":"key", "description":"Key of the hash\n"}, "valueType": "EXPRESSION", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:hMGet":{"metadata":{"label":"hMGet", "description":"Get the values of all the given hash fields.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"hMGet", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"key":{"metadata":{"label":"key", "description":"Key of the hash\n"}, "valueType": "EXPRESSION", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "fields":{"metadata":{"label":"fields", "description":"Array of hash fields\n"}, "valueType": "EXPRESSION", "value":"[]", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"isArrayType":true, "arrayDimensions":1, "elementType":{"name":"string", "category":"builtin"}}}, "order":1}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:hMSet":{"metadata":{"label":"hMSet", "description":"Set multiple hash fields to multiple values.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"hMSet", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"key":{"metadata":{"label":"key", "description":"Key of the hash\n"}, "valueType": "EXPRESSION", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "fieldValueMap":{"metadata":{"label":"fieldValueMap", "description":"Map of field-value pairs\n"}, "valueType": "EXPRESSION", "value":"{}", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"map", "category":"map", "constraint":{"name":"any", "category":"builtin"}}}, "order":1}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:hSet":{"metadata":{"label":"hSet", "description":"Set the string value of a hash field.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"hSet", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"key":{"metadata":{"label":"key", "description":"Key of the hash\n"}, "valueType": "EXPRESSION", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "'field":{"metadata":{"label":"'field", "description":""}, "valueType": "EXPRESSION", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":1}, "value":{"metadata":{"label":"value", "description":"Value to be set to the field\n"}, "valueType": "EXPRESSION", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":2}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:hSetNx":{"metadata":{"label":"hSetNx", "description":"Set the string value of a hash field, only if the field does not exist.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"hSetNx", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"key":{"metadata":{"label":"key", "description":"Key of the hash\n"}, "valueType": "EXPRESSION", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "'field":{"metadata":{"label":"'field", "description":""}, "valueType": "EXPRESSION", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":1}, "value":{"metadata":{"label":"value", "description":"Value to be set to the field\n"}, "valueType": "EXPRESSION", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":2}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:hStrLen":{"metadata":{"label":"hStrLen", "description":"Get the string length of the field value in a hash.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"hStrLen", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"key":{"metadata":{"label":"key", "description":"Key of the hash\n"}, "valueType": "EXPRESSION", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "'field":{"metadata":{"label":"'field", "description":""}, "valueType": "EXPRESSION", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":1}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:hVals":{"metadata":{"label":"hVals", "description":"Get all the values in a hash.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"hVals", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"key":{"metadata":{"label":"key", "description":"Key of the hash\n"}, "valueType": "EXPRESSION", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:del":{"metadata":{"label":"del", "description":"Delete one or more keys.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"del", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"keys":{"metadata":{"label":"keys", "description":"Key to be deleted\n"}, "valueType": "EXPRESSION", "value":"[]", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"isArrayType":true, "arrayDimensions":1, "elementType":{"name":"string", "category":"builtin"}}}, "order":0}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:exists":{"metadata":{"label":"exists", "description":"Determine how many keys exist.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"exists", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"keys":{"metadata":{"label":"keys", "description":"Keys of which existence to be found out\n"}, "valueType": "EXPRESSION", "value":"[]", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"isArrayType":true, "arrayDimensions":1, "elementType":{"name":"string", "category":"builtin"}}}, "order":0}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:expire":{"metadata":{"label":"expire", "description":"Set a key's time to live in seconds.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"expire", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"key":{"metadata":{"label":"key", "description":"Keys of which expiry time to be set\n"}, "valueType": "EXPRESSION", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "seconds":{"metadata":{"label":"seconds", "description":"Expiry in seconds\n"}, "valueType": "EXPRESSION", "value":"0", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"int", "category":"builtin"}}, "order":1}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:keys":{"metadata":{"label":"keys", "description":"Find all keys matching the given pattern.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"keys", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"pattern":{"metadata":{"label":"pattern", "description":"Pattern to match\n"}, "valueType": "EXPRESSION", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:move":{"metadata":{"label":"move", "description":"Move a key to another database.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"move", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"key":{"metadata":{"label":"key", "description":"Key to be moved\n"}, "valueType": "EXPRESSION", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "database":{"metadata":{"label":"database", "description":"Database to which the key needs to be moved\n"}, "valueType": "EXPRESSION", "value":"0", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"int", "category":"builtin"}}, "order":1}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:persist":{"metadata":{"label":"persist", "description":"Remove the expiration from a key.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"persist", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"key":{"metadata":{"label":"key", "description":"Key of which expiry time should be removed\n"}, "valueType": "EXPRESSION", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:pExpire":{"metadata":{"label":"pExpire", "description":"Set a key's time to live in milliseconds.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"pExpire", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"key":{"metadata":{"label":"key", "description":"Key of which expiry time should be removed\n"}, "valueType": "EXPRESSION", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "expirationTime":{"metadata":{"label":"expirationTime", "description":"Expiry time in milli seconds\n"}, "valueType": "EXPRESSION", "value":"0", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"int", "category":"builtin"}}, "order":1}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:pTtl":{"metadata":{"label":"pTtl", "description":"Get the time to live for a key in milliseconds.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"pTtl", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"key":{"metadata":{"label":"key", "description":"Key of which time-to-live should be obtained\n"}, "valueType": "EXPRESSION", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:randomKey":{"metadata":{"label":"randomKey", "description":"Return a random key from the keyspace.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"randomKey", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:rename":{"metadata":{"label":"rename", "description":"Rename a key.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"rename", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"key":{"metadata":{"label":"key", "description":"Key to be renamed\n"}, "valueType": "EXPRESSION", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "newName":{"metadata":{"label":"newName", "description":"New name of the key\n"}, "valueType": "EXPRESSION", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":1}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:renameNx":{"metadata":{"label":"renameNx", "description":"Rename a key, only if the new key does not exist.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"renameNx", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"key":{"metadata":{"label":"key", "description":"Key to be renamed\n"}, "valueType": "EXPRESSION", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "newName":{"metadata":{"label":"newName", "description":"New name of the key\n"}, "valueType": "EXPRESSION", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":1}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:sort":{"metadata":{"label":"sort", "description":"Sort elements in a list, set or sorted set.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"sort", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"key":{"metadata":{"label":"key", "description":"Key of the data type to be sorted\n"}, "valueType": "EXPRESSION", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:ttl":{"metadata":{"label":"ttl", "description":"Get the time to live for a key.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"ttl", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"key":{"metadata":{"label":"key", "description":"Key of which the time to live needs to be obtained\n"}, "valueType": "EXPRESSION", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:redisType":{"metadata":{"label":"redisType", "description":"Determine the type stored at key.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"redisType", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"key":{"metadata":{"label":"key", "description":"Key of which the type needs to be obtained\n"}, "valueType": "EXPRESSION", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:clusterInfo":{"metadata":{"label":"clusterInfo", "description":"Retrieve information and statistics about the cluster observed by the current node.\nThis command is exclusively available in cluster mode. If the connection is in a non-clustered mode,\nthe API will return a `redis:Error`. Other errors will also be appropriately handled.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"clusterInfo", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:ping":{"metadata":{"label":"ping", "description":"Ping the server.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"ping", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:auth":{"metadata":{"label":"auth", "description":"Authenticate to the server.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"auth", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"password":{"metadata":{"label":"password", "description":"Password to authenticate\n"}, "valueType": "EXPRESSION", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:redis:Client:echo":{"metadata":{"label":"echo", "description":"Echo the given string.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png"}, "codedata":{"node":"ACTION_CALL", "module":"redis", "symbol":"echo", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"message":{"metadata":{"label":"message", "description":"Message to be echo-ed\n"}, "valueType": "EXPRESSION", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"redis:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "NEW_CONNECTION:ballerinax:mssql:Client:init":{"metadata":{"label":"New Connection", "description":"Create a new connection", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_mssql_1.13.0.png"}, "codedata":{"node":"NEW_CONNECTION", "module":"mssql", "symbol":"init", "org":"ballerinax", "object":"Client", "importStmt":"import ballerinax/mssql as mssql;", "flags":1}, "properties":{"host":{"metadata":{"label":"host", "description":"Hostname of the MSSQL server\n"}, "valueType": "EXPRESSION", "value":"\"localhost\"", "optional":true, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "user":{"metadata":{"label":"user", "description":"If the MSSQL server is secured, the username\n"}, "valueType": "EXPRESSION", "value":"\"sa\"", "optional":true, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin", "isNullable":true}}, "order":1}, "password":{"metadata":{"label":"password", "description":"The password of the MSSQL server for the provided username\n"}, "valueType": "EXPRESSION", "value":"()", "optional":true, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin", "isNullable":true}}, "order":2}, "database":{"metadata":{"label":"database", "description":"The name of the database\n"}, "valueType": "EXPRESSION", "value":"()", "optional":true, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin", "isNullable":true}}, "order":3}, "port":{"metadata":{"label":"port", "description":"Port number of the MSSQL server\n"}, "valueType": "EXPRESSION", "value":"1433", "optional":true, "editable":true, "valueTypeConstraints":{"type":{"name":"int", "category":"builtin"}}, "order":4}, "instance":{"metadata":{"label":"instance", "description":"Instance name of the MSSQL server\n"}, "valueType": "EXPRESSION", "value":"\"\"", "optional":true, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":5}, "options":{"metadata":{"label":"options", "description":"MSSQL database connection options\n"}, "valueType": "EXPRESSION", "value":"()", "optional":true, "editable":true, "valueTypeConstraints":{"type":{"name":"Options", "category":"records", "isNullable":true, "orgName":"ballerinax", "moduleName":"mssql", "version":"1.13.0"}}, "order":6}, "connectionPool":{"metadata":{"label":"connectionPool", "description":"The `sql:ConnectionPool` to be used for the connection. If there is no\n`connectionPool` provided, the global connection pool (shared by all clients) will be used\n"}, "valueType": "EXPRESSION", "value":"()", "optional":true, "editable":true, "valueTypeConstraints":{"type":{"name":"ConnectionPool", "category":"reference", "isNullable":true, "moduleName":"sql"}}, "order":7}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"mssql:Client"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"mssql:Client", "valueTypeConstraints":{"typeOf":["mssql:Client"]}, "order":2, "group":"Basic"}, "scope":{"metadata":{"label":"Scope", "description":"Scope of the connection"}, "valueType":"Enum", "value":"Global", "advanced":true, "valueTypeConstraints":{"enum":["Global", "Service", "Local"]}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:mssql:Client:query":{"metadata":{"label":"query", "description":"Executes the query, which may return multiple results.\nWhen processing the stream, make sure to consume all fetched data or close the stream.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_mssql_1.13.0.png"}, "codedata":{"node":"ACTION_CALL", "module":"mssql", "symbol":"query", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"sqlQuery":{"metadata":{"label":"sqlQuery", "description":"The SQL query such as `` `SELECT * from Album WHERE name=${albumName}` ``\n"}, "valueType": "EXPRESSION", "value":"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"ParameterizedQuery", "category":"reference", "moduleName":"sql"}}, "order":0}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"map"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"map", "valueTypeConstraints":{"typeOf":["map"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"mssql:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:mssql:Client:queryRow":{"metadata":{"label":"queryRow", "description":"Executes the query, which is expected to return at most one row of the result.\nIf the query does not return any results, an `sql:NoRowsError` is returned.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_mssql_1.13.0.png"}, "codedata":{"node":"ACTION_CALL", "module":"mssql", "symbol":"queryRow", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"sqlQuery":{"metadata":{"label":"sqlQuery", "description":"The SQL query such as `` `SELECT * from Album WHERE name=${albumName}` ``\n"}, "valueType": "EXPRESSION", "value":"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"ParameterizedQuery", "category":"reference", "moduleName":"sql"}}, "order":0}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"json"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"json", "valueTypeConstraints":{"typeOf":["json"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"mssql:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:mssql:Client:execute":{"metadata":{"label":"execute", "description":"Executes the SQL query. Only the metadata of the execution is returned (not the results from the query).\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_mssql_1.13.0.png"}, "codedata":{"node":"ACTION_CALL", "module":"mssql", "symbol":"execute", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"sqlQuery":{"metadata":{"label":"sqlQuery", "description":"The SQL query such as `` `DELETE FROM Album WHERE artist=${artistName}` ``\n"}, "valueType": "EXPRESSION", "value":"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"ParameterizedQuery", "category":"reference", "moduleName":"sql"}}, "order":0}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"mssql:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:mssql:Client:batchExecute":{"metadata":{"label":"batchExecute", "description":"Executes an SQL query with multiple sets of parameters in a batch. Only the metadata of the execution is\nreturned (not results from the query). If one of the commands in the batch fails (except syntax error),\nthe `sql:BatchExecuteError` will be deferred until the remaining commands are completed.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_mssql_1.13.0.png"}, "codedata":{"node":"ACTION_CALL", "module":"mssql", "symbol":"batchExecute", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"sqlQueries":{"metadata":{"label":"sqlQueries", "description":"The SQL query with multiple sets of parameters\n"}, "valueType": "EXPRESSION", "value":"[]", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"isArrayType":true, "arrayDimensions":1, "elementType":{"name":"ParameterizedQuery", "category":"reference", "moduleName":"sql"}}}, "order":0}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"mssql:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:mssql:Client:call":{"metadata":{"label":"call", "description":"Executes an SQL query, which calls a stored procedure. This may or may not\nreturn results. Once the results are processed, the `close` method on `sql:ProcedureCallResult` must be called.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_mssql_1.13.0.png"}, "codedata":{"node":"ACTION_CALL", "module":"mssql", "symbol":"call", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"sqlQuery":{"metadata":{"label":"sqlQuery", "description":"The SQL query such as `` `CALL sp_GetAlbums();` ``\n"}, "valueType": "EXPRESSION", "value":"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"ParameterizedCallQuery", "category":"reference", "moduleName":"sql"}}, "order":0}, "rowTypes":{"metadata":{"label":"rowTypes", "description":"`typedesc` array of the records to which the results need to be returned\n"}, "valueType": "EXPRESSION", "value":"[]", "optional":true, "editable":true, "valueTypeConstraints":{"type":{"isArrayType":true, "arrayDimensions":1, "elementType":{"isTypeDesc":true, "elementType":{"category":"inline_record"}}}}, "order":1}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"mssql:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "NEW_CONNECTION:ballerinax:oracledb:Client:init":{"metadata":{"label":"New Connection", "description":"Create a new connection", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_oracledb_1.11.0.png"}, "codedata":{"node":"NEW_CONNECTION", "module":"oracledb", "symbol":"init", "org":"ballerinax", "object":"Client", "importStmt":"import ballerinax/oracledb as oracledb;", "flags":1}, "properties":{"host":{"metadata":{"label":"host", "description":"Hostname of the Oracle database server\n"}, "valueType": "EXPRESSION", "value":"\"localhost\"", "optional":true, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "user":{"metadata":{"label":"user", "description":"Name of a user of the Oracle database server\n"}, "valueType": "EXPRESSION", "value":"\"sys\"", "optional":true, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin", "isNullable":true}}, "order":1}, "password":{"metadata":{"label":"password", "description":"The password of the Oracle database server for the provided username\n"}, "valueType": "EXPRESSION", "value":"()", "optional":true, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin", "isNullable":true}}, "order":2}, "database":{"metadata":{"label":"database", "description":"System identifier or the service name of the database\n"}, "valueType": "EXPRESSION", "value":"()", "optional":true, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin", "isNullable":true}}, "order":3}, "port":{"metadata":{"label":"port", "description":"Port number of the Oracle database server\n"}, "valueType": "EXPRESSION", "value":"1521", "optional":true, "editable":true, "valueTypeConstraints":{"type":{"name":"int", "category":"builtin"}}, "order":4}, "options":{"metadata":{"label":"options", "description":"Oracle database connection properties\n"}, "valueType": "EXPRESSION", "value":"()", "optional":true, "editable":true, "valueTypeConstraints":{"type":{"name":"Options", "category":"records", "isNullable":true, "orgName":"ballerinax", "moduleName":"oracledb", "version":"1.11.0"}}, "order":5}, "connectionPool":{"metadata":{"label":"connectionPool", "description":"The `sql:ConnectionPool` object to be used within the client. If there is no\n`connectionPool` provided, the global connection pool will be used\n"}, "valueType": "EXPRESSION", "value":"()", "optional":true, "editable":true, "valueTypeConstraints":{"type":{"name":"ConnectionPool", "category":"libs", "isNullable":true, "orgName":"ballerina", "moduleName":"sql", "version":"1.11.0"}}, "order":6}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"oracledb:Client"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"oracledb:Client", "valueTypeConstraints":{"typeOf":["oracledb:Client"]}, "order":2, "group":"Basic"}, "scope":{"metadata":{"label":"Scope", "description":"Scope of the connection"}, "valueType":"Enum", "value":"Global", "advanced":true, "valueTypeConstraints":{"enum":["Global", "Service", "Local"]}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:oracledb:Client:query":{"metadata":{"label":"query", "description":"Executes the query, which may return multiple results.\nWhen processing the stream, make sure to consume all fetched data or close the stream.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_oracledb_1.11.0.png"}, "codedata":{"node":"ACTION_CALL", "module":"oracledb", "symbol":"query", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"sqlQuery":{"metadata":{"label":"sqlQuery", "description":"The SQL query such as `` `SELECT * from Album WHERE name=${albumName}` ``\n"}, "valueType": "EXPRESSION", "value":"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"ParameterizedQuery", "category":"libs", "orgName":"ballerina", "moduleName":"sql", "version":"1.11.0"}}, "order":0}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"map"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"map", "valueTypeConstraints":{"typeOf":["map"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"oracledb:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:oracledb:Client:queryRow":{"metadata":{"label":"queryRow", "description":"Executes the query, which is expected to return at most one row of the result.\nIf the query does not return any results, an `sql:NoRowsError` is returned.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_oracledb_1.11.0.png"}, "codedata":{"node":"ACTION_CALL", "module":"oracledb", "symbol":"queryRow", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"sqlQuery":{"metadata":{"label":"sqlQuery", "description":"The SQL query such as `` `SELECT * from Album WHERE name=${albumName}` ``\n"}, "valueType": "EXPRESSION", "value":"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"ParameterizedQuery", "category":"libs", "orgName":"ballerina", "moduleName":"sql", "version":"1.11.0"}}, "order":0}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"json"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"json", "valueTypeConstraints":{"typeOf":["json"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"oracledb:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:oracledb:Client:execute":{"metadata":{"label":"execute", "description":"Executes the SQL query. Only the metadata of the execution is returned (not the results from the query).\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_oracledb_1.11.0.png"}, "codedata":{"node":"ACTION_CALL", "module":"oracledb", "symbol":"execute", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"sqlQuery":{"metadata":{"label":"sqlQuery", "description":"The SQL query such as `` `DELETE FROM Album WHERE artist=${artistName}` ``\n"}, "valueType": "EXPRESSION", "value":"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"ParameterizedQuery", "category":"libs", "orgName":"ballerina", "moduleName":"sql", "version":"1.11.0"}}, "order":0}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"oracledb:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:oracledb:Client:batchExecute":{"metadata":{"label":"batchExecute", "description":"Executes the SQL query with multiple sets of parameters in a batch. Only the metadata of the execution is returned (not results from the query).\nIf one of the commands in the batch fails, the `sql:BatchExecuteError` will be returned immediately.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_oracledb_1.11.0.png"}, "codedata":{"node":"ACTION_CALL", "module":"oracledb", "symbol":"batchExecute", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"sqlQueries":{"metadata":{"label":"sqlQueries", "description":"The SQL query with multiple sets of parameters\n"}, "valueType": "EXPRESSION", "value":"[]", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"isArrayType":true, "arrayDimensions":1, "elementType":{"name":"ParameterizedQuery", "category":"libs", "orgName":"ballerina", "moduleName":"sql", "version":"1.11.0"}}}, "order":0}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"oracledb:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:oracledb:Client:call":{"metadata":{"label":"call", "description":"Executes an SQL query, which calls a stored procedure. This may or may not\nreturn results. Once the results are processed, the `close` method on `sql:ProcedureCallResult` must be called.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_oracledb_1.11.0.png"}, "codedata":{"node":"ACTION_CALL", "module":"oracledb", "symbol":"call", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"sqlQuery":{"metadata":{"label":"sqlQuery", "description":"The SQL query such as `` `CALL sp_GetAlbums();` ``\n"}, "valueType": "EXPRESSION", "value":"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"ParameterizedCallQuery", "category":"libs", "orgName":"ballerina", "moduleName":"sql", "version":"1.11.0"}}, "order":0}, "rowTypes":{"metadata":{"label":"rowTypes", "description":"`typedesc` array of the records to which the results need to be returned\n"}, "valueType": "EXPRESSION", "value":"[]", "optional":true, "editable":true, "valueTypeConstraints":{"type":{"isArrayType":true, "arrayDimensions":1, "elementType":{"isTypeDesc":true, "elementType":{"category":"inline_record"}}}}, "order":1}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"oracledb:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "NEW_CONNECTION:ballerinax:mongodb:Client:init":{"metadata":{"label":"New Connection", "description":"Create a new connection", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_mongodb_5.0.0.png"}, "codedata":{"node":"NEW_CONNECTION", "module":"mongodb", "symbol":"init", "org":"ballerinax", "object":"Client", "importStmt":"import ballerinax/mongodb as mongodb;", "flags":1}, "properties":{"config":{"metadata":{"label":"config", "description":"The connection configurations for connecting to a MongoDB server\n"}, "valueType": "EXPRESSION", "value":"{}", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"ConnectionConfig", "category":"records", "isInclusion":true, "orgName":"ballerinax", "moduleName":"mongodb", "version":"5.0.0"}}, "order":0}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"mongodb:Client"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"mongodb:Client", "valueTypeConstraints":{"typeOf":["mongodb:Client"]}, "order":2, "group":"Basic"}, "scope":{"metadata":{"label":"Scope", "description":"Scope of the connection"}, "valueType":"Enum", "value":"Global", "advanced":true, "valueTypeConstraints":{"enum":["Global", "Service", "Local"]}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:mongodb:Client:listDatabaseNames":{"metadata":{"label":"listDatabaseNames", "description":"Lists the database names in the MongoDB server.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_mongodb_5.0.0.png"}, "codedata":{"node":"ACTION_CALL", "module":"mongodb", "symbol":"listDatabaseNames", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"mongodb:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:mongodb:Client:getDatabase":{"metadata":{"label":"getDatabase", "description":"Retrieves a database from the MongoDB server.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_mongodb_5.0.0.png"}, "codedata":{"node":"ACTION_CALL", "module":"mongodb", "symbol":"getDatabase", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"databaseName":{"metadata":{"label":"databaseName", "description":"Name of the database\n"}, "valueType": "EXPRESSION", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"mongodb:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:mongodb:Client:close":{"metadata":{"label":"close", "description":"Closes the client.\n\n> **Note:** Use a single client instance for the lifetime of the application and close it when the application is done.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_mongodb_5.0.0.png"}, "codedata":{"node":"ACTION_CALL", "module":"mongodb", "symbol":"close", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"mongodb:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "NEW_CONNECTION:ballerinax:postgresql:Client:init":{"metadata":{"label":"New Connection", "description":"Create a new connection", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_postgresql_1.13.0.png"}, "codedata":{"node":"NEW_CONNECTION", "module":"postgresql", "symbol":"init", "org":"ballerinax", "object":"Client", "importStmt":"import ballerinax/postgresql as postgresql;", "flags":1}, "properties":{"host":{"metadata":{"label":"host", "description":"Hostname of the PostgreSQL server\n"}, "valueType": "EXPRESSION", "value":"\"localhost\"", "optional":true, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "username":{"metadata":{"label":"username", "description":""}, "valueType": "EXPRESSION", "value":"\"postgres\"", "optional":true, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin", "isNullable":true}}, "order":1}, "password":{"metadata":{"label":"password", "description":"The password of the PostgreSQL server for the provided username\n"}, "valueType": "EXPRESSION", "value":"()", "optional":true, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin", "isNullable":true}}, "order":2}, "database":{"metadata":{"label":"database", "description":"The name of the database. The default is to connect to a database with the\nsame name as the username\n"}, "valueType": "EXPRESSION", "value":"()", "optional":true, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin", "isNullable":true}}, "order":3}, "port":{"metadata":{"label":"port", "description":"Port number of the PostgreSQL server\n"}, "valueType": "EXPRESSION", "value":"5432", "optional":true, "editable":true, "valueTypeConstraints":{"type":{"name":"int", "category":"builtin"}}, "order":4}, "options":{"metadata":{"label":"options", "description":"The database specific PostgreSQL connection properties\n"}, "valueType": "EXPRESSION", "value":"()", "optional":true, "editable":true, "valueTypeConstraints":{"type":{"name":"Options", "category":"records", "isNullable":true, "orgName":"ballerinax", "moduleName":"postgresql", "version":"1.13.0"}}, "order":5}, "connectionPool":{"metadata":{"label":"connectionPool", "description":"The `sql:ConnectionPool` object to be used within the client. If there is no\n`connectionPool` provided, the global connection pool will be used\n"}, "valueType": "EXPRESSION", "value":"()", "optional":true, "editable":true, "valueTypeConstraints":{"type":{"name":"ConnectionPool", "category":"reference", "isNullable":true, "moduleName":"sql"}}, "order":6}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"postgresql:Client"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"postgresql:Client", "valueTypeConstraints":{"typeOf":["postgresql:Client"]}, "order":2, "group":"Basic"}, "scope":{"metadata":{"label":"Scope", "description":"Scope of the connection"}, "valueType":"Enum", "value":"Global", "advanced":true, "valueTypeConstraints":{"enum":["Global", "Service", "Local"]}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:postgresql:Client:query":{"metadata":{"label":"query", "description":"Executes the query, which may return multiple results.\nWhen processing the stream, make sure to consume all fetched data or close the stream.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_postgresql_1.13.0.png"}, "codedata":{"node":"ACTION_CALL", "module":"postgresql", "symbol":"query", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"sqlQuery":{"metadata":{"label":"sqlQuery", "description":"The SQL query such as `` `SELECT * from Album WHERE name=${albumName}` ``\n"}, "valueType": "EXPRESSION", "value":"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"ParameterizedQuery", "category":"reference", "moduleName":"sql"}}, "order":0}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"map"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"map", "valueTypeConstraints":{"typeOf":["map"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"postgresql:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:postgresql:Client:queryRow":{"metadata":{"label":"queryRow", "description":"Executes the query, which is expected to return at most one row of the result.\nIf the query does not return any results, an `sql:NoRowsError` is returned.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_postgresql_1.13.0.png"}, "codedata":{"node":"ACTION_CALL", "module":"postgresql", "symbol":"queryRow", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"sqlQuery":{"metadata":{"label":"sqlQuery", "description":"The SQL query such as `` `SELECT * from Album WHERE name=${albumName}` ``\n"}, "valueType": "EXPRESSION", "value":"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"ParameterizedQuery", "category":"reference", "moduleName":"sql"}}, "order":0}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"json"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"json", "valueTypeConstraints":{"typeOf":["json"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"postgresql:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:postgresql:Client:execute":{"metadata":{"label":"execute", "description":"Executes the SQL query. Only the metadata of the execution is returned (not the results from the query).\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_postgresql_1.13.0.png"}, "codedata":{"node":"ACTION_CALL", "module":"postgresql", "symbol":"execute", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"sqlQuery":{"metadata":{"label":"sqlQuery", "description":"The SQL query such as `` `DELETE FROM Album WHERE artist=${artistName}` ``\n"}, "valueType": "EXPRESSION", "value":"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"ParameterizedQuery", "category":"reference", "moduleName":"sql"}}, "order":0}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"postgresql:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:postgresql:Client:batchExecute":{"metadata":{"label":"batchExecute", "description":"Executes the SQL query with multiple sets of parameters in a batch. Only the metadata of the execution is returned (not results from the query).\nIf one of the commands in the batch fails, the `sql:BatchExecuteError` will be returned immediately.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_postgresql_1.13.0.png"}, "codedata":{"node":"ACTION_CALL", "module":"postgresql", "symbol":"batchExecute", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"sqlQueries":{"metadata":{"label":"sqlQueries", "description":"The SQL query with multiple sets of parameters\n"}, "valueType": "EXPRESSION", "value":"[]", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"isArrayType":true, "arrayDimensions":1, "elementType":{"name":"ParameterizedQuery", "category":"reference", "moduleName":"sql"}}}, "order":0}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"postgresql:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "ACTION_CALL:ballerinax:postgresql:Client:call":{"metadata":{"label":"call", "description":"Executes an SQL query, which calls a stored procedure. This may or may not\nreturn results. Once the results are processed, the `close` method on `sql:ProcedureCallResult` must be called.\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerinax_postgresql_1.13.0.png"}, "codedata":{"node":"ACTION_CALL", "module":"postgresql", "symbol":"call", "org":"ballerinax", "object":"Client", "flags":1}, "properties":{"sqlQuery":{"metadata":{"label":"sqlQuery", "description":"The SQL query such as `` `CALL sp_GetAlbums();` ``\n"}, "valueType": "EXPRESSION", "value":"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"ParameterizedCallQuery", "category":"reference", "moduleName":"sql"}}, "order":0}, "rowTypes":{"metadata":{"label":"rowTypes", "description":"`typedesc` array of the records to which the results need to be returned\n"}, "valueType": "EXPRESSION", "value":"[]", "optional":true, "editable":true, "valueTypeConstraints":{"type":{"isArrayType":true, "arrayDimensions":1, "elementType":{"isTypeDesc":true, "elementType":{"category":"inline_record"}}}}, "order":1}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}, "connection":{"metadata":{"label":"Connection", "description":"Connection to use"}, "valueType":"Identifier", "value":"connection", "advanced":true, "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"postgresql:Client"}}, "order":3, "group":"Core"}}, "flags":1}, "FUNCTION_CALL:ballerina:log:printInfo":{"metadata":{"label":"printInfo", "description":"Prints info logs.\n```ballerina\nlog:printInfo(\"info message\", id = 845315)\n```\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerina_log_2.10.0.png"}, "codedata":{"node":"FUNCTION_CALL", "module":"log", "symbol":"printInfo", "org":"ballerina", "importStmt":"import ballerina/log as log", "flags":1}, "properties":{"msg":{"metadata":{"label":"msg", "description":"The message to be logged\n"}, "valueType": "EXPRESSION", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "'error":{"metadata":{"label":"'error", "description":"The error struct to be logged\n"}, "valueType": "EXPRESSION", "value":"()", "optional":true, "editable":true, "valueTypeConstraints":{"type":{"name":"error", "category":"builtin", "isNullable":true}}, "order":1}, "stackTrace":{"metadata":{"label":"stackTrace", "description":"The error stack trace to be logged\n"}, "valueType": "EXPRESSION", "value":"()", "optional":true, "editable":true, "valueTypeConstraints":{"type":{"isArrayType":true, "isNullable":true, "arrayDimensions":1, "elementType":{"name":"StackFrame", "category":"libs", "orgName":"ballerina", "moduleName":"lang.error", "version":"0.0.0"}}}, "order":2}, "keyValues":{"metadata":{"label":"keyValues", "description":"The key-value pairs to be logged\n"}, "valueType": "EXPRESSION", "value":"{}", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"KeyValues", "category":"records", "isInclusion":true, "orgName":"ballerina", "moduleName":"log", "version":"2.10.0"}}, "order":3}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}}, "flags":1}, "FUNCTION_CALL:ballerina:log:printError":{"metadata":{"label":"printError", "description":"Prints error logs.\n```ballerina\nerror e = error(\"error occurred\");\nlog:printError(\"error log with cause\", 'error = e, id = 845315);\n```\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerina_log_2.10.0.png"}, "codedata":{"node":"FUNCTION_CALL", "module":"log", "symbol":"printError", "org":"ballerina", "importStmt":"import ballerina/log as log", "flags":1}, "properties":{"msg":{"metadata":{"label":"msg", "description":"The message to be logged\n"}, "valueType": "EXPRESSION", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "'error":{"metadata":{"label":"'error", "description":"The error struct to be logged\n"}, "valueType": "EXPRESSION", "value":"()", "optional":true, "editable":true, "valueTypeConstraints":{"type":{"name":"error", "category":"builtin", "isNullable":true}}, "order":1}, "stackTrace":{"metadata":{"label":"stackTrace", "description":"The error stack trace to be logged\n"}, "valueType": "EXPRESSION", "value":"()", "optional":true, "editable":true, "valueTypeConstraints":{"type":{"isArrayType":true, "isNullable":true, "arrayDimensions":1, "elementType":{"name":"StackFrame", "category":"libs", "orgName":"ballerina", "moduleName":"lang.error", "version":"0.0.0"}}}, "order":2}, "keyValues":{"metadata":{"label":"keyValues", "description":"The key-value pairs to be logged\n"}, "valueType": "EXPRESSION", "value":"{}", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"KeyValues", "category":"records", "isInclusion":true, "orgName":"ballerina", "moduleName":"log", "version":"2.10.0"}}, "order":3}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}}, "flags":1}, "FUNCTION_CALL:ballerina:log:printWarn":{"metadata":{"label":"printWarn", "description":"Prints warn logs.\n```ballerina\nlog:printWarn(\"warn message\", id = 845315)\n```\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerina_log_2.10.0.png"}, "codedata":{"node":"FUNCTION_CALL", "module":"log", "symbol":"printWarn", "org":"ballerina", "importStmt":"import ballerina/log as log", "flags":1}, "properties":{"msg":{"metadata":{"label":"msg", "description":"The message to be logged\n"}, "valueType": "EXPRESSION", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "'error":{"metadata":{"label":"'error", "description":"The error struct to be logged\n"}, "valueType": "EXPRESSION", "value":"()", "optional":true, "editable":true, "valueTypeConstraints":{"type":{"name":"error", "category":"builtin", "isNullable":true}}, "order":1}, "stackTrace":{"metadata":{"label":"stackTrace", "description":"The error stack trace to be logged\n"}, "valueType": "EXPRESSION", "value":"()", "optional":true, "editable":true, "valueTypeConstraints":{"type":{"isArrayType":true, "isNullable":true, "arrayDimensions":1, "elementType":{"name":"StackFrame", "category":"libs", "orgName":"ballerina", "moduleName":"lang.error", "version":"0.0.0"}}}, "order":2}, "keyValues":{"metadata":{"label":"keyValues", "description":"The key-value pairs to be logged\n"}, "valueType": "EXPRESSION", "value":"{}", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"KeyValues", "category":"records", "isInclusion":true, "orgName":"ballerina", "moduleName":"log", "version":"2.10.0"}}, "order":3}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}}, "flags":1}, "FUNCTION_CALL:ballerina:log:printDebug":{"metadata":{"label":"printDebug", "description":"Prints debug logs.\n```ballerina\nlog:printDebug(\"debug message\", id = 845315)\n```\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerina_log_2.10.0.png"}, "codedata":{"node":"FUNCTION_CALL", "module":"log", "symbol":"printDebug", "org":"ballerina", "importStmt":"import ballerina/log as log", "flags":1}, "properties":{"msg":{"metadata":{"label":"msg", "description":"The message to be logged\n"}, "valueType": "EXPRESSION", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "'error":{"metadata":{"label":"'error", "description":"The error struct to be logged\n"}, "valueType": "EXPRESSION", "value":"()", "optional":true, "editable":true, "valueTypeConstraints":{"type":{"name":"error", "category":"builtin", "isNullable":true}}, "order":1}, "stackTrace":{"metadata":{"label":"stackTrace", "description":"The error stack trace to be logged\n"}, "valueType": "EXPRESSION", "value":"()", "optional":true, "editable":true, "valueTypeConstraints":{"type":{"isArrayType":true, "isNullable":true, "arrayDimensions":1, "elementType":{"name":"StackFrame", "category":"libs", "orgName":"ballerina", "moduleName":"lang.error", "version":"0.0.0"}}}, "order":2}, "keyValues":{"metadata":{"label":"keyValues", "description":"The key-value pairs to be logged\n"}, "valueType": "EXPRESSION", "value":"{}", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"KeyValues", "category":"records", "isInclusion":true, "orgName":"ballerina", "moduleName":"log", "version":"2.10.0"}}, "order":3}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}}, "flags":1}, "FUNCTION_CALL:ballerina:data.jsondata:toJson":{"metadata":{"label":"toJson", "description":"Converts a value of type `anydata` to `json`.\n\n", "icon":""}, "codedata":{"node":"FUNCTION_CALL", "module":"data.jsondata", "symbol":"toJson", "org":"ballerina", "importStmt":"import ballerina/data.jsondata as jsondata", "flags":1}, "properties":{"v":{"metadata":{"label":"v", "description":"Source anydata value\n"}, "valueType": "EXPRESSION", "value":"{}", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"anydata", "category":"builtin"}}, "order":0}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}}, "flags":1}, "FUNCTION_CALL:ballerina:data.xmldata:toXml":{"metadata":{"label":"toXml", "description":"Converts a `Map` or `Record` representation to its XML representation.\nAdditionally, when converting from a record, the `xmldata:Namespace`, `xmldata:Name`, and `xmldata:Attribute`\nannotations can be used to add `namespaces`, `name of elements`, and `attributes` to XML representation.\n\n", "icon":""}, "codedata":{"node":"FUNCTION_CALL", "module":"data.xmldata", "symbol":"toXml", "org":"ballerina", "importStmt":"import ballerina/data.xmldata as xmldata", "flags":1}, "properties":{"mapValue":{"metadata":{"label":"mapValue", "description":"The `Map` or `Record` representation source to be converted to XML\n"}, "valueType": "EXPRESSION", "value":"{}", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"map", "category":"map", "constraint":{"name":"anydata", "category":"builtin"}}}, "order":0}, "options":{"metadata":{"label":"options", "description":"Options to be used for filtering in the projection\n"}, "valueType": "EXPRESSION", "value":"{}", "optional":true, "editable":true, "valueTypeConstraints":{"type":{"name":"Options", "category":"records", "orgName":"ballerina", "moduleName":"data.xmldata", "version":"1.0.0"}}, "order":1}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}}, "flags":1}, "FUNCTION_CALL:ballerina:data.jsondata:parseAsType":{"metadata":{"label":"parseAsType", "description":"Convert value of type `json` to subtype of `anydata`.\n\n", "icon":""}, "codedata":{"node":"FUNCTION_CALL", "module":"data.jsondata", "symbol":"parseAsType", "org":"ballerina", "importStmt":"import ballerina/data.jsondata as jsondata", "flags":1}, "properties":{"v":{"metadata":{"label":"v", "description":"Source JSON value\n"}, "valueType": "EXPRESSION", "value":"{}", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"json", "category":"builtin"}}, "order":0}, "options":{"metadata":{"label":"options", "description":"Options to be used for filtering in the projection\n"}, "valueType": "EXPRESSION", "value":"{}", "optional":true, "editable":true, "valueTypeConstraints":{"type":{"name":"Options", "category":"records", "orgName":"ballerina", "moduleName":"data.jsondata", "version":"0.2.0"}}, "order":1}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"json"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"json", "valueTypeConstraints":{"typeOf":["json"]}, "order":2, "group":"Basic"}}, "flags":1}, "FUNCTION_CALL:ballerina:data.xmldata:parseAsType":{"metadata":{"label":"parseAsType", "description":"Converts XML to record type with projection.\n\n", "icon":""}, "codedata":{"node":"FUNCTION_CALL", "module":"data.xmldata", "symbol":"parseAsType", "org":"ballerina", "importStmt":"import ballerina/data.xmldata as xmldata", "flags":1}, "properties":{"v":{"metadata":{"label":"v", "description":"Source XML value \n"}, "valueType": "EXPRESSION", "value":"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"xml", "category":"builtin"}}, "order":0}, "options":{"metadata":{"label":"options", "description":"Options to be used for filtering in the projection\n"}, "valueType": "EXPRESSION", "value":"{}", "optional":true, "editable":true, "valueTypeConstraints":{"type":{"name":"SourceOptions", "category":"records", "orgName":"ballerina", "moduleName":"data.xmldata", "version":"1.0.0"}}, "order":1}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"map"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"map", "valueTypeConstraints":{"typeOf":["map"]}, "order":2, "group":"Basic"}}, "flags":1}, "FUNCTION_CALL:ballerina:data.jsondata:read":{"metadata":{"label":"read", "description":"Extract details from the given JSON value using the provided query template expression.\n\n```ballerina\nread({id: 1, \"name\": \"John Doe\"}, `$.name`) => \"John Doe\"\n```\n\n", "icon":""}, "codedata":{"node":"FUNCTION_CALL", "module":"data.jsondata", "symbol":"read", "org":"ballerina", "importStmt":"import ballerina/data.jsondata as jsondata", "flags":1}, "properties":{"'json":{"metadata":{"label":"'json", "description":"JSON value\n"}, "valueType": "EXPRESSION", "value":"{}", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"json", "category":"builtin"}}, "order":0}, "query":{"metadata":{"label":"query", "description":"JSON path expression\n"}, "valueType": "EXPRESSION", "value":"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"JsonPathRawTemplate", "category":"objectTypes", "orgName":"ballerina", "moduleName":"data.jsondata", "version":"0.2.0"}}, "order":1}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}}, "flags":1}, "FUNCTION_CALL:ballerina:data.jsondata:prettify":{"metadata":{"label":"prettify", "description":"Prettifies a `json` value to print it.\n\n", "icon":""}, "codedata":{"node":"FUNCTION_CALL", "module":"data.jsondata", "symbol":"prettify", "org":"ballerina", "importStmt":"import ballerina/data.jsondata as jsondata", "flags":1}, "properties":{"value":{"metadata":{"label":"value", "description":"The `json` value to be prettified\n"}, "valueType": "EXPRESSION", "value":"{}", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"json", "category":"builtin"}}, "order":0}, "indentation":{"metadata":{"label":"indentation", "description":"The number of spaces for an indentation\n"}, "valueType": "EXPRESSION", "value":"4", "optional":true, "editable":true, "valueTypeConstraints":{"type":{"name":"int", "category":"builtin"}}, "order":1}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}}, "flags":1}, "FUNCTION_CALL:ballerina:xslt:transform":{"metadata":{"label":"transform", "description":"Transforms the single-rooted XML content to another XML\/HTML\/plain text using XSL transformations.\n```ballerina\nxml|error target = xslt:transform(sourceXml, xsl);\n```\n\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerina_xslt_2.7.0.png"}, "codedata":{"node":"FUNCTION_CALL", "module":"xslt", "symbol":"transform", "org":"ballerina", "importStmt":"import ballerina/xslt as xslt", "flags":1}, "properties":{"input":{"metadata":{"label":"input", "description":"An XML object, which needs to be transformed\n"}, "valueType": "EXPRESSION", "value":"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"xml", "category":"builtin"}}, "order":0}, "xsl":{"metadata":{"label":"xsl", "description":"The XSL style sheet represented in an XML object\n"}, "valueType": "EXPRESSION", "value":"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"xml", "category":"builtin"}}, "order":1}, "params":{"metadata":{"label":"params", "description":"Optional parameters passed into the xslt template\n"}, "valueType": "EXPRESSION", "value":"{}", "optional":true, "editable":true, "valueTypeConstraints":{"type":{"name":"map", "category":"map", "constraint":{"isAnonymousUnionType":true, "memberTypes":[{"name":"string", "category":"builtin"}, {"name":"decimal", "category":"builtin"}]}}}, "order":2}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}}, "flags":1}, "FUNCTION_CALL:ballerina:io:fileReadCsv":{"metadata":{"label":"fileReadCsv", "description":"Read file content as a CSV.\nWhen the expected data type is record[], the first entry of the csv file should contain matching headers.\n```ballerina\nstring[][]|io:Error content = io:fileReadCsv(\".\/resources\/myfile.csv\");\nrecord{}[]|io:Error content = io:fileReadCsv(\".\/resources\/myfile.csv\");\n```\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerina_io_1.6.1.png"}, "codedata":{"node":"FUNCTION_CALL", "module":"io", "symbol":"fileReadCsv", "org":"ballerina", "importStmt":"import ballerina/io as io", "flags":1}, "properties":{"path":{"metadata":{"label":"path", "description":"The CSV file path\n"}, "valueType": "EXPRESSION", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "skipHeaders":{"metadata":{"label":"skipHeaders", "description":"Number of headers, which should be skipped prior to reading records\n"}, "valueType": "EXPRESSION", "value":"0", "optional":true, "editable":true, "valueTypeConstraints":{"type":{"name":"int", "category":"builtin"}}, "order":1}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"json"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"json", "valueTypeConstraints":{"typeOf":["json"]}, "order":2, "group":"Basic"}}, "flags":1}, "FUNCTION_CALL:ballerina:io:fileReadJson":{"metadata":{"label":"fileReadJson", "description":"Reads file content as a JSON.\n```ballerina\njson|io:Error content = io:fileReadJson(\".\/resources\/myfile.json\");\n```\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerina_io_1.6.1.png"}, "codedata":{"node":"FUNCTION_CALL", "module":"io", "symbol":"fileReadJson", "org":"ballerina", "importStmt":"import ballerina/io as io", "flags":1}, "properties":{"path":{"metadata":{"label":"path", "description":"The path of the JSON file\n"}, "valueType": "EXPRESSION", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}}, "flags":1}, "FUNCTION_CALL:ballerina:io:fileReadBytes":{"metadata":{"label":"fileReadBytes", "description":"Read the entire file content as a byte array.\n```ballerina\nbyte[]|io:Error content = io:fileReadBytes(\".\/resources\/myfile.txt\");\n```\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerina_io_1.6.1.png"}, "codedata":{"node":"FUNCTION_CALL", "module":"io", "symbol":"fileReadBytes", "org":"ballerina", "importStmt":"import ballerina/io as io", "flags":1}, "properties":{"path":{"metadata":{"label":"path", "description":"The path of the file\n"}, "valueType": "EXPRESSION", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}}, "flags":1}, "FUNCTION_CALL:ballerina:io:fileReadXml":{"metadata":{"label":"fileReadXml", "description":"Reads file content as an XML.\n```ballerina\nxml|io:Error content = io:fileReadXml(\".\/resources\/myfile.xml\");\n```\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerina_io_1.6.1.png"}, "codedata":{"node":"FUNCTION_CALL", "module":"io", "symbol":"fileReadXml", "org":"ballerina", "importStmt":"import ballerina/io as io", "flags":1}, "properties":{"path":{"metadata":{"label":"path", "description":"The path of the XML file\n"}, "valueType": "EXPRESSION", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}}, "flags":1}, "FUNCTION_CALL:ballerina:io:fileWriteCsv":{"metadata":{"label":"fileWriteCsv", "description":"Write CSV content to a file.\nWhen the input is a record[] type in `OVERWRITE`, headers will be written to the CSV file by default.\nFor `APPEND`, order of the existing csv file is inferred using the headers and used as the order.\n```ballerina\ntype Coord record {int x;int y;};\nCoord[] contentRecord = [{x: 1,y: 2},{x: 1,y: 2}]\nstring[][] content = [[\"Anne\", \"Johnson\", \"SE\"], [\"John\", \"Cameron\", \"QA\"]];\nio:Error? result = io:fileWriteCsv(\".\/resources\/myfile.csv\", content);\nio:Error? resultRecord = io:fileWriteCsv(\".\/resources\/myfileRecord.csv\", contentRecord);\n```\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerina_io_1.6.1.png"}, "codedata":{"node":"FUNCTION_CALL", "module":"io", "symbol":"fileWriteCsv", "org":"ballerina", "importStmt":"import ballerina/io as io", "flags":1}, "properties":{"path":{"metadata":{"label":"path", "description":"The CSV file path\n"}, "valueType": "EXPRESSION", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "content":{"metadata":{"label":"content", "description":"CSV content as an array of string arrays or a array of Ballerina records\n"}, "valueType": "EXPRESSION", "value":"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"isAnonymousUnionType":true, "memberTypes":[{"isArrayType":true, "arrayDimensions":1, "elementType":{"name":"string", "category":"builtin"}}, {"isArrayType":true, "arrayDimensions":1, "elementType":{"name":"map", "category":"map", "constraint":{"name":"anydata", "category":"builtin"}}}]}}, "order":1}, "option":{"metadata":{"label":"option", "description":"To indicate whether to overwrite or append the given content\n"}, "valueType": "EXPRESSION", "value":"OVERWRITE", "optional":true, "editable":true, "valueTypeConstraints":{"type":{"name":"FileWriteOption", "category":"enums", "orgName":"ballerina", "moduleName":"io", "version":"1.6.1"}}, "order":2}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}}, "flags":1}, "FUNCTION_CALL:ballerina:io:fileWriteJson":{"metadata":{"label":"fileWriteJson", "description":"Write a JSON to a file.\n```ballerina\njson content = {\"name\": \"Anne\", \"age\": 30};\nio:Error? result = io:fileWriteJson(\".\/resources\/myfile.json\", content);\n```\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerina_io_1.6.1.png"}, "codedata":{"node":"FUNCTION_CALL", "module":"io", "symbol":"fileWriteJson", "org":"ballerina", "importStmt":"import ballerina/io as io", "flags":1}, "properties":{"path":{"metadata":{"label":"path", "description":"The path of the JSON file\n"}, "valueType": "EXPRESSION", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "content":{"metadata":{"label":"content", "description":"JSON content to write\n"}, "valueType": "EXPRESSION", "value":"{}", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"json", "category":"builtin"}}, "order":1}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}}, "flags":1}, "FUNCTION_CALL:ballerina:io:fileWriteBytes":{"metadata":{"label":"fileWriteBytes", "description":"Write a set of bytes to a file.\n```ballerina\nbyte[] content = [60, 78, 39, 28];\nio:Error? result = io:fileWriteBytes(\".\/resources\/myfile.txt\", content);\n```\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerina_io_1.6.1.png"}, "codedata":{"node":"FUNCTION_CALL", "module":"io", "symbol":"fileWriteBytes", "org":"ballerina", "importStmt":"import ballerina/io as io", "flags":1}, "properties":{"path":{"metadata":{"label":"path", "description":"The path of the file\n"}, "valueType": "EXPRESSION", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "content":{"metadata":{"label":"content", "description":"Byte content to write\n"}, "valueType": "EXPRESSION", "value":"[]", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"isArrayType":true, "arrayDimensions":1, "elementType":{"name":"byte", "category":"builtin"}}}, "order":1}, "option":{"metadata":{"label":"option", "description":"To indicate whether to overwrite or append the given content\n"}, "valueType": "EXPRESSION", "value":"OVERWRITE", "optional":true, "editable":true, "valueTypeConstraints":{"type":{"name":"FileWriteOption", "category":"enums", "orgName":"ballerina", "moduleName":"io", "version":"1.6.1"}}, "order":2}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}}, "flags":1}, "FUNCTION_CALL:ballerina:io:fileWriteXml":{"metadata":{"label":"fileWriteXml", "description":"Write XML content to a file.\n```ballerina\nxml content = xml `The Lost World<\/book>`;\nio:Error? result = io:fileWriteXml(\".\/resources\/myfile.xml\", content);\n```\n", "icon":"https://bcentral-packageicons.azureedge.net/images/ballerina_io_1.6.1.png"}, "codedata":{"node":"FUNCTION_CALL", "module":"io", "symbol":"fileWriteXml", "org":"ballerina", "importStmt":"import ballerina/io as io", "flags":1}, "properties":{"path":{"metadata":{"label":"path", "description":"The path of the XML file\n"}, "valueType": "EXPRESSION", "value":"\"\"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"string", "category":"builtin"}}, "order":0}, "content":{"metadata":{"label":"content", "description":"XML content to write\n"}, "valueType": "EXPRESSION", "value":"", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"xml", "category":"builtin"}}, "order":1}, "fileWriteOption":{"metadata":{"label":"fileWriteOption", "description":"File write option (`OVERWRITE` and `APPEND` are the possible values and the default value is `OVERWRITE`)\n"}, "valueType": "EXPRESSION", "value":"OVERWRITE", "optional":true, "editable":true, "valueTypeConstraints":{"type":{"name":"FileWriteOption", "category":"enums", "orgName":"ballerina", "moduleName":"io", "version":"1.6.1"}}, "order":2}, "xmlOptions":{"metadata":{"label":"xmlOptions", "description":"XML writing options (XML entity type and DOCTYPE)\n"}, "valueType": "EXPRESSION", "value":"{}", "optional":false, "editable":true, "valueTypeConstraints":{"type":{"name":"XmlWriteOptions", "category":"records", "isInclusion":true, "orgName":"ballerina", "moduleName":"io", "version":"1.6.1"}}, "order":3}, "variable":{"metadata":{"label":"Variable", "description":"Variable to store value"}, "valueType":"Identifier", "value":"value", "valueTypeConstraints":{"identifier":{"isNewVariable":false, "symbolType":"string"}}, "order":1, "group":"Basic"}, "type":{"metadata":{"label":"Type", "description":"Type of the variable"}, "valueType":"Type", "value":"string", "valueTypeConstraints":{"typeOf":["string"]}, "order":2, "group":"Basic"}}, "flags":1}} \ No newline at end of file diff --git a/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/node_template/config/action_call-http-get.json b/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/node_template/config/action_call-http-get.json index 61abee056..c0fde9e07 100644 --- a/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/node_template/config/action_call-http-get.json +++ b/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/node_template/config/action_call-http-get.json @@ -28,7 +28,7 @@ "label": "path", "description": "Request path\n" }, - "valueType": "Expression", + "valueType": "EXPRESSION", "value": "\"\"", "optional": false, "editable": true @@ -38,7 +38,7 @@ "label": "headers", "description": "The entity headers\n" }, - "valueType": "Expression", + "valueType": "EXPRESSION", "value": "()", "optional": true, "editable": true diff --git a/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/node_template/config/action_call-http-post.json b/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/node_template/config/action_call-http-post.json index ef7894766..529fc334b 100644 --- a/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/node_template/config/action_call-http-post.json +++ b/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/node_template/config/action_call-http-post.json @@ -27,7 +27,7 @@ "label": "path", "description": "Resource path\n" }, - "valueType": "Expression", + "valueType": "EXPRESSION", "value": "\"\"", "optional": false, "editable": true @@ -37,7 +37,7 @@ "label": "message", "description": "An HTTP outbound request or any allowed payload\n" }, - "valueType": "Expression", + "valueType": "EXPRESSION", "value": "", "optional": false, "editable": true @@ -47,7 +47,7 @@ "label": "headers", "description": "The entity headers\n" }, - "valueType": "Expression", + "valueType": "EXPRESSION", "value": "()", "optional": true, "editable": true @@ -57,7 +57,7 @@ "label": "mediaType", "description": "The MIME type header of the request entity\n" }, - "valueType": "Expression", + "valueType": "EXPRESSION", "value": "()", "optional": true, "editable": true diff --git a/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/node_template/config/action_call-redis-get.json b/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/node_template/config/action_call-redis-get.json index 409379b83..bca3341ae 100644 --- a/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/node_template/config/action_call-redis-get.json +++ b/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/node_template/config/action_call-redis-get.json @@ -27,7 +27,7 @@ "label": "key", "description": "Key referring to a value\n" }, - "valueType": "Expression", + "valueType": "EXPRESSION", "value": "\"\"", "optional": false, "editable": true diff --git a/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/node_template/config/action_call-redis-set.json b/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/node_template/config/action_call-redis-set.json index 37229eacf..ea58409cb 100644 --- a/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/node_template/config/action_call-redis-set.json +++ b/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/node_template/config/action_call-redis-set.json @@ -27,7 +27,7 @@ "label": "key", "description": "Key referring to a value\n" }, - "valueType": "Expression", + "valueType": "EXPRESSION", "value": "\"\"", "optional": false, "editable": true @@ -37,7 +37,7 @@ "label": "value", "description": "Values\n" }, - "valueType": "Expression", + "valueType": "EXPRESSION", "value": "\"\"", "optional": false, "editable": true diff --git a/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/node_template/config/new_connection-http.json b/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/node_template/config/new_connection-http.json index e60ed5e99..f7b886865 100644 --- a/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/node_template/config/new_connection-http.json +++ b/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/node_template/config/new_connection-http.json @@ -28,7 +28,7 @@ "label": "url", "description": "URL of the target service\n" }, - "valueType": "Expression", + "valueType": "EXPRESSION", "value": "\"\"", "optional": false, "editable": true @@ -38,7 +38,7 @@ "label": "config", "description": "The configurations to be used when initializing the `client`\n" }, - "valueType": "Expression", + "valueType": "EXPRESSION", "value": "{}", "optional": false, "editable": true diff --git a/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/node_template/config/new_connection-redis.json b/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/node_template/config/new_connection-redis.json index 63501d1df..b589e2c3c 100644 --- a/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/node_template/config/new_connection-redis.json +++ b/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/node_template/config/new_connection-redis.json @@ -27,7 +27,7 @@ "label": "config", "description": "configuration for the connector\n" }, - "valueType": "Expression", + "valueType": "EXPRESSION", "value": "{}", "optional": false, "editable": true