afv-library/skills/platform-data-and-tooling-api-context-get/assets/tooling_api/ApexCodeCoverageAggregate.json

44 lines
3.7 KiB
JSON
Raw Normal View History

{
"sections": [
"title",
"description",
"supported_soap_calls",
"supported_rest_api_http_methods",
"fields",
"special_access_rules",
"wsdl_segment"
],
"title": "ApexCodeCoverageAggregate - Tooling API",
"description": "Represents aggregate code coverage test results for an Apex class or trigger. Available in Tooling API version 29.0 and later.",
"supported_soap_calls": "`describeSObjects()`, `query()`, `retrieve()`",
"supported_rest_api_http_methods": "`Query`, `GET`, `DELETE`",
"fields_columns": [
"type",
"properties",
"description"
],
"fields": {
"ApexClassorTriggerId": {
"type": "string",
"properties": "Filter, Group, Sort",
"description": "The ID of the class or trigger under test."
},
"NumLinesCovered": {
"type": "int",
"properties": "Filter, Group, Sort",
"description": "The number of covered lines."
},
"NumLinesUncovered": {
"type": "int",
"properties": "Filter, Group, Sort",
"description": "The number of uncovered lines."
},
"Coverage": {
"type": "complexvalue",
"properties": "None",
"description": "Two lists of integers. The first is the covered lines, and the second is the list of uncovered lines. If a line is missing from both lists, the line isnt executable and doesnt require coverage. Coverage includes the following fields: coveredLines namespace uncoveredLines"
}
},
"special_access_rules": "In API version 49.0 and later, users must have the View Setup and Configuration permission to access this object.",
"wsdl_segment": "```xml\n<xsd:complexType name=\"ApexCodeCoverageAggregate\">\n <xsd:complexContent>\n <xsd:extension base=\"ens:sObject\">\n <xsd:sequence>\n <xsd:element name=\"ApexClassOrTrigger\" minOccurs=\"0\" type=\"ens:sObject\" nillable=\"true\"/>\n <xsd:element name=\"ApexClassOrTriggerId\" minOccurs=\"0\" type=\"tns:ID\" nillable=\"true\"/>\n <xsd:element name=\"Coverage\" minOccurs=\"0\" type=\"tns:Coverage\" nillable=\"true\"/>\n <xsd:element name=\"CoverageLastModifiedDate\" minOccurs=\"0\" type=\"xsd:dateTime\" nillable=\"true\"/>\n <xsd:element name=\"CreatedBy\" minOccurs=\"0\" type=\"ens:User\" nillable=\"true\"/>\n <xsd:element name=\"CreatedById\" minOccurs=\"0\" type=\"tns:ID\" nillable=\"true\"/>\n <xsd:element name=\"CreatedDate\" minOccurs=\"0\" type=\"xsd:dateTime\" nillable=\"true\"/>\n <xsd:element name=\"IsDeleted\" minOccurs=\"0\" type=\"xsd:boolean\" nillable=\"true\"/>\n <xsd:element name=\"LastModifiedBy\" minOccurs=\"0\" type=\"ens:User\" nillable=\"true\"/>\n <xsd:element name=\"LastModifiedById\" minOccurs=\"0\" type=\"tns:ID\" nillable=\"true\"/>\n <xsd:element name=\"LastModifiedDate\" minOccurs=\"0\" type=\"xsd:dateTime\" nillable=\"true\"/>\n <xsd:element name=\"NumLinesCovered\" minOccurs=\"0\" type=\"xsd:int\" nillable=\"true\"/>\n <xsd:element name=\"NumLinesUncovered\" minOccurs=\"0\" type=\"xsd:int\" nillable=\"true\"/>\n <xsd:element name=\"SystemModstamp\" minOccurs=\"0\" type=\"xsd:dateTime\" nillable=\"true\"/>\n </xsd:sequence>\n </xsd:extension>\n </xsd:complexContent>\n</xsd:complexType>\n<xsd:complexType name=\"Coverage\">\n <xsd:sequence>\n <xsd:element name=\"coveredLines\" minOccurs=\"0\" maxOccurs=\"unbounded\" type=\"xsd:int\"/>\n <xsd:element name=\"uncoveredLines\" minOccurs=\"0\" maxOccurs=\"unbounded\" type=\"xsd:int\"/>\n </xsd:sequence>\n</xsd:complexType>\n<xsd:simpleType name=\"ID\">\n <xsd:restriction base=\"xsd:string\">\n <xsd:length value=\"18\"/>\n <xsd:pattern value=\"[a-zA-Z0-9]{18}\"/>\n </xsd:restriction>\n</xsd:simpleType>\n```"
}