File: _translation_metadata.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 (16 lines) | stat: -rw-r--r-- 807 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# This file was generated by jschema_to_python version 1.2.3.

import attr


@attr.s
class TranslationMetadata(object):
    """Provides additional metadata related to translation."""

    name = attr.ib(metadata={"schema_property_name": "name"})
    download_uri = attr.ib(default=None, metadata={"schema_property_name": "downloadUri"})
    full_description = attr.ib(default=None, metadata={"schema_property_name": "fullDescription"})
    full_name = attr.ib(default=None, metadata={"schema_property_name": "fullName"})
    information_uri = attr.ib(default=None, metadata={"schema_property_name": "informationUri"})
    properties = attr.ib(default=None, metadata={"schema_property_name": "properties"})
    short_description = attr.ib(default=None, metadata={"schema_property_name": "shortDescription"})