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