/* Options: Date: 2026-07-08 21:14:48 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: StaffApplyRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class PmActionResponse implements IConvertible { bool? Success; String? Message; int? NewId; ResponseStatus? ResponseStatus; PmActionResponse({this.Success,this.Message,this.NewId,this.ResponseStatus}); PmActionResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Success = json['Success']; Message = json['Message']; NewId = json['NewId']; ResponseStatus = JsonConverters.fromJson(json['ResponseStatus'],'ResponseStatus',context!); return this; } Map toJson() => { 'Success': Success, 'Message': Message, 'NewId': NewId, 'ResponseStatus': JsonConverters.toJson(ResponseStatus,'ResponseStatus',context!) }; getTypeName() => "PmActionResponse"; TypeContext? context = _ctx; } // @Route("/v1/staff/apply/{PostingUID}", "POST,OPTIONS") class StaffApplyRequest implements IReturn, IConvertible, IPost { String? PostingUID; String? Name; String? Email; String? Phone; int? YearsExperience; double? AskRate; String? Skills; String? BaseText; String? ResumeText; StaffApplyRequest({this.PostingUID,this.Name,this.Email,this.Phone,this.YearsExperience,this.AskRate,this.Skills,this.BaseText,this.ResumeText}); StaffApplyRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { PostingUID = json['PostingUID']; Name = json['Name']; Email = json['Email']; Phone = json['Phone']; YearsExperience = json['YearsExperience']; AskRate = JsonConverters.toDouble(json['AskRate']); Skills = json['Skills']; BaseText = json['BaseText']; ResumeText = json['ResumeText']; return this; } Map toJson() => { 'PostingUID': PostingUID, 'Name': Name, 'Email': Email, 'Phone': Phone, 'YearsExperience': YearsExperience, 'AskRate': AskRate, 'Skills': Skills, 'BaseText': BaseText, 'ResumeText': ResumeText }; createResponse() => PmActionResponse(); getResponseTypeName() => "PmActionResponse"; getTypeName() => "StaffApplyRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'api.dev.dynamics.trendsic.com', types: { 'PmActionResponse': TypeInfo(TypeOf.Class, create:() => PmActionResponse()), 'StaffApplyRequest': TypeInfo(TypeOf.Class, create:() => StaffApplyRequest()), });