ValidationResult

class oci.data_connectivity.models.ValidationResult(**kwargs)

Bases: object

Validation Result object for a single DataAsset.

Attributes

STATUS_ERROR A constant which can be used with the status property of a ValidationResult.
STATUS_SUCCESS A constant which can be used with the status property of a ValidationResult.
error_msg Gets the error_msg of this ValidationResult.
status Gets the status of this ValidationResult.

Methods

__init__(**kwargs) Initializes a new ValidationResult object with values from keyword arguments.
STATUS_ERROR = 'ERROR'

A constant which can be used with the status property of a ValidationResult. This constant has a value of “ERROR”

STATUS_SUCCESS = 'SUCCESS'

A constant which can be used with the status property of a ValidationResult. This constant has a value of “SUCCESS”

__init__(**kwargs)

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

Parameters:
  • error_msg (str) – The value to assign to the error_msg property of this ValidationResult.
  • status (str) – The value to assign to the status property of this ValidationResult. Allowed values for this property are: “ERROR”, “SUCCESS”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
error_msg

Gets the error_msg of this ValidationResult. Error text for validation failure

Returns:The error_msg of this ValidationResult.
Return type:str
status

Gets the status of this ValidationResult. Status of the validatio result execution

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

Returns:The status of this ValidationResult.
Return type:str