2021-04-05 20:06:54 +00:00
|
|
|
import 'package:json_annotation/json_annotation.dart';
|
|
|
|
|
|
|
|
import 'apikeys.dart';
|
|
|
|
|
|
|
|
part 'apikeys_response.g.dart';
|
|
|
|
|
|
|
|
@JsonSerializable()
|
|
|
|
class ApiKeysResponse {
|
|
|
|
@JsonKey(required: true)
|
|
|
|
final String status;
|
|
|
|
|
|
|
|
@JsonKey(required: true)
|
|
|
|
final ApiKeys data;
|
|
|
|
|
2021-11-29 23:44:22 +00:00
|
|
|
ApiKeysResponse({required this.status, required this.data});
|
2021-04-05 20:06:54 +00:00
|
|
|
|
|
|
|
// JSON Init
|
2023-01-16 00:44:34 +00:00
|
|
|
factory ApiKeysResponse.fromJson(Map<String, dynamic> json) =>
|
|
|
|
_$ApiKeysResponseFromJson(json);
|
2021-04-05 20:06:54 +00:00
|
|
|
|
|
|
|
// JSON Export
|
|
|
|
Map<String, dynamic> toJson() => _$ApiKeysResponseToJson(this);
|
|
|
|
}
|