code: private String getEntityName() throws ODataUnmarshallingException {
          String odataType = odataValues.get(JsonConstants.TYPE);
          if (isNullOrEmpty(odataType)) {
              TargetType targetType = getTargetType();
              if (targetType == null) {
                  throw new ODataUnmarshallingException("Could not find entity name");
              }
              return targetType.typeName();
          } else {
              if (odataType.startsWith("#")) {
                  odataType = odataType.substring(1);
              }
              return odataType;
          }
      }
docs: Gets the entity type name.
  
  @return the entity type
  @throws ODataUnmarshallingException