ApiValidationResult¶
-
class
oci.apigateway.models.
ApiValidationResult
(**kwargs)¶ Bases:
object
The result of single validation.
Attributes
RESULT_ERROR
A constant which can be used with the result property of a ApiValidationResult. RESULT_FAILED
A constant which can be used with the result property of a ApiValidationResult. RESULT_OK
A constant which can be used with the result property of a ApiValidationResult. RESULT_WARNING
A constant which can be used with the result property of a ApiValidationResult. name
[Required] Gets the name of this ApiValidationResult. result
[Required] Gets the result of this ApiValidationResult. Methods
__init__
(**kwargs)Initializes a new ApiValidationResult object with values from keyword arguments. -
RESULT_ERROR
= 'ERROR'¶ A constant which can be used with the result property of a ApiValidationResult. This constant has a value of “ERROR”
-
RESULT_FAILED
= 'FAILED'¶ A constant which can be used with the result property of a ApiValidationResult. This constant has a value of “FAILED”
-
RESULT_OK
= 'OK'¶ A constant which can be used with the result property of a ApiValidationResult. This constant has a value of “OK”
-
RESULT_WARNING
= 'WARNING'¶ A constant which can be used with the result property of a ApiValidationResult. This constant has a value of “WARNING”
-
__init__
(**kwargs)¶ Initializes a new ApiValidationResult object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - name (str) – The value to assign to the name property of this ApiValidationResult.
- result (str) – The value to assign to the result property of this ApiValidationResult. Allowed values for this property are: “ERROR”, “WARNING”, “OK”, “FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
-
name
¶ [Required] Gets the name of this ApiValidationResult. Name of the validation.
Returns: The name of this ApiValidationResult. Return type: str
-
result
¶ [Required] Gets the result of this ApiValidationResult. Result of the validation.
Allowed values for this property are: “ERROR”, “WARNING”, “OK”, “FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The result of this ApiValidationResult. Return type: str
-