(* Options: Date: 2026-04-04 02:56:44 Version: 8.52 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://pfapi.pstpf.com.au/api //GlobalNamespace: //MakeDataContractsExtensible: False //AddReturnMarker: True //AddDescriptionAsComments: True //AddDataContractAttributes: False //AddIndexesToDataMembers: False //AddGeneratedCodeAttributes: False //AddResponseStatus: False //AddImplicitVersion: //ExportValueTypes: False IncludeTypes: GetInspectionAutomation.* //ExcludeTypes: //InitializeCollections: False //AddNamespaces: *) namespace Eros.Subtle.Canvara.WebAPIModel.ServiceModel open System open System.IO open System.Collections open System.Collections.Generic open System.Runtime.Serialization open ServiceStack open ServiceStack.DataAnnotations [] type AutomationModel() = /// ///The unique automation Id /// [] member val AutomationId:Guid = new Guid() with get,set /// ///The automation type Id /// [] member val AutomationTypeId:Guid = new Guid() with get,set /// ///The automation type /// [] member val AutomationType:String = null with get,set /// ///The object this automation applies to /// [] member val ObjectId:Guid = new Guid() with get,set /// ///The object name this automation applies to /// [] member val ObjectName:String = null with get,set /// ///The Id of the object type that this automation applies to. /// [] member val RmsTableCtxIdObject:Guid = new Guid() with get,set /// ///The name of the object type that this automation applies to. /// [] member val RmsTableCtxName:String = null with get,set /// ///A guid list containing the selected system action Id's that trigger this automation. /// [] member val ActionList:ResizeArray = null with get,set /// ///A comma separated string of the selected system action names that trigger this automation. /// [] member val Actions:String = null with get,set /// ///Name of the automation. /// [] member val Name:String = null with get,set /// ///Description of the automation /// [] member val Description:String = null with get,set /// ///Owner Contact Id /// [] member val OwnerContactId:Guid = new Guid() with get,set /// ///Record Status of the automation. /// [] member val RecordStatus:String = null with get,set [] type AutoInspectionModel() = inherit AutomationModel() /// ///The inspection type for the template. /// [] member val InspectionTypeId:Guid = new Guid() with get,set /// ///The template to base the new inspection on. /// [] member val InspectionTemplateId:Guid = new Guid() with get,set /// ///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. /// [] member val ContactRoleId:Guid = new Guid() with get,set /// ///If this is true, then if a project inspection for this template already exists, we will not create another inspection. /// [] member val IgnoreIfExists:Boolean = new Boolean() with get,set [] [] type ResponseStatus() = [] member val ErrorCode:String = null with get,set [] member val Message:String = null with get,set [] member val StackTrace:String = null with get,set [] member val Errors:ResizeArray = null with get,set [] member val Meta:Dictionary = null with get,set [] [] type GetInspectionAutomationResponse() = /// ///Inspection Automation /// [] member val Automation:AutoInspectionModel = null with get,set member val ResponseStatus:ResponseStatus = null with get,set /// ///Get details of a specific inspection automation /// [] [] [] type GetInspectionAutomation() = interface IReturn /// ///Automation Id. /// [] member val AutomationId:Guid = new Guid() with get,set