/* Options: Date: 2025-10-27 21:37:02 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: ConfigurationSegmentsById.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class ConfigurationSegmentsByIdResponse implements IConvertible { // @DataMember(Order=1) int? Id; // @DataMember(Order=5) ResponseStatus? ResponseStatus; ConfigurationSegmentsByIdResponse({this.Id,this.ResponseStatus}); ConfigurationSegmentsByIdResponse.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() => "ConfigurationSegmentsByIdResponse"; TypeContext? context = _ctx; } // @Route("/configuration_segments/{Id}", "GET") // @DataContract class ConfigurationSegmentsById implements IReturn, IConvertible, IGet { // @DataMember(Order=1) // @Validate(Validator="NotNull") int? Id; ConfigurationSegmentsById({this.Id}); ConfigurationSegmentsById.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Id = json['Id']; return this; } Map toJson() => { 'Id': Id }; createResponse() => ConfigurationSegmentsByIdResponse(); getResponseTypeName() => "ConfigurationSegmentsByIdResponse"; getTypeName() => "ConfigurationSegmentsById"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'duengageapi.uat.scadsoftware.com', types: { 'ConfigurationSegmentsByIdResponse': TypeInfo(TypeOf.Class, create:() => ConfigurationSegmentsByIdResponse()), 'ConfigurationSegmentsById': TypeInfo(TypeOf.Class, create:() => ConfigurationSegmentsById()), });