public static base_response update ( nitro_service client , ptp resource ) throws Exception { ptp updateresource = new ptp ( ) ; updateresource . state = resource . state ; return updateresource . update_resource ( client ) ; }
Use this API to update ptp .