/* Options: Date: 2026-04-04 06:46:33 Version: 8.52 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://pfapi.pstpf.com.au/api //Package: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: GetObjectReads.* //ExcludeTypes: //InitializeCollections: False //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.* /** * Get reads (object access) for the specified object. */ @Route(Path="/object/{ObjectId}/reads", Verbs="GET") @Api(Description="Get reads (object access) for the specified object.") open class GetObjectReads : IReturn { /** * Object Id to get object access reads for */ @ApiMember(DataType="Guid", Description="Object Id to get object access reads for", IsRequired=true, Name="ObjectId") open var ObjectId:UUID? = null companion object { private val responseType = GetObjectReadsResponse::class.java } override fun getResponseType(): Any? = GetObjectReads.responseType } @ApiResponse(Description="Returns the reads (object access) to the specified object.") open class GetObjectReadsResponse { open var ObjectReads:ArrayList? = null open var ResponseStatus:ResponseStatus? = null } open class ObjectAccessModel { /** * Object Access Read Id. */ @ApiMember(Description="Object Access Read Id.", Name="ObjectReadId") open var ObjectReadId:UUID? = null /** * Object Id viewing the specified Object. */ @ApiMember(Description="Object Id viewing the specified Object.", IsRequired=true, Name="ViewingObjectId") open var ViewingObjectId:UUID? = null /** * Name of the object viewing the specified Object. */ @ApiMember(Description="Name of the object viewing the specified Object.", Name="ViewingObjectName") open var ViewingObjectName:String? = null /** * Name of the object viewing the specified Object. */ @ApiMember(Description="Name of the object viewing the specified Object.", Name="ViewingObjectPrimaryImageUrl") open var ViewingObjectPrimaryImageUrl:String? = null /** * Id of the object being viewed. */ @ApiMember(Description="Id of the object being viewed.", IsRequired=true, Name="ViewedObjectId") open var ViewedObjectId:UUID? = null /** * Name of the object being viewed. */ @ApiMember(Description="Name of the object being viewed.", Name="ViewedObjectName") open var ViewedObjectName:String? = null /** * Date and Time of object read */ @ApiMember(Description="Date and Time of object read", Name="TimeRead") open var TimeRead:Date? = null /** * Date and Time object started watching the specified object. */ @ApiMember(Description="Date and Time object started watching the specified object.", Name="TimeStartWatching") open var TimeStartWatching:Date? = null /** * Date and Time of object being flagged. */ @ApiMember(Description="Date and Time of object being flagged.", Name="Flagged") open var Flagged:Date? = null }