TimeIntervalListRequestParameters

TimeIntervalListRequestParameters
TimeIntervalListRequestParameters

The set of parameters for returning a list of records based on a specified time range. | We will do AND between all filters and all filter_elements

JSON Example
{
    "time_interval": {
        "start_time": 0,
        "end_time": 0
    },
    "filters": [
        {
            "key": "contains.member.vm.name",
            "value": "g1,g2,g3",
            "criteria": "string"
        }
    ],
    "filter_elements": [
        {
            "filter_type": "string"
        }
    ],
    "cursor": "string",
    "page_size": 0,
    "sort_ascending": false,
    "sort_by": {
        "attribute": "string"
    }
}
time_interval
Required

Time interval object where start and end time are required

array of BaseFilter
filters
Optional

A list of filters

filter_elements
Optional

A list of filter elements.

string
cursor
Optional

A cursor to keep track of pages returned by the backend (a page number)

integer As int32 As int32
page_size
Optional

Number of records to be returned in the API request

boolean
sort_ascending
Optional

True, if the list of records returned need to be sorted in ascending order, false otherwise.

sort_by
Optional

The parameter on which to sort