code: func (cli *OpsGenieClient) Team() (*OpsGenieTeamClient, error) {
  	cli.makeHTTPTransportSettings()
  
  	teamClient := new(OpsGenieTeamClient)
  	teamClient.SetOpsGenieClient(*cli)
  
  	if cli.opsGenieAPIURL == "" {
  		teamClient.SetOpsGenieAPIUrl(endpointURL)
  	}
  
  	return teamClient, nil
  }
docs: // Team instantiates a new OpsGenieTeamClient.