ResponseHeader

class oci.waf.models.ResponseHeader(**kwargs)

Bases: object

A header field to add to a response.

Methods

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

Attributes

name [Required] Gets the name of this ResponseHeader.
value [Required] Gets the value of this ResponseHeader.
__init__(**kwargs)

Initializes a new ResponseHeader 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 ResponseHeader.
  • value (str) – The value to assign to the value property of this ResponseHeader.
name

[Required] Gets the name of this ResponseHeader. The name of the header field.

Returns:The name of this ResponseHeader.
Return type:str
value

[Required] Gets the value of this ResponseHeader. The value of the header field.

Returns:The value of this ResponseHeader.
Return type:str