/* Options: Date: 2026-04-04 01:02:44 Version: 8.52 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://pfapi.pstpf.com.au/api //GlobalNamespace: //MakePartial: True //MakeVirtual: True //MakeInternal: False //MakeDataContractsExtensible: False //AddNullableAnnotations: False //AddReturnMarker: True //AddDescriptionAsComments: True //AddDataContractAttributes: False //AddIndexesToDataMembers: False //AddGeneratedCodeAttributes: False //AddResponseStatus: False //AddImplicitVersion: //InitializeCollections: False //ExportValueTypes: False IncludeTypes: SaveObjectConnection.* //ExcludeTypes: //AddNamespaces: //AddDefaultXmlNamespace: http://schemas.servicestack.net/types */ using System; using System.IO; using System.Collections; using System.Collections.Generic; using System.Runtime.Serialization; using ServiceStack; using ServiceStack.DataAnnotations; using Eros.Saguna.Common.WebAPIModel.ServiceModels; namespace Eros.Saguna.Common.WebAPIModel.ServiceModels { /// ///Creates or Updates a new connection between two objects. /// [Route("/objects/{FromObjectId}/{ToObjectId}/{RmsTableCtxIdConnectionMethod}", "POST")] [Api(Description="Creates or Updates a new connection between two objects.")] public partial class SaveObjectConnection : IReturn { /// ///'From' object ID in the connection. /// [ApiMember(DataType="Guid", Description="'From' object ID in the connection.", IsRequired=true, Name="FromObjectId", ParameterType="query")] public virtual Guid FromObjectId { get; set; } /// ///'To' object ID in the connection. /// [ApiMember(DataType="Guid", Description="'To' object ID in the connection.", IsRequired=true, Name="ToObjectId", ParameterType="query")] public virtual Guid ToObjectId { get; set; } /// ///Guid representing the Connection Method to use to connect the objects with. /// [ApiMember(DataType="Guid", Description="Guid representing the Connection Method to use to connect the objects with.", IsRequired=true, Name="RmsTableCtxIdConnectionMethod", ParameterType="query")] public virtual Guid RmsTableCtxIdConnectionMethod { get; set; } } [ApiResponse(Description="Returns the object connection Id created/modified and success of the save.")] public partial class SaveObjectConnectionResponse { public virtual Guid ObjectConnectionId { get; set; } public virtual ResponseStatus ResponseStatus { get; set; } } } namespace ServiceStack { [DataContract] public partial class ResponseStatus : IMeta { [DataMember(Order=1)] public virtual string ErrorCode { get; set; } [DataMember(Order=2)] public virtual string Message { get; set; } [DataMember(Order=3)] public virtual string StackTrace { get; set; } [DataMember(Order=4)] public virtual List Errors { get; set; } [DataMember(Order=5)] public virtual Dictionary Meta { get; set; } } }