/* Options: Date: 2026-10-11 23:58:26 Version: 8.80 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.dev.dynamics.trendsic.com //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: CustomerDeviceRevokeRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class CustomerDeviceResponse implements IConvertible { int? Id; int? Devices; int? Sent; bool? PushConfigured; String? Payload; String? Message; ResponseStatus? ResponseStatus; CustomerDeviceResponse({this.Id,this.Devices,this.Sent,this.PushConfigured,this.Payload,this.Message,this.ResponseStatus}); CustomerDeviceResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Id = json['Id']; Devices = json['Devices']; Sent = json['Sent']; PushConfigured = json['PushConfigured']; Payload = json['Payload']; Message = json['Message']; ResponseStatus = JsonConverters.fromJson(json['ResponseStatus'],'ResponseStatus',context!); return this; } Map toJson() => { 'Id': Id, 'Devices': Devices, 'Sent': Sent, 'PushConfigured': PushConfigured, 'Payload': Payload, 'Message': Message, 'ResponseStatus': JsonConverters.toJson(ResponseStatus,'ResponseStatus',context!) }; getTypeName() => "CustomerDeviceResponse"; TypeContext? context = _ctx; } // @Route("/v1/c/device/{Id}", "DELETE") class CustomerDeviceRevokeRequest implements IReturn, IConvertible, IDelete { int? Id; CustomerDeviceRevokeRequest({this.Id}); CustomerDeviceRevokeRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Id = json['Id']; return this; } Map toJson() => { 'Id': Id }; createResponse() => CustomerDeviceResponse(); getResponseTypeName() => "CustomerDeviceResponse"; getTypeName() => "CustomerDeviceRevokeRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'api.dev.dynamics.trendsic.com', types: { 'CustomerDeviceResponse': TypeInfo(TypeOf.Class, create:() => CustomerDeviceResponse()), 'CustomerDeviceRevokeRequest': TypeInfo(TypeOf.Class, create:() => CustomerDeviceRevokeRequest()), });