code: public ApiResponse<Void> signInWithHttpInfo(String username, String password, Boolean saml) throws ApiException {
          com.squareup.okhttp.Call call = signInValidateBeforeCall(username, password, saml, null, null);
          return apiClient.execute(call);
      }
docs: Perform form-based authentication.
  Perform form-based authentication by submitting an agent&#39;s username and password.
  @param username The agent&#39;s username, formatted as &#39;tenant\\username&#39;. (required)
  @param password The agent&#39;s password. (required)
  @param saml Specifies whether to login using [Security Assertion Markup Language](https://en.wikipedia.org/wiki/Security_Assertion_Markup_Language) (SAML). (optional)
  @return ApiResponse&lt;Void&gt;
  @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body