/* Options: Date: 2026-04-04 01:21:54 Version: 8.52 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://pfapi.pstpf.com.au/api //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: GetMedia.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class MediaModelResponse implements IConvertible { String? MediaName; String? MediaFileUrl; ResponseStatus? ResponseStatus; MediaModelResponse({this.MediaName,this.MediaFileUrl,this.ResponseStatus}); MediaModelResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { MediaName = json['MediaName']; MediaFileUrl = json['MediaFileUrl']; ResponseStatus = JsonConverters.fromJson(json['ResponseStatus'],'ResponseStatus',context!); return this; } Map toJson() => { 'MediaName': MediaName, 'MediaFileUrl': MediaFileUrl, 'ResponseStatus': JsonConverters.toJson(ResponseStatus,'ResponseStatus',context!) }; getTypeName() => "MediaModelResponse"; TypeContext? context = _ctx; } // @Route("/media/retrievemedia") class GetMedia implements IReturn, IConvertible, IGet { String? ErosMediaId; GetMedia({this.ErosMediaId}); GetMedia.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ErosMediaId = json['ErosMediaId']; return this; } Map toJson() => { 'ErosMediaId': ErosMediaId }; createResponse() => MediaModelResponse(); getResponseTypeName() => "MediaModelResponse"; getTypeName() => "GetMedia"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'pfapi.pstpf.com.au', types: { 'MediaModelResponse': TypeInfo(TypeOf.Class, create:() => MediaModelResponse()), 'GetMedia': TypeInfo(TypeOf.Class, create:() => GetMedia()), });