Reports
albert.resources.reports
Attributes:
Name | Type | Description |
---|---|---|
ReportItem |
|
ReportInfo
Bases: BaseResource
Show JSON schema:
{
"$defs": {
"AuditFields": {
"description": "The audit fields for a resource",
"properties": {
"by": {
"default": null,
"title": "By",
"type": "string"
},
"byName": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Byname"
},
"at": {
"anyOf": [
{
"format": "date-time",
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "At"
}
},
"title": "AuditFields",
"type": "object"
},
"Status": {
"description": "The status of a resource",
"enum": [
"active",
"inactive"
],
"title": "Status",
"type": "string"
}
},
"properties": {
"status": {
"anyOf": [
{
"$ref": "#/$defs/Status"
},
{
"type": "null"
}
],
"default": null
},
"Created": {
"anyOf": [
{
"$ref": "#/$defs/AuditFields"
},
{
"type": "null"
}
],
"default": null
},
"Updated": {
"anyOf": [
{
"$ref": "#/$defs/AuditFields"
},
{
"type": "null"
}
],
"default": null
},
"reportTypeId": {
"title": "Reporttypeid",
"type": "string"
},
"reportType": {
"title": "Reporttype",
"type": "string"
},
"category": {
"title": "Category",
"type": "string"
},
"Items": {
"items": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"items": {
"additionalProperties": true,
"type": "object"
},
"type": "array"
},
{
"type": "null"
}
]
},
"title": "Items",
"type": "array"
}
},
"required": [
"reportTypeId",
"reportType",
"category",
"Items"
],
"title": "ReportInfo",
"type": "object"
}
Fields:
-
status
(Status | None
) -
created
(AuditFields | None
) -
updated
(AuditFields | None
) -
report_type_id
(str
) -
report_type
(str
) -
category
(str
) -
items
(list[ReportItem]
)