Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Notification ¶
type Notification struct { ID primitive.ObjectID `json:"id" bson:"_id,omitempty"` Updated primitive.DateTime `json:"updated" bson:"updated"` Created primitive.DateTime `json:"created" bson:"created"` Name string `json:"name" bson:"name"` ConditionId primitive.ObjectID `json:"conditionId" bson:"conditionId"` Config map[string]any `json:"config" bson:"config"` }
type Offer ¶
type Offer struct { ID primitive.ObjectID `json:"id" bson:"_id,omitempty"` SiteId string `json:"siteId" bson:"siteId"` Site string `json:"site" bson:"site"` Updated primitive.DateTime `json:"updated" bson:"updated"` Created primitive.DateTime `json:"created" bson:"created"` Name string `json:"name" bson:"name"` Url string `json:"url" bson:"url"` Area float32 `json:"area" bson:"area"` Rooms int `json:"rooms" bson:"rooms"` Floor int `json:"floor" bson:"floor"` BuildingFloors int `json:"buildingFloors" bson:"buildingFloors"` Year int `json:"year" bson:"year"` Heating string `json:"heating" bson:"heating"` Market string `json:"market" bson:"market"` Window string `json:"window" bson:"window"` Elevator bool `json:"elevator" bson:"elevator"` Balcony bool `json:"balcony" bson:"balcony"` Media []string `json:"media" bson:"media"` History []*OfferHistory `json:"history" bson:"history"` }
type OfferAction ¶
type OfferAction uint32
const ( OfferActionAdd OfferAction = 1 OfferActionUpdate OfferAction = 2 // Unused OfferActionPriceChange OfferAction = 3 OfferActionSame OfferAction = 4 )
type OfferHistory ¶
type SentNotification ¶
type SentNotification struct { ID primitive.ObjectID `json:"id" bson:"_id,omitempty"` Updated primitive.DateTime `json:"updated" bson:"updated"` Created primitive.DateTime `json:"created" bson:"created"` OfferId primitive.ObjectID `json:"offerId" bson:"offerId"` NotificationId primitive.ObjectID `json:"notificationId" bson:"notificationId"` Message string `json:"message" bson:"message"` SentSuccessfully bool `json:"sentSuccessfully" bson:"sentSuccessfully"` SendingStatus map[string]any `json:"sendingStatus" bson:"sendingStatus"` }
type WatchUrl ¶
type WatchUrl struct { ID primitive.ObjectID `json:"id" bson:"_id,omitempty"` Created primitive.DateTime `json:"created" bson:"created"` Updated primitive.DateTime `json:"updated" bson:"updated"` Url string `json:"url" bson:"url"` IsList bool `json:"isList" bson:"isList"` Disabled bool `json:"disabled" bson:"disabled"` }
Click to show internal directories.
Click to hide internal directories.