/* Options: Date: 2025-12-06 08:30:21 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: ProductDeleteImageRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:typed_data */ import 'package:servicestack/servicestack.dart'; import 'dart:typed_data'; class ProductImageResponse implements IConvertible { ResponseStatus? ResponseStatus; String? ProductImageKey; String? ProductImageURL; ProductImageResponse({this.ResponseStatus,this.ProductImageKey,this.ProductImageURL}); ProductImageResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ResponseStatus = JsonConverters.fromJson(json['ResponseStatus'],'ResponseStatus',context!); ProductImageKey = json['ProductImageKey']; ProductImageURL = json['ProductImageURL']; return this; } Map toJson() => { 'ResponseStatus': JsonConverters.toJson(ResponseStatus,'ResponseStatus',context!), 'ProductImageKey': ProductImageKey, 'ProductImageURL': ProductImageURL }; getTypeName() => "ProductImageResponse"; TypeContext? context = _ctx; } // @Route("/v1/ProductDeleteImage", "DELETE,OPTIONS") class ProductDeleteImageRequest implements IReturn, IConvertible, IDelete { int? ProductId; String? ProductImageKey; ProductDeleteImageRequest({this.ProductId,this.ProductImageKey}); ProductDeleteImageRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ProductId = json['ProductId']; ProductImageKey = json['ProductImageKey']; return this; } Map toJson() => { 'ProductId': ProductId, 'ProductImageKey': ProductImageKey }; createResponse() => ProductImageResponse(); getResponseTypeName() => "ProductImageResponse"; getTypeName() => "ProductDeleteImageRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'api.dev.dynamics.trendsic.com', types: { 'ProductImageResponse': TypeInfo(TypeOf.Class, create:() => ProductImageResponse()), 'ProductDeleteImageRequest': TypeInfo(TypeOf.Class, create:() => ProductDeleteImageRequest()), });