Reports models¶
Models of the reporting endpoints.
Generated by python -m codegen from the iikoCloud OpenAPI specification. Do not edit by hand.
GetIncomePlanResponse
¶
Bases: IikoModel
GetIncomePlanResponse.
items
class-attribute
instance-attribute
¶
items: list[IncomePlanItem] | None = None
Daily planned values
GetOlapColumnsRequest
¶
GetOlapReportRequest
¶
Bases: IikoModel
GetOlapReportRequest.
aggregate_fields
instance-attribute
¶
Non-empty list of fields to aggregate by (FieldName names from columns/get)
build_summary
class-attribute
instance-attribute
¶
build_summary: bool | None = None
Whether to build totals
filters
instance-attribute
¶
filters: list[OlapFilterDoc]
Report filters: an array of filter structures; each contains name (FieldName from columns/get) and filterType, remaining fields depend on filterType (see filter models); at least one DateRange filter by the OpenDate.Typed field is required. For periodType = CUSTOM the period is limited to 31 days inclusive.
group_by_col_fields
class-attribute
instance-attribute
¶
Fields to group columns by (FieldName names from columns/get)
group_by_row_fields
class-attribute
instance-attribute
¶
Fields to group rows by (FieldName names from columns/get)
GetOlapReportResponse
¶
IncomePlanItem
¶
OlapColumn
¶
Bases: IikoModel
OlapColumn.
can_aggregate
class-attribute
instance-attribute
¶
can_aggregate: bool | None = None
Whether aggregation is allowed for the column
can_filter
class-attribute
instance-attribute
¶
can_filter: bool | None = None
Whether filtering is allowed for the column
can_group
class-attribute
instance-attribute
¶
can_group: bool | None = None
Whether grouping is allowed for the column
display_name
class-attribute
instance-attribute
¶
display_name: str | None = None
Report column name
name
class-attribute
instance-attribute
¶
name: str | None = None
Field name (FieldName): used in groupByRowFields/groupByColFields/aggregateFields, grouping and filters
tags
class-attribute
instance-attribute
¶
Report categories the field belongs to
OlapFilterDoc
¶
Bases: IikoModel
One item of the filters array. Which fields are actually present depends on filterType: name and filterType are always present; values — for IncludeValues/ExcludeValues; from/to — a number for Range or a date string in yyyy-MM-dd format for DateRange; periodType — for DateRange; includeLow/includeHigh — for Range and DateRange
filter_type
instance-attribute
¶
filter_type: str
Filter type: IncludeValues/ExcludeValues — by values, Range — by numeric range, DateRange — by date range
from_
class-attribute
instance-attribute
¶
Lower range bound: a number (Range) or a date (DateRange) in yyyy-MM-dd format. For periodType = CUSTOM the period is limited to 31 days inclusive.
include_high
class-attribute
instance-attribute
¶
include_high: bool | None = None
Whether to include the upper range bound; defaults to false
include_low
class-attribute
instance-attribute
¶
include_low: bool | None = None
Whether to include the lower range bound; defaults to true
period_type
class-attribute
instance-attribute
¶
period_type: str | None = None
Period type (for DateRange): CUSTOM, OPEN_PERIOD, TODAY, YESTERDAY, CURRENT_WEEK, CURRENT_MONTH, CURRENT_YEAR, LAST_WEEK, LAST_MONTH, LAST_YEAR