/* Options: Date: 2025-08-04 04:28:32 Version: 6.110 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://szallitoiportal-be.veolia.hu //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: BrowseStatement.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class StatementType { static const StatementType PrivacyStatement = const StatementType._(0); static const StatementType VeoliaSupplierCharter = const StatementType._(1); static const StatementType VeoliaCoreStandards = const StatementType._(2); final int _value; const StatementType._(this._value); int get value => _value; static List get values => const [PrivacyStatement,VeoliaSupplierCharter,VeoliaCoreStandards]; } abstract class ModifyRequestBase implements IConcurrencyStamp { String? ConcurrencyStamp; ModifyRequestBase({this.ConcurrencyStamp}); ModifyRequestBase.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ConcurrencyStamp = json['ConcurrencyStamp']; return this; } Map toJson() => { 'ConcurrencyStamp': ConcurrencyStamp }; getTypeName() => "ModifyRequestBase"; TypeContext? context = _ctx; } abstract class StatementBase extends ModifyRequestBase { StatementType? StatementType; String? Url; StatementBase({this.StatementType,this.Url}); StatementBase.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); StatementType = JsonConverters.fromJson(json['StatementType'],'StatementType',context!); Url = json['Url']; return this; } Map toJson() => super.toJson()..addAll({ 'StatementType': JsonConverters.toJson(StatementType,'StatementType',context!), 'Url': Url }); getTypeName() => "StatementBase"; TypeContext? context = _ctx; } abstract class IConcurrencyStamp { String? ConcurrencyStamp; } abstract class ResponseBase { ResponseStatus? ResponseStatus; ResponseBase({this.ResponseStatus}); ResponseBase.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ResponseStatus = JsonConverters.fromJson(json['ResponseStatus'],'ResponseStatus',context!); return this; } Map toJson() => { 'ResponseStatus': JsonConverters.toJson(ResponseStatus,'ResponseStatus',context!) }; getTypeName() => "ResponseBase"; TypeContext? context = _ctx; } class StatementDetails extends StatementBase implements IConvertible { StatementDetails(); StatementDetails.fromJson(Map json) : super.fromJson(json); fromMap(Map json) { super.fromMap(json); return this; } Map toJson() => super.toJson(); getTypeName() => "StatementDetails"; TypeContext? context = _ctx; } class BrowseStatementResponse extends ResponseBase implements IConvertible { StatementDetails? Statement; BrowseStatementResponse({this.Statement}); BrowseStatementResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); Statement = JsonConverters.fromJson(json['Statement'],'StatementDetails',context!); return this; } Map toJson() => super.toJson()..addAll({ 'Statement': JsonConverters.toJson(Statement,'StatementDetails',context!) }); getTypeName() => "BrowseStatementResponse"; TypeContext? context = _ctx; } // @Route("/statement/statementtype", "GET") class BrowseStatement implements IReturn, IGet, IConvertible { StatementType? StatementType; BrowseStatement({this.StatementType}); BrowseStatement.fromJson(Map json) { fromMap(json); } fromMap(Map json) { StatementType = JsonConverters.fromJson(json['StatementType'],'StatementType',context!); return this; } Map toJson() => { 'StatementType': JsonConverters.toJson(StatementType,'StatementType',context!) }; createResponse() => BrowseStatementResponse(); getResponseTypeName() => "BrowseStatementResponse"; getTypeName() => "BrowseStatement"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'szallitoiportal_be.veolia.hu', types: { 'StatementType': TypeInfo(TypeOf.Enum, enumValues:StatementType.values), 'ModifyRequestBase': TypeInfo(TypeOf.AbstractClass), 'StatementBase': TypeInfo(TypeOf.AbstractClass), 'IConcurrencyStamp': TypeInfo(TypeOf.Interface), 'ResponseBase': TypeInfo(TypeOf.AbstractClass), 'StatementDetails': TypeInfo(TypeOf.Class, create:() => StatementDetails()), 'BrowseStatementResponse': TypeInfo(TypeOf.Class, create:() => BrowseStatementResponse()), 'BrowseStatement': TypeInfo(TypeOf.Class, create:() => BrowseStatement()), });