/* Options: Date: 2026-09-22 23:40:46 Version: 8.80 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.dev.dynamics.trendsic.com //Package: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: InspectionDetailRequest.* //ExcludeTypes: //InitializeCollections: True //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,java.io.InputStream,net.servicestack.client.* */ import java.math.* import java.util.* import java.io.InputStream import net.servicestack.client.* @Route(Path="/v1/inspections/{InspectionUID}", Verbs="GET,OPTIONS") open class InspectionDetailRequest : IReturn { open var InspectionUID:UUID? = null companion object { private val responseType = InspectionResponse::class.java } override fun getResponseType(): Any? = InspectionDetailRequest.responseType } open class InspectionResponse { open var ResponseStatus:ResponseStatus? = null open var Inspection:Inspection? = null } open class InspectionItem { open var InspectionItemID:Int? = null open var InspectionID:Int? = null open var Seq:Int? = null open var Section:String? = null open var Prompt:String? = null open var ResponseType:String? = null open var IsRequired:Boolean? = null open var Unit:String? = null open var Guidance:String? = null open var Result:String? = null open var Value:String? = null open var Notes:String? = null open var PhotoCount:Int? = null open var LinkedPunchItemID:Int? = null open var LinkedPunchNo:String? = null open var LinkedPunchStatus:String? = null open var LinkedNcrID:Int? = null open var LinkedNcrNo:String? = null open var LinkedActionID:Int? = null open var AnsweredBy:String? = null open var AnsweredAt:Date? = null open var Photos:ArrayList = ArrayList() } open class Inspection { open var InspectionID:Int? = null open var InspectionUID:UUID? = null open var ProjectID:Int? = null open var ProjectName:String? = null open var JobID:Int? = null open var JobName:String? = null open var InspectionNo:String? = null open var Type:String? = null open var Title:String? = null open var Status:String? = null open var TemplateUID:UUID? = null open var TemplateVersionNo:Int? = null open var ScheduledFor:Date? = null open var StartedAt:Date? = null open var CompletedAt:Date? = null open var ClosedAt:Date? = null open var InspectorContactID:Int? = null open var InspectorName:String? = null open var AgencyName:String? = null open var PermitNo:String? = null open var LocationText:String? = null open var Notes:String? = null open var WeatherJson:String? = null open var ItemsTotal:Int? = null open var ItemsPassed:Int? = null open var ItemsFailed:Int? = null open var Outcome:String? = null open var OutcomeNotes:String? = null open var ReinspectionOfInspectionID:Int? = null open var QcHoldPointID:Int? = null open var ReportAttachmentId:UUID? = null open var RequestCount:Int? = null open var SignatureCount:Int? = null open var CreatedBy:String? = null open var CreatedAt:Date? = null open var UpdatedAt:Date? = null open var Items:ArrayList = ArrayList() open var Requests:ArrayList = ArrayList() open var Signatures:ArrayList = ArrayList() open var Actions:ArrayList = ArrayList() } open class InspectionRequest { open var InspectionRequestID:Int? = null open var InspectionID:Int? = null open var Agency:String? = null open var ContactName:String? = null open var ContactPhone:String? = null open var PermitNo:String? = null open var RequestedDate:Date? = null open var RequestedWindow:String? = null open var Status:String? = null open var ConfirmationNo:String? = null open var Outcome:String? = null open var CreatedBy:String? = null open var CreatedAt:Date? = null open var UpdatedAt:Date? = null } open class SignatureRecord { open var SignatureRecordID:Int? = null open var EntityType:String? = null open var EntityID:Int? = null open var Role:String? = null open var SignerName:String? = null open var SignerContactID:Int? = null open var SignerUserId:String? = null open var Method:String? = null open var ImageAttachmentId:UUID? = null open var ImageUrl:String? = null open var ImageHash:String? = null open var DocumentHash:String? = null open var ConsentText:String? = null open var IpAddress:String? = null open var UserAgent:String? = null open var SignedAt:Date? = null } open class InspectionPhoto { open var AttachmentId:UUID? = null open var FileName:String? = null open var Url:String? = null open var CreatedBy:String? = null open var CreatedDate:Date? = null open var HasAnnotation:Boolean? = null open var AnnotatedAttachmentId:UUID? = null open var AnnotatedUrl:String? = null }