public static base_response update ( nitro_service client , cmpparameter resource ) throws Exception { cmpparameter updateresource = new cmpparameter ( ) ; updateresource . cmplevel = resource . cmplevel ; updateresource . quantumsize = resource . quantumsize ; updateresource . servercmp = resource . servercmp ; updateresource . heurexpiry = resource . heurexpiry ; updateresource . heurexpirythres = resource . heurexpirythres ; updateresource . heurexpiryhistwt = resource . heurexpiryhistwt ; updateresource . minressize = resource . minressize ; updateresource . cmpbypasspct = resource . cmpbypasspct ; updateresource . cmponpush = resource . cmponpush ; updateresource . policytype = resource . policytype ; updateresource . addvaryheader = resource . addvaryheader ; updateresource . externalcache = resource . externalcache ; return updateresource . update_resource ( client ) ; }
Use this API to update cmpparameter .