@SuppressWarnings("unchecked") public K getId() { return (K) super.getId(); }
Object id = ResponseUtils.translateCanonicalKeyToAlternativeKeyIfNeeded(createResponse.getId(), routingResult); if (createResponse.getError() == null)
if (createResponse.hasId()) id = ResponseUtils.translateCanonicalKeyToAlternativeKeyIfNeeded(createResponse.getId(), routingResult); final ProtocolVersion protocolVersion = routingResult.getContext().getRestliProtocolVersion(); String stringKey = URIParamUtils.encodeKeyForUri(id, UriComponent.Type.PATH_SEGMENT, protocolVersion);