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