| GET | /warranty/v1/GetBooster2RedirectionFlag |
|---|
import 'package:servicestack/servicestack.dart';
class GetBooster2RedirectionFlag implements IConvertible
{
GetBooster2RedirectionFlag();
GetBooster2RedirectionFlag.fromJson(Map<String, dynamic> json) : super();
fromMap(Map<String, dynamic> json) {
return this;
}
Map<String, dynamic> toJson() => {};
getTypeName() => "GetBooster2RedirectionFlag";
TypeContext? context = _ctx;
}
class GetBooster2RedirectionFlagResponse implements IConvertible
{
bool? fullMigratedToBooster2;
GetBooster2RedirectionFlagResponse({this.fullMigratedToBooster2});
GetBooster2RedirectionFlagResponse.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
fullMigratedToBooster2 = json['fullMigratedToBooster2'];
return this;
}
Map<String, dynamic> toJson() => {
'fullMigratedToBooster2': fullMigratedToBooster2
};
getTypeName() => "GetBooster2RedirectionFlagResponse";
TypeContext? context = _ctx;
}
TypeContext _ctx = TypeContext(library: 'qp_microservices_booster.richemont.com', types: <String, TypeInfo> {
'GetBooster2RedirectionFlag': TypeInfo(TypeOf.Class, create:() => GetBooster2RedirectionFlag()),
'GetBooster2RedirectionFlagResponse': TypeInfo(TypeOf.Class, create:() => GetBooster2RedirectionFlagResponse()),
});
Dart GetBooster2RedirectionFlag 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/GetBooster2RedirectionFlag HTTP/1.1 Host: qp-microservices-booster.richemont.com Accept: text/jsonl
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length
{"fullMigratedToBooster2":false}