search

package
v0.0.0-...-946fd12 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 30, 2024 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BaseFilters

type BaseFilters struct {
	Page int
	Size int
	Sort int
}

type Polygon

type Polygon struct {
	TopLat     string
	TopLong    string
	BottomLat  string
	BottomLong string
}

type PropertySearchRequest

type PropertySearchRequest struct {
	City        string
	CountryCode string

	Polygon *Polygon

	BaseFilters
	SearchFilters
}

type SearchFilters

type SearchFilters struct {
	PriceFrom     float32
	PriceTo       float32
	HomeSizeFrom  float32
	HomeSizeTo    float32
	LotSizeFrom   float32
	LotSizeTo     float32
	YearBuildFrom uint16
	YearBuildTo   uint16

	Bathroom      uint8
	BathroomExact bool

	Bedroom      uint8
	BedroomExact bool

	Condition    []int
	HomeType     []int
	PropertyType uint8

	HasAC         *bool
	HasGarage     bool
	ParkingNumber *uint8
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL