public static base_response add ( nitro_service client , pqpolicy resource ) throws Exception { pqpolicy addresource = new pqpolicy ( ) ; addresource . policyname = resource . policyname ; addresource . rule = resource . rule ; addresource . priority = resource . priority ; addresource . weight = resource . weight ; addresource . qdepth = resource . qdepth ; addresource . polqdepth = resource . polqdepth ; return addresource . add_resource ( client ) ; }
Use this API to add pqpolicy .