/* Options: Date: 2026-07-08 19:29:38 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: StaffPostingStatusRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:typed_data */ import 'package:servicestack/servicestack.dart'; import 'dart:typed_data'; 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/status", "POST,OPTIONS") class StaffPostingStatusRequest implements IReturn, IConvertible, IPost { int? PlaceholderContactID; String? Status; String? Sites; StaffPostingStatusRequest({this.PlaceholderContactID,this.Status,this.Sites}); StaffPostingStatusRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { PlaceholderContactID = json['PlaceholderContactID']; Status = json['Status']; Sites = json['Sites']; return this; } Map toJson() => { 'PlaceholderContactID': PlaceholderContactID, 'Status': Status, 'Sites': Sites }; createResponse() => PmActionResponse(); getResponseTypeName() => "PmActionResponse"; getTypeName() => "StaffPostingStatusRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'api.dev.dynamics.trendsic.com', types: { 'PmActionResponse': TypeInfo(TypeOf.Class, create:() => PmActionResponse()), 'StaffPostingStatusRequest': TypeInfo(TypeOf.Class, create:() => StaffPostingStatusRequest()), });