Class SlackClient.GenericSlackResponse
java.lang.Object
java.util.AbstractMap<K,V>
java.util.HashMap<String,Object>
es.kukenan.smartfi.microservice.communication.service.provider.impl.slack.SlackClient.GenericSlackResponse
- All Implemented Interfaces:
Serializable,Cloneable,Map<String,Object>
- Direct Known Subclasses:
SlackClient.UserObjectResponse
- Enclosing class:
SlackClient
Generic slack response.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K, V> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanisOk()Method that checks the response to be a success.Methods inherited from class java.util.HashMap
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, newHashMap, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, valuesMethods inherited from class java.util.AbstractMap
equals, hashCode, toString
-
Constructor Details
-
GenericSlackResponse
private GenericSlackResponse()
-
-
Method Details
-
isOk
public boolean isOk()Method that checks the response to be a success.- Returns:
- true if the response is a Slack response with a success.
-