lib/API/MetricsApi.php
/**
     * Operation metricsTimelineAsync
     *
     * Get Events for All Metrics
     *
     * @param  string $since Either a 10-digit Unix timestamp (UTC) to use as starting datetime, OR a pagination token obtained from the next attribute of a prior API call. For backwards compatibility, UUIDs will continue to be supported for a limited time. Defaults to current time. (optional)
     * @param  int $count Number of events to return in a batch. Default &#x3D; 50, Max &#x3D; 100 (optional, default to 50)
     * @param  string $sort Sort order to apply to timeline, either descending or ascending. Valid values are &#x60;desc&#x60; or &#x60;asc&#x60;. Defaults to &#x60;desc&#x60;. Always descending when &#x60;since&#x60; is not sent, as &#x60;since&#x60; defaults to current time. (optional, default to 'desc')
     *
     * @throws \InvalidArgumentException
     * @return \GuzzleHttp\Promise\PromiseInterface
     */
Operation metricsTimelineAsync
Get Events for All Metrics

@param  string $since Either a 10-digit Unix timestamp (UTC) to use as starting datetime, OR a pagination token obtained from the next attribute of a prior API call. For backwards compatibility, UUIDs will continue to be supported for a limited time. Defaults to current time. (optional)
@param  int $count Number of events to return in a batch. Default = 50, Max = 100 (optional, default to 50)
@param  string $sort Sort order to apply to timeline, either descending or ascending. Valid values are `desc` or `asc`. Defaults to `desc`. Always descending when `since` is not sent, as `since` defaults to current time. (optional, default to 'desc')


Operation metricsTimelineAsync Get Events for All Metrics @param string $since Either a 10 - digit Unix timestamp ( UTC ) to use as starting datetime OR a pagination token obtained from the next attribute of a prior API call . For backwards compatibility UUIDs will continue to be supported for a limited time . Defaults to current time . ( optional ) @param int $count Number of events to return in a batch . Default = 50 Max = 100 ( optional default to 50 ) @param string $sort Sort order to apply to timeline either descending or ascending . Valid values are ` desc ` or ` asc ` . Defaults to ` desc ` . Always descending when ` since ` is not sent as ` since ` defaults to current time . ( optional default to ' desc ' )
public function metricsTimelineAsync($since = null, $count = 50, $sort = 'desc')
    {
        return $this->metricsTimelineAsyncWithHttpInfo($since, $count, $sort)
            ->then(
                function ($response) {
                    return $response[0];
                }
            );
    }
public function metricsTimelineAsync ( $ since = null , $ count = 50 , $ sort = 'desc' ) { return $ this -> metricsTimelineAsyncWithHttpInfo ( $ since , $ count , $ sort ) -> then ( function ( $ response ) { return $ response [ 0 ] ; } ) ; }
Operation metricsTimelineAsync
 Get Events for All Metrics
Operation metricsTimelineAsync Get Events for All Metrics