/* Options: Date: 2025-10-27 21:34:00 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: CustomersSegmentsAutoQueryAdd.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class CustomersSegments implements IConvertible { // @DataMember(Order=1) // @Required() int? Id; // @DataMember(Order=2) // @Required() // @References(typeof(Tenants)) int? TenantsId; // @DataMember(Order=3) // @Required() // @References(typeof(Customers)) int? CustomersId; // @DataMember(Order=4) // @Required() // @References(typeof(Segments)) int? SegmentsId; // @DataMember(Order=5) // @Required() String? PublicAccessGuid; CustomersSegments({this.Id,this.TenantsId,this.CustomersId,this.SegmentsId,this.PublicAccessGuid}); CustomersSegments.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Id = json['Id']; TenantsId = json['TenantsId']; CustomersId = json['CustomersId']; SegmentsId = json['SegmentsId']; PublicAccessGuid = json['PublicAccessGuid']; return this; } Map toJson() => { 'Id': Id, 'TenantsId': TenantsId, 'CustomersId': CustomersId, 'SegmentsId': SegmentsId, 'PublicAccessGuid': PublicAccessGuid }; getTypeName() => "CustomersSegments"; TypeContext? context = _ctx; } // @Route("/auto/customerssegments", "POST") class CustomersSegmentsAutoQueryAdd implements IReturn, ICreateDb, IConvertible, IPost { // @DataMember(Order=2) int? TenantsId; // @DataMember(Order=3) int? CustomersId; // @DataMember(Order=4) int? SegmentsId; // @DataMember(Order=5) String? PublicAccessGuid; CustomersSegmentsAutoQueryAdd({this.TenantsId,this.CustomersId,this.SegmentsId,this.PublicAccessGuid}); CustomersSegmentsAutoQueryAdd.fromJson(Map json) { fromMap(json); } fromMap(Map json) { TenantsId = json['TenantsId']; CustomersId = json['CustomersId']; SegmentsId = json['SegmentsId']; PublicAccessGuid = json['PublicAccessGuid']; return this; } Map toJson() => { 'TenantsId': TenantsId, 'CustomersId': CustomersId, 'SegmentsId': SegmentsId, 'PublicAccessGuid': PublicAccessGuid }; createResponse() => IdResponse(); getResponseTypeName() => "IdResponse"; getTypeName() => "CustomersSegmentsAutoQueryAdd"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'duengageapi.uat.scadsoftware.com', types: { 'CustomersSegments': TypeInfo(TypeOf.Class, create:() => CustomersSegments()), 'CustomersSegmentsAutoQueryAdd': TypeInfo(TypeOf.Class, create:() => CustomersSegmentsAutoQueryAdd()), });