/* Options: Date: 2025-08-04 04:10:05 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: EditStatement.* //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 ModifyEntityResponse extends ResponseBase implements IConvertible { int? Id; ModifyEntityResponse({this.Id}); ModifyEntityResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); Id = json['Id']; return this; } Map toJson() => super.toJson()..addAll({ 'Id': Id }); getTypeName() => "ModifyEntityResponse"; TypeContext? context = _ctx; } // @Route("/statement/{statementtype}", "PUT") class EditStatement extends StatementBase implements IReturn, IPut, IConvertible { EditStatement(); EditStatement.fromJson(Map json) : super.fromJson(json); fromMap(Map json) { super.fromMap(json); return this; } Map toJson() => super.toJson(); createResponse() => ModifyEntityResponse(); getResponseTypeName() => "ModifyEntityResponse"; getTypeName() => "EditStatement"; 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), 'ModifyEntityResponse': TypeInfo(TypeOf.Class, create:() => ModifyEntityResponse()), 'EditStatement': TypeInfo(TypeOf.Class, create:() => EditStatement()), });