/* Options:
Date: 2026-04-04 08:34:30
Version: 8.52
Tip: To override a DTO option, remove "//" prefix before updating
BaseUrl: https://pfapi.pstpf.com.au/api
//GlobalNamespace:
//MakePartial: True
//MakeVirtual: True
//MakeInternal: False
//MakeDataContractsExtensible: False
//AddNullableAnnotations: False
//AddReturnMarker: True
//AddDescriptionAsComments: True
//AddDataContractAttributes: False
//AddIndexesToDataMembers: False
//AddGeneratedCodeAttributes: False
//AddResponseStatus: False
//AddImplicitVersion:
//InitializeCollections: False
//ExportValueTypes: False
IncludeTypes: GetObjectReads.*
//ExcludeTypes:
//AddNamespaces:
//AddDefaultXmlNamespace: http://schemas.servicestack.net/types
*/
using System;
using System.IO;
using System.Collections;
using System.Collections.Generic;
using System.Runtime.Serialization;
using ServiceStack;
using ServiceStack.DataAnnotations;
using Eros.Saguna.Common.WebAPIModel.Models;
using Eros.Saguna.Common.WebAPIModel.ServiceModels;
namespace Eros.Saguna.Common.WebAPIModel.Models
{
public partial class ObjectAccessModel
{
///
///Object Access Read Id.
///
[ApiMember(Description="Object Access Read Id.", Name="ObjectReadId")]
public virtual Guid ObjectReadId { get; set; }
///
///Object Id viewing the specified Object.
///
[ApiMember(Description="Object Id viewing the specified Object.", IsRequired=true, Name="ViewingObjectId")]
public virtual Guid ViewingObjectId { get; set; }
///
///Name of the object viewing the specified Object.
///
[ApiMember(Description="Name of the object viewing the specified Object.", Name="ViewingObjectName")]
public virtual string ViewingObjectName { get; set; }
///
///Name of the object viewing the specified Object.
///
[ApiMember(Description="Name of the object viewing the specified Object.", Name="ViewingObjectPrimaryImageUrl")]
public virtual string ViewingObjectPrimaryImageUrl { get; set; }
///
///Id of the object being viewed.
///
[ApiMember(Description="Id of the object being viewed.", IsRequired=true, Name="ViewedObjectId")]
public virtual Guid ViewedObjectId { get; set; }
///
///Name of the object being viewed.
///
[ApiMember(Description="Name of the object being viewed.", Name="ViewedObjectName")]
public virtual string ViewedObjectName { get; set; }
///
///Date and Time of object read
///
[ApiMember(Description="Date and Time of object read", Name="TimeRead")]
public virtual DateTime? TimeRead { get; set; }
///
///Date and Time object started watching the specified object.
///
[ApiMember(Description="Date and Time object started watching the specified object.", Name="TimeStartWatching")]
public virtual DateTime? TimeStartWatching { get; set; }
///
///Date and Time of object being flagged.
///
[ApiMember(Description="Date and Time of object being flagged.", Name="Flagged")]
public virtual DateTime Flagged { get; set; }
}
}
namespace Eros.Saguna.Common.WebAPIModel.ServiceModels
{
///
///Get reads (object access) for the specified object.
///
[Route("/object/{ObjectId}/reads", "GET")]
[Api(Description="Get reads (object access) for the specified object.")]
public partial 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")]
public virtual Guid ObjectId { get; set; }
}
[ApiResponse(Description="Returns the reads (object access) to the specified object.")]
public partial class GetObjectReadsResponse
{
public virtual List ObjectReads { get; set; }
public virtual ResponseStatus ResponseStatus { get; set; }
}
}
namespace ServiceStack
{
[DataContract]
public partial class ResponseStatus
: IMeta
{
[DataMember(Order=1)]
public virtual string ErrorCode { get; set; }
[DataMember(Order=2)]
public virtual string Message { get; set; }
[DataMember(Order=3)]
public virtual string StackTrace { get; set; }
[DataMember(Order=4)]
public virtual List Errors { get; set; }
[DataMember(Order=5)]
public virtual Dictionary Meta { get; set; }
}
}