/* Options:
Date: 2026-04-04 08:50:27
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: ContactConnectedLinks.*
//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
{
///
///Retrieve links to a contact (connections/roles/emailAddressBook
///
[Route("/contacts/{ContactId}/links")]
[Api(Description="Retrieve links to a contact (connections/roles/emailAddressBook")]
public partial class ContactConnectedLinks
: IReturn
{
public virtual Guid ContactId { get; set; }
}
public partial class ContactConnectedLinksResponse
{
///
///A list of roles assigned to the contact/user.
///
[ApiMember(DataType="List", Description="A list of roles assigned to the contact/user.", Name="Roles", ParameterType="query")]
public virtual List Roles { get; set; }
///
///A list of contact connections assigned to the contact/user.
///
[ApiMember(DataType="List", Description="A list of contact connections assigned to the contact/user.", Name="ContactConnections", ParameterType="query")]
public virtual List ContactConnections { get; set; }
///
///A list of connected contacts and their email addresses.
///
[ApiMember(DataType="List", Description="A list of connected contacts and their email addresses.", Name="EmailAddressBook", ParameterType="query")]
public virtual List EmailAddressBook { get; set; }
public virtual ResponseStatus ResponseStatus { get; set; }
}
public partial class ContactEmailAddress
{
///
///The Contact Id of the contact.
///
[ApiMember(DataType="Guid", Description="The Contact Id of the contact.", Name="ContactId", ParameterType="query")]
public virtual Guid ContactId { get; set; }
///
///The Contact Full Name
///
[ApiMember(DataType="string", Description="The Contact Full Name", Name="ContactName", ParameterType="query")]
public virtual string ContactName { get; set; }
///
///The Contact Email Address.
///
[ApiMember(DataType="string", Description="The Contact Email Address.", Name="EmailAddress", ParameterType="query")]
public virtual string EmailAddress { get; set; }
///
///The Contact Photo URL
///
[ApiMember(DataType="string", Description="The Contact Photo URL", Name="ContactPhotoURL", ParameterType="query")]
public virtual string ContactPhotoURL { get; set; }
}
public partial class UserContactConnectionModel
{
///
///The Contact Role Id, that links the Contact to their role.
///
[ApiMember(DataType="Guid", Description="The Contact Role Id, that links the Contact to their role.", Name="ContactRoleId", ParameterType="query")]
public virtual Guid ContactRoleId { get; set; }
///
///The role name.
///
[ApiMember(DataType="string", Description="The role name.", Name="ContactRoleName", ParameterType="query")]
public virtual string ContactRoleName { get; set; }
///
///The list item role Id.
///
[ApiMember(DataType="Guid", Description="The list item role Id.", Name="ContactListItemRoleId", ParameterType="query")]
public virtual Guid ContactListItemRoleId { get; set; }
///
///The URL of the contact role's image icon.
///
[ApiMember(DataType="string", Description="The URL of the contact role's image icon.", Name="ContactRolePrimaryImageURL", ParameterType="query")]
public virtual string ContactRolePrimaryImageURL { get; set; }
///
///The URL of the contact role's thumbnail image icon.
///
[ApiMember(DataType="string", Description="The URL of the contact role's thumbnail image icon.", Name="ContactRolePrimaryImageThumbnailURL", ParameterType="query")]
public virtual string ContactRolePrimaryImageThumbnailURL { get; set; }
///
///The Guid of the contact role's media file containing the image icon details.
///
[ApiMember(DataType="string", Description="The Guid of the contact role's media file containing the image icon details.", Name="ContactRolePrimaryImageId", ParameterType="query")]
public virtual Guid ContactRolePrimaryImageId { get; set; }
///
///The connected contacts Id. (licensee)
///
[ApiMember(DataType="string", Description="The connected contacts Id. (licensee)", Name="ConnectionContactId", ParameterType="query")]
public virtual Guid ConnectionContactId { get; set; }
///
///The connected contacts Full Name.
///
[ApiMember(DataType="string", Description="The connected contacts Full Name.", Name="ConnectionContactName", ParameterType="query")]
public virtual string ConnectionContactName { get; set; }
///
///The connected contacts role.
///
[ApiMember(DataType="string", Description="The connected contacts role.", Name="ConnectionContactRoleName", ParameterType="query")]
public virtual string ConnectionContactRoleName { get; set; }
///
///The connected contacts role Id.
///
[ApiMember(DataType="Guid", Description="The connected contacts role Id.", Name="ConnectionContactRoleId", ParameterType="query")]
public virtual Guid ConnectionContactRoleId { get; set; }
///
///The connected contacts list item role Id.
///
[ApiMember(DataType="Guid", Description="The connected contacts list item role Id.", Name="ConnectionContactListItemRoleId", ParameterType="query")]
public virtual Guid ConnectionContactListItemRoleId { get; set; }
///
///The Contacts Type.
///
[ApiMember(DataType="string", Description="The Contacts Type.", Name="ContactTypeName", ParameterType="query")]
public virtual string ContactTypeName { get; set; }
///
///The URL to the Connected Contacts Photo.
///
[ApiMember(DataType="string", Description="The URL to the Connected Contacts Photo.", Name="ConnectionContactPhotoURL", ParameterType="query")]
public virtual string ConnectionContactPhotoURL { get; set; }
///
///.
///
[ApiMember(DataType="bool", Description=".", Name="IsContactLicenseeRole", ParameterType="query")]
public virtual bool IsContactLicenseeRole { get; set; }
///
///If the connection is as a licensee this is true.
///
[ApiMember(DataType="bool", Description="If the connection is as a licensee this is true.", Name="IsConnectionLicenseeRole", ParameterType="query")]
public virtual bool IsConnectionLicenseeRole { get; set; }
///
///The status of the connection with the contact.
///
[ApiMember(DataType="string", Description="The status of the connection with the contact.", Name="ConnectionStatusName", ParameterType="query")]
public virtual string ConnectionStatusName { get; set; }
///
///The status Id of the connection with the contact.
///
[ApiMember(DataType="Guid", Description="The status Id of the connection with the contact.", Name="ConnectionStatusId", ParameterType="query")]
public virtual Guid ConnectionStatusId { get; set; }
///
///The ContactRoleConnectionId of an active connection with the contact.
///
[ApiMember(DataType="Guid", Description="The ContactRoleConnectionId of an active connection with the contact.", Name="ConnectionId", ParameterType="query")]
public virtual Guid ConnectionId { get; set; }
///
///The ContactRoleConnectionRequest of a pending connection with the contact.
///
[ApiMember(DataType="Guid", Description="The ContactRoleConnectionRequest of a pending connection with the contact.", Name="ConnectionRequestId", ParameterType="query")]
public virtual Guid ConnectionRequestId { get; set; }
}
public partial class UserRoleModel
{
///
///The Contact Role Id, that links the Contact to their role.
///
[ApiMember(DataType="Guid", Description="The Contact Role Id, that links the Contact to their role.", Name="ContactRoleId", ParameterType="query")]
public virtual Guid ContactRoleId { get; set; }
///
///The Role Id.
///
[ApiMember(DataType="Guid", Description="The Role Id.", Name="RoleId", ParameterType="query")]
public virtual Guid RoleId { get; set; }
///
///The role name.
///
[ApiMember(DataType="string", Description="The role name.", Name="RoleName", ParameterType="query")]
public virtual string RoleName { get; set; }
///
///The URL of the role's image icon.
///
[ApiMember(DataType="string", Description="The URL of the role's image icon.", Name="RolePrimaryImageURL", ParameterType="query")]
public virtual string RolePrimaryImageURL { get; set; }
///
///The URL of the role's thumbnail image icon.
///
[ApiMember(DataType="string", Description="The URL of the role's thumbnail image icon.", Name="RolePrimaryImageThumbnailURL", ParameterType="query")]
public virtual string RolePrimaryImageThumbnailURL { get; set; }
///
///The Guid of the role's media file containing the image icon details.
///
[ApiMember(DataType="string", Description="The Guid of the role's media file containing the image icon details.", Name="RolePrimaryImageId", ParameterType="query")]
public virtual Guid RolePrimaryImageId { get; set; }
///
///The date the contact started having this role.
///
[ApiMember(DataType="DateTime", Description="The date the contact started having this role.", Name="StartDate", ParameterType="query")]
public virtual DateTime StartDate { get; set; }
///
///The date the contact will end having this role.
///
[ApiMember(DataType="DateTime?", Description="The date the contact will end having this role.", Name="EndDate", ParameterType="query")]
public virtual DateTime? EndDate { 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; }
}
}