/// <summary> /// Gets aggregate logs for account. /// </summary> /// <param name="startTime"></param> /// <param name="endTime"></param> /// <param name="aggregatorType"></param> /// <param name="limit"></param> /// <param name="logType"></param> /// <param name="operatorId"></param> /// <param name="startKey"></param> /// <param name="client">REST client.</param> /// <returns></returns> public static AccountLogsAggregate GetLogsAggregate(DateTime startTime, DateTime endTime, AggregatorTypeEnum aggregatorType, int?limit = null, string logType = null, int?operatorId = null, string startKey = null, IVcRestClient client = null) { AccountLogsAggregateQueryParams queryParams = new AccountLogsAggregateQueryParams(startTime, endTime, aggregatorType) { Limit = limit, LogType = logType, OperatorId = operatorId, StartKey = startKey }; return(GetLogsAggregate(queryParams, client)); }
/// <summary> /// Initializes a new instance of the <see cref="AccountLogsAggregateQueryParams"/> class. /// </summary> /// <param name="startTime">Start date and time.</param> /// <param name="endTime">End date and time.</param> /// <param name="aggregatorType">Type of aggregator.</param> public AccountLogsAggregateQueryParams(DateTime startTime, DateTime endTime, AggregatorTypeEnum aggregatorType) : base(startTime, endTime) { AggregatorType = aggregatorType; }