/* Options: Date: 2025-12-06 07:52:54 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: ProductImageRequest.* //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/ProductImage", "POST,OPTIONS") class ProductImageRequest implements IReturn, IConvertible, IPost { int? ProductId; String? ProductImageKey; ProductImageRequest({this.ProductId,this.ProductImageKey}); ProductImageRequest.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() => "ProductImageRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'api.dev.dynamics.trendsic.com', types: { 'ProductImageResponse': TypeInfo(TypeOf.Class, create:() => ProductImageResponse()), 'ProductImageRequest': TypeInfo(TypeOf.Class, create:() => ProductImageRequest()), });