/* Options: Date: 2025-09-14 06:46:48 Version: 8.52 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://production-eros-platform-apisubscription.azurewebsites.net/api //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: SaveCustomContentFWECM.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:typed_data */ import 'package:servicestack/servicestack.dart'; import 'dart:typed_data'; class SubscriptionCustomContentModel implements IConvertible { /** * Guid representing the external systems datasource information. */ // @ApiMember(DataType="Guid", Description="Guid representing the external systems datasource information.", IsRequired=true, Name="SuiteDataSourceInstanceId") String? SuiteDataSourceInstanceId; /** * Eros RmsTableCtxId of the object we are saving custom content to. */ // @ApiMember(DataType="Guid", Description="Eros RmsTableCtxId of the object we are saving custom content to.", IsRequired=true, Name="RmsTableCtxId") String? RmsTableCtxId; /** * The unique key that represents the object on the external system. */ // @ApiMember(DataType="string", Description="The unique key that represents the object on the external system.", Name="AlternateKey") String? AlternateKey; /** * Guid of the object within Eros. If ObjectId is known, the external system may pass this instead of the alternate key. */ // @ApiMember(DataType="Guid", Description="Guid of the object within Eros. If ObjectId is known, the external system may pass this instead of the alternate key.", Name="ObjectId") String? ObjectId; bool? IgnoreValidation; /** * RmsFieldCtxId of the external ECM field that is used to link with the Custom Content Field in Eros. */ // @ApiMember(DataType="int", Description="RmsFieldCtxId of the external ECM field that is used to link with the Custom Content Field in Eros.", IsRequired=true, Name="RmsFieldCtxId") int? RmsFieldCtxId; /** * Value to be saved for the object. */ // @ApiMember(DataType="string", Description="Value to be saved for the object.", Name="Value") String? Value; String? LicenseeId; String? SessionId; SubscriptionCustomContentModel({this.SuiteDataSourceInstanceId,this.RmsTableCtxId,this.AlternateKey,this.ObjectId,this.IgnoreValidation,this.RmsFieldCtxId,this.Value,this.LicenseeId,this.SessionId}); SubscriptionCustomContentModel.fromJson(Map json) { fromMap(json); } fromMap(Map json) { SuiteDataSourceInstanceId = json['SuiteDataSourceInstanceId']; RmsTableCtxId = json['RmsTableCtxId']; AlternateKey = json['AlternateKey']; ObjectId = json['ObjectId']; IgnoreValidation = json['IgnoreValidation']; RmsFieldCtxId = json['RmsFieldCtxId']; Value = json['Value']; LicenseeId = json['LicenseeId']; SessionId = json['SessionId']; return this; } Map toJson() => { 'SuiteDataSourceInstanceId': SuiteDataSourceInstanceId, 'RmsTableCtxId': RmsTableCtxId, 'AlternateKey': AlternateKey, 'ObjectId': ObjectId, 'IgnoreValidation': IgnoreValidation, 'RmsFieldCtxId': RmsFieldCtxId, 'Value': Value, 'LicenseeId': LicenseeId, 'SessionId': SessionId }; getTypeName() => "SubscriptionCustomContentModel"; TypeContext? context = _ctx; } /** * Saves Framework ECM data into EROS for linked objects. */ // @Route("/rmsdataexchange/bulk/project") // @Route("/rmsdataexchange/bulk/contact") // @Route("/rmsdataexchange/bulk/lead") // @Route("/rmsdataexchange/bulk/opportunity") // @Route("/rmsdataexchange/bulk/prospect") // @Api(Description="Saves Framework ECM data into EROS for linked objects.") class SaveCustomContentFWECM implements IReturn, IConvertible, IPost { /** * To pass bulk upload of data to save for objects. */ // @ApiMember(DataType="List", Description="To pass bulk upload of data to save for objects.", IsRequired=true, Name="CustomContents") List? CustomContents = []; SaveCustomContentFWECM({this.CustomContents}); SaveCustomContentFWECM.fromJson(Map json) { fromMap(json); } fromMap(Map json) { CustomContents = JsonConverters.fromJson(json['CustomContents'],'List',context!); return this; } Map toJson() => { 'CustomContents': JsonConverters.toJson(CustomContents,'List',context!) }; createResponse() => ResponseStatus(); getResponseTypeName() => "ResponseStatus"; getTypeName() => "SaveCustomContentFWECM"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'production_eros_platform_apisubscription.azurewebsites.net', types: { 'SubscriptionCustomContentModel': TypeInfo(TypeOf.Class, create:() => SubscriptionCustomContentModel()), 'SaveCustomContentFWECM': TypeInfo(TypeOf.Class, create:() => SaveCustomContentFWECM()), 'List': TypeInfo(TypeOf.Class, create:() => []), });