/* Options: Date: 2026-09-22 23:40:36 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: InspectionDueRequest.* //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/due", Verbs="GET,OPTIONS") open class InspectionDueRequest : IReturn { open var ProjectID:Int? = null companion object { private val responseType = InspectionListResponse::class.java } override fun getResponseType(): Any? = InspectionDueRequest.responseType } open class InspectionListResponse { open var ResponseStatus:ResponseStatus? = null open var Inspections:ArrayList = ArrayList() open var Summary:InspectionSummary? = 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 InspectionSummary { open var Total:Int? = null open var DueToday:Int? = null open var Overdue:Int? = null open var InProgress:Int? = null open var Failed:Int? = null open var Conditional:Int? = null open var PassedOpen:Int? = null open var Closed:Int? = null open var Completed30d:Int? = null open var Passed30d:Int? = null open var Headline:String? = null } 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 }