/* Options: Date: 2026-04-04 03:04:26 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: GetSuburbs.* //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 SuburbModel { public virtual Guid SuburbId { get; set; } public virtual string Name { get; set; } public virtual Guid StateId { get; set; } public virtual string StateName { get; set; } public virtual string PostCode { get; set; } public virtual Guid CountryId { get; set; } public virtual string CountryName { get; set; } } } namespace Eros.Subtle.Canvara.WebAPIModel.ServiceModel { /// ///Get all suburbs for the specified country, state and/or postcode /// [Route("/suburbs")] [Api(Description="Get all suburbs for the specified country, state and/or postcode")] public partial class GetSuburbs : IReturn { /// ///Get suburbs matching the specified search text criteria. /// [ApiMember(Description="Get suburbs matching the specified search text criteria.", Name="SearchText")] public virtual string SearchText { get; set; } /// ///State to get suburbs for /// [ApiMember(Description="State to get suburbs for", Name="StateName")] public virtual string StateName { get; set; } /// ///Postcode to get suburbs for /// [ApiMember(Description="Postcode to get suburbs for", Name="Postcode")] public virtual string PostCode { get; set; } /// ///Country to get suburbs for /// [ApiMember(Description="Country to get suburbs for", Name="CountryId")] public virtual Guid CountryId { get; set; } /// ///Country to get suburbs for /// [ApiMember(Description="Country to get suburbs for", Name="CountryName")] public virtual string CountryName { get; set; } } [ApiResponse(Description="List of suburbs matching the criteria")] public partial class GetSuburbsResponse { public virtual List Suburbs { 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; } } }