-
Notifications
You must be signed in to change notification settings - Fork 0
/
address.go
21 lines (20 loc) · 884 Bytes
/
address.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
package ximmio
// Address is a collection of address information as returned by Ximmio's
// Waste API.
//
// The actual API response also has a field `BuildingCategory`. However, at the
// time of writing this client has only been tested with residential addresses,
// for which the field always seem to be `null`. So no data type can be defined
// for it yet.
type Address struct {
ID int `json:"ID"`
UniqueID string `json:"UniqueId"`
Street string `json:"Street"`
HouseNumber string `json:"HouseNumber"`
HouseLetter string `json:"HouseLetter"`
HouseNumberIndication string `json:"HouseNumberIndication"`
HouseNumberAddition string `json:"HouseNumberAddition"`
PostalCode string `json:"ZipCode"`
City string `json:"City"`
Community string `json:"Community"`
}