code: public Observable<List<PatternRuleInfo>> getIntentPatternsAsync(UUID appId, String versionId, UUID intentId, GetIntentPatternsOptionalParameter getIntentPatternsOptionalParameter) {
          return getIntentPatternsWithServiceResponseAsync(appId, versionId, intentId, getIntentPatternsOptionalParameter).map(new Func1<ServiceResponse<List<PatternRuleInfo>>, List<PatternRuleInfo>>() {
              @Override
              public List<PatternRuleInfo> call(ServiceResponse<List<PatternRuleInfo>> response) {
                  return response.body();
              }
          });
      }
docs: Returns patterns to be retrieved for the specific intent.
  
  @param appId The application ID.
  @param versionId The version ID.
  @param intentId The intent classifier ID.
  @param getIntentPatternsOptionalParameter the object representing the optional parameters to be set before calling this API
  @throws IllegalArgumentException thrown if parameters fail the validation
  @return the observable to the List&lt;PatternRuleInfo&gt; object