/* Options: Date: 2026-04-04 01:04:08 SwiftVersion: 6.0 Version: 8.52 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://pfapi.pstpf.com.au/api //BaseClass: //AddModelExtensions: True //AddServiceStackTypes: True //MakePropertiesOptional: True IncludeTypes: GetObjectReads.* //ExcludeTypes: //ExcludeGenericBaseTypes: False //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True //InitializeCollections: False //TreatTypesAsStrings: //DefaultImports: Foundation,ServiceStack */ import Foundation import ServiceStack /** * Get reads (object access) for the specified object. */ // @Route("/object/{ObjectId}/reads", "GET") // @Api(Description="Get reads (object access) for the specified object.") public class GetObjectReads : IReturn, Codable { public typealias Return = GetObjectReadsResponse /** * Object Id to get object access reads for */ // @ApiMember(DataType="Guid", Description="Object Id to get object access reads for", IsRequired=true, Name="ObjectId") public var objectId:String? required public init(){} } // @ApiResponse(Description="Returns the reads (object access) to the specified object.") public class GetObjectReadsResponse : Codable { public var objectReads:[ObjectAccessModel]? public var responseStatus:ResponseStatus? required public init(){} } public class ObjectAccessModel : Codable { /** * Object Access Read Id. */ // @ApiMember(Description="Object Access Read Id.", Name="ObjectReadId") public var objectReadId:String? /** * Object Id viewing the specified Object. */ // @ApiMember(Description="Object Id viewing the specified Object.", IsRequired=true, Name="ViewingObjectId") public var viewingObjectId:String? /** * Name of the object viewing the specified Object. */ // @ApiMember(Description="Name of the object viewing the specified Object.", Name="ViewingObjectName") public var viewingObjectName:String? /** * Name of the object viewing the specified Object. */ // @ApiMember(Description="Name of the object viewing the specified Object.", Name="ViewingObjectPrimaryImageUrl") public var viewingObjectPrimaryImageUrl:String? /** * Id of the object being viewed. */ // @ApiMember(Description="Id of the object being viewed.", IsRequired=true, Name="ViewedObjectId") public var viewedObjectId:String? /** * Name of the object being viewed. */ // @ApiMember(Description="Name of the object being viewed.", Name="ViewedObjectName") public var viewedObjectName:String? /** * Date and Time of object read */ // @ApiMember(Description="Date and Time of object read", Name="TimeRead") public var timeRead:Date? /** * Date and Time object started watching the specified object. */ // @ApiMember(Description="Date and Time object started watching the specified object.", Name="TimeStartWatching") public var timeStartWatching:Date? /** * Date and Time of object being flagged. */ // @ApiMember(Description="Date and Time of object being flagged.", Name="Flagged") public var flagged:Date? required public init(){} }