Documentation ¶
Index ¶
- func GetBuildingID(buildingCode string) (int, error)
- func GetRoomID(building string, room string) (int, error)
- func IsRoomAvailable(building string, room string) (bool, error)
- type AllBuildings
- type AllBuildingsRequestSOAP
- type AllBuildingsResponseSOAP
- type AllRooms
- type AllRoomsRequestSOAP
- type AllRoomsResponseSOAP
- type Building
- type BuildingRequestSOAP
- type BuildingResponseSOAP
- type Room
- type RoomAvailability
- type RoomAvailabilityRequestSOAP
- type RoomAvailabilityResponseSOAP
- type RoomResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetBuildingID ¶
Types ¶
type AllBuildings ¶
type AllBuildings struct {
Buildings []Building `xml:"Data"`
}
func GetAllBuildings ¶
func GetAllBuildings() (AllBuildings, error)
type AllBuildingsRequestSOAP ¶
type AllBuildingsResponseSOAP ¶
type AllBuildingsResponseSOAP struct { XMLName struct{} `xml:"http://DEA.EMS.API.Web.Service/ GetBuildingsResponse"` Result string `xml:"GetBuildingsResult"` }
type AllRoomsRequestSOAP ¶
type AllRoomsResponseSOAP ¶
type AllRoomsResponseSOAP struct { XMLName struct{} `xml:"http://DEA.EMS.API.Web.Service/ GetRoomsResponse"` Result string `xml:"GetRoomsResult"` }
type BuildingRequestSOAP ¶
type BuildingResponseSOAP ¶
type BuildingResponseSOAP struct { XMLName struct{} `xml:"http://DEA.EMS.API.Web.Service/ GetBuildingsResponse"` Result string `xml:"GetBuildingsResult"` }
type RoomAvailability ¶
type RoomAvailability struct {
Available bool
}
type RoomAvailabilityResponseSOAP ¶
type RoomAvailabilityResponseSOAP struct { XMLName struct{} `xml:"http://DEA.EMS.API.Web.Service/ GetRoomAvailabilityResponse"` Result string `xml:"GetRoomAvailabilityResult"` }
type RoomResponse ¶
type RoomResponse struct {
Response []RoomAvailability `xml:"Data"`
}
Click to show internal directories.
Click to hide internal directories.