1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
|
# This file was generated by jschema_to_python version 1.2.3.
import attr
@attr.s
class Artifact(object):
"""A single artifact. In some cases, this artifact might be nested within another artifact."""
contents = attr.ib(default=None, metadata={"schema_property_name": "contents"})
description = attr.ib(default=None, metadata={"schema_property_name": "description"})
encoding = attr.ib(default=None, metadata={"schema_property_name": "encoding"})
hashes = attr.ib(default=None, metadata={"schema_property_name": "hashes"})
last_modified_time_utc = attr.ib(default=None, metadata={"schema_property_name": "lastModifiedTimeUtc"})
length = attr.ib(default=-1, metadata={"schema_property_name": "length"})
location = attr.ib(default=None, metadata={"schema_property_name": "location"})
mime_type = attr.ib(default=None, metadata={"schema_property_name": "mimeType"})
offset = attr.ib(default=None, metadata={"schema_property_name": "offset"})
parent_index = attr.ib(default=-1, metadata={"schema_property_name": "parentIndex"})
properties = attr.ib(default=None, metadata={"schema_property_name": "properties"})
roles = attr.ib(default=None, metadata={"schema_property_name": "roles"})
source_language = attr.ib(default=None, metadata={"schema_property_name": "sourceLanguage"})
|