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