40 lines
1.4 KiB
Python
Raw Normal View History

2021-08-01 14:27:44 -07:00
# generated by datamodel-codegen:
# filename: schema/entity/data/report.json
# timestamp: 2021-08-22T05:45:37+00:00
2021-08-01 14:27:44 -07:00
from __future__ import annotations
from typing import Optional
from pydantic import BaseModel, Field, constr
from ...type import basic, entityReference, usageDetails
2021-08-01 14:27:44 -07:00
class Report(BaseModel):
2021-08-01 14:27:44 -07:00
id: basic.Uuid = Field(
..., description='Unique identifier that identifies this report.'
2021-08-01 14:27:44 -07:00
)
name: constr(min_length=1, max_length=64) = Field(
2021-08-21 17:52:24 -07:00
..., description='Name that identifies this report instance uniquely.'
2021-08-01 14:27:44 -07:00
)
fullyQualifiedName: Optional[constr(min_length=1, max_length=64)] = Field(
None,
description="A unique name that identifies a report in the format 'ServiceName.ReportName'.",
2021-08-01 14:27:44 -07:00
)
description: Optional[str] = Field(
None, description='Description of this report instance.'
)
href: Optional[basic.Href] = Field(
None, description='Link to the resource corresponding to this report.'
2021-08-01 14:27:44 -07:00
)
owner: Optional[entityReference.EntityReference] = Field(
None, description='Owner of this pipeline.'
2021-08-01 14:27:44 -07:00
)
service: entityReference.EntityReference = Field(
..., description='Link to service where this report is hosted in.'
2021-08-01 14:27:44 -07:00
)
usageSummary: Optional[usageDetails.TypeUsedToReturnUsageDetailsOfAnEntity] = Field(
None, description='Latest usage information for this database.'
2021-08-01 14:27:44 -07:00
)