Skip to main content

system.kanoa.performanceState.getPerformanceStateClasses

Description

Returns performanceStateClass info for given parameters

Syntax

getPerformanceStateClasses(paramsDict)

Parameters:
  • paramsDict (dict)

  • Returns:
  • performanceStateClassData (pyDataset)
  • Dictionary

    ParameterTypeRequiredNotes
    enabledbool
    performanceStateClassNamestring
    performanceStateClassPathstring
    performanceStateClassIdint
    performanceStateClassIdListlist[int]

    Code Examples

    # Example Usage:
    data = system.kanoa.performanceState.getPerformanceStateClasses({'enabled': True})
    print system.kanoa.utilities.convertDatasetToJSON(data)
    >
    {
    'performanceStateClassDescription': None,
    'performanceStateClassPath': 'Operations',
    'performanceStateClassId': 1,
    'parentId': None,
    'enabled': True,
    'path': 'Operations',
    'changedDate': Wed Apr 02 21:23:30 UTC 2025,
    'createdDate': Wed Apr 02 21:22:53 UTC 2025,
    'performanceStateClassName': 'Operations',
    'createdBy': 5,
    'changedBy': 5,
    'parentEnabled': True
    }

    >>>