/* Options: Date: 2025-12-06 07:09:05 Version: 8.80 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.dev.dynamics.trendsic.com //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: AgentStoreNameChangeRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:typed_data */ import 'package:servicestack/servicestack.dart'; import 'dart:typed_data'; class AgentStoreNameResponse implements IConvertible { ResponseStatus? ResponseStatus; String? AgentStoreName; AgentStoreNameResponse({this.ResponseStatus,this.AgentStoreName}); AgentStoreNameResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ResponseStatus = JsonConverters.fromJson(json['ResponseStatus'],'ResponseStatus',context!); AgentStoreName = json['AgentStoreName']; return this; } Map toJson() => { 'ResponseStatus': JsonConverters.toJson(ResponseStatus,'ResponseStatus',context!), 'AgentStoreName': AgentStoreName }; getTypeName() => "AgentStoreNameResponse"; TypeContext? context = _ctx; } // @Route("/v1/AgentStoreNameChange", "POST,OPTIONS") class AgentStoreNameChangeRequest implements IReturn, IConvertible, IPost { String? AgentStoreName; String? AgentStoreNameNew; int? AgentId; AgentStoreNameChangeRequest({this.AgentStoreName,this.AgentStoreNameNew,this.AgentId}); AgentStoreNameChangeRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { AgentStoreName = json['AgentStoreName']; AgentStoreNameNew = json['AgentStoreNameNew']; AgentId = json['AgentId']; return this; } Map toJson() => { 'AgentStoreName': AgentStoreName, 'AgentStoreNameNew': AgentStoreNameNew, 'AgentId': AgentId }; createResponse() => AgentStoreNameResponse(); getResponseTypeName() => "AgentStoreNameResponse"; getTypeName() => "AgentStoreNameChangeRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'api.dev.dynamics.trendsic.com', types: { 'AgentStoreNameResponse': TypeInfo(TypeOf.Class, create:() => AgentStoreNameResponse()), 'AgentStoreNameChangeRequest': TypeInfo(TypeOf.Class, create:() => AgentStoreNameChangeRequest()), });