/* Options: Date: 2025-12-06 08:52:48 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: ProjectImageRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:typed_data */ import 'package:servicestack/servicestack.dart'; import 'dart:typed_data'; class ProjectImageResponse implements IConvertible { ResponseStatus? ResponseStatus; String? ProjectImageKey; String? ProjectImageURL; ProjectImageResponse({this.ResponseStatus,this.ProjectImageKey,this.ProjectImageURL}); ProjectImageResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ResponseStatus = JsonConverters.fromJson(json['ResponseStatus'],'ResponseStatus',context!); ProjectImageKey = json['ProjectImageKey']; ProjectImageURL = json['ProjectImageURL']; return this; } Map toJson() => { 'ResponseStatus': JsonConverters.toJson(ResponseStatus,'ResponseStatus',context!), 'ProjectImageKey': ProjectImageKey, 'ProjectImageURL': ProjectImageURL }; getTypeName() => "ProjectImageResponse"; TypeContext? context = _ctx; } // @Route("/v1/ProjectImage", "POST,OPTIONS") class ProjectImageRequest implements IReturn, IConvertible, IPost { int? ProjectId; String? ProjectImageKey; ProjectImageRequest({this.ProjectId,this.ProjectImageKey}); ProjectImageRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ProjectId = json['ProjectId']; ProjectImageKey = json['ProjectImageKey']; return this; } Map toJson() => { 'ProjectId': ProjectId, 'ProjectImageKey': ProjectImageKey }; createResponse() => ProjectImageResponse(); getResponseTypeName() => "ProjectImageResponse"; getTypeName() => "ProjectImageRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'api.dev.dynamics.trendsic.com', types: { 'ProjectImageResponse': TypeInfo(TypeOf.Class, create:() => ProjectImageResponse()), 'ProjectImageRequest': TypeInfo(TypeOf.Class, create:() => ProjectImageRequest()), });