/* Options: Date: 2026-07-08 21:13:30 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: StaffPostingSaveRequest.* //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/posting", "POST,OPTIONS") class StaffPostingSaveRequest implements IReturn, IConvertible, IPost { int? ProjectID; int? JobID; int? PlaceholderContactID; String? PositionTag; String? Title; String? Body; String? Location; String? Sites; StaffPostingSaveRequest({this.ProjectID,this.JobID,this.PlaceholderContactID,this.PositionTag,this.Title,this.Body,this.Location,this.Sites}); StaffPostingSaveRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ProjectID = json['ProjectID']; JobID = json['JobID']; PlaceholderContactID = json['PlaceholderContactID']; PositionTag = json['PositionTag']; Title = json['Title']; Body = json['Body']; Location = json['Location']; Sites = json['Sites']; return this; } Map toJson() => { 'ProjectID': ProjectID, 'JobID': JobID, 'PlaceholderContactID': PlaceholderContactID, 'PositionTag': PositionTag, 'Title': Title, 'Body': Body, 'Location': Location, 'Sites': Sites }; createResponse() => PmActionResponse(); getResponseTypeName() => "PmActionResponse"; getTypeName() => "StaffPostingSaveRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'api.dev.dynamics.trendsic.com', types: { 'PmActionResponse': TypeInfo(TypeOf.Class, create:() => PmActionResponse()), 'StaffPostingSaveRequest': TypeInfo(TypeOf.Class, create:() => StaffPostingSaveRequest()), });