' Options: 'Date: 2024-11-21 16:50:06 'Version: 8.23 'Tip: To override a DTO option, remove "''" prefix before updating 'BaseUrl: https://api.bokamera.se ' '''GlobalNamespace: '''MakePartial: True '''MakeVirtual: True '''MakeDataContractsExtensible: False '''AddReturnMarker: True '''AddDescriptionAsComments: True '''AddDataContractAttributes: False '''AddIndexesToDataMembers: False '''AddGeneratedCodeAttributes: False '''AddResponseStatus: False '''AddImplicitVersion: '''InitializeCollections: True '''ExportValueTypes: False 'IncludeTypes: GeoDataCitiesQuery.* '''ExcludeTypes: '''AddNamespaces: '''AddDefaultXmlNamespace: http://schemas.servicestack.net/types Imports System Imports System.Collections Imports System.Collections.Generic Imports System.Runtime.Serialization Imports ServiceStack Imports ServiceStack.DataAnnotations Imports System.Globalization Imports ServiceStack.Data Imports System.IO Imports BokaMera.API.ServiceModel.Db Imports BokaMera.API.ServiceModel.Dtos Namespace Global Namespace BokaMera.API.ServiceModel.Db Public Partial Class BaseModel End Class Public Partial Class City Inherits BaseModel Public Overridable Property Longitude As Double Public Overridable Property Latitude As Double Public Overridable Property Name As String Public Overridable Property Country As String Public Overridable Property Iso2 As String Public Overridable Property Admin As String Public Overridable Property Capital As String Public Overridable Property Population As Nullable(Of Integer) Public Overridable Property PopulationProper As Nullable(Of Integer) Public Overridable Property ModifiedDate As Nullable(Of DateTimeOffset) Public Overridable Property Id As Guid End Class End Namespace Namespace BokaMera.API.ServiceModel.Dtos Public Partial Class GeoDataCitiesQuery Inherits QueryDb(Of City, GeoDataCitiesQueryResponse) Implements IReturn(Of QueryResponse(Of GeoDataCitiesQueryResponse)) ''' '''Enter the country id you want to search cities. Example SE for Sweden. ''' Public Overridable Property CountryId As String End Class Public Partial Class GeoDataCitiesQueryResponse Public Overridable Property Id As Guid Public Overridable Property City As String Public Overridable Property Longitude As String Public Overridable Property Latitude As String Public Overridable Property Country As String Public Overridable Property Iso2 As String Public Overridable Property Admin As String Public Overridable Property Capital As String Public Overridable Property Population As Nullable(Of Integer) Public Overridable Property PopulationProper As Nullable(Of Integer) End Class End Namespace End Namespace