__validateApiResponse(apiClientResponse) {
        let isResponseCodeValid = apiClientResponse.statusCode >= 200 && apiClientResponse.statusCode < 300;
        if (isResponseCodeValid) {
            return;
        }

        throw new ServiceError(apiClientResponse.statusCode, JSON.stringify(apiClientResponse.body));
    }
/**
     * Performs validation logic on api responses and throws an error if a problem is found
     *
     * @param {ApiClientResponse} apiClientResponse response originated from the Api call
     * @returns {void}
     * @private
     * @memberOf DirectiveService
     */
Performs validation logic on api responses and throws an error if a problem is found
@param {ApiClientResponse} apiClientResponse response originated from the Api call
@returns {void}
@private
@memberOf DirectiveService
Performs validation logic on api responses and throws an error if a problem is found @param { ApiClientResponse } apiClientResponse response originated from the Api call @returns { void } @private @memberOf DirectiveService
__validateApiResponse(apiClientResponse) {
        let isResponseCodeValid = apiClientResponse.statusCode >= 200 && apiClientResponse.statusCode < 300;
        if (isResponseCodeValid) {
            return;
        }
        throw new ServiceError(apiClientResponse.statusCode, JSON.stringify(apiClientResponse.body));
    }
__validateApiResponse ( apiClientResponse ) { let isResponseCodeValid = apiClientResponse . statusCode >= 200 && apiClientResponse . statusCode < 300 ; if ( isResponseCodeValid ) { return ; } throw new ServiceError ( apiClientResponse . statusCode , JSON . stringify ( apiClientResponse . body ) ) ; }
Performs validation logic on api responses and throws an error if a problem is found
 @param {ApiClientResponse} apiClientResponse response originated from the Api call
 @returns {void}
 @private
 @memberOf DirectiveService
Performs validation logic on api responses and throws an error if a problem is found @param { ApiClientResponse } apiClientResponse response originated from the Api call @returns { void } @private @memberOf DirectiveService