UNPKG

@aurahelper/languages

Version:

Language Libraries to work with XML, Aura, Apex... files. tokenizers, parsers, system classes and much more

1,529 lines 375 kB
{ "id": "ConnectApi.communitymoderation", "nodeType": "class", "name": "CommunityModeration", "namespace": "ConnectApi", "startToken": { "type": "declaration.entity.name.class", "text": "CommunityModeration", "textToLower": "communitymoderation", "isAux": false, "range": { "start": { "line": -1, "character": 0 }, "end": { "line": -1, "character": 0 }, "isEmpty": true, "isSingleLine": true }, "id": "declaration.entity.name.class_CommunityModeration_-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 information about flagged feed items and comments in a community. Add and remove flags from comments and feed items.", "documentation": "https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_ConnectAPI_CommunityModeration_static_methods.htm", "classes": {}, "interfaces": {}, "enums": {}, "variables": {}, "methods": { "addflagtocomment(string,string)": { "id": "ConnectApi.communitymoderation.method.addflagtocomment(string,string)", "nodeType": "method", "name": "addFlagToComment", "startToken": { "type": "declaration.entity.name.function", "text": "addFlagToComment", "textToLower": "addflagtocomment", "isAux": false, "range": { "start": { "line": -1, "character": 0 }, "end": { "line": -1, "character": 0 }, "isEmpty": true, "isSingleLine": true }, "id": "declaration.entity.name.function_addFlagToComment_-1:0" }, "parentId": "ConnectApi.communitymoderation", "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.ModerationFlags addFlagToComment(String communityId, String commentId)", "overrideSignature": "public static override ConnectApi.ModerationFlags addFlagToComment(String communityId, String commentId)", "simplifiedSignature": "addFlagToComment(String,String)", "datatype": { "id": "ConnectApi.communitymoderation.addflagtocomment.datatype.ConnectApi.ModerationFlags", "nodeType": "datatype", "name": "ConnectApi.ModerationFlags", "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.communitymoderation.addflagtocomment", "order": 0, "memberOrder": 0, "type": "ConnectApi.ModerationFlags" }, "description": "Add a moderation flag to a comment.", "parentName": "CommunityModeration", "variables": {}, "params": { "communityid": { "id": "ConnectApi.communitymoderation.method.addflagtocomment(string,string).varParam.communityid", "nodeType": "variable", "name": "communityId", "startToken": { "type": "declaration.entity.name.variable", "text": "communityId", "textToLower": "communityid", "isAux": false, "range": { "start": { "line": 0, "character": 65 }, "end": { "line": 0, "character": 76 }, "isEmpty": false, "isSingleLine": true }, "id": "token.type.identifier_communityId_0:65" }, "endToken": { "type": "declaration.entity.name.variable", "text": "communityId", "textToLower": "communityid", "isAux": false, "range": { "start": { "line": 0, "character": 65 }, "end": { "line": 0, "character": 76 }, "isEmpty": false, "isSingleLine": true }, "id": "token.type.identifier_communityId_0:65" }, "parentId": "ConnectApi.communitymoderation.method.addflagtocomment(string,string)", "order": 1, "memberOrder": 1, "datatype": { "id": "ConnectApi.communitymoderation.addflagtocomment.datatype.String", "nodeType": "datatype", "name": "String", "startToken": { "type": "datatype.primitive", "text": "String", "textToLower": "string", "isAux": false, "range": { "start": { "line": 0, "character": 58 }, "end": { "line": 0, "character": 64 }, "isEmpty": false, "isSingleLine": true }, "id": "token.type.identifier_String_0:58" }, "parentId": "ConnectApi.communitymoderation.addflagtocomment", "order": 0, "memberOrder": 0, "type": "String" }, "scope": null }, "commentid": { "id": "ConnectApi.communitymoderation.method.addflagtocomment(string,string).varParam.commentid", "nodeType": "variable", "name": "commentId", "startToken": { "type": "declaration.entity.name.variable", "text": "commentId", "textToLower": "commentid", "isAux": false, "range": { "start": { "line": 0, "character": 85 }, "end": { "line": 0, "character": 94 }, "isEmpty": false, "isSingleLine": true }, "id": "token.type.identifier_commentId_0:85" }, "endToken": { "type": "declaration.entity.name.variable", "text": "commentId", "textToLower": "commentid", "isAux": false, "range": { "start": { "line": 0, "character": 85 }, "end": { "line": 0, "character": 94 }, "isEmpty": false, "isSingleLine": true }, "id": "token.type.identifier_commentId_0:85" }, "parentId": "ConnectApi.communitymoderation.method.addflagtocomment(string,string)", "order": 2, "memberOrder": 2, "datatype": { "id": "ConnectApi.communitymoderation.addflagtocomment.datatype.String", "nodeType": "datatype", "name": "String", "startToken": { "type": "datatype.primitive", "text": "String", "textToLower": "string", "isAux": false, "range": { "start": { "line": 0, "character": 78 }, "end": { "line": 0, "character": 84 }, "isEmpty": false, "isSingleLine": true }, "id": "token.type.identifier_String_0:78" }, "parentId": "ConnectApi.communitymoderation.addflagtocomment", "order": 0, "memberOrder": 0, "type": "String" }, "description": "Use either the ID for a community, internal, or null. The ID for a comment.", "scope": null } }, "queries": [], "exceptions": [] }, "addflagtocomment(string,string,connectapi.communityflagvisibility)": { "id": "ConnectApi.communitymoderation.method.addflagtocomment(string,string,connectapi.communityflagvisibility)", "nodeType": "method", "name": "addFlagToComment", "startToken": { "type": "declaration.entity.name.function", "text": "addFlagToComment", "textToLower": "addflagtocomment", "isAux": false, "range": { "start": { "line": -1, "character": 0 }, "end": { "line": -1, "character": 0 }, "isEmpty": true, "isSingleLine": true }, "id": "declaration.entity.name.function_addFlagToComment_-1:0" }, "parentId": "ConnectApi.communitymoderation", "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 ConnectApi.ModerationFlags addFlagToComment(String communityId, String commentId, ConnectApi.CommunityFlagVisibility visibility)", "overrideSignature": "public static override ConnectApi.ModerationFlags addFlagToComment(String communityId, String commentId, ConnectApi.CommunityFlagVisibility visibility)", "simplifiedSignature": "addFlagToComment(String,String,ConnectApi.CommunityFlagVisibility)", "datatype": { "id": "ConnectApi.communitymoderation.addflagtocomment.datatype.ConnectApi.ModerationFlags", "nodeType": "datatype", "name": "ConnectApi.ModerationFlags", "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.communitymoderation.addflagtocomment", "order": 0, "memberOrder": 0, "type": "ConnectApi.ModerationFlags" }, "description": "Add a moderation flag of the specified visibility to a comment.", "parentName": "CommunityModeration", "variables": {}, "params": { "communityid": { "id": "ConnectApi.communitymoderation.method.addflagtocomment(string,string,connectapi.communityflagvisibility).varParam.communityid", "nodeType": "variable", "name": "communityId", "startToken": { "type": "declaration.entity.name.variable", "text": "communityId", "textToLower": "communityid", "isAux": false, "range": { "start": { "line": 0, "character": 65 }, "end": { "line": 0, "character": 76 }, "isEmpty": false, "isSingleLine": true }, "id": "token.type.identifier_communityId_0:65" }, "endToken": { "type": "declaration.entity.name.variable", "text": "communityId", "textToLower": "communityid", "isAux": false, "range": { "start": { "line": 0, "character": 65 }, "end": { "line": 0, "character": 76 }, "isEmpty": false, "isSingleLine": true }, "id": "token.type.identifier_communityId_0:65" }, "parentId": "ConnectApi.communitymoderation.method.addflagtocomment(string,string,connectapi.communityflagvisibility)", "order": 1, "memberOrder": 1, "datatype": { "id": "ConnectApi.communitymoderation.addflagtocomment.datatype.String", "nodeType": "datatype", "name": "String", "startToken": { "type": "datatype.primitive", "text": "String", "textToLower": "string", "isAux": false, "range": { "start": { "line": 0, "character": 58 }, "end": { "line": 0, "character": 64 }, "isEmpty": false, "isSingleLine": true }, "id": "token.type.identifier_String_0:58" }, "parentId": "ConnectApi.communitymoderation.addflagtocomment", "order": 0, "memberOrder": 0, "type": "String" }, "scope": null }, "commentid": { "id": "ConnectApi.communitymoderation.method.addflagtocomment(string,string,connectapi.communityflagvisibility).varParam.commentid", "nodeType": "variable", "name": "commentId", "startToken": { "type": "declaration.entity.name.variable", "text": "commentId", "textToLower": "commentid", "isAux": false, "range": { "start": { "line": 0, "character": 85 }, "end": { "line": 0, "character": 94 }, "isEmpty": false, "isSingleLine": true }, "id": "token.type.identifier_commentId_0:85" }, "endToken": { "type": "declaration.entity.name.variable", "text": "commentId", "textToLower": "commentid", "isAux": false, "range": { "start": { "line": 0, "character": 85 }, "end": { "line": 0, "character": 94 }, "isEmpty": false, "isSingleLine": true }, "id": "token.type.identifier_commentId_0:85" }, "parentId": "ConnectApi.communitymoderation.method.addflagtocomment(string,string,connectapi.communityflagvisibility)", "order": 2, "memberOrder": 2, "datatype": { "id": "ConnectApi.communitymoderation.addflagtocomment.datatype.String", "nodeType": "datatype", "name": "String", "startToken": { "type": "datatype.primitive", "text": "String", "textToLower": "string", "isAux": false, "range": { "start": { "line": 0, "character": 78 }, "end": { "line": 0, "character": 84 }, "isEmpty": false, "isSingleLine": true }, "id": "token.type.identifier_String_0:78" }, "parentId": "ConnectApi.communitymoderation.addflagtocomment", "order": 0, "memberOrder": 0, "type": "String" }, "scope": null }, "visibility": { "id": "ConnectApi.communitymoderation.method.addflagtocomment(string,string,connectapi.communityflagvisibility).varParam.visibility", "nodeType": "variable", "name": "visibility", "startToken": { "type": "declaration.entity.name.variable", "text": "visibility", "textToLower": "visibility", "isAux": false, "range": { "start": { "line": 0, "character": 131 }, "end": { "line": 0, "character": 141 }, "isEmpty": false, "isSingleLine": true }, "id": "token.type.identifier_visibility_0:131" }, "endToken": { "type": "declaration.entity.name.variable", "text": "visibility", "textToLower": "visibility", "isAux": false, "range": { "start": { "line": 0, "character": 131 }, "end": { "line": 0, "character": 141 }, "isEmpty": false, "isSingleLine": true }, "id": "token.type.identifier_visibility_0:131" }, "parentId": "ConnectApi.communitymoderation.method.addflagtocomment(string,string,connectapi.communityflagvisibility)", "order": 3, "memberOrder": 3, "datatype": { "id": "ConnectApi.communitymoderation.addflagtocomment.datatype.ConnectApi.CommunityFlagVisibility", "nodeType": "datatype", "name": "ConnectApi.CommunityFlagVisibility", "startToken": { "type": "datatype.support.namespace", "text": "ConnectApi", "textToLower": "connectapi", "isAux": false, "range": { "start": { "line": 0, "character": 96 }, "end": { "line": 0, "character": 106 }, "isEmpty": false, "isSingleLine": true }, "id": "token.type.identifier_ConnectApi_0:96" }, "parentId": "ConnectApi.communitymoderation.addflagtocomment", "order": 0, "memberOrder": 0, "type": "ConnectApi.CommunityFlagVisibility" }, "description": "Use either the ID for a community, internal, or null. The ID for a comment. Visibility behavior of a flag for various user types. ModeratorsOnly—The flag is visible only to users with moderation permissions on the flagged element or item. SelfAndModerators—The flag is visible to the creator of the flag and to users with moderation permissions on the flagged element or item.", "scope": null } }, "queries": [], "exceptions": [] }, "addflagtocomment(string,string,connectapi.communityflagtype)": { "id": "ConnectApi.communitymoderation.method.addflagtocomment(string,string,connectapi.communityflagtype)", "nodeType": "method", "name": "addFlagToComment", "startToken": { "type": "declaration.entity.name.function", "text": "addFlagToComment", "textToLower": "addflagtocomment", "isAux": false, "range": { "start": { "line": -1, "character": 0 }, "end": { "line": -1, "character": 0 }, "isEmpty": true, "isSingleLine": true }, "id": "declaration.entity.name.function_addFlagToComment_-1:0" }, "parentId": "ConnectApi.communitymoderation", "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.ModerationFlags addFlagToComment(String communityId, String commentId, ConnectApi.CommunityFlagType type)", "overrideSignature": "public static override ConnectApi.ModerationFlags addFlagToComment(String communityId, String commentId, ConnectApi.CommunityFlagType type)", "simplifiedSignature": "addFlagToComment(String,String,ConnectApi.CommunityFlagType)", "datatype": { "id": "ConnectApi.communitymoderation.addflagtocomment.datatype.ConnectApi.ModerationFlags", "nodeType": "datatype", "name": "ConnectApi.ModerationFlags", "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.communitymoderation.addflagtocomment", "order": 0, "memberOrder": 0, "type": "ConnectApi.ModerationFlags" }, "description": "Add a moderation flag of the specified type to a comment.", "parentName": "CommunityModeration", "variables": {}, "params": { "communityid": { "id": "ConnectApi.communitymoderation.method.addflagtocomment(string,string,connectapi.communityflagtype).varParam.communityid", "nodeType": "variable", "name": "communityId", "startToken": { "type": "declaration.entity.name.variable", "text": "communityId", "textToLower": "communityid", "isAux": false, "range": { "start": { "line": 0, "character": 65 }, "end": { "line": 0, "character": 76 }, "isEmpty": false, "isSingleLine": true }, "id": "token.type.identifier_communityId_0:65" }, "endToken": { "type": "declaration.entity.name.variable", "text": "communityId", "textToLower": "communityid", "isAux": false, "range": { "start": { "line": 0, "character": 65 }, "end": { "line": 0, "character": 76 }, "isEmpty": false, "isSingleLine": true }, "id": "token.type.identifier_communityId_0:65" }, "parentId": "ConnectApi.communitymoderation.method.addflagtocomment(string,string,connectapi.communityflagtype)", "order": 1, "memberOrder": 1, "datatype": { "id": "ConnectApi.communitymoderation.addflagtocomment.datatype.String", "nodeType": "datatype", "name": "String", "startToken": { "type": "datatype.primitive", "text": "String", "textToLower": "string", "isAux": false, "range": { "start": { "line": 0, "character": 58 }, "end": { "line": 0, "character": 64 }, "isEmpty": false, "isSingleLine": true }, "id": "token.type.identifier_String_0:58" }, "parentId": "ConnectApi.communitymoderation.addflagtocomment", "order": 0, "memberOrder": 0, "type": "String" }, "scope": null }, "commentid": { "id": "ConnectApi.communitymoderation.method.addflagtocomment(string,string,connectapi.communityflagtype).varParam.commentid", "nodeType": "variable", "name": "commentId", "startToken": { "type": "declaration.entity.name.variable", "text": "commentId", "textToLower": "commentid", "isAux": false, "range": { "start": { "line": 0, "character": 85 }, "end": { "line": 0, "character": 94 }, "isEmpty": false, "isSingleLine": true }, "id": "token.type.identifier_commentId_0:85" }, "endToken": { "type": "declaration.entity.name.variable", "text": "commentId", "textToLower": "commentid", "isAux": false, "range": { "start": { "line": 0, "character": 85 }, "end": { "line": 0, "character": 94 }, "isEmpty": false, "isSingleLine": true }, "id": "token.type.identifier_commentId_0:85" }, "parentId": "ConnectApi.communitymoderation.method.addflagtocomment(string,string,connectapi.communityflagtype)", "order": 2, "memberOrder": 2, "datatype": { "id": "ConnectApi.communitymoderation.addflagtocomment.datatype.String", "nodeType": "datatype", "name": "String", "startToken": { "type": "datatype.primitive", "text": "String", "textToLower": "string", "isAux": false, "range": { "start": { "line": 0, "character": 78 }, "end": { "line": 0, "character": 84 }, "isEmpty": false, "isSingleLine": true }, "id": "token.type.identifier_String_0:78" }, "parentId": "ConnectApi.communitymoderation.addflagtocomment", "order": 0, "memberOrder": 0, "type": "String" }, "scope": null }, "type": { "id": "ConnectApi.communitymoderation.method.addflagtocomment(string,string,connectapi.communityflagtype).varParam.type", "nodeType": "variable", "name": "type", "startToken": { "type": "declaration.entity.name.variable", "text": "type", "textToLower": "type", "isAux": false, "range": { "start": { "line": 0, "character": 125 }, "end": { "line": 0, "character": 129 }, "isEmpty": false, "isSingleLine": true }, "id": "token.type.identifier_type_0:125" }, "endToken": { "type": "declaration.entity.name.variable", "text": "type", "textToLower": "type", "isAux": false, "range": { "start": { "line": 0, "character": 125 }, "end": { "line": 0, "character": 129 }, "isEmpty": false, "isSingleLine": true }, "id": "token.type.identifier_type_0:125" }, "parentId": "ConnectApi.communitymoderation.method.addflagtocomment(string,string,connectapi.communityflagtype)", "order": 3, "memberOrder": 3, "datatype": { "id": "ConnectApi.communitymoderation.addflagtocomment.datatype.ConnectApi.CommunityFlagType", "nodeType": "datatype", "name": "ConnectApi.CommunityFlagType", "startToken": { "type": "datatype.support.namespace", "text": "ConnectApi", "textToLower": "connectapi", "isAux": false, "range": { "start": { "line": 0, "character": 96 }, "end": { "line": 0, "character": 106 }, "isEmpty": false, "isSingleLine": true }, "id": "token.type.identifier_ConnectApi_0:96" }, "parentId": "ConnectApi.communitymoderation.addflagtocomment", "order": 0, "memberOrder": 0, "type": "ConnectApi.CommunityFlagType" }, "description": "Use either the ID for a community, internal, or null. The ID for a comment. Type of moderation flag. FlagAsInappropriate—Flag for inappropriate content. FlagAsSpam—Flag for spam. If a type isn’t specified, it defaults to FlagAsInappropriate.", "scope": null } }, "queries": [], "exceptions": [] }, "addflagtocomment(string,string,string)": { "id": "ConnectApi.communitymoderation.method.addflagtocomment(string,string,string)", "nodeType": "method", "name": "addFlagToComment", "startToken": { "type": "declaration.entity.name.function", "text": "addFlagToComment", "textToLower": "addflagtocomment", "isAux": false, "range": { "start": { "line": -1, "character": 0 }, "end": { "line": -1, "character": 0 }, "isEmpty": true, "isSingleLine": true }, "id": "declaration.entity.name.function_addFlagToComment_-1:0" }, "parentId": "ConnectApi.communitymoderation", "order": 4, "memberOrder": 4, "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.ModerationFlags addFlagToComment(String communityId, String commentId, String note)", "overrideSignature": "public static override ConnectApi.ModerationFlags addFlagToComment(String communityId, String commentId, String note)", "simplifiedSignature": "addFlagToComment(String,String,String)", "datatype": { "id": "ConnectApi.communitymoderation.addflagtocomment.datatype.ConnectApi.ModerationFlags", "nodeType": "datatype", "name": "ConnectApi.ModerationFlags", "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.communitymoderation.addflagtocomment", "order": 0, "memberOrder": 0, "type": "ConnectApi.ModerationFlags" }, "description": "Add a moderation flag with a note to a comment.", "parentName": "CommunityModeration", "variables": {}, "params": { "communityid": { "id": "ConnectApi.communitymoderation.method.addflagtocomment(string,string,string).varParam.communityid", "nodeType": "variable", "name": "communityId", "startToken": { "type": "declaration.entity.name.variable", "text": "communityId", "textToLower": "communityid", "isAux": false, "range": { "start": { "line": 0, "character": 65 }, "end": { "line": 0, "character": 76 }, "isEmpty": false, "isSingleLine": true }, "id": "token.type.identifier_communityId_0:65" }, "endToken": { "type": "declaration.entity.name.variable", "text": "communityId", "textToLower": "communityid", "isAux": false, "range": { "start": { "line": 0, "character": 65 }, "end": { "line": 0, "character": 76 }, "isEmpty": false, "isSingleLine": true }, "id": "token.type.identifier_communityId_0:65" }, "parentId": "ConnectApi.communitymoderation.method.addflagtocomment(string,string,string)", "order": 1, "memberOrder": 1, "datatype": { "id": "ConnectApi.communitymoderation.addflagtocomment.datatype.String", "nodeType": "datatype", "name": "String", "startToken": { "type": "datatype.primitive", "text": "String", "textToLower": "string", "isAux": false, "range": { "start": { "line": 0, "character": 58 }, "end": { "line": 0, "character": 64 }, "isEmpty": false, "isSingleLine": true }, "id": "token.type.identifier_String_0:58" }, "parentId": "ConnectApi.communitymoderation.addflagtocomment", "order": 0, "memberOrder": 0, "type": "String" }, "scope": null }, "commentid": { "id": "ConnectApi.communitymoderation.method.addflagtocomment(string,string,string).varParam.commentid", "nodeType": "variable", "name": "commentId", "startToken": { "type": "declaration.entity.name.variable", "text": "commentId", "textToLower": "commentid", "isAux": false, "range": { "start": { "line": 0, "character": 85 }, "end": { "line": 0, "character": 94 }, "isEmpty": false, "isSingleLine": true }, "id": "token.type.identifier_commentId_0:85" }, "endToken": { "type": "declaration.entity.name.variable", "text": "commentId", "textToLower": "commentid", "isAux": false, "range": { "start": { "line": 0, "character": 85 }, "end": { "line": 0, "character": 94 }, "isEmpty": false, "isSingleLine": true }, "id": "token.type.identifier_commentId_0:85" }, "parentId": "ConnectApi.communitymoderation.method.addflagtocomment(string,string,string)", "order": 2, "memberOrder": 2, "datatype": { "id": "ConnectApi.communitymoderation.addflagtocomment.datatype.String", "nodeType": "datatype", "name": "String", "startToken": { "type": "datatype.primitive", "text": "String", "textToLower": "string", "isAux": false, "range": { "start": { "line": 0, "character": 78 }, "end": { "line": 0, "character": 84 }, "isEmpty": false, "isSingleLine": true }, "id": "token.type.identifier_String_0:78" }, "parentId": "ConnectApi.communitymoderation.addflagtocomment", "order": 0, "memberOrder": 0, "type": "String" }, "scope": null }, "note": { "id": "ConnectApi.communitymoderation.method.addflagtocomment(string,string,string).varParam.note", "nodeType": "variable", "name": "note", "startToken": { "type": "declaration.entity.name.variable", "text": "note", "textToLower": "note", "isAux": false, "range": { "start": { "line": 0, "character": 103 }, "end": { "line": 0, "character": 107 }, "isEmpty": false, "isSingleLine": true }, "id": "token.type.identifier_note_0:103" }, "endToken": { "type": "declaration.entity.name.variable", "text": "note", "textToLower": "note", "isAux": false, "range": { "start": { "line": 0, "character": 103 }, "end": { "line": 0, "character": 107 }, "isEmpty": false, "isSingleLine": true }, "id": "token.type.identifier_note_0:103" }, "parentId": "ConnectApi.communitymoderation.method.addflagtocomment(string,string,string)", "order": 3, "memberOrder": 3, "datatype": { "id": "ConnectApi.communitymoderation.addflagtocomment.datatype.String", "nodeType": "datatype", "name": "String", "startToken": { "type": "datatype.primitive", "text": "String", "textToLower": "string", "isAux": false, "range": { "start": { "line": 0, "character": 96 }, "end": { "line": 0, "character": 102 }, "isEmpty": false, "isSingleLine": true }, "id": "token.type.identifier_String_0:96" }, "parentId": "ConnectApi.communitymoderation.addflagtocomment", "order": 0, "memberOrder": 0, "type": "String" }, "description": "Use either the ID for a community, internal, or null. The ID for a comment. A note of up to 4,000 characters about the flag.", "scope": null } }, "queries": [], "exceptions": [] }, "addflagtocomment(string,string,connectapi.communityflagtype,string)": { "id": "ConnectApi.communitymoderation.method.addflagtocomment(string,string,connectapi.communityflagtype,string)", "nodeType": "method", "name": "addFlagToComment", "startToken": { "type": "declaration.entity.name.function", "text": "addFlagToComment", "textToLower": "addflagtocomment", "isAux": false, "range": { "start": { "line": -1, "character": 0 }, "end": { "line": -1, "character": 0 }, "isEmpty": true, "isSingleLine": true }, "id": "declaration.entity.name.function_addFlagToComment_-1:0" }, "parentId": "ConnectApi.communitymoderation", "order": 5, "memberOrder": 5, "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.ModerationFlags addFlagToComment(String communityId, String commentId, ConnectApi.CommunityFlagType type, String note)", "overrideSignature": "public static override ConnectApi.ModerationFlags addFlagToComment(String communityId, String commentId, ConnectApi.CommunityFlagType type, String note)", "simplifiedSignature": "addFlagToComment(String,String,ConnectApi.CommunityFlagType,String)", "datatype": { "id": "ConnectApi.communitymoderation.addflagtocomment.datatype.ConnectApi.ModerationFlags", "nodeType": "datatype", "name": "ConnectApi.ModerationFlags", "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.communitymoderation.addflagtocomment", "order": 0, "memberOrder": 0, "type": "ConnectApi.ModerationFlags" }, "description": "Add a moderation flag of the specified type with a note to a comment.", "parentName": "CommunityModeration", "variables": {}, "params": { "communityid": { "id": "ConnectApi.communitymoderation.method.addflagtocomment(string,string,connectapi.communityflagtype,string).varParam.communityid", "nodeType": "variable", "name": "communityId", "startToken": { "type": "declaration.entity.name.variable", "text": "communityId", "textToLower": "communityid", "isAux": false, "range": { "start": { "line": 0, "character": 65 }, "end": { "line": 0, "character": 76 }, "isEmpty": false, "isSingleLine": true }, "id": "token.type.identifier_communityId_0:65" }, "endToken": { "type": "declaration.entity.name.variable", "text": "communityId", "textToLower": "communityid", "isAux": false, "range": { "start": { "line": 0, "character": 65 }, "end": { "line": 0, "character": 76 }, "isEmpty": false, "isSingleLine": true }, "id": "token.type.identifier_communityId_0:65" }, "parentId": "ConnectApi.communitymoderation.method.addflagtocomment(string,string,connectapi.communityflagtype,string)", "order": 1, "memberOrder": 1, "datatype": { "id": "ConnectApi.communitymoderation.addflagtocomment.datatype.String", "nodeType": "datatype", "name": "String", "startToken": { "type": "datatype.primitive", "text": "String", "textToLower": "string", "isAux": false, "range": { "start": { "line": 0, "character": 58 }, "end": { "line": 0, "character": 64 }, "isEmpty": false, "isSingleLine": true }, "id": "token.type.identifier_String_0:58" }, "parentId": "ConnectApi.communitymoderation.addflagtocomment", "order": 0, "memberOrder": 0, "type": "String" }, "scope": null }, "commentid": { "id": "ConnectApi.communitymoderation.method.addflagtocomment(string,string,connectapi.communityflagtype,string).varParam.commentid", "nodeType": "variable", "name": "commentId", "startToken": { "type": "declaration.entity.name.variable", "text": "commentId", "textToLower": "commentid", "isAux": false, "range": { "start": { "line": 0, "character": 85 }, "end": { "line": 0, "character": 94 }, "isEmpty": false, "isSingleLine": true }, "id": "token.type.identifier_commentId_0:85" }, "endToken": { "type": "declaration.entity.name.variable", "text": "commentId", "textToLower": "commentid", "isAux": false, "range": { "start": { "line": 0, "character": 85 }, "end": { "line": 0, "character": 94 }, "isEmpty": false, "isSingleLine": true }, "id": "token.type.identifier_commentId_0:85" }, "parentId"