/* Options: Date: 2025-12-06 09:25:02 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: PutInspectionReport.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:typed_data */ import 'package:servicestack/servicestack.dart'; import 'dart:typed_data'; class PutInspectionReportResponse implements IConvertible { bool? Result; ResponseStatus? ResponseStatus; PutInspectionReportResponse({this.Result,this.ResponseStatus}); PutInspectionReportResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Result = json['Result']; ResponseStatus = JsonConverters.fromJson(json['ResponseStatus'],'ResponseStatus',context!); return this; } Map toJson() => { 'Result': Result, 'ResponseStatus': JsonConverters.toJson(ResponseStatus,'ResponseStatus',context!) }; getTypeName() => "PutInspectionReportResponse"; TypeContext? context = _ctx; } // @Route("/v1/InspectionReport/{AgentUID}/", "PUT,OPTIONS") class PutInspectionReport implements IReturn, IConvertible, IPut { String? AgentUID; bool? IsAcceptingChats; PutInspectionReport({this.AgentUID,this.IsAcceptingChats}); PutInspectionReport.fromJson(Map json) { fromMap(json); } fromMap(Map json) { AgentUID = json['AgentUID']; IsAcceptingChats = json['IsAcceptingChats']; return this; } Map toJson() => { 'AgentUID': AgentUID, 'IsAcceptingChats': IsAcceptingChats }; createResponse() => PutInspectionReportResponse(); getResponseTypeName() => "PutInspectionReportResponse"; getTypeName() => "PutInspectionReport"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'api.dev.dynamics.trendsic.com', types: { 'PutInspectionReportResponse': TypeInfo(TypeOf.Class, create:() => PutInspectionReportResponse()), 'PutInspectionReport': TypeInfo(TypeOf.Class, create:() => PutInspectionReport()), });