Example #1
0
 /** Use this API to update lbsipparameters. */
 public static base_response update(nitro_service client, lbsipparameters resource)
     throws Exception {
   lbsipparameters updateresource = new lbsipparameters();
   updateresource.rnatsrcport = resource.rnatsrcport;
   updateresource.rnatdstport = resource.rnatdstport;
   updateresource.retrydur = resource.retrydur;
   updateresource.addrportvip = resource.addrportvip;
   updateresource.sip503ratethreshold = resource.sip503ratethreshold;
   return updateresource.update_resource(client);
 }
Example #2
0
 /** Use this API to fetch all the lbsipparameters resources that are configured on netscaler. */
 public static lbsipparameters get(nitro_service service, options option) throws Exception {
   lbsipparameters obj = new lbsipparameters();
   lbsipparameters[] response = (lbsipparameters[]) obj.get_resources(service, option);
   return response[0];
 }
Example #3
0
 /**
  * Use this API to unset the properties of lbsipparameters resource. Properties that need to be
  * unset are specified in args array.
  */
 public static base_response unset(nitro_service client, lbsipparameters resource, String[] args)
     throws Exception {
   lbsipparameters unsetresource = new lbsipparameters();
   return unsetresource.unset_resource(client, args);
 }