private static String convertActionTypeToIntent(RamlActionType actionType,boolean isTargetCollection){
switch (actionType) {
case DELETE:
    return "delete";
case GET:
  return "get";
case POST:
if (isTargetCollection) {
  return "create";
}
case PUT:
return "update";
case PATCH:
return "modify";
default :
return "do";
}
}

private static String convertActionTypeToIntent ( RamlActionType actionType , boolean isTargetCollection ) { switch ( actionType ) { case DELETE : return "delete" ; case GET : return "get" ; case POST : if ( isTargetCollection ) { return "create" ; } case PUT : return "update" ; case PATCH : return "modify" ; default : return "do" ; } }
attempts to convert the http verb into a textual representation of intent based on rest conventions
