UserAssessmentComparison

class oci.data_safe.models.UserAssessmentComparison(**kwargs)

Bases: object

Provides a list of differences for user assessment when compared with the baseline value.

Attributes

LIFECYCLE_STATE_CREATING A constant which can be used with the lifecycle_state property of a UserAssessmentComparison.
LIFECYCLE_STATE_FAILED A constant which can be used with the lifecycle_state property of a UserAssessmentComparison.
LIFECYCLE_STATE_SUCCEEDED A constant which can be used with the lifecycle_state property of a UserAssessmentComparison.
lifecycle_state [Required] Gets the lifecycle_state of this UserAssessmentComparison.
summary Gets the summary of this UserAssessmentComparison.
time_created [Required] Gets the time_created of this UserAssessmentComparison.

Methods

__init__(**kwargs) Initializes a new UserAssessmentComparison object with values from keyword arguments.
LIFECYCLE_STATE_CREATING = 'CREATING'

A constant which can be used with the lifecycle_state property of a UserAssessmentComparison. This constant has a value of “CREATING”

LIFECYCLE_STATE_FAILED = 'FAILED'

A constant which can be used with the lifecycle_state property of a UserAssessmentComparison. This constant has a value of “FAILED”

LIFECYCLE_STATE_SUCCEEDED = 'SUCCEEDED'

A constant which can be used with the lifecycle_state property of a UserAssessmentComparison. This constant has a value of “SUCCEEDED”

__init__(**kwargs)

Initializes a new UserAssessmentComparison object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • lifecycle_state (str) – The value to assign to the lifecycle_state property of this UserAssessmentComparison. Allowed values for this property are: “CREATING”, “SUCCEEDED”, “FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • time_created (datetime) – The value to assign to the time_created property of this UserAssessmentComparison.
  • summary (list[object]) – The value to assign to the summary property of this UserAssessmentComparison.
lifecycle_state

[Required] Gets the lifecycle_state of this UserAssessmentComparison. The current state of the user assessment comparison.

Allowed values for this property are: “CREATING”, “SUCCEEDED”, “FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The lifecycle_state of this UserAssessmentComparison.
Return type:str
summary

Gets the summary of this UserAssessmentComparison. List containing maps as values. Example: {“Operations”: [ {“CostCenter”: “42”} ] }

Returns:The summary of this UserAssessmentComparison.
Return type:list[object]
time_created

[Required] Gets the time_created of this UserAssessmentComparison. The date and time the user assessment comparison was created, in the format defined by RFC3339.

Returns:The time_created of this UserAssessmentComparison.
Return type:datetime