Machina Client SDK Version 2.1.2
Ionic Security Machina Client SDK for Python users
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
ionicsdk.common.DeviceProfileList Class Reference

List of DeviceProfiles. More...

Inheritance diagram for ionicsdk.common.DeviceProfileList:

Public Member Functions

def __init__ (self)
 Contsructs an empty list.
 
def getdeviceids (self)
 Find DeviceProfile with a matching deviceid. More...
 
def SaveAllProfiles (self, devicePersistor)
 Saves all profiles, generally into an encrypted json file. More...
 

Static Public Member Functions

def LoadAllProfiles (devicePersistor)
 Loads all profiles, generally from an encrypted json file. More...
 

Public Attributes

 activeDeviceId
 (string) Device ID of the active profile
 

Detailed Description

List of DeviceProfiles.

Member Function Documentation

◆ getdeviceids()

def ionicsdk.common.DeviceProfileList.getdeviceids (   self)

Find DeviceProfile with a matching deviceid.

Returns
The DeviceProfile instance or None if not found

◆ LoadAllProfiles()

def ionicsdk.common.DeviceProfileList.LoadAllProfiles (   devicePersistor)
static

Loads all profiles, generally from an encrypted json file.

Parameters
devicePersistor(DeviceProfilePersistorBase) instance used to load and save device profiles
Returns
A DeviceProfileList instance

◆ SaveAllProfiles()

def ionicsdk.common.DeviceProfileList.SaveAllProfiles (   self,
  devicePersistor 
)

Saves all profiles, generally into an encrypted json file.

Parameters
devicePersistor(DeviceProfilePersistorBase) instance used to load and save device profiles
Returns
None, raises an exception on errors

The documentation for this class was generated from the following file: