code: public List<PatternRuleInfo> updatePatterns(UUID appId, String versionId, List<PatternRuleUpdateObject> patterns) {
          return updatePatternsWithServiceResponseAsync(appId, versionId, patterns).toBlocking().single().body();
      }
docs: Updates patterns.
  
  @param appId The application ID.
  @param versionId The version ID.
  @param patterns An array represents the patterns.
  @throws IllegalArgumentException thrown if parameters fail the validation
  @throws ErrorResponseException thrown if the request is rejected by server
  @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
  @return the List&lt;PatternRuleInfo&gt; object if successful.