public static base_response add ( nitro_service client , nstimer resource ) throws Exception { nstimer addresource = new nstimer ( ) ; addresource . name = resource . name ; addresource . interval = resource . interval ; addresource . unit = resource . unit ; addresource . comment = resource . comment ; return addresource . add_resource ( client ) ; }
Use this API to add nstimer .