async validateEmail(emailId) {
      let postBody = null;
      // verify the required parameter 'emailId' is set
      if (emailId === undefined || emailId === null) {
        throw new Error("Missing the required parameter 'emailId' when calling validateEmail");
      }

      let pathParams = {
        'emailId': emailId
      };
      let queryParams = {
      };
      let headerParams = {
      };
      let formParams = {
      };

      let authNames = ['API_KEY'];
      let contentTypes = [];
      let accepts = ['application/json'];
      let returnType = ValidationDto;

      return this.callApi(
        '/emails/{emailId}/validate', 'POST',
        pathParams, queryParams, headerParams, formParams, postBody,
        authNames, contentTypes, accepts, returnType
      );
    }
/**
     * Validate email
     * Validate the HTML content of email if HTML is found. Considered valid if no HTML.
     * @param {String} emailId ID of email
     * @return {Promise<ValidationDto>}
     */
Validate email
Validate the HTML content of email if HTML is found. Considered valid if no HTML.
@param {String} emailId ID of email
@return {Promise}
Validate email Validate the HTML content of email if HTML is found . Considered valid if no HTML . @param { String } emailId ID of email @return { Promise }
async validateEmail(emailId) {
      let postBody = null;
      if (emailId === undefined || emailId === null) {
        throw new Error("Missing the required parameter 'emailId' when calling validateEmail");
      }
      let pathParams = {
        'emailId': emailId
      };
      let queryParams = {
      };
      let headerParams = {
      };
      let formParams = {
      };
      let authNames = ['API_KEY'];
      let contentTypes = [];
      let accepts = ['application/json'];
      let returnType = ValidationDto;
      return this.callApi(
        '/emails/{emailId}/validate', 'POST',
        pathParams, queryParams, headerParams, formParams, postBody,
        authNames, contentTypes, accepts, returnType
      );
    }
async validateEmail ( emailId ) { let postBody = null ; if ( emailId === undefined || emailId === null ) { throw new Error ( "Missing the required parameter 'emailId' when calling validateEmail" ) ; } let pathParams = { 'emailId' : emailId } ; let queryParams = { } ; let headerParams = { } ; let formParams = { } ; let authNames = [ 'API_KEY' ] ; let contentTypes = [ ] ; let accepts = [ 'application/json' ] ; let returnType = ValidationDto ; return this . callApi ( '/emails/{emailId}/validate' , 'POST' , pathParams , queryParams , headerParams , formParams , postBody , authNames , contentTypes , accepts , returnType ) ; }
Validate email
 Validate the HTML content of email if HTML is found.
Validate email Validate the HTML content of email if HTML is found .
// verify the required parameter 'emailId' is set