/* Options: Date: 2026-06-14 21:42:57 Version: 8.80 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://qp-microservices-booster.richemont.com //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: GetBrandPrivacyPolicy.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class BaseRequest implements IRequest, IConvertible { String? sid; String? app; String? _os; String? _appVersion; String? _searchMethod; BaseRequest({this.sid,this.app,this._os,this._appVersion,this._searchMethod}); BaseRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { sid = json['sid']; app = json['app']; _os = json['_os']; _appVersion = json['_appVersion']; _searchMethod = json['_searchMethod']; return this; } Map toJson() => { 'sid': sid, 'app': app, '_os': _os, '_appVersion': _appVersion, '_searchMethod': _searchMethod }; getTypeName() => "BaseRequest<$TResponse>"; TypeContext? context = _ctx; } abstract class IRequest { String? sid; String? app; } // @Route("/warranty/v1/GetBrandPrivacyPolicy", "POST") class GetBrandPrivacyPolicy extends BaseRequest implements IReturn, IConvertible, IPost { String? countryId; String? languageId; String? brandTrigram; int? posId; GetBrandPrivacyPolicy({this.countryId,this.languageId,this.brandTrigram,this.posId}); GetBrandPrivacyPolicy.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); countryId = json['countryId']; languageId = json['languageId']; brandTrigram = json['brandTrigram']; posId = json['posId']; return this; } Map toJson() => super.toJson()..addAll({ 'countryId': countryId, 'languageId': languageId, 'brandTrigram': brandTrigram, 'posId': posId }); createResponse() => ""; getResponseTypeName() => "String"; getTypeName() => "GetBrandPrivacyPolicy"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'qp_microservices_booster.richemont.com', types: { 'BaseRequest': TypeInfo(TypeOf.Class, create:() => BaseRequest()), 'IRequest': TypeInfo(TypeOf.Interface), 'GetBrandPrivacyPolicy': TypeInfo(TypeOf.Class, create:() => GetBrandPrivacyPolicy()), });