/* Options: Date: 2025-08-04 03:41:31 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: EditContractVersionIsViewed.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; abstract class ContractBase { int? SupplierUserId; int? ContractId; ContractBase({this.SupplierUserId,this.ContractId}); ContractBase.fromJson(Map json) { fromMap(json); } fromMap(Map json) { SupplierUserId = json['SupplierUserId']; ContractId = json['ContractId']; return this; } Map toJson() => { 'SupplierUserId': SupplierUserId, 'ContractId': ContractId }; getTypeName() => "ContractBase"; TypeContext? context = _ctx; } abstract class ContractVersionBase extends ContractBase { int? ContractVersionId; ContractVersionBase({this.ContractVersionId}); ContractVersionBase.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); ContractVersionId = json['ContractVersionId']; return this; } Map toJson() => super.toJson()..addAll({ 'ContractVersionId': ContractVersionId }); getTypeName() => "ContractVersionBase"; TypeContext? context = _ctx; } 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("/user/{supplieruserid}/contract/{contractid}/contractversion/{contractversionid}/view", "PUT") class EditContractVersionIsViewed extends ContractVersionBase implements IReturn, IPut, IConvertible { EditContractVersionIsViewed(); EditContractVersionIsViewed.fromJson(Map json) : super.fromJson(json); fromMap(Map json) { super.fromMap(json); return this; } Map toJson() => super.toJson(); createResponse() => ModifyEntityResponse(); getResponseTypeName() => "ModifyEntityResponse"; getTypeName() => "EditContractVersionIsViewed"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'szallitoiportal_be.veolia.hu', types: { 'ContractBase': TypeInfo(TypeOf.AbstractClass), 'ContractVersionBase': TypeInfo(TypeOf.AbstractClass), 'ResponseBase': TypeInfo(TypeOf.AbstractClass), 'ModifyEntityResponse': TypeInfo(TypeOf.Class, create:() => ModifyEntityResponse()), 'EditContractVersionIsViewed': TypeInfo(TypeOf.Class, create:() => EditContractVersionIsViewed()), });