RenameHeaderPolicyItem

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

Bases: object

The value will be a copy of the original value of the source header and will not be affected by any other transformation policies applied to that header.

Methods

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

Attributes

to [Required] Gets the to of this RenameHeaderPolicyItem.
__init__(**kwargs)

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

Parameters:
  • _from (str) – The value to assign to the _from property of this RenameHeaderPolicyItem.
  • to (str) – The value to assign to the to property of this RenameHeaderPolicyItem.
to

[Required] Gets the to of this RenameHeaderPolicyItem. The new name of the header. This name must be unique across transformation policies.

Returns:The to of this RenameHeaderPolicyItem.
Return type:str