/* Options: Date: 2025-09-14 06:41:44 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: SaveObjectStructure.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:typed_data */ import 'package:servicestack/servicestack.dart'; import 'dart:typed_data'; abstract class ISubscription { String? SuiteDataSourceInstanceId; String? ObjectId; String? AlternateKey; bool? IgnoreValidation; } /** * Inserts or Updates an object connection structure. */ // @Api(Description="Inserts or Updates an object connection structure.") class SaveObjectStructure implements IReturn, ISubscription, IConvertible, IPost { /** * Guid representing the external systems datasource information. */ // @ApiMember(DataType="Guid", Description="Guid representing the external systems datasource information.", Name="SuiteDataSourceInstanceId") String? SuiteDataSourceInstanceId; /** * The unique key that represents the connection structure object on the external system. */ // @ApiMember(DataType="string", Description="The unique key that represents the connection structure object on the external system.", Name="AlternateKey") String? AlternateKey; /** * Guid of the connection structure 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 connection structure object within Eros. If ObjectId is known, the external system may pass this instead of the alternate key.", Name="ObjectId") String? ObjectId; /** * Connection Structure RmsTableCtxId. */ // @ApiMember(DataType="Guid", Description="Connection Structure RmsTableCtxId.", Name="RmsTableCtxId") String? RmsTableCtxId; bool? IgnoreValidation; /** * Id of the Connection Structure Definition. */ // @ApiMember(DataType="Guid", Description="Id of the Connection Structure Definition.", Name="StructureDefinitionId") String? StructureDefinitionId; /** * Id of the Structure Type. */ // @ApiMember(DataType="Guid", Description="Id of the Structure Type.", Name="StructureTypeId") String? StructureTypeId; /** * XML for the children in the structure for the object indicated via alternateKey/objectId. */ // @ApiMember(DataType="string", Description="XML for the children in the structure for the object indicated via alternateKey/objectId.", Name="StructureDefinitionXml") String? StructureDefinitionXml; /** * Connection Structure Name. */ // @ApiMember(DataType="string", Description="Connection Structure Name.", Name="Name") String? Name; /** * Connection Structure Reference. */ // @ApiMember(DataType="string", Description="Connection Structure Reference.", Name="Reference") String? Reference; String? LicenseeId; String? SessionId; SaveObjectStructure({this.SuiteDataSourceInstanceId,this.AlternateKey,this.ObjectId,this.RmsTableCtxId,this.IgnoreValidation,this.StructureDefinitionId,this.StructureTypeId,this.StructureDefinitionXml,this.Name,this.Reference,this.LicenseeId,this.SessionId}); SaveObjectStructure.fromJson(Map json) { fromMap(json); } fromMap(Map json) { SuiteDataSourceInstanceId = json['SuiteDataSourceInstanceId']; AlternateKey = json['AlternateKey']; ObjectId = json['ObjectId']; RmsTableCtxId = json['RmsTableCtxId']; IgnoreValidation = json['IgnoreValidation']; StructureDefinitionId = json['StructureDefinitionId']; StructureTypeId = json['StructureTypeId']; StructureDefinitionXml = json['StructureDefinitionXml']; Name = json['Name']; Reference = json['Reference']; LicenseeId = json['LicenseeId']; SessionId = json['SessionId']; return this; } Map toJson() => { 'SuiteDataSourceInstanceId': SuiteDataSourceInstanceId, 'AlternateKey': AlternateKey, 'ObjectId': ObjectId, 'RmsTableCtxId': RmsTableCtxId, 'IgnoreValidation': IgnoreValidation, 'StructureDefinitionId': StructureDefinitionId, 'StructureTypeId': StructureTypeId, 'StructureDefinitionXml': StructureDefinitionXml, 'Name': Name, 'Reference': Reference, 'LicenseeId': LicenseeId, 'SessionId': SessionId }; createResponse() => ResponseStatus(); getResponseTypeName() => "ResponseStatus"; getTypeName() => "SaveObjectStructure"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'production_eros_platform_apisubscription.azurewebsites.net', types: { 'ISubscription': TypeInfo(TypeOf.Interface), 'SaveObjectStructure': TypeInfo(TypeOf.Class, create:() => SaveObjectStructure()), });