ApiValidationDetail¶
-
class
oci.apigateway.models.
ApiValidationDetail
(**kwargs)¶ Bases:
object
Detail of a single error or warning.
Attributes
SEVERITY_ERROR
A constant which can be used with the severity property of a ApiValidationDetail. SEVERITY_INFO
A constant which can be used with the severity property of a ApiValidationDetail. SEVERITY_WARNING
A constant which can be used with the severity property of a ApiValidationDetail. msg
Gets the msg of this ApiValidationDetail. severity
Gets the severity of this ApiValidationDetail. src
Gets the src of this ApiValidationDetail. Methods
__init__
(**kwargs)Initializes a new ApiValidationDetail object with values from keyword arguments. -
SEVERITY_ERROR
= 'ERROR'¶ A constant which can be used with the severity property of a ApiValidationDetail. This constant has a value of “ERROR”
-
SEVERITY_INFO
= 'INFO'¶ A constant which can be used with the severity property of a ApiValidationDetail. This constant has a value of “INFO”
-
SEVERITY_WARNING
= 'WARNING'¶ A constant which can be used with the severity property of a ApiValidationDetail. This constant has a value of “WARNING”
-
__init__
(**kwargs)¶ Initializes a new ApiValidationDetail object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - msg (str) – The value to assign to the msg property of this ApiValidationDetail.
- severity (str) – The value to assign to the severity property of this ApiValidationDetail. Allowed values for this property are: “INFO”, “WARNING”, “ERROR”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- src (list[list[float]]) – The value to assign to the src property of this ApiValidationDetail.
-
msg
¶ Gets the msg of this ApiValidationDetail. Description of the warning/error.
Returns: The msg of this ApiValidationDetail. Return type: str
-
severity
¶ Gets the severity of this ApiValidationDetail. Severity of the issue.
Allowed values for this property are: “INFO”, “WARNING”, “ERROR”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The severity of this ApiValidationDetail. Return type: str
-
src
¶ Gets the src of this ApiValidationDetail. Position of the issue in the specification file (line, column).
Returns: The src of this ApiValidationDetail. Return type: list[list[float]]
-