code: func (a *Alert) StatusCode() int {
  	vals, err := url.ParseQuery(a.AlertText)
  	if err != nil {
  		return 0
  	}
  	if code := vals.Get("httpResponse"); code != "" {
  		i, err := strconv.ParseInt(code, 10, 64)
  		if err == nil && i > 99 && i < 600 {
  			return int(i)
  		}
  	}
  	return 0
  }
docs: // StatusCode attempts to return a HTTP status code for this Alert. Returns
  // 0 if the status code cannot be found.