/* Options: Date: 2026-07-08 21:38: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: StaffApplicantHireRequest.* //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/applicant/hire", "POST,OPTIONS") class StaffApplicantHireRequest implements IReturn, IConvertible, IPost { int? StaffApplicantID; int? ProjectID; int? JobID; int? PlaceholderContactID; double? BudgetedHours; bool? EnableAppAccess; bool? AsCrewLead; StaffApplicantHireRequest({this.StaffApplicantID,this.ProjectID,this.JobID,this.PlaceholderContactID,this.BudgetedHours,this.EnableAppAccess,this.AsCrewLead}); StaffApplicantHireRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { StaffApplicantID = json['StaffApplicantID']; ProjectID = json['ProjectID']; JobID = json['JobID']; PlaceholderContactID = json['PlaceholderContactID']; BudgetedHours = JsonConverters.toDouble(json['BudgetedHours']); EnableAppAccess = json['EnableAppAccess']; AsCrewLead = json['AsCrewLead']; return this; } Map toJson() => { 'StaffApplicantID': StaffApplicantID, 'ProjectID': ProjectID, 'JobID': JobID, 'PlaceholderContactID': PlaceholderContactID, 'BudgetedHours': BudgetedHours, 'EnableAppAccess': EnableAppAccess, 'AsCrewLead': AsCrewLead }; createResponse() => PmActionResponse(); getResponseTypeName() => "PmActionResponse"; getTypeName() => "StaffApplicantHireRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'api.dev.dynamics.trendsic.com', types: { 'PmActionResponse': TypeInfo(TypeOf.Class, create:() => PmActionResponse()), 'StaffApplicantHireRequest': TypeInfo(TypeOf.Class, create:() => StaffApplicantHireRequest()), });