Submit a ticketCall us

AnnouncementsTHWACKcamp 2018 is here

2018 is the seventh year for THWACKcamp™, and once again we’ll be live October 17 – 18 with packed session tracks covering everything from network monitoring and management, to change control, application management, storage, cloud and DevOps, security, automation, virtualization, mapping, logging, and more.

Register for online sessions.

Home > Success Center > Kiwi CatTools > Kiwi CatTools Documentation > Kiwi CatTools 3.11 Administrator Guide > API > CatTools API Classes > CatTools Devices class

CatTools Devices class

Table of contents
No headers
Created by Caroline Juszczak, last modified by Caroline Juszczak on Jun 28, 2016

Views: 175 Votes: 0 Revisions: 1

The Devices class is used to enumerate CatTools Device objects and to enact changes to a Device. ie add, edit and delete.

 

The following Methods and Properties are available :

 

Properties

 

Count

Returns the number of devices in your database.

 

Methods

 

AddNew

Returns a Device. This Device can then have its settings modified before being saved to the database.

Takes as a property the name of the device-type that you would like to create.

 

DeleteByDevice

Deletes a device from the database. Takes a device object as a parameter.

 

DeleteByName

Deletes a device from the database using the devices name as an identifier.

 

GetByName

Returns a Device object. Takes the devices name as a parameter.

 

Items

The collection of Device objects.

 

Refresh

Resyncronise with the database.

 

SaveDevice

Saves a Device object to the database. Takes the Device to be saved as a parameter.

 

Last modified

Tags

Classifications

Public