/* Options:
Date: 2026-04-04 03:04:34
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: GetRolesForAutomationNotifications.*
//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.Subtle.Canvara.WebAPIModel.ServiceModel;
namespace Eros.Saguna.Common.WebAPIModel.Models
{
public partial class GroupedListItemModel
{
public virtual Guid ListItemId { get; set; }
public virtual string Name { get; set; }
public virtual Guid GroupId { get; set; }
public virtual string GroupName { get; set; }
}
}
namespace Eros.Subtle.Canvara.WebAPIModel.ServiceModel
{
///
///Get eligible roles for automation notifications
///
[Route("/automation/notification/{ObjectId}/roles", "GET")]
[Api(Description="Get eligible roles for automation notifications")]
[ApiResponse(Description="A list of roles that are eligible to be assigned to a notification.")]
public partial class GetRolesForAutomationNotifications
: GetRolesForAutomationNotificationsResponse, IReturn
{
///
///Object the notification will be for. Used to exclude any currently assigned roles.
///
[ApiMember(Description="Object the notification will be for. Used to exclude any currently assigned roles.", ParameterType="path")]
public virtual Guid ObjectId { get; set; }
}
[ApiResponse(Description="A list of roles that are eligible to be assigned to a notification.")]
public partial class GetRolesForAutomationNotificationsResponse
{
///
///List of all roles (grouped by suite) that can be assigned to a notification.
///
[ApiMember(Description="List of all roles (grouped by suite) that can be assigned to a notification.")]
public virtual List AllRoles { get; set; }
///
///List of roles that are already assigned to an email notification for the object, these should be excluded from being selected again.
///
[ApiMember(Description="List of roles that are already assigned to an email notification for the object, these should be excluded from being selected again.")]
public virtual List RolesUsedEmail { get; set; }
///
///List of roles that are already assigned to an sms notification for the object, these should be excluded from being selected again.
///
[ApiMember(Description="List of roles that are already assigned to an sms notification for the object, these should be excluded from being selected again.")]
public virtual List RolesUsedSMS { 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; }
}
}