@aurahelper/languages
Version:
Language Libraries to work with XML, Aura, Apex... files. tokenizers, parsers, system classes and much more
1,441 lines • 49.4 kB
JSON
{
"id": "ConnectApi.questionandanswers",
"nodeType": "class",
"name": "QuestionAndAnswers",
"namespace": "ConnectApi",
"startToken": {
"type": "declaration.entity.name.class",
"text": "QuestionAndAnswers",
"textToLower": "questionandanswers",
"isAux": false,
"range": {
"start": {
"line": -1,
"character": 0
},
"end": {
"line": -1,
"character": 0
},
"isEmpty": true,
"isSingleLine": true
},
"id": "declaration.entity.name.class_QuestionAndAnswers_-1:0"
},
"order": 0,
"memberOrder": 0,
"accessModifier": {
"type": "keyword.modifier.access",
"text": "global",
"textToLower": "global",
"isAux": false,
"range": {
"start": {
"line": -1,
"character": 0
},
"end": {
"line": -1,
"character": 0
},
"isEmpty": true,
"isSingleLine": true
},
"id": "keyword.modifier.access_global_-1:0"
},
"sharingModifier": {
"type": "keyword.modifier.sharing",
"text": "without sharing",
"textToLower": "without sharing",
"isAux": false,
"range": {
"start": {
"line": -1,
"character": 0
},
"end": {
"line": -1,
"character": 0
},
"isEmpty": true,
"isSingleLine": true
},
"id": "keyword.modifier.sharing_without sharing_-1:0"
},
"description": "Access question and answers suggestions.",
"documentation": "https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_ConnectAPI_QuestionAndAnswers_static_methods.htm",
"classes": {},
"interfaces": {},
"enums": {},
"variables": {},
"methods": {
"getsuggestions(string,string,string,boolean,integer)": {
"id": "ConnectApi.questionandanswers.method.getsuggestions(string,string,string,boolean,integer)",
"nodeType": "method",
"name": "getSuggestions",
"startToken": {
"type": "declaration.entity.name.function",
"text": "getSuggestions",
"textToLower": "getsuggestions",
"isAux": false,
"range": {
"start": {
"line": -1,
"character": 0
},
"end": {
"line": -1,
"character": 0
},
"isEmpty": true,
"isSingleLine": true
},
"id": "declaration.entity.name.function_getSuggestions_-1:0"
},
"parentId": "ConnectApi.questionandanswers",
"order": 1,
"memberOrder": 1,
"accessModifier": {
"type": "keyword.modifier.access",
"text": "public",
"textToLower": "public",
"isAux": false,
"range": {
"start": {
"line": 0,
"character": 0
},
"end": {
"line": 0,
"character": 6
},
"isEmpty": false,
"isSingleLine": true
},
"id": "token.type.identifier_public_0:0"
},
"static": {
"type": "keyword.modifier.static",
"text": "static",
"textToLower": "static",
"isAux": false,
"range": {
"start": {
"line": 0,
"character": 7
},
"end": {
"line": 0,
"character": 13
},
"isEmpty": false,
"isSingleLine": true
},
"id": "token.type.identifier_static_0:7"
},
"signature": "public static ConnectApi.QuestionAndAnswersSuggestions getSuggestions(String communityId, String q, String subjectId, Boolean includeArticles, Integer maxResults)",
"overrideSignature": "public static override ConnectApi.QuestionAndAnswersSuggestions getSuggestions(String communityId, String q, String subjectId, Boolean includeArticles, Integer maxResults)",
"simplifiedSignature": "getSuggestions(String,String,String,Boolean,Integer)",
"datatype": {
"id": "ConnectApi.questionandanswers.getsuggestions.datatype.ConnectApi.QuestionAndAnswersSuggestions",
"nodeType": "datatype",
"name": "ConnectApi.QuestionAndAnswersSuggestions",
"startToken": {
"type": "datatype.support.namespace",
"text": "ConnectApi",
"textToLower": "connectapi",
"isAux": false,
"range": {
"start": {
"line": 0,
"character": 14
},
"end": {
"line": 0,
"character": 24
},
"isEmpty": false,
"isSingleLine": true
},
"id": "token.type.identifier_ConnectApi_0:14"
},
"parentId": "ConnectApi.questionandanswers.getsuggestions",
"order": 0,
"memberOrder": 0,
"type": "ConnectApi.QuestionAndAnswersSuggestions"
},
"description": "Get question and answers suggestions.",
"parentName": "QuestionAndAnswers",
"variables": {},
"params": {
"communityid": {
"id": "ConnectApi.questionandanswers.method.getsuggestions(string,string,string,boolean,integer).varParam.communityid",
"nodeType": "variable",
"name": "communityId",
"startToken": {
"type": "declaration.entity.name.variable",
"text": "communityId",
"textToLower": "communityid",
"isAux": false,
"range": {
"start": {
"line": 0,
"character": 77
},
"end": {
"line": 0,
"character": 88
},
"isEmpty": false,
"isSingleLine": true
},
"id": "token.type.identifier_communityId_0:77"
},
"endToken": {
"type": "declaration.entity.name.variable",
"text": "communityId",
"textToLower": "communityid",
"isAux": false,
"range": {
"start": {
"line": 0,
"character": 77
},
"end": {
"line": 0,
"character": 88
},
"isEmpty": false,
"isSingleLine": true
},
"id": "token.type.identifier_communityId_0:77"
},
"parentId": "ConnectApi.questionandanswers.method.getsuggestions(string,string,string,boolean,integer)",
"order": 1,
"memberOrder": 1,
"datatype": {
"id": "ConnectApi.questionandanswers.getsuggestions.datatype.String",
"nodeType": "datatype",
"name": "String",
"startToken": {
"type": "datatype.primitive",
"text": "String",
"textToLower": "string",
"isAux": false,
"range": {
"start": {
"line": 0,
"character": 70
},
"end": {
"line": 0,
"character": 76
},
"isEmpty": false,
"isSingleLine": true
},
"id": "token.type.identifier_String_0:70"
},
"parentId": "ConnectApi.questionandanswers.getsuggestions",
"order": 0,
"memberOrder": 0,
"type": "String"
},
"scope": null
},
"q": {
"id": "ConnectApi.questionandanswers.method.getsuggestions(string,string,string,boolean,integer).varParam.q",
"nodeType": "variable",
"name": "q",
"startToken": {
"type": "declaration.entity.name.variable",
"text": "q",
"textToLower": "q",
"isAux": false,
"range": {
"start": {
"line": 0,
"character": 97
},
"end": {
"line": 0,
"character": 98
},
"isEmpty": false,
"isSingleLine": true
},
"id": "token.type.identifier_q_0:97"
},
"endToken": {
"type": "declaration.entity.name.variable",
"text": "q",
"textToLower": "q",
"isAux": false,
"range": {
"start": {
"line": 0,
"character": 97
},
"end": {
"line": 0,
"character": 98
},
"isEmpty": false,
"isSingleLine": true
},
"id": "token.type.identifier_q_0:97"
},
"parentId": "ConnectApi.questionandanswers.method.getsuggestions(string,string,string,boolean,integer)",
"order": 2,
"memberOrder": 2,
"datatype": {
"id": "ConnectApi.questionandanswers.getsuggestions.datatype.String",
"nodeType": "datatype",
"name": "String",
"startToken": {
"type": "datatype.primitive",
"text": "String",
"textToLower": "string",
"isAux": false,
"range": {
"start": {
"line": 0,
"character": 90
},
"end": {
"line": 0,
"character": 96
},
"isEmpty": false,
"isSingleLine": true
},
"id": "token.type.identifier_String_0:90"
},
"parentId": "ConnectApi.questionandanswers.getsuggestions",
"order": 0,
"memberOrder": 0,
"type": "String"
},
"scope": null
},
"subjectid": {
"id": "ConnectApi.questionandanswers.method.getsuggestions(string,string,string,boolean,integer).varParam.subjectid",
"nodeType": "variable",
"name": "subjectId",
"startToken": {
"type": "declaration.entity.name.variable",
"text": "subjectId",
"textToLower": "subjectid",
"isAux": false,
"range": {
"start": {
"line": 0,
"character": 107
},
"end": {
"line": 0,
"character": 116
},
"isEmpty": false,
"isSingleLine": true
},
"id": "token.type.identifier_subjectId_0:107"
},
"endToken": {
"type": "declaration.entity.name.variable",
"text": "subjectId",
"textToLower": "subjectid",
"isAux": false,
"range": {
"start": {
"line": 0,
"character": 107
},
"end": {
"line": 0,
"character": 116
},
"isEmpty": false,
"isSingleLine": true
},
"id": "token.type.identifier_subjectId_0:107"
},
"parentId": "ConnectApi.questionandanswers.method.getsuggestions(string,string,string,boolean,integer)",
"order": 3,
"memberOrder": 3,
"datatype": {
"id": "ConnectApi.questionandanswers.getsuggestions.datatype.String",
"nodeType": "datatype",
"name": "String",
"startToken": {
"type": "datatype.primitive",
"text": "String",
"textToLower": "string",
"isAux": false,
"range": {
"start": {
"line": 0,
"character": 100
},
"end": {
"line": 0,
"character": 106
},
"isEmpty": false,
"isSingleLine": true
},
"id": "token.type.identifier_String_0:100"
},
"parentId": "ConnectApi.questionandanswers.getsuggestions",
"order": 0,
"memberOrder": 0,
"type": "String"
},
"scope": null
},
"includearticles": {
"id": "ConnectApi.questionandanswers.method.getsuggestions(string,string,string,boolean,integer).varParam.includearticles",
"nodeType": "variable",
"name": "includeArticles",
"startToken": {
"type": "declaration.entity.name.variable",
"text": "includeArticles",
"textToLower": "includearticles",
"isAux": false,
"range": {
"start": {
"line": 0,
"character": 126
},
"end": {
"line": 0,
"character": 141
},
"isEmpty": false,
"isSingleLine": true
},
"id": "token.type.identifier_includeArticles_0:126"
},
"endToken": {
"type": "declaration.entity.name.variable",
"text": "includeArticles",
"textToLower": "includearticles",
"isAux": false,
"range": {
"start": {
"line": 0,
"character": 126
},
"end": {
"line": 0,
"character": 141
},
"isEmpty": false,
"isSingleLine": true
},
"id": "token.type.identifier_includeArticles_0:126"
},
"parentId": "ConnectApi.questionandanswers.method.getsuggestions(string,string,string,boolean,integer)",
"order": 4,
"memberOrder": 4,
"datatype": {
"id": "ConnectApi.questionandanswers.getsuggestions.datatype.Boolean",
"nodeType": "datatype",
"name": "Boolean",
"startToken": {
"type": "datatype.primitive",
"text": "Boolean",
"textToLower": "boolean",
"isAux": false,
"range": {
"start": {
"line": 0,
"character": 118
},
"end": {
"line": 0,
"character": 125
},
"isEmpty": false,
"isSingleLine": true
},
"id": "token.type.identifier_Boolean_0:118"
},
"parentId": "ConnectApi.questionandanswers.getsuggestions",
"order": 0,
"memberOrder": 0,
"type": "Boolean"
},
"scope": null
},
"maxresults": {
"id": "ConnectApi.questionandanswers.method.getsuggestions(string,string,string,boolean,integer).varParam.maxresults",
"nodeType": "variable",
"name": "maxResults",
"startToken": {
"type": "declaration.entity.name.variable",
"text": "maxResults",
"textToLower": "maxresults",
"isAux": false,
"range": {
"start": {
"line": 0,
"character": 151
},
"end": {
"line": 0,
"character": 161
},
"isEmpty": false,
"isSingleLine": true
},
"id": "token.type.identifier_maxResults_0:151"
},
"endToken": {
"type": "declaration.entity.name.variable",
"text": "maxResults",
"textToLower": "maxresults",
"isAux": false,
"range": {
"start": {
"line": 0,
"character": 151
},
"end": {
"line": 0,
"character": 161
},
"isEmpty": false,
"isSingleLine": true
},
"id": "token.type.identifier_maxResults_0:151"
},
"parentId": "ConnectApi.questionandanswers.method.getsuggestions(string,string,string,boolean,integer)",
"order": 5,
"memberOrder": 5,
"datatype": {
"id": "ConnectApi.questionandanswers.getsuggestions.datatype.Integer",
"nodeType": "datatype",
"name": "Integer",
"startToken": {
"type": "datatype.primitive",
"text": "Integer",
"textToLower": "integer",
"isAux": false,
"range": {
"start": {
"line": 0,
"character": 143
},
"end": {
"line": 0,
"character": 150
},
"isEmpty": false,
"isSingleLine": true
},
"id": "token.type.identifier_Integer_0:143"
},
"parentId": "ConnectApi.questionandanswers.getsuggestions",
"order": 0,
"memberOrder": 0,
"type": "Integer"
},
"description": "Use either the ID for a community, internal, or null. Required and cannot be null. Specifies the string to search. The search string must contain at least two characters, not including wildcards. See Wildcards. Specify a subject ID to search only questions on that object. If the ID is a topic or a user, the ID is ignored. Specify true to include knowledge articles in the search results. To return only questions, specify false. The maximum number of results to return for each type of item. Possible values are 1–10. The default value is 5.",
"scope": null
}
},
"queries": [],
"exceptions": []
},
"settestgetsuggestions(string,string,string,boolean,integer,connectapi.questionandanswerssuggestions)": {
"id": "ConnectApi.questionandanswers.method.settestgetsuggestions(string,string,string,boolean,integer,connectapi.questionandanswerssuggestions)",
"nodeType": "method",
"name": "setTestGetSuggestions",
"startToken": {
"type": "declaration.entity.name.function",
"text": "setTestGetSuggestions",
"textToLower": "settestgetsuggestions",
"isAux": false,
"range": {
"start": {
"line": -1,
"character": 0
},
"end": {
"line": -1,
"character": 0
},
"isEmpty": true,
"isSingleLine": true
},
"id": "declaration.entity.name.function_setTestGetSuggestions_-1:0"
},
"parentId": "ConnectApi.questionandanswers",
"order": 2,
"memberOrder": 2,
"accessModifier": {
"type": "keyword.modifier.access",
"text": "public",
"textToLower": "public",
"isAux": false,
"range": {
"start": {
"line": 0,
"character": 0
},
"end": {
"line": 0,
"character": 6
},
"isEmpty": false,
"isSingleLine": true
},
"id": "token.type.identifier_public_0:0"
},
"static": {
"type": "keyword.modifier.static",
"text": "static",
"textToLower": "static",
"isAux": false,
"range": {
"start": {
"line": 0,
"character": 7
},
"end": {
"line": 0,
"character": 13
},
"isEmpty": false,
"isSingleLine": true
},
"id": "token.type.identifier_static_0:7"
},
"signature": "public static Void setTestGetSuggestions(String communityId, String q, String subjectId, Boolean includeArticles, Integer maxResults, ConnectApi.QuestionAndAnswersSuggestions result)",
"overrideSignature": "public static override Void setTestGetSuggestions(String communityId, String q, String subjectId, Boolean includeArticles, Integer maxResults, ConnectApi.QuestionAndAnswersSuggestions result)",
"simplifiedSignature": "setTestGetSuggestions(String,String,String,Boolean,Integer,ConnectApi.QuestionAndAnswersSuggestions)",
"datatype": {
"id": "ConnectApi.questionandanswers.settestgetsuggestions.datatype.Void",
"nodeType": "datatype",
"name": "Void",
"startToken": {
"type": "datatype.primitive",
"text": "Void",
"textToLower": "void",
"isAux": false,
"range": {
"start": {
"line": 0,
"character": 14
},
"end": {
"line": 0,
"character": 18
},
"isEmpty": false,
"isSingleLine": true
},
"id": "token.type.identifier_Void_0:14"
},
"parentId": "ConnectApi.questionandanswers.settestgetsuggestions",
"order": 0,
"memberOrder": 0,
"type": "Void"
},
"description": "Register a ConnectApi.QuestionAndAnswersSuggestions object to be returned when getSuggestions is called with matching parameters in a test context. Use the method with the same parameters or the code throws an exception.",
"parentName": "QuestionAndAnswers",
"variables": {},
"params": {
"communityid": {
"id": "ConnectApi.questionandanswers.method.settestgetsuggestions(string,string,string,boolean,integer,connectapi.questionandanswerssuggestions).varParam.communityid",
"nodeType": "variable",
"name": "communityId",
"startToken": {
"type": "declaration.entity.name.variable",
"text": "communityId",
"textToLower": "communityid",
"isAux": false,
"range": {
"start": {
"line": 0,
"character": 48
},
"end": {
"line": 0,
"character": 59
},
"isEmpty": false,
"isSingleLine": true
},
"id": "token.type.identifier_communityId_0:48"
},
"endToken": {
"type": "declaration.entity.name.variable",
"text": "communityId",
"textToLower": "communityid",
"isAux": false,
"range": {
"start": {
"line": 0,
"character": 48
},
"end": {
"line": 0,
"character": 59
},
"isEmpty": false,
"isSingleLine": true
},
"id": "token.type.identifier_communityId_0:48"
},
"parentId": "ConnectApi.questionandanswers.method.settestgetsuggestions(string,string,string,boolean,integer,connectapi.questionandanswerssuggestions)",
"order": 1,
"memberOrder": 1,
"datatype": {
"id": "ConnectApi.questionandanswers.settestgetsuggestions.datatype.String",
"nodeType": "datatype",
"name": "String",
"startToken": {
"type": "datatype.primitive",
"text": "String",
"textToLower": "string",
"isAux": false,
"range": {
"start": {
"line": 0,
"character": 41
},
"end": {
"line": 0,
"character": 47
},
"isEmpty": false,
"isSingleLine": true
},
"id": "token.type.identifier_String_0:41"
},
"parentId": "ConnectApi.questionandanswers.settestgetsuggestions",
"order": 0,
"memberOrder": 0,
"type": "String"
},
"scope": null
},
"q": {
"id": "ConnectApi.questionandanswers.method.settestgetsuggestions(string,string,string,boolean,integer,connectapi.questionandanswerssuggestions).varParam.q",
"nodeType": "variable",
"name": "q",
"startToken": {
"type": "declaration.entity.name.variable",
"text": "q",
"textToLower": "q",
"isAux": false,
"range": {
"start": {
"line": 0,
"character": 68
},
"end": {
"line": 0,
"character": 69
},
"isEmpty": false,
"isSingleLine": true
},
"id": "token.type.identifier_q_0:68"
},
"endToken": {
"type": "declaration.entity.name.variable",
"text": "q",
"textToLower": "q",
"isAux": false,
"range": {
"start": {
"line": 0,
"character": 68
},
"end": {
"line": 0,
"character": 69
},
"isEmpty": false,
"isSingleLine": true
},
"id": "token.type.identifier_q_0:68"
},
"parentId": "ConnectApi.questionandanswers.method.settestgetsuggestions(string,string,string,boolean,integer,connectapi.questionandanswerssuggestions)",
"order": 2,
"memberOrder": 2,
"datatype": {
"id": "ConnectApi.questionandanswers.settestgetsuggestions.datatype.String",
"nodeType": "datatype",
"name": "String",
"startToken": {
"type": "datatype.primitive",
"text": "String",
"textToLower": "string",
"isAux": false,
"range": {
"start": {
"line": 0,
"character": 61
},
"end": {
"line": 0,
"character": 67
},
"isEmpty": false,
"isSingleLine": true
},
"id": "token.type.identifier_String_0:61"
},
"parentId": "ConnectApi.questionandanswers.settestgetsuggestions",
"order": 0,
"memberOrder": 0,
"type": "String"
},
"scope": null
},
"subjectid": {
"id": "ConnectApi.questionandanswers.method.settestgetsuggestions(string,string,string,boolean,integer,connectapi.questionandanswerssuggestions).varParam.subjectid",
"nodeType": "variable",
"name": "subjectId",
"startToken": {
"type": "declaration.entity.name.variable",
"text": "subjectId",
"textToLower": "subjectid",
"isAux": false,
"range": {
"start": {
"line": 0,
"character": 78
},
"end": {
"line": 0,
"character": 87
},
"isEmpty": false,
"isSingleLine": true
},
"id": "token.type.identifier_subjectId_0:78"
},
"endToken": {
"type": "declaration.entity.name.variable",
"text": "subjectId",
"textToLower": "subjectid",
"isAux": false,
"range": {
"start": {
"line": 0,
"character": 78
},
"end": {
"line": 0,
"character": 87
},
"isEmpty": false,
"isSingleLine": true
},
"id": "token.type.identifier_subjectId_0:78"
},
"parentId": "ConnectApi.questionandanswers.method.settestgetsuggestions(string,string,string,boolean,integer,connectapi.questionandanswerssuggestions)",
"order": 3,
"memberOrder": 3,
"datatype": {
"id": "ConnectApi.questionandanswers.settestgetsuggestions.datatype.String",
"nodeType": "datatype",
"name": "String",
"startToken": {
"type": "datatype.primitive",
"text": "String",
"textToLower": "string",
"isAux": false,
"range": {
"start": {
"line": 0,
"character": 71
},
"end": {
"line": 0,
"character": 77
},
"isEmpty": false,
"isSingleLine": true
},
"id": "token.type.identifier_String_0:71"
},
"parentId": "ConnectApi.questionandanswers.settestgetsuggestions",
"order": 0,
"memberOrder": 0,
"type": "String"
},
"scope": null
},
"includearticles": {
"id": "ConnectApi.questionandanswers.method.settestgetsuggestions(string,string,string,boolean,integer,connectapi.questionandanswerssuggestions).varParam.includearticles",
"nodeType": "variable",
"name": "includeArticles",
"startToken": {
"type": "declaration.entity.name.variable",
"text": "includeArticles",
"textToLower": "includearticles",
"isAux": false,
"range": {
"start": {
"line": 0,
"character": 97
},
"end": {
"line": 0,
"character": 112
},
"isEmpty": false,
"isSingleLine": true
},
"id": "token.type.identifier_includeArticles_0:97"
},
"endToken": {
"type": "declaration.entity.name.variable",
"text": "includeArticles",
"textToLower": "includearticles",
"isAux": false,
"range": {
"start": {
"line": 0,
"character": 97
},
"end": {
"line": 0,
"character": 112
},
"isEmpty": false,
"isSingleLine": true
},
"id": "token.type.identifier_includeArticles_0:97"
},
"parentId": "ConnectApi.questionandanswers.method.settestgetsuggestions(string,string,string,boolean,integer,connectapi.questionandanswerssuggestions)",
"order": 4,
"memberOrder": 4,
"datatype": {
"id": "ConnectApi.questionandanswers.settestgetsuggestions.datatype.Boolean",
"nodeType": "datatype",
"name": "Boolean",
"startToken": {
"type": "datatype.primitive",
"text": "Boolean",
"textToLower": "boolean",
"isAux": false,
"range": {
"start": {
"line": 0,
"character": 89
},
"end": {
"line": 0,
"character": 96
},
"isEmpty": false,
"isSingleLine": true
},
"id": "token.type.identifier_Boolean_0:89"
},
"parentId": "ConnectApi.questionandanswers.settestgetsuggestions",
"order": 0,
"memberOrder": 0,
"type": "Boolean"
},
"scope": null
},
"maxresults": {
"id": "ConnectApi.questionandanswers.method.settestgetsuggestions(string,string,string,boolean,integer,connectapi.questionandanswerssuggestions).varParam.maxresults",
"nodeType": "variable",
"name": "maxResults",
"startToken": {
"type": "declaration.entity.name.variable",
"text": "maxResults",
"textToLower": "maxresults",
"isAux": false,
"range": {
"start": {
"line": 0,
"character": 122
},
"end": {
"line": 0,
"character": 132
},
"isEmpty": false,
"isSingleLine": true
},
"id": "token.type.identifier_maxResults_0:122"
},
"endToken": {
"type": "declaration.entity.name.variable",
"text": "maxResults",
"textToLower": "maxresults",
"isAux": false,
"range": {
"start": {
"line": 0,
"character": 122
},
"end": {
"line": 0,
"character": 132
},
"isEmpty": false,
"isSingleLine": true
},
"id": "token.type.identifier_maxResults_0:122"
},
"parentId": "ConnectApi.questionandanswers.method.settestgetsuggestions(string,string,string,boolean,integer,connectapi.questionandanswerssuggestions)",
"order": 5,
"memberOrder": 5,
"datatype": {
"id": "ConnectApi.questionandanswers.settestgetsuggestions.datatype.Integer",
"nodeType": "datatype",
"name": "Integer",
"startToken": {
"type": "datatype.primitive",
"text": "Integer",
"textToLower": "integer",
"isAux": false,
"range": {
"start": {
"line": 0,
"character": 114
},
"end": {
"line": 0,
"character": 121
},
"isEmpty": false,
"isSingleLine": true
},
"id": "token.type.identifier_Integer_0:114"
},
"parentId": "ConnectApi.questionandanswers.settestgetsuggestions",
"order": 0,
"memberOrder": 0,
"type": "Integer"
},
"scope": null
},
"result": {
"id": "ConnectApi.questionandanswers.method.settestgetsuggestions(string,string,string,boolean,integer,connectapi.questionandanswerssuggestions).varParam.result",
"nodeType": "variable",
"name": "result",
"startToken": {
"type": "declaration.entity.name.variable",
"text": "result",
"textToLower": "result",
"isAux": false,
"range": {
"start": {
"line": 0,
"character": 175
},
"end": {
"line": 0,
"character": 181
},
"isEmpty": false,
"isSingleLine": true
},
"id": "token.type.identifier_result_0:175"
},
"endToken": {
"type": "declaration.entity.name.variable",
"text": "result",
"textToLower": "result",
"isAux": false,
"range": {
"start": {
"line": 0,
"character": 175
},
"end": {
"line": 0,
"character": 181
},
"isEmpty": false,
"isSingleLine": true
},
"id": "token.type.identifier_result_0:175"
},
"parentId": "ConnectApi.questionandanswers.method.settestgetsuggestions(string,string,string,boolean,integer,connectapi.questionandanswerssuggestions)",
"order": 6,
"memberOrder": 6,
"datatype": {
"id": "ConnectApi.questionandanswers.settestgetsuggestions.datatype.ConnectApi.QuestionAndAnswersSuggestions",
"nodeType": "datatype",
"name": "ConnectApi.QuestionAndAnswersSuggestions",
"startToken": {
"type": "datatype.support.namespace",
"text": "ConnectApi",
"textToLower": "connectapi",
"isAux": false,
"range": {
"start": {
"line": 0,
"character": 134
},
"end": {
"line": 0,
"character": 144
},
"isEmpty": false,
"isSingleLine": true
},
"id": "token.type.identifier_ConnectApi_0:134"
},
"parentId": "ConnectApi.questionandanswers.settestgetsuggestions",
"order": 0,
"memberOrder": 0,
"type": "ConnectApi.QuestionAndAnswersSuggestions"
},
"description": "Use either the ID for a community, internal, or null. Required and cannot be null. Specifies the string to search. The search string must contain at least two characters, not including wildcards. See Wildcards. Specify a subject ID to search only questions on that object. If the ID is a topic or a user, the ID is ignored. Specify true to include knowledge articles in the search results. To return only questions, specify false. The maximum number of results to return for each type of item. Possible values are 1–10. The default value is 5. The object containing test data.",
"scope": null
}
},
"queries": [],
"exceptions": []
},
"updatequestionandanswers(string,string,connectapi.questionandanswerscapabilityinput)": {
"id": "ConnectApi.questionandanswers.method.updatequestionandanswers(string,string,connectapi.questionandanswerscapabilityinput)",
"nodeType": "method",
"name": "updateQuestionAndAnswers",
"startToken": {
"type": "declaration.entity.name.function",
"text": "updateQuestionAndAnswers",
"textToLower": "updatequestionandanswers",
"isAux": false,
"range": {
"start": {
"line": -1,
"character": 0
},
"end": {
"line": -1,
"character": 0
},
"isEmpty": true,
"isSingleLine": true
},
"id": "declaration.entity.name.function_updateQuestionAndAnswers_-1:0"
},
"parentId": "ConnectApi.questionandanswers",
"order": 3,
"memberOrder": 3,
"accessModifier": {
"type": "keyword.modifier.access",
"text": "public",
"textToLower": "public",
"isAux": false,
"range": {
"start": {
"line": 0,
"character": 0
},
"end": {
"line": 0,
"character": 6
},
"isEmpty": false,
"isSingleLine": true
},
"id": "token.type.identifier_public_0:0"
},
"static": {
"type": "keyword.modifier.static",
"text": "static",
"textToLower": "static",
"isAux": false,
"range": {
"start": {
"line": 0,
"character": 7
},
"end": {
"line": 0,
"character": 13
},
"isEmpty": false,
"isSingleLine": true
},
"id": "token.type.identifier_static_0:7"
},
"signature": "public static ConnectApi.QuestionAndAnswersCapability updateQuestionAndAnswers(String communityId, String feedElementId, ConnectApi.QuestionAndAnswersCapabilityInput questionAndAnswersCapability)",
"overrideSignature": "public static override ConnectApi.QuestionAndAnswersCapability updateQuestionAndAnswers(String communityId, String feedElementId, ConnectApi.QuestionAndAnswersCapabilityInput questionAndAnswersCapability)",
"simplifiedSignature": "updateQuestionAndAnswers(String,String,ConnectApi.QuestionAndAnswersCapabilityInput)",
"datatype": {
"id": "ConnectApi.questionandanswers.updatequestionandanswers.datatype.ConnectApi.QuestionAndAnswersCapability",
"nodeType": "datatype",
"name": "ConnectApi.QuestionAndAnswersCapability",
"startToken": {
"type": "datatype.support.namespace",
"text": "ConnectApi",
"textToLower": "connectapi",
"isAux": false,
"range": {
"start": {
"line": 0,
"character": 14
},
"end": {
"line": 0,
"character": 24
},
"isEmpty": false,
"isSingleLine": true
},
"id": "token.type.identifier_ConnectApi_0:14"
},
"parentId": "ConnectApi.questionandanswers.updatequestionandanswers",
"order": 0,
"memberOrder": 0,
"type": "ConnectApi.QuestionAndAnswersCapability"
},
"description": "Choose or change the best answer for a question.",
"parentName": "QuestionAndAnswers",
"variables": {},
"params": {
"communityid": {
"id": "ConnectApi.questionandanswers.method.updatequestionandanswers(string,string,connectapi.questionandanswerscapabilityinput).varParam.communityid",
"nodeType": "variable",
"name": "communityId",
"startToken": {
"type": "declaration.entity.name.variable",
"text": "communityId",
"textToLower": "communityid",
"isAux": false,
"range": {
"start": {
"line": 0,
"character": 86
},
"end": {
"line": 0,
"character": 97
},
"isEmpty": false,
"isSingleLine": true
},
"id": "token.type.identifier_communityId_0:86"
},
"endToken": {
"type": "declaration.entity.name.variable",
"text": "communityId",
"textToLower": "communityid",
"isAux": false,
"range": {
"start": {
"line": 0,
"character": 86
},
"end": {
"line": 0,
"character": 97
},
"isEmpty": false,
"isSingleLine": true
},
"id": "token.type.identifier_communityId_0:86"
},
"parentId": "ConnectApi.questionandanswers.method.updatequestionandanswers(string,string,connectapi.questionandanswerscapabilityinput)",
"order": 1,
"memberOrder": 1,
"datatype": {
"id": "ConnectApi.questionandanswers.updatequestionandanswers.datatype.String",
"nodeType": "datatype",
"name": "String",
"startToken": {
"type": "datatype.primitive",
"text": "String",
"textToLower": "string",
"isAux": false,
"range": {
"start": {
"line": 0,
"character": 79
},
"end": {
"line": 0,
"character": 85
},
"isEmpty": false,
"isSingleLine": true
},
"id": "token.type.identifier_String_0:79"
},
"parentId": "ConnectApi.questionandanswers.updatequestionandanswers",
"order": 0,
"memberOrder": 0,
"type": "String"
},
"scope": null
},
"feedelementid": {
"id": "ConnectApi.questionandanswers.method.updatequestionandanswers(string,string,connectapi.questionandanswerscapabilityinput).varParam.feedelementid",
"nodeType": "variable",
"name": "feedElementId",
"startToken": {
"type": "declaration.entity.name.variable",
"text": "feedElementId",
"textToLower": "feedelementid",
"isAux": false,
"range": {
"start": {
"line": 0,
"character": 106
},
"end": {
"line": 0,
"character": 119
},
"isEmpty": false,
"isSingleLine": true
},
"id": "token.type.identifier_feedElementId_0:106"
},
"endToken": {
"type": "declaration.entity.name.variable",
"text": "feedElementId",
"textToLower": "feedelementid",
"isAux": false,
"range": {
"start": {
"line": 0,
"character": 106
},
"end": {
"line": 0,
"character": 119
},
"isEmpty": false,
"isSingleLine": true
},
"id": "token.type.identifier_feedElementId_0:106"
},
"parentId": "ConnectApi.questionandanswers.method.updatequestionandanswers(string,string,connectapi.questionandanswerscapabilityinput)",
"order": 2,
"memberOrder": 2,
"datatype": {
"id": "ConnectApi.questionandanswers.updatequestionandanswers.datatype.String",
"nodeType": "datatype",
"name": "String",
"startToken": {
"type": "datatype.primitive",
"text": "String",
"textToLower": "string",
"isAux": false,
"range": {
"start": {
"line": 0,
"character": 99
},
"end": {
"line": 0,
"character": 105
},
"isEmpty": false,
"isSingleLine": true
},
"id": "token.type.identifier_String_0:99"
},
"parentId": "ConnectApi.questionandanswers.updatequestionandanswers",
"order": 0,
"memberOrder": 0,
"type": "String"
},
"scope": null
},
"questionandanswerscapability": {
"id": "ConnectApi.questionandanswers.method.updatequestionandanswers(string,string,connectapi.questionandanswerscapabilityinput).varParam.questionandanswerscapability",
"nodeType": "variable",
"name": "questionAndAnswersCapability",
"startToken": {
"type": "declaration.entity.name.variable",
"text": "questionAndAnswersCapability",
"textToLower": "questionandanswerscapability",
"isAux": false,
"range": {
"start": {
"line": 0,
"character": 166
},
"end": {
"line": 0,
"character": 194
},
"isEmpty": false,
"isSingleLine": true
},
"id": "token.type.identifier_questionAndAnswersCapability_0:166"
},
"endToken": {
"type": "declaration.entity.name.variable",
"text": "questionAndAnswersCapability",
"textToLower": "questionandanswerscapability",
"isAux": false,
"range": {
"start": {
"line": 0,
"character": 166
},
"end": {
"line": 0,
"character": 194
},
"isEmpty": false,
"isSingleLine": true
},
"id": "token.type.identifier_questionAndAnswersCapability_0:166"
},
"parentId": "ConnectApi.questionandanswers.method.updatequestionandanswers(string,string,connectapi.questionandanswerscapabilityinput)",
"order": 3,
"memberOrder": 3,
"datatype": {
"id": "ConnectApi.questionandanswers.updatequestionandanswers.datatype.ConnectApi.QuestionAndAnswersCapabilityInput",
"nodeType": "datatype",
"name": "ConnectApi.QuestionAndAnswersCapabilityInput",
"startToken": {
"type": "datatype.support.namespace",
"text": "ConnectApi",
"textToLower": "connectapi",
"isAux": false,
"range": {
"start": {
"line": 0,
"character": 121
},
"end": {
"line": 0,
"character": 131
},
"isEmpty": false,
"isSingleLine": true
},
"id": "token.type.identifier_ConnectApi_0:121"
},
"parentId": "ConnectApi.questionandanswers.updatequestionandanswers",
"order": 0,
"memberOrder": 0,
"type": "ConnectApi.QuestionAndAnswersCapabilityInput"
},
"description": "Use either the ID for a community, internal, or null. ID of the feed element. Specify the best answer (comment ID) for the question.",
"scope": null
}
},
"queries": [],
"exceptions": []
}
},
"constructors": {},
"extendsType": "",
"implementTypes": [],
"implements": {},
"totalMembers": 3,
"queries": []
}