2021-02-13 14:09:40 +00:00
|
|
|
import 'package:json_annotation/json_annotation.dart';
|
|
|
|
|
|
|
|
part 'create_apikey_response.g.dart';
|
|
|
|
|
|
|
|
@JsonSerializable()
|
|
|
|
class CreateApiKeyResponse {
|
|
|
|
@JsonKey(required: true)
|
|
|
|
final String status;
|
|
|
|
|
|
|
|
@JsonKey(required: true)
|
|
|
|
final Map<String, String> data;
|
|
|
|
|
2021-11-29 23:44:22 +00:00
|
|
|
CreateApiKeyResponse({required this.status, required this.data});
|
2021-02-13 14:09:40 +00:00
|
|
|
|
|
|
|
// JSON Init
|
2022-06-22 22:44:08 +00:00
|
|
|
factory CreateApiKeyResponse.fromJson(Map<String, dynamic> json) => _$CreateApiKeyResponseFromJson(json);
|
2021-02-13 14:09:40 +00:00
|
|
|
|
|
|
|
// JSON Export
|
|
|
|
Map<String, dynamic> toJson() => _$CreateApiKeyResponseToJson(this);
|
|
|
|
}
|