code: protected AuthMethod getAuthMethod(Class[] acceptableAuthMethods) throws NexmoClientException {
          if (acceptable == null) {
              this.acceptable = new HashSet<>();
              Collections.addAll(acceptable, acceptableAuthMethods);
          }
  
          return this.httpWrapper.getAuthCollection().getAcceptableAuthMethod(acceptable);
      }
docs: Utility method for obtaining an appropriate {@link AuthMethod} for this call.
  
  @param acceptableAuthMethods an array of classes, representing authentication methods that are acceptable for
  this endpoint
  
  @return An AuthMethod created from one of the provided acceptableAuthMethods.
  
  @throws NexmoClientException If no AuthMethod is available from the provided array of acceptableAuthMethods.