/* Options: Date: 2025-12-06 08:55:29 Version: 8.0 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://cochraneplus-api-dev.happen.zone //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: GetDebriefReviewRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class ApiServiceRequest implements IServiceRequest, IHasApiKey, IHasDeviceInfo, IConvertible { /** * The API Key required for authentication */ // @ApiMember(DataType="string", Description="The API Key required for authentication", IsRequired=true) String? apiKey; /** * Latitude of the user making this request */ // @ApiMember(DataType="double", Description="Latitude of the user making this request") double? latitude; /** * Longitude of the user making this request */ // @ApiMember(DataType="double", Description="Longitude of the user making this request") double? longitude; ApiServiceRequest({this.apiKey,this.latitude,this.longitude}); ApiServiceRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { apiKey = json['apiKey']; latitude = JsonConverters.toDouble(json['latitude']); longitude = JsonConverters.toDouble(json['longitude']); return this; } Map toJson() => { 'apiKey': apiKey, 'latitude': latitude, 'longitude': longitude }; getTypeName() => "ApiServiceRequest"; TypeContext? context = _ctx; } abstract class IServiceRequest { } abstract class IHasApiKey { String? apiKey; } abstract class IHasDeviceInfo { } class NewContactDetail implements IConvertible { String? name; String? jobTitle; String? companyName; String? emailAddress; String? contactNumber; NewContactDetail({this.name,this.jobTitle,this.companyName,this.emailAddress,this.contactNumber}); NewContactDetail.fromJson(Map json) { fromMap(json); } fromMap(Map json) { name = json['name']; jobTitle = json['jobTitle']; companyName = json['companyName']; emailAddress = json['emailAddress']; contactNumber = json['contactNumber']; return this; } Map toJson() => { 'name': name, 'jobTitle': jobTitle, 'companyName': companyName, 'emailAddress': emailAddress, 'contactNumber': contactNumber }; getTypeName() => "NewContactDetail"; TypeContext? context = _ctx; } class DebriefRatingCommentDetail implements IConvertible { int? managerId; String? name; String? title; String? reviewedDate; int? rating; String? comments; DebriefRatingCommentDetail({this.managerId,this.name,this.title,this.reviewedDate,this.rating,this.comments}); DebriefRatingCommentDetail.fromJson(Map json) { fromMap(json); } fromMap(Map json) { managerId = json['managerId']; name = json['name']; title = json['title']; reviewedDate = json['reviewedDate']; rating = json['rating']; comments = json['comments']; return this; } Map toJson() => { 'managerId': managerId, 'name': name, 'title': title, 'reviewedDate': reviewedDate, 'rating': rating, 'comments': comments }; getTypeName() => "DebriefRatingCommentDetail"; TypeContext? context = _ctx; } class DebriefReviewData implements IConvertible { int? id; String? name; String? companyName; int? meetingId; String? linkedToMeeting; String? meetingTime; String? address; String? research; String? nextSteps; String? feedback; String? newOpportunities; String? personnelInfo; String? groupStructure; String? industry; double? meetingLatitude; double? meetingLongitude; String? recordingLength; String? recordingTooShort; String? majoritySilent; String? volumeTooLow; String? actionsToTake; String? meetingSummary; String? polarity; String? sentiment; String? notesForManagement; String? notesForSalesPerson; String? overallScore; String? personalAppeal; String? vocabulary; String? equipment; String? structure; String? coherence; String? sectorKnowledge; String? clarityOfTechnicalInput; String? caseStudyRelevance; String? storytelling; String? summation; String? dynamicDiscussion; String? listening; List? newContacts; String? reportUrl; List? ratingCommentDetails; DebriefReviewData({this.id,this.name,this.companyName,this.meetingId,this.linkedToMeeting,this.meetingTime,this.address,this.research,this.nextSteps,this.feedback,this.newOpportunities,this.personnelInfo,this.groupStructure,this.industry,this.meetingLatitude,this.meetingLongitude,this.recordingLength,this.recordingTooShort,this.majoritySilent,this.volumeTooLow,this.actionsToTake,this.meetingSummary,this.polarity,this.sentiment,this.notesForManagement,this.notesForSalesPerson,this.overallScore,this.personalAppeal,this.vocabulary,this.equipment,this.structure,this.coherence,this.sectorKnowledge,this.clarityOfTechnicalInput,this.caseStudyRelevance,this.storytelling,this.summation,this.dynamicDiscussion,this.listening,this.newContacts,this.reportUrl,this.ratingCommentDetails}); DebriefReviewData.fromJson(Map json) { fromMap(json); } fromMap(Map json) { id = json['id']; name = json['name']; companyName = json['companyName']; meetingId = json['meetingId']; linkedToMeeting = json['linkedToMeeting']; meetingTime = json['meetingTime']; address = json['address']; research = json['research']; nextSteps = json['nextSteps']; feedback = json['feedback']; newOpportunities = json['newOpportunities']; personnelInfo = json['personnelInfo']; groupStructure = json['groupStructure']; industry = json['industry']; meetingLatitude = JsonConverters.toDouble(json['meetingLatitude']); meetingLongitude = JsonConverters.toDouble(json['meetingLongitude']); recordingLength = json['recordingLength']; recordingTooShort = json['recordingTooShort']; majoritySilent = json['majoritySilent']; volumeTooLow = json['volumeTooLow']; actionsToTake = json['actionsToTake']; meetingSummary = json['meetingSummary']; polarity = json['polarity']; sentiment = json['sentiment']; notesForManagement = json['notesForManagement']; notesForSalesPerson = json['notesForSalesPerson']; overallScore = json['overallScore']; personalAppeal = json['personalAppeal']; vocabulary = json['vocabulary']; equipment = json['equipment']; structure = json['structure']; coherence = json['coherence']; sectorKnowledge = json['sectorKnowledge']; clarityOfTechnicalInput = json['clarityOfTechnicalInput']; caseStudyRelevance = json['caseStudyRelevance']; storytelling = json['storytelling']; summation = json['summation']; dynamicDiscussion = json['dynamicDiscussion']; listening = json['listening']; newContacts = JsonConverters.fromJson(json['newContacts'],'List',context!); reportUrl = json['reportUrl']; ratingCommentDetails = JsonConverters.fromJson(json['ratingCommentDetails'],'List',context!); return this; } Map toJson() => { 'id': id, 'name': name, 'companyName': companyName, 'meetingId': meetingId, 'linkedToMeeting': linkedToMeeting, 'meetingTime': meetingTime, 'address': address, 'research': research, 'nextSteps': nextSteps, 'feedback': feedback, 'newOpportunities': newOpportunities, 'personnelInfo': personnelInfo, 'groupStructure': groupStructure, 'industry': industry, 'meetingLatitude': meetingLatitude, 'meetingLongitude': meetingLongitude, 'recordingLength': recordingLength, 'recordingTooShort': recordingTooShort, 'majoritySilent': majoritySilent, 'volumeTooLow': volumeTooLow, 'actionsToTake': actionsToTake, 'meetingSummary': meetingSummary, 'polarity': polarity, 'sentiment': sentiment, 'notesForManagement': notesForManagement, 'notesForSalesPerson': notesForSalesPerson, 'overallScore': overallScore, 'personalAppeal': personalAppeal, 'vocabulary': vocabulary, 'equipment': equipment, 'structure': structure, 'coherence': coherence, 'sectorKnowledge': sectorKnowledge, 'clarityOfTechnicalInput': clarityOfTechnicalInput, 'caseStudyRelevance': caseStudyRelevance, 'storytelling': storytelling, 'summation': summation, 'dynamicDiscussion': dynamicDiscussion, 'listening': listening, 'newContacts': JsonConverters.toJson(newContacts,'List',context!), 'reportUrl': reportUrl, 'ratingCommentDetails': JsonConverters.toJson(ratingCommentDetails,'List',context!) }; getTypeName() => "DebriefReviewData"; TypeContext? context = _ctx; } class ApiServiceResponse implements IServiceResponse, IConvertible { String? description; String? heading; bool? wasSuccessful; dynamic? modelState; ApiServiceResponse({this.description,this.heading,this.wasSuccessful,this.modelState}); ApiServiceResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { description = json['description']; heading = json['heading']; wasSuccessful = json['wasSuccessful']; modelState = JsonConverters.fromJson(json['modelState'],'dynamic',context!); return this; } Map toJson() => { 'description': description, 'heading': heading, 'wasSuccessful': wasSuccessful, 'modelState': JsonConverters.toJson(modelState,'dynamic',context!) }; getTypeName() => "ApiServiceResponse"; TypeContext? context = _ctx; } class GetDebriefReviewResponse extends ApiServiceResponse implements IConvertible { DebriefReviewData? data; GetDebriefReviewResponse({this.data}); GetDebriefReviewResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); data = JsonConverters.fromJson(json['data'],'DebriefReviewData',context!); return this; } Map toJson() => super.toJson()..addAll({ 'data': JsonConverters.toJson(data,'DebriefReviewData',context!) }); getTypeName() => "GetDebriefReviewResponse"; TypeContext? context = _ctx; } // @Route("/debriefreview/{Id}", "GET") class GetDebriefReviewRequest extends ApiServiceRequest implements IReturn, IConvertible, IGet { int? id; GetDebriefReviewRequest({this.id}); GetDebriefReviewRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); id = json['id']; return this; } Map toJson() => super.toJson()..addAll({ 'id': id }); createResponse() => GetDebriefReviewResponse(); getResponseTypeName() => "GetDebriefReviewResponse"; getTypeName() => "GetDebriefReviewRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'cochraneplus_api_dev.happen.zone', types: { 'ApiServiceRequest': TypeInfo(TypeOf.Class, create:() => ApiServiceRequest()), 'IServiceRequest': TypeInfo(TypeOf.Interface), 'IHasApiKey': TypeInfo(TypeOf.Interface), 'IHasDeviceInfo': TypeInfo(TypeOf.Interface), 'NewContactDetail': TypeInfo(TypeOf.Class, create:() => NewContactDetail()), 'DebriefRatingCommentDetail': TypeInfo(TypeOf.Class, create:() => DebriefRatingCommentDetail()), 'DebriefReviewData': TypeInfo(TypeOf.Class, create:() => DebriefReviewData()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'List': TypeInfo(TypeOf.Class, create:() => []), 'ApiServiceResponse': TypeInfo(TypeOf.Class, create:() => ApiServiceResponse()), 'GetDebriefReviewResponse': TypeInfo(TypeOf.Class, create:() => GetDebriefReviewResponse()), 'GetDebriefReviewRequest': TypeInfo(TypeOf.Class, create:() => GetDebriefReviewRequest()), });