ResponseHeader¶
- class oci.waf.models.ResponseHeader(**kwargs)¶
Bases:
objectA header field to add to a response.
Methods:
__init__(**kwargs)Initializes a new ResponseHeader object with values from keyword arguments.
Attributes:
[Required] Gets the name of this ResponseHeader.
[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.
- property name¶
[Required] Gets the name of this ResponseHeader. The name of the header field.
- Returns
The name of this ResponseHeader.
- Return type
str
- property value¶
[Required] Gets the value of this ResponseHeader. The value of the header field.
- Returns
The value of this ResponseHeader.
- Return type
str