File: _reporting_descriptor.py

package info (click to toggle)
python-sarif-python-om 1.0.4-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 424 kB
  • sloc: python: 634; makefile: 3
file content (23 lines) | stat: -rw-r--r-- 1,507 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# This file was generated by jschema_to_python version 1.2.3.

import attr


@attr.s
class ReportingDescriptor(object):
    """Metadata that describes a specific report produced by the tool, as part of the analysis it provides or its runtime reporting."""

    id = attr.ib(metadata={"schema_property_name": "id"})
    default_configuration = attr.ib(default=None, metadata={"schema_property_name": "defaultConfiguration"})
    deprecated_guids = attr.ib(default=None, metadata={"schema_property_name": "deprecatedGuids"})
    deprecated_ids = attr.ib(default=None, metadata={"schema_property_name": "deprecatedIds"})
    deprecated_names = attr.ib(default=None, metadata={"schema_property_name": "deprecatedNames"})
    full_description = attr.ib(default=None, metadata={"schema_property_name": "fullDescription"})
    guid = attr.ib(default=None, metadata={"schema_property_name": "guid"})
    help = attr.ib(default=None, metadata={"schema_property_name": "help"})
    help_uri = attr.ib(default=None, metadata={"schema_property_name": "helpUri"})
    message_strings = attr.ib(default=None, metadata={"schema_property_name": "messageStrings"})
    name = attr.ib(default=None, metadata={"schema_property_name": "name"})
    properties = attr.ib(default=None, metadata={"schema_property_name": "properties"})
    relationships = attr.ib(default=None, metadata={"schema_property_name": "relationships"})
    short_description = attr.ib(default=None, metadata={"schema_property_name": "shortDescription"})