/* Options: Date: 2026-04-04 01:01:49 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: GetObjectDimensions.* //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.Subtle.Canvara.WebAPIModel.ServiceModel; namespace Eros.Saguna.Common.WebAPIModel.Models { public partial class DimensionModel { /// ///Id of the Dimension itself. /// [ApiMember(DataType="Guid", Description="Id of the Dimension itself.", Name="DimensionId")] public virtual Guid DimensionId { get; set; } /// ///Dimension name. /// [ApiMember(DataType="string", Description="Dimension name.", Name="Name")] public virtual string Name { get; set; } /// ///Dimension description. /// [ApiMember(DataType="string", Description="Dimension description.", Name="Description")] public virtual string Description { get; set; } /// ///Dimension shortened name. /// [ApiMember(DataType="string", Description="Dimension shortened name.", Name="ShortName")] public virtual string ShortName { get; set; } /// ///True if the values for the dimension should have colours associated with them. /// [ApiMember(DataType="bool", Description="True if the values for the dimension should have colours associated with them.", Name="HasTrafficLightForValues")] public virtual bool HasTrafficLightForValues { get; set; } /// /// /// [ApiMember(DataType="bool", Description="", Name="HasImage")] public virtual bool HasImage { get; set; } /// ///Owner Id of the dimension. /// [ApiMember(DataType="Guid", Description="Owner Id of the dimension.", Name="OwnerContactId")] public virtual Guid OwnerContactId { get; set; } /// ///Record status of the dimension. /// [ApiMember(DataType="string", Description="Record status of the dimension.", Name="RecordStatus")] public virtual string RecordStatus { get; set; } /// ///Dimension values for this dimension. /// [ApiMember(DataType="List", Description="Dimension values for this dimension.", Name="DimensionValues")] public virtual List DimensionValues { get; set; } /// ///Id that links this dimension to an object. /// [ApiMember(Description="Id that links this dimension to an object.")] public virtual Guid ObjectConnectionId { get; set; } } public partial class DimensionValueModel { /// ///Id of the dimension value. /// [ApiMember(DataType="Guid", Description="Id of the dimension value.", Name="DimensionValueId", ParameterType="body")] public virtual Guid DimensionValueId { get; set; } /// ///Dimension Id this value is for. /// [ApiMember(Description="Dimension Id this value is for.", ParameterType="body")] public virtual Guid DimensionId { get; set; } /// ///Name of the dimension value. /// [ApiMember(Description="Name of the dimension value.", ParameterType="body")] public virtual string Name { get; set; } /// ///Description of the dimension value. /// [ApiMember(Description="Description of the dimension value.", ParameterType="body")] public virtual string Description { get; set; } /// ///Short Name for the dimension value. /// [ApiMember(Description="Short Name for the dimension value.", ParameterType="body")] public virtual string ShortName { get; set; } /// ///Id of the colour associated. /// [ApiMember(Description="Id of the colour associated.", ParameterType="body")] public virtual Guid TrafficLightId { get; set; } /// ///Colour associated with the dimension value. /// [ApiMember(Description="Colour associated with the dimension value.", ParameterType="body")] public virtual string TrafficLightColour { get; set; } /// ///Id that links this dimension value to an object. /// [ApiMember(Description="Id that links this dimension value to an object.", ParameterType="body")] public virtual Guid ObjectConnectionId { get; set; } /// ///Owner Id of the dimension value. /// [ApiMember(Description="Owner Id of the dimension value.", ParameterType="body")] public virtual Guid OwnerContactId { get; set; } /// ///Record status of the dimension value. /// [ApiMember(Description="Record status of the dimension value.", ParameterType="body")] public virtual string RecordStatus { get; set; } } } namespace Eros.Subtle.Canvara.WebAPIModel.ServiceModel { /// ///Get a list of dimensions linked to a specified object /// [Route("/dimensions/object/{ObjectId}")] [Api(Description="Get a list of dimensions linked to a specified object")] public partial class GetObjectDimensions : IReturn { /// ///Licensee Id to retrieve dimensions for. /// [ApiMember(DataType="Guid", Description="Licensee Id to retrieve dimensions for.", Name="LicenseeId", ParameterType="query")] public virtual Guid LicenseeId { get; set; } /// ///Object Id to retrieve dimensions for. /// [ApiMember(DataType="Guid", Description="Object Id to retrieve dimensions for.", Name="ObjectId", ParameterType="query")] public virtual Guid ObjectId { get; set; } } [ApiResponse(Description="A list of dimensions (and values if they apply) for an object")] public partial class GetObjectDimensionsResponse { /// ///List of dimensions. /// [ApiMember(DataType="List", Description="List of dimensions.", Name="Dimensions", ParameterType="query")] public virtual List Dimensions { 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; } } }