/* Options: Date: 2026-04-04 04:51:18 Version: 8.52 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://pfapi.pstpf.com.au/api //GlobalNamespace: //MakePropertiesOptional: False //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: GetObjectReads.* //ExcludeTypes: //DefaultImports: */ export interface IReturn { createResponse(): T; } export class ObjectAccessModel { /** @description Object Access Read Id. */ // @ApiMember(Description="Object Access Read Id.", Name="ObjectReadId") public ObjectReadId: string; /** @description Object Id viewing the specified Object. */ // @ApiMember(Description="Object Id viewing the specified Object.", IsRequired=true, Name="ViewingObjectId") public ViewingObjectId: string; /** @description Name of the object viewing the specified Object. */ // @ApiMember(Description="Name of the object viewing the specified Object.", Name="ViewingObjectName") public ViewingObjectName: string; /** @description Name of the object viewing the specified Object. */ // @ApiMember(Description="Name of the object viewing the specified Object.", Name="ViewingObjectPrimaryImageUrl") public ViewingObjectPrimaryImageUrl: string; /** @description Id of the object being viewed. */ // @ApiMember(Description="Id of the object being viewed.", IsRequired=true, Name="ViewedObjectId") public ViewedObjectId: string; /** @description Name of the object being viewed. */ // @ApiMember(Description="Name of the object being viewed.", Name="ViewedObjectName") public ViewedObjectName: string; /** @description Date and Time of object read */ // @ApiMember(Description="Date and Time of object read", Name="TimeRead") public TimeRead?: string; /** @description Date and Time object started watching the specified object. */ // @ApiMember(Description="Date and Time object started watching the specified object.", Name="TimeStartWatching") public TimeStartWatching?: string; /** @description Date and Time of object being flagged. */ // @ApiMember(Description="Date and Time of object being flagged.", Name="Flagged") public Flagged: string; public constructor(init?: Partial) { (Object as any).assign(this, init); } } // @DataContract export class ResponseStatus { // @DataMember(Order=1) public ErrorCode: string; // @DataMember(Order=2) public Message: string; // @DataMember(Order=3) public StackTrace: string; // @DataMember(Order=4) public Errors: ResponseError[]; // @DataMember(Order=5) public Meta: { [index:string]: string; }; public constructor(init?: Partial) { (Object as any).assign(this, init); } } // @ApiResponse(Description="Returns the reads (object access) to the specified object.") export class GetObjectReadsResponse { public ObjectReads: ObjectAccessModel[]; public ResponseStatus: ResponseStatus; public constructor(init?: Partial) { (Object as any).assign(this, init); } } /** @description Get reads (object access) for the specified object. */ // @Route("/object/{ObjectId}/reads", "GET") // @Api(Description="Get reads (object access) for the specified object.") export class GetObjectReads implements IReturn { /** @description 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 ObjectId: string; public constructor(init?: Partial) { (Object as any).assign(this, init); } public getTypeName() { return 'GetObjectReads'; } public getMethod() { return 'GET'; } public createResponse() { return new GetObjectReadsResponse(); } }