/* Options: Date: 2025-10-28 01:10:51 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: MessageTonesEdit.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:collection */ import 'package:servicestack/servicestack.dart'; import 'dart:collection'; class MessageTonesEditResponse implements IConvertible { // @DataMember(Order=1) int? Id; // @DataMember(Order=2) int? TenantsId; // @DataMember(Order=3) int? AvatarsId; // @DataMember(Order=4) String? Name; // @DataMember(Order=6) ResponseStatus? ResponseStatus; MessageTonesEditResponse({this.Id,this.TenantsId,this.AvatarsId,this.Name,this.ResponseStatus}); MessageTonesEditResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Id = json['Id']; TenantsId = json['TenantsId']; AvatarsId = json['AvatarsId']; Name = json['Name']; ResponseStatus = JsonConverters.fromJson(json['ResponseStatus'],'ResponseStatus',context!); return this; } Map toJson() => { 'Id': Id, 'TenantsId': TenantsId, 'AvatarsId': AvatarsId, 'Name': Name, 'ResponseStatus': JsonConverters.toJson(ResponseStatus,'ResponseStatus',context!) }; getTypeName() => "MessageTonesEditResponse"; TypeContext? context = _ctx; } // @Route("/message_tones/{Id}", "PUT") // @DataContract class MessageTonesEdit implements IReturn, IConvertible, IPut { // @DataMember(Order=1) // @Validate(Validator="NotNull") int? Id; // @DataMember(Order=2) // @Validate(Validator="NotNull") int? TenantsId; // @DataMember(Order=3) // @Validate(Validator="NotNull") int? AvatarsId; // @DataMember(Order=4) // @Validate(Validator="NotNull") String? Name; MessageTonesEdit({this.Id,this.TenantsId,this.AvatarsId,this.Name}); MessageTonesEdit.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Id = json['Id']; TenantsId = json['TenantsId']; AvatarsId = json['AvatarsId']; Name = json['Name']; return this; } Map toJson() => { 'Id': Id, 'TenantsId': TenantsId, 'AvatarsId': AvatarsId, 'Name': Name }; createResponse() => MessageTonesEditResponse(); getResponseTypeName() => "MessageTonesEditResponse"; getTypeName() => "MessageTonesEdit"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'duengageapi.uat.scadsoftware.com', types: { 'MessageTonesEditResponse': TypeInfo(TypeOf.Class, create:() => MessageTonesEditResponse()), 'MessageTonesEdit': TypeInfo(TypeOf.Class, create:() => MessageTonesEdit()), });