CreateApiKey200Response constructor

CreateApiKey200Response({
  1. required CreateApiKey200ResponseObjectEnum object,
  2. required String id,
  3. required String type,
  4. required String subject,
  5. required String name,
  6. String? description,
  7. required Object? claims,
  8. List<String> scopes = const [],
  9. required String secret,
  10. required bool revoked,
  11. required String? revocationReason,
  12. required bool expired,
  13. required num? expiration,
  14. required String? createdBy,
  15. required num? lastUsedAt,
  16. required num createdAt,
  17. required num updatedAt,
})

Returns a new CreateApiKey200Response instance.

Implementation

CreateApiKey200Response({
  required this.object,
  required this.id,
  required this.type,
  required this.subject,
  required this.name,
  this.description,
  required this.claims,
  this.scopes = const [],
  required this.secret,
  required this.revoked,
  required this.revocationReason,
  required this.expired,
  required this.expiration,
  required this.createdBy,
  required this.lastUsedAt,
  required this.createdAt,
  required this.updatedAt,
});