SetHeaderPolicy

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

Bases: object

Set HTTP headers as they pass through the gateway.

Methods

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

Attributes

items [Required] Gets the items of this SetHeaderPolicy.
__init__(**kwargs)

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

Parameters:items (list[oci.apigateway.models.SetHeaderPolicyItem]) – The value to assign to the items property of this SetHeaderPolicy.
items

[Required] Gets the items of this SetHeaderPolicy. The list of headers.

Returns:The items of this SetHeaderPolicy.
Return type:list[oci.apigateway.models.SetHeaderPolicyItem]