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