/* Options: Date: 2025-10-28 01:11:41 Version: 8.80 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://duengageapi.uat.scadsoftware.com //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: SegmentsDelete.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:collection */ import 'package:servicestack/servicestack.dart'; import 'dart:collection'; class SegmentsDeleteResponse implements IConvertible { // @DataMember(Order=1) int? Id; // @DataMember(Order=6) ResponseStatus? ResponseStatus; SegmentsDeleteResponse({this.Id,this.ResponseStatus}); SegmentsDeleteResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Id = json['Id']; ResponseStatus = JsonConverters.fromJson(json['ResponseStatus'],'ResponseStatus',context!); return this; } Map toJson() => { 'Id': Id, 'ResponseStatus': JsonConverters.toJson(ResponseStatus,'ResponseStatus',context!) }; getTypeName() => "SegmentsDeleteResponse"; TypeContext? context = _ctx; } // @Route("/segments/{Id}", "DELETE") // @DataContract class SegmentsDelete implements IReturn, IConvertible, IDelete { // @DataMember(Order=1) // @Validate(Validator="NotNull") int? Id; SegmentsDelete({this.Id}); SegmentsDelete.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Id = json['Id']; return this; } Map toJson() => { 'Id': Id }; createResponse() => SegmentsDeleteResponse(); getResponseTypeName() => "SegmentsDeleteResponse"; getTypeName() => "SegmentsDelete"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'duengageapi.uat.scadsoftware.com', types: { 'SegmentsDeleteResponse': TypeInfo(TypeOf.Class, create:() => SegmentsDeleteResponse()), 'SegmentsDelete': TypeInfo(TypeOf.Class, create:() => SegmentsDelete()), });