/* Options:
Date: 2026-04-04 04:52:42
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: GetObjectConnections.*
//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.Models;
using Eros.Saguna.Common.WebAPIModel.ServiceModels;
namespace Eros.Saguna.Common.WebAPIModel.Models
{
public partial class ObjectConnectionModel
{
public virtual Guid ObjectConnectionId { get; set; }
public virtual Guid ObjectIdFrom { get; set; }
public virtual string ObjectFromReference { get; set; }
public virtual string ObjectToReference { get; set; }
public virtual Guid ObjectIdTo { get; set; }
public virtual Guid ConnectionMethodId { get; set; }
public virtual string ObjectFromName { get; set; }
public virtual string ObjectToName { get; set; }
public virtual string RecordStatus { get; set; }
}
}
namespace Eros.Saguna.Common.WebAPIModel.ServiceModels
{
///
///Get object connections for the specified object and connection method.
///
[Route("/objects/{RmsTableCtxIdConnectionMethod}/connectionsFrom/{FromObjectId}", "GET")]
[Route("/objects/{RmsTableCtxIdConnectionMethod}/connectionsTo/{ToObjectId}", "GET")]
[Api(Description="Get object connections for the specified object and connection method.")]
public partial class GetObjectConnections
: 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; }
///
///Status of object Connections to retrieve, if not specified active connections are retrieved by default.
///
[ApiMember(DataType="string", Description="Status of object Connections to retrieve, if not specified active connections are retrieved by default.", Name="RecordStatus", ParameterType="query")]
public virtual string RecordStatus { get; set; }
}
[ApiResponse(Description="Returns the connections for the specified object.")]
public partial class GetObjectConnectionsResponse
{
public virtual List ObjectConnections { 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; }
}
}