Module model_status

Amber API Server

Boon Logic Amber API server

OpenAPI spec version: 2.0.0

Generated by: https://github.com/swagger-api/swagger-codegen.git

Classes

class ModelStatus (state=None, warning_level=None, compliance_score=None, sample_count=None, cluster_count=None, progress=None, message=None, graduation=None, last_modified=None, last_modified_delta=None)

NOTE: This class is auto generated by the swagger code generator program.

Do not edit the class manually.

ModelStatus - a model defined in Swagger

Subclasses

Instance variables

var cluster_count

Gets the cluster_count of this ModelStatus.

Total number of clusters generated by patterns so far.

:return: The cluster_count of this ModelStatus. :rtype: int

var compliance_score

Gets the compliance_score of this ModelStatus.

Current Amber compliance score: a ranged measure of the compliance of recent behavior compared to behavior observed in Learning. - 0: asset critical - 100: OK

:return: The compliance_score of this ModelStatus. :rtype: int

var graduation

Gets the graduation of this ModelStatus.

Reason for learning being turned off.

:return: The graduation of this ModelStatus. :rtype: str

var last_modified

Gets the last_modified of this ModelStatus.

Unix time stamp of the last posted stream data

:return: The last_modified of this ModelStatus. :rtype: int

var last_modified_delta

Gets the last_modified_delta of this ModelStatus.

number of seconds since the last posted stream data

:return: The last_modified_delta of this ModelStatus. :rtype: int

var message

Gets the message of this ModelStatus.

Status description.

:return: The message of this ModelStatus. :rtype: str

var progress

Gets the progress of this ModelStatus.

During Buffering, Learning and Autotuning: estimated progress through the current state as an integer percentage. During Monitoring: this field does not apply.

:return: The progress of this ModelStatus. :rtype: int

var sample_count

Gets the sample_count of this ModelStatus.

Total number of patterns processed since configuration.

:return: The sample_count of this ModelStatus. :rtype: int

var state

Gets the state of this ModelStatus.

:return: The state of this ModelStatus. :rtype: AmberState

var warning_level

Gets the warning_level of this ModelStatus.

Current Amber warning level, a measure of the compliance of recent behavior compared to behavior observed Learning. - 0: OK - 1: asset changing - 2: asset critical

:return: The warning_level of this ModelStatus. :rtype: int

Methods

def to_dict(self)

Returns the model properties as a dict

def to_str(self)

Returns the string representation of the model