{
  "synLogic": "int $ret \u003d $api($1, $2, $3);",
  "help": "The ns_check_reply_size compares the response size with specfied size",
  "notes": "GIVE DESCRIPTION OF MODE AND HOW IT CAN BE USED",
  "returns": "\nSIZE_AS_PER_MODE  0 : on success if the response size is as per mode.\n SIZE_TO_SMALL  1 : if response/reply size is small.\n SIZE_TO_BIG  2 : if response/reply size is big.\n -1 : on error",
  "arguments": "",
  "parameterization": "Standard parameterization is not available for this api",
  "name": "ns_check_reply_size",
  "syntax": "int ns_check_reply_size(int min_max, int min_value, int max_value);",
  "javaSyntax": "int ns_check_reply_size(int min_max, int min_value, int max_value);",
  "jsSyntax": "int ns_check_reply_size(int min_max, int min_value, int max_value);",
  "cEx": "flow()\n{\n  ns_check_reply_size(NS_CHK_REP_SZ_MODE_NOT_BETWEEN_MIN_MAX, MIN_VAL, MAX_VAL);\n}",
  "javaEx": "public class flow implements NsFlow\n{\n  public int execute(NSApi nsApi) throws Exception\n  {\n  nsApi.ns_check_reply_size(NS_CHK_REP_SZ_MODE_NOT_BETWEEN_MIN_MAX, MIN_VAL, MAX_VAL);\n  }\n}",
  "jsEx": "nsApi.ns_check_reply_size(NS_CHK_REP_SZ_MODE_NOT_BETWEEN_MIN_MAX, MIN_VAL, MAX_VAL);",
  "insertStrC": "ns_check_reply_size(int min_max, int min_value, int max_value);",
  "insertStrJava": "ns_check_reply_size(int min_max, int min_value, int max_value);",
  "insertStrJs": "ns_check_reply_size(int min_max, int min_value, int max_value);",
  "description": "It compares the response size with specified size",
  "component":[
        {
	  "id":"$1",
	  "type":"Dropdown",
	  "label":"Between Min Max",
          "labelVarCheckbox":"",
	  "value":"NS_CHK_REP_SZ_MODE_NOT_BETWEEN_MIN_MAX",
	  "css":"p-grid p-align-center w-100-p",
	  "title":"Enter Between Min Max",
	  "placeHolder":"Enter Between Min Max",
	  "style":"",
	  "isDisabled":"",
	  "list":[
	       	{
		   "label":"Between Min Max",
		   "value":"NS_CHK_REP_SZ_MODE_NOT_BETWEEN_MIN_MAX"
		}
	 ],
	 "validate":{	
		 "required":true
	 }
	},
          {
            "id": "$2",
            "type": "TextField",
            "label": "Min Value",
            "labelVarCheckbox":"",
            "value": "",
            "css": "p-grid p-align-center w-100-p",
            "title": "Enter the First Value",
            "placeHolder": "",
            "style": "",
            "isDisabled": "",
            "validate": {
              "inputType": "Number",
              "min":"0",
              "max":"2147483647",
               "required":true
            }
          },
          {
            "id": "$3",
            "type": "TextField",
            "label": "Max Value",
            "labelVarCheckbox":"",
            "value": "",
            "css": "p-grid p-align-center w-100-p",
            "title": "Enter Second Value",
            "placeHolder": "",
            "style": "",
            "isDisabled": "",
            "validate": {
              "inputType": "Number",
              "min":"0",
              "max":"2147483647",
               "required":true
            }
          },
          {
            "id": "$ret",
            "type": "TextField",
            "label": "Return Value",
            "labelVarCheckbox":"",
            "value": "",
            "css": "p-grid p-align-center w-100-p",
            "title": "First character must be Alpha.\r\nOther characters are Alpha, Numeric or Underscore",
            "placeHolder": "",
            "style": "",
            "isDisabled": "",
            "validate": {
              "inputType": "Text",
              "required":false,
	      "pattern": "^[a-zA-Z][a-zA-Z0-9_]{0,63}$",
	      "method": "isValidVar(arg)"
            }
          }

  ]
}
