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