Skip to content

Latest commit

 

History

History
41 lines (32 loc) · 2.09 KB

QueryOutput.md

File metadata and controls

41 lines (32 loc) · 2.09 KB

QueryOutput

Query definition for a Waylay analytics query. See also api docs.

Properties

Name Type Description Notes
resource str Default resource for the series in the query. [optional]
metric str Default metric for the series in the query. [optional]
aggregation DefaultAggregation [optional]
interpolation DefaultInterpolation [optional]
freq GroupingInterval [optional]
var_from TimeWindowFrom [optional]
until TimeWindowUntil [optional]
window Window [optional]
periods int The size of the time window in number of `freq` units. One of the time line specifiers. [optional]
align Alignment [optional]
data List[SeriesSpec] List of series specifications. When not specified, a single default series specification is assumed(`[{}]`, using the default `metric`,`resource`, ... ). [optional]
render Render [optional]

Example

from waylay.services.queries.models.query_output import QueryOutput

# TODO update the JSON string below
json = "{}"
# create an instance of QueryOutput from a JSON string
query_output_instance = QueryOutput.from_json(json)
# print the JSON string representation of the object
print QueryOutput.to_json()

# convert the object into a dict
query_output_dict = query_output_instance.to_dict()
# create an instance of QueryOutput from a dict
query_output_form_dict = query_output.from_dict(query_output_dict)

[Back to Model list] [Back to API list] [Back to README]