code: public static nstcpprofile[] get(nitro_service service) throws Exception{
  		nstcpprofile obj = new nstcpprofile();
  		nstcpprofile[] response = (nstcpprofile[])obj.get_resources(service);
  		return response;
  	}
docs: Use this API to fetch all the nstcpprofile resources that are configured on netscaler.