/* Options: Date: 2025-01-08 03:11:42 Version: 8.53 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://blazordiffusion.com //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: GetAlbumUserData.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class GetAlbumUserDataResponse implements IConvertible { int? albumId; List? likedArtifacts = []; GetAlbumUserDataResponse({this.albumId,this.likedArtifacts}); GetAlbumUserDataResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { albumId = json['albumId']; likedArtifacts = JsonConverters.fromJson(json['likedArtifacts'],'List',context!); return this; } Map toJson() => { 'albumId': albumId, 'likedArtifacts': JsonConverters.toJson(likedArtifacts,'List',context!) }; getTypeName() => "GetAlbumUserDataResponse"; TypeContext? context = _ctx; } // @ValidateRequest(Validator="IsAuthenticated") class GetAlbumUserData implements IReturn, IGet, IConvertible { int? albumId; GetAlbumUserData({this.albumId}); GetAlbumUserData.fromJson(Map json) { fromMap(json); } fromMap(Map json) { albumId = json['albumId']; return this; } Map toJson() => { 'albumId': albumId }; createResponse() => GetAlbumUserDataResponse(); getResponseTypeName() => "GetAlbumUserDataResponse"; getTypeName() => "GetAlbumUserData"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'blazordiffusion.com', types: { 'GetAlbumUserDataResponse': TypeInfo(TypeOf.Class, create:() => GetAlbumUserDataResponse()), 'GetAlbumUserData': TypeInfo(TypeOf.Class, create:() => GetAlbumUserData()), });