HeaderValidationItem

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

Bases: object

Header validation properties.

Methods

__init__(**kwargs) Initializes a new HeaderValidationItem object with values from keyword arguments.

Attributes

name [Required] Gets the name of this HeaderValidationItem.
required Gets the required of this HeaderValidationItem.
__init__(**kwargs)

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

Parameters:
  • required (bool) – The value to assign to the required property of this HeaderValidationItem.
  • name (str) – The value to assign to the name property of this HeaderValidationItem.
name

[Required] Gets the name of this HeaderValidationItem. Parameter name.

Returns:The name of this HeaderValidationItem.
Return type:str
required

Gets the required of this HeaderValidationItem. Determines if the header is required in the request.

Returns:The required of this HeaderValidationItem.
Return type:bool