ApiValidationDetails

class oci.apigateway.models.ApiValidationDetails(**kwargs)

Bases: object

Detail of an error or warning.

Attributes

RESULT_ERROR A constant which can be used with the result property of a ApiValidationDetails.
RESULT_FAILED A constant which can be used with the result property of a ApiValidationDetails.
RESULT_OK A constant which can be used with the result property of a ApiValidationDetails.
RESULT_WARNING A constant which can be used with the result property of a ApiValidationDetails.
details Gets the details of this ApiValidationDetails.
name [Required] Gets the name of this ApiValidationDetails.
result [Required] Gets the result of this ApiValidationDetails.

Methods

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

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

RESULT_FAILED = 'FAILED'

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

RESULT_OK = 'OK'

A constant which can be used with the result property of a ApiValidationDetails. This constant has a value of “OK”

RESULT_WARNING = 'WARNING'

A constant which can be used with the result property of a ApiValidationDetails. This constant has a value of “WARNING”

__init__(**kwargs)

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

Parameters:
  • details (list[oci.apigateway.models.ApiValidationDetail]) – The value to assign to the details property of this ApiValidationDetails.
  • name (str) – The value to assign to the name property of this ApiValidationDetails.
  • result (str) – The value to assign to the result property of this ApiValidationDetails. 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’.
details

Gets the details of this ApiValidationDetails. Details of validation.

Returns:The details of this ApiValidationDetails.
Return type:list[oci.apigateway.models.ApiValidationDetail]
name

[Required] Gets the name of this ApiValidationDetails. Name of the validation.

Returns:The name of this ApiValidationDetails.
Return type:str
result

[Required] Gets the result of this ApiValidationDetails. 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 ApiValidationDetails.
Return type:str