File: _physical_location.py

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

import attr


@attr.s
class PhysicalLocation(object):
    """A physical location relevant to a result. Specifies a reference to a programming artifact together with a range of bytes or characters within that artifact."""

    address = attr.ib(default=None, metadata={"schema_property_name": "address"})
    artifact_location = attr.ib(default=None, metadata={"schema_property_name": "artifactLocation"})
    context_region = attr.ib(default=None, metadata={"schema_property_name": "contextRegion"})
    properties = attr.ib(default=None, metadata={"schema_property_name": "properties"})
    region = attr.ib(default=None, metadata={"schema_property_name": "region"})