Sub2ApiAdminUsageQuery constructor
const
Sub2ApiAdminUsageQuery({
- int page = 1,
- int pageSize = 20,
- bool exactTotal = false,
- int? userId,
- int? apiKeyId,
- int? accountId,
- int? groupId,
- String? requestId,
- String? model,
- Sub2ApiAdminUsageRequestType? requestType,
- bool? stream,
- Sub2ApiAdminBillingType? billingType,
- String? billingMode,
- bool? upstreamModelMismatch,
- DateTime? startDate,
- DateTime? endDate,
- String? timezone,
- String sortBy = 'created_at',
- 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,
});