/* Options:
Date: 2026-04-04 04:53:00
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: IsConnectedInRole.*
//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.Subtle.Canvara.WebAPIModel.ServiceModel;
namespace Eros.Subtle.Canvara.WebAPIModel.ServiceModel
{
///
///Return true/false if a contact is connected to a licensee in a specific role.
///
[Route("/connections/is-connected/{ContactId}/to/{LicenseeId}/role/{RoleId}")]
[Api(Description="Return true/false if a contact is connected to a licensee in a specific role.")]
public partial class IsConnectedInRole
: IReturn
{
///
///Contact Id of the contact to determine if they have the role with the licensee.
///
[ApiMember(DataType="Guid", Description="Contact Id of the contact to determine if they have the role with the licensee.", IsRequired=true, Name="ContactId")]
public virtual Guid ContactId { get; set; }
///
///Role to check for.
///
[ApiMember(DataType="Guid", Description="Role to check for.", IsRequired=true, Name="RoleId")]
public virtual Guid RoleId { get; set; }
///
///Licensee Contact Id we are checking if we're connected to.
///
[ApiMember(DataType="Guid", Description="Licensee Contact Id we are checking if we're connected to.", IsRequired=true, Name="LicenseeId")]
public virtual Guid LicenseeId { get; set; }
}
[ApiResponse(Description="Returns whether or not a contact with a specific role is connected to a licensee.")]
public partial class IsConnectedInRoleResponse
{
///
///True or false depending on if the contact is connected to the licensee in the role.
///
[ApiMember(DataType="bool", Description="True or false depending on if the contact is connected to the licensee in the role.", Name="IsConnected")]
public virtual bool IsConnected { 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; }
}
}