Sub2ApiAdminUsageQuery constructor

const Sub2ApiAdminUsageQuery({
  1. int page = 1,
  2. int pageSize = 20,
  3. bool exactTotal = false,
  4. int? userId,
  5. int? apiKeyId,
  6. int? accountId,
  7. int? groupId,
  8. String? requestId,
  9. String? model,
  10. Sub2ApiAdminUsageRequestType? requestType,
  11. bool? stream,
  12. Sub2ApiAdminBillingType? billingType,
  13. String? billingMode,
  14. bool? upstreamModelMismatch,
  15. DateTime? startDate,
  16. DateTime? endDate,
  17. String? timezone,
  18. String sortBy = 'created_at',
  19. Sub2ApiAdminUsageSortOrder sortOrder = Sub2ApiAdminUsageSortOrder.descending,
})

Implementation

const Sub2ApiAdminUsageQuery({
  this.page = 1,
  this.pageSize = 20,
  this.exactTotal = false,
  this.userId,
  this.apiKeyId,
  this.accountId,
  this.groupId,
  this.requestId,
  this.model,
  this.requestType,
  this.stream,
  this.billingType,
  this.billingMode,
  this.upstreamModelMismatch,
  this.startDate,
  this.endDate,
  this.timezone,
  this.sortBy = 'created_at',
  this.sortOrder = Sub2ApiAdminUsageSortOrder.descending,
});