code: func (cli *OpsGenieClient) makeHTTPTransportSettings() {
  	if cli.httpTransportSettings != nil {
  		if cli.httpTransportSettings.MaxRetryAttempts <= 0 {
  			cli.httpTransportSettings.MaxRetryAttempts = defaultMaxRetryAttempts
  		}
  		if cli.httpTransportSettings.ConnectionTimeout <= 0 {
  			cli.httpTransportSettings.ConnectionTimeout = defaultConnectionTimeout
  		}
  		if cli.httpTransportSettings.RequestTimeout <= 0 {
  			cli.httpTransportSettings.RequestTimeout = defaultRequestTimeout
  		}
  	} else {
  		cli.httpTransportSettings = &HTTPTransportSettings{MaxRetryAttempts: defaultMaxRetryAttempts, ConnectionTimeout: defaultConnectionTimeout, RequestTimeout: defaultRequestTimeout}
  	}
  }
docs: // makeHTTPTransportSettings internal method to set default values of HTTP transport layer configuration if necessary.