docs: public static base_response update(nitro_service client, snmptrap resource) throws Exception {
  		snmptrap updateresource = new snmptrap();
  		updateresource.trapclass = resource.trapclass;
  		updateresource.trapdestination = resource.trapdestination;
  		updateresource.destport = resource.destport;
  		updateresource.version = resource.version;
  		updateresource.communityname = resource.communityname;
  		updateresource.srcip = resource.srcip;
  		updateresource.severity = resource.severity;
  		return updateresource.update_resource(client);
  	}