| GET | /warranty/v1/CheckUserMigrationStatus/{email*} |
|---|
import 'package:servicestack/servicestack.dart';
class CheckUserMigrationStatusResponse implements IConvertible
{
bool? isMigrated;
CheckUserMigrationStatusResponse({this.isMigrated});
CheckUserMigrationStatusResponse.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
isMigrated = json['isMigrated'];
return this;
}
Map<String, dynamic> toJson() => {
'isMigrated': isMigrated
};
getTypeName() => "CheckUserMigrationStatusResponse";
TypeContext? context = _ctx;
}
class CheckUserMigrationStatus implements IConvertible
{
String? email;
CheckUserMigrationStatus({this.email});
CheckUserMigrationStatus.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
email = json['email'];
return this;
}
Map<String, dynamic> toJson() => {
'email': email
};
getTypeName() => "CheckUserMigrationStatus";
TypeContext? context = _ctx;
}
TypeContext _ctx = TypeContext(library: 'qp_microservices_booster.richemont.com', types: <String, TypeInfo> {
'CheckUserMigrationStatusResponse': TypeInfo(TypeOf.Class, create:() => CheckUserMigrationStatusResponse()),
'CheckUserMigrationStatus': TypeInfo(TypeOf.Class, create:() => CheckUserMigrationStatus()),
});
Dart CheckUserMigrationStatus DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /warranty/v1/CheckUserMigrationStatus/{email*} HTTP/1.1
Host: qp-microservices-booster.richemont.com
Accept: text/jsonl
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length
{"isMigrated":false}