/* Options: Date: 2024-12-23 12:13:59 Version: 8.0 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://consumer-api.brovs.com //GlobalNamespace: ConsumerApi //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: StarredAdMessageRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ library ConsumerApi; import 'package:servicestack/servicestack.dart'; class StarredAdMessageResponse implements IConvertible { int? starredAdMessageId; StarredAdMessageResponse({this.starredAdMessageId}); StarredAdMessageResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { starredAdMessageId = json['starredAdMessageId']; return this; } Map toJson() => { 'starredAdMessageId': starredAdMessageId }; getTypeName() => "StarredAdMessageResponse"; TypeContext? context = _ctx; } // @Route("/admessage/StarredAdMessage", "POST") class StarredAdMessageRequest implements IReturn, IPost, IConvertible { int? adMessageId; StarredAdMessageRequest({this.adMessageId}); StarredAdMessageRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { adMessageId = json['adMessageId']; return this; } Map toJson() => { 'adMessageId': adMessageId }; createResponse() => StarredAdMessageResponse(); getResponseTypeName() => "StarredAdMessageResponse"; getTypeName() => "StarredAdMessageRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'ConsumerApi', types: { 'StarredAdMessageResponse': TypeInfo(TypeOf.Class, create:() => StarredAdMessageResponse()), 'StarredAdMessageRequest': TypeInfo(TypeOf.Class, create:() => StarredAdMessageRequest()), });