/* Options: Date: 2026-05-09 19:52:45 Version: 6.110 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://chienbinhdevias-admin-api-sandbox.adnx.vn //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: RenameS3FileRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class BaseResponse implements IResponseRequest, IConvertible { int? code; String? message; String? data; BaseResponse({this.code,this.message,this.data}); BaseResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { code = json['code']; message = json['message']; data = json['data']; return this; } Map toJson() => { 'code': code, 'message': message, 'data': data }; getTypeName() => "BaseResponse<$String>"; TypeContext? context = _ctx; } // @Route("/s3/files/rename", "POST") class RenameS3FileRequest implements IReturn>, IConvertible, IPost { String? oldKey; String? newKey; RenameS3FileRequest({this.oldKey,this.newKey}); RenameS3FileRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { oldKey = json['oldKey']; newKey = json['newKey']; return this; } Map toJson() => { 'oldKey': oldKey, 'newKey': newKey }; createResponse() => BaseResponse(); getResponseTypeName() => "BaseResponse"; getTypeName() => "RenameS3FileRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'chienbinhdevias_admin_api_sandbox.adnx.vn', types: { 'BaseResponse': TypeInfo(TypeOf.Class, create:() => BaseResponse()), 'RenameS3FileRequest': TypeInfo(TypeOf.Class, create:() => RenameS3FileRequest()), });