new-integration-tests/src/test/java/oracle/weblogic/kubernetes/actions/impl/primitive/Kubernetes.java
@SuppressWarnings("unchecked")
  private static <T> T handleResponse(Object response, Class<T> type) {
    JsonElement jsonElement = convertToJson(response);
    return apiClient.getJSON().getGson().fromJson(jsonElement, type);
  }
/**
   * Converts the response to appropriate type.
   *
   * @param response response object to convert
   * @param type the type to convert into
   * @return the Java object of the type the response object is converted to
   */
Converts the response to appropriate type.
@param response response object to convert
@param type the type to convert into
@return the Java object of the type the response object is converted to
Converts the response to appropriate type . @param response response object to convert @param type the type to convert into @return the Java object of the type the response object is converted to
@SuppressWarnings("unchecked")
  private static <T> T handleResponse(Object response, Class<T> type) {
    JsonElement jsonElement = convertToJson(response);
    return apiClient.getJSON().getGson().fromJson(jsonElement, type);
  }
@ SuppressWarnings ( "unchecked" ) private static < T > T handleResponse ( Object response , Class < T > type ) { JsonElement jsonElement = convertToJson ( response ) ; return apiClient . getJSON ( ) . getGson ( ) . fromJson ( jsonElement , type ) ; }
Converts the response to appropriate type.
Converts the response to appropriate type .