/* Options: Date: 2026-04-04 02:56:46 Version: 8.52 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://pfapi.pstpf.com.au/api //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: InsertObjectSubscription.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class ObjectSubscription implements IConvertible { String? ObjectSubscriptionId; String? ObjectId; String? SuiteDataSourceInstanceId; String? RmsTableContextId; String? AlternateKey; String? SuiteDataSourceName; DateTime? CreatedAt; DateTime? LastModified; String? RecordStatus; String? SuiteInstanceId; String? SuiteInstanceName; String? ContactIdLicensee; String? SubscriptionUpdateResultId; String? SubscriptionUpdateResult; bool? IsExport; DateTime? ProcessedAt; DateTime? AcknowledgedAt; int? Failures; String? Result; String? ObjectHash; ObjectSubscription({this.ObjectSubscriptionId,this.ObjectId,this.SuiteDataSourceInstanceId,this.RmsTableContextId,this.AlternateKey,this.SuiteDataSourceName,this.CreatedAt,this.LastModified,this.RecordStatus,this.SuiteInstanceId,this.SuiteInstanceName,this.ContactIdLicensee,this.SubscriptionUpdateResultId,this.SubscriptionUpdateResult,this.IsExport,this.ProcessedAt,this.AcknowledgedAt,this.Failures,this.Result,this.ObjectHash}); ObjectSubscription.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ObjectSubscriptionId = json['ObjectSubscriptionId']; ObjectId = json['ObjectId']; SuiteDataSourceInstanceId = json['SuiteDataSourceInstanceId']; RmsTableContextId = json['RmsTableContextId']; AlternateKey = json['AlternateKey']; SuiteDataSourceName = json['SuiteDataSourceName']; CreatedAt = JsonConverters.fromJson(json['CreatedAt'],'DateTime',context!); LastModified = JsonConverters.fromJson(json['LastModified'],'DateTime',context!); RecordStatus = json['RecordStatus']; SuiteInstanceId = json['SuiteInstanceId']; SuiteInstanceName = json['SuiteInstanceName']; ContactIdLicensee = json['ContactIdLicensee']; SubscriptionUpdateResultId = json['SubscriptionUpdateResultId']; SubscriptionUpdateResult = json['SubscriptionUpdateResult']; IsExport = json['IsExport']; ProcessedAt = JsonConverters.fromJson(json['ProcessedAt'],'DateTime',context!); AcknowledgedAt = JsonConverters.fromJson(json['AcknowledgedAt'],'DateTime',context!); Failures = json['Failures']; Result = json['Result']; ObjectHash = json['ObjectHash']; return this; } Map toJson() => { 'ObjectSubscriptionId': ObjectSubscriptionId, 'ObjectId': ObjectId, 'SuiteDataSourceInstanceId': SuiteDataSourceInstanceId, 'RmsTableContextId': RmsTableContextId, 'AlternateKey': AlternateKey, 'SuiteDataSourceName': SuiteDataSourceName, 'CreatedAt': JsonConverters.toJson(CreatedAt,'DateTime',context!), 'LastModified': JsonConverters.toJson(LastModified,'DateTime',context!), 'RecordStatus': RecordStatus, 'SuiteInstanceId': SuiteInstanceId, 'SuiteInstanceName': SuiteInstanceName, 'ContactIdLicensee': ContactIdLicensee, 'SubscriptionUpdateResultId': SubscriptionUpdateResultId, 'SubscriptionUpdateResult': SubscriptionUpdateResult, 'IsExport': IsExport, 'ProcessedAt': JsonConverters.toJson(ProcessedAt,'DateTime',context!), 'AcknowledgedAt': JsonConverters.toJson(AcknowledgedAt,'DateTime',context!), 'Failures': Failures, 'Result': Result, 'ObjectHash': ObjectHash }; getTypeName() => "ObjectSubscription"; TypeContext? context = _ctx; } class ObjectSubscriptionResponse implements IConvertible { bool? Success; String? Message; ResponseStatus? ResponseStatus; ObjectSubscriptionResponse({this.Success,this.Message,this.ResponseStatus}); ObjectSubscriptionResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Success = json['Success']; Message = json['Message']; ResponseStatus = JsonConverters.fromJson(json['ResponseStatus'],'ResponseStatus',context!); return this; } Map toJson() => { 'Success': Success, 'Message': Message, 'ResponseStatus': JsonConverters.toJson(ResponseStatus,'ResponseStatus',context!) }; getTypeName() => "ObjectSubscriptionResponse"; TypeContext? context = _ctx; } /** * Inseets a new object subscription record */ // @Route("/insertobjectsubscription") // @Api(Description="Inseets a new object subscription record") class InsertObjectSubscription implements IReturn, IConvertible, IPost { ObjectSubscription? ObjectSubscription; InsertObjectSubscription({this.ObjectSubscription}); InsertObjectSubscription.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ObjectSubscription = JsonConverters.fromJson(json['ObjectSubscription'],'ObjectSubscription',context!); return this; } Map toJson() => { 'ObjectSubscription': JsonConverters.toJson(ObjectSubscription,'ObjectSubscription',context!) }; createResponse() => ObjectSubscriptionResponse(); getResponseTypeName() => "ObjectSubscriptionResponse"; getTypeName() => "InsertObjectSubscription"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'pfapi.pstpf.com.au', types: { 'ObjectSubscription': TypeInfo(TypeOf.Class, create:() => ObjectSubscription()), 'ObjectSubscriptionResponse': TypeInfo(TypeOf.Class, create:() => ObjectSubscriptionResponse()), 'InsertObjectSubscription': TypeInfo(TypeOf.Class, create:() => InsertObjectSubscription()), });