public static base_response add ( nitro_service client , nssimpleacl resource ) throws Exception { nssimpleacl addresource = new nssimpleacl ( ) ; addresource . aclname = resource . aclname ; addresource . aclaction = resource . aclaction ; addresource . td = resource . td ; addresource . srcip = resource . srcip ; addresource . destport = resource . destport ; addresource . protocol = resource . protocol ; addresource . ttl = resource . ttl ; return addresource . add_resource ( client ) ; }
Use this API to add nssimpleacl .