package locationClient

import (
	"encoding/xml"
)

type LocationList struct {
	XMLName   xml.Name   `xml:"Locations"`
	Xmlns     string     `xml:"xmlns,attr"`
	Locations []Location `xml:"Location"`
}

type Location struct {
	Name              string
	DisplayName       string
	AvailableServices []string `xml:"AvailableServices>AvailableService"`
}

package locationClient

import (
	"encoding/xml"
)

type LocationList struct {
	XMLName   xml.Name   `xml:"Locations"`
	Xmlns     string     `xml:"xmlns,attr"`
	Locations []Location `xml:"Location"`
}

type Location struct {
	Name                    string
	DisplayName             string
	AvailableServices       []string `xml:"AvailableServices>AvailableService"`
	WebWorkerRoleSizes      []string `xml:"ComputeCapabilities>WebWorkerRoleSizes>RoleSize"`
	VirtualMachineRoleSizes []string `xml:"ComputeCapabilities>VirtualMachineRoleSizes>RoleSize"`
}

Include the available role sizes from locations
Include the available role sizes from locations

Previously the locations client did not return information about the
available role sizes in each location. This commit adds two additional
properties to the LocationList type to expose a list of Web/Worker role
sizes and VM sizes available per region. Since the data is already
returned by the API endpoint no API call changes are required.
