/** * Creates ServiceProperties object from parsed XML response. * * @param array $parsedResponse XML response parsed into array. * * @return WindowsAzure\Common\Models\ServiceProperties. */ public static function create($parsedResponse) { $result = new self(); $result->setLogging(Logging::create($parsedResponse['Logging'])); $result->setMetrics(Metrics::create($parsedResponse['Metrics'])); return $result; }