/* Options:
Date: 2026-04-04 08:34:38
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: GetAutomationsForObject.*
//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 AutomationModel
{
///
///The unique automation Id
///
[ApiMember(Description="The unique automation Id", ParameterType="query")]
public virtual Guid AutomationId { get; set; }
///
///The automation type Id
///
[ApiMember(Description="The automation type Id", ParameterType="query")]
public virtual Guid AutomationTypeId { get; set; }
///
///The automation type
///
[ApiMember(Description="The automation type", ParameterType="query")]
public virtual string AutomationType { get; set; }
///
///The object this automation applies to
///
[ApiMember(Description="The object this automation applies to", ParameterType="query")]
public virtual Guid ObjectId { get; set; }
///
///The object name this automation applies to
///
[ApiMember(Description="The object name this automation applies to", ParameterType="query")]
public virtual string ObjectName { get; set; }
///
///The Id of the object type that this automation applies to.
///
[ApiMember(Description="The Id of the object type that this automation applies to. ", ParameterType="query")]
public virtual Guid RmsTableCtxIdObject { get; set; }
///
///The name of the object type that this automation applies to.
///
[ApiMember(Description="The name of the object type that this automation applies to.", ParameterType="query")]
public virtual string RmsTableCtxName { get; set; }
///
///A guid list containing the selected system action Id's that trigger this automation.
///
[ApiMember(Description="A guid list containing the selected system action Id's that trigger this automation.", ParameterType="query")]
public virtual List ActionList { get; set; }
///
///A comma separated string of the selected system action names that trigger this automation.
///
[ApiMember(Description="A comma separated string of the selected system action names that trigger this automation.", ParameterType="query")]
public virtual string Actions { get; set; }
///
///Name of the automation.
///
[ApiMember(Description="Name of the automation.", ParameterType="query")]
public virtual string Name { get; set; }
///
///Description of the automation
///
[ApiMember(Description="Description of the automation", ParameterType="query")]
public virtual string Description { get; set; }
///
///Owner Contact Id
///
[ApiMember(Description="Owner Contact Id", ParameterType="query")]
public virtual Guid OwnerContactId { get; set; }
///
///Record Status of the automation.
///
[ApiMember(Description="Record Status of the automation.", ParameterType="query")]
public virtual string RecordStatus { get; set; }
}
}
namespace Eros.Subtle.Canvara.WebAPIModel.ServiceModel
{
///
///Get automations that are setup for an object
///
[Route("/automation/{ObjectId}/list", "GET")]
[Api(Description="Get automations that are setup for an object")]
public partial class GetAutomationsForObject
: IReturn
{
///
///Object to retrieve automations for.
///
[ApiMember(Description="Object to retrieve automations for.", ParameterType="path")]
public virtual Guid ObjectId { get; set; }
}
[ApiResponse(Description="List of automations that are setup for an object")]
public partial class GetAutomationsForObjectResponse
{
///
///List of automations.
///
[ApiMember(Description="List of automations.")]
public virtual List Automations { 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; }
}
}