code: func (cli *OpsGenieHeartbeatClient) Add(req heartbeat.AddHeartbeatRequest) (*heartbeat.AddHeartbeatResponse, error) {
  	var response heartbeat.HeartbeatResponseV2
  
  	err := cli.sendPostRequest(&req, &response)
  
  	if err != nil {
  		return nil, err;
  	}
  	result := convertAddResponseToV1Response(&response)
  	result.Code = 201
  	return result, nil
  }
docs: // Add method creates a heartbeat at OpsGenie.