' Options:
'Date: 2026-04-04 03:04:24
'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
'''MakeDataContractsExtensible: False
'''AddReturnMarker: True
'''AddDescriptionAsComments: True
'''AddDataContractAttributes: False
'''AddIndexesToDataMembers: False
'''AddGeneratedCodeAttributes: False
'''AddResponseStatus: False
'''AddImplicitVersion:
'''InitializeCollections: False
'''ExportValueTypes: False
'IncludeTypes: SaveAutoInspection.*
'''ExcludeTypes:
'''AddNamespaces:
'''AddDefaultXmlNamespace: http://schemas.servicestack.net/types
Imports System
Imports System.IO
Imports System.Collections
Imports System.Collections.Generic
Imports System.Runtime.Serialization
Imports ServiceStack
Imports ServiceStack.DataAnnotations
Imports Eros.Saguna.Common.WebAPIModel.Models
Imports Eros.Subtle.Canvara.WebAPIModel.ServiceModel
Namespace Global
Namespace Eros.Saguna.Common.WebAPIModel.Models
Public Partial Class AutoInspectionModel
Inherits AutomationModel
'''
'''The inspection type for the template.
'''
Public Overridable Property InspectionTypeId As Guid
'''
'''The template to base the new inspection on.
'''
Public Overridable Property InspectionTemplateId As Guid
'''
'''The inspector chosen for this inspection will be a contact linked to the project in this role. If no one matches the description, the inspector is not set.
'''
Public Overridable Property ContactRoleId As Guid
'''
'''If this is true, then if a project inspection for this template already exists, we will not create another inspection.
'''
Public Overridable Property IgnoreIfExists As Boolean
End Class
Public Partial Class AutomationModel
'''
'''The unique automation Id
'''
Public Overridable Property AutomationId As Guid
'''
'''The automation type Id
'''
Public Overridable Property AutomationTypeId As Guid
'''
'''The automation type
'''
Public Overridable Property AutomationType As String
'''
'''The object this automation applies to
'''
Public Overridable Property ObjectId As Guid
'''
'''The object name this automation applies to
'''
Public Overridable Property ObjectName As String
'''
'''The Id of the object type that this automation applies to.
'''
Public Overridable Property RmsTableCtxIdObject As Guid
'''
'''The name of the object type that this automation applies to.
'''
Public Overridable Property RmsTableCtxName As String
'''
'''A guid list containing the selected system action Id's that trigger this automation.
'''
Public Overridable Property ActionList As List(Of Guid)
'''
'''A comma separated string of the selected system action names that trigger this automation.
'''
Public Overridable Property Actions As String
'''
'''Name of the automation.
'''
Public Overridable Property Name As String
'''
'''Description of the automation
'''
Public Overridable Property Description As String
'''
'''Owner Contact Id
'''
Public Overridable Property OwnerContactId As Guid
'''
'''Record Status of the automation.
'''
Public Overridable Property RecordStatus As String
End Class
End Namespace
Namespace Eros.Subtle.Canvara.WebAPIModel.ServiceModel
Public Partial Class GetAutomationsForObjectResponse
'''
'''List of automations.
'''
Public Overridable Property Automations As List(Of AutomationModel)
Public Overridable Property ResponseStatus As ResponseStatus
End Class
'''
'''Add or update an inspection automation for an object
'''
Public Partial Class SaveAutoInspection
Implements IReturn(Of GetAutomationsForObjectResponse)
'''
'''Details of the automation to be added or updated.
'''
Public Overridable Property Automation As AutoInspectionModel
'''
'''Id of the automation.
'''
Public Overridable Property AutomationId As Guid
End Class
End Namespace
Namespace ServiceStack
Public Partial Class ResponseStatus
Implements IMeta
Public Overridable Property ErrorCode As String
Public Overridable Property Message As String
Public Overridable Property StackTrace As String
Public Overridable Property Errors As List(Of ResponseError)
Public Overridable Property Meta As Dictionary(Of String, String) Implements IMeta.Meta
End Class
End Namespace
End Namespace