code: public void setApiKey(String apiKey) {
          if (this.jsonHttpClient != null) {
              this.jsonHttpClient.setApiKey(apiKey);
          }
          if (this.restApiClient != null) {
              this.restApiClient.setApiKey(apiKey);
          }
          if (this.swaggerApiClient != null) {
              ApiKeyAuth genieKey = (ApiKeyAuth) this.swaggerApiClient.getAuthentication("GenieKey");
              genieKey.setApiKeyPrefix("GenieKey");
              genieKey.setApiKey(apiKey);
          }
      }
docs: Sets the customer key used for authenticating API requests.