HeaderFieldSpecification

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

Bases: object

Header in key/value pair.

Methods:

__init__(**kwargs)

Initializes a new HeaderFieldSpecification object with values from keyword arguments.

Attributes:

name

Gets the name of this HeaderFieldSpecification.

value

Gets the value of this HeaderFieldSpecification.

__init__(**kwargs)

Initializes a new HeaderFieldSpecification 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 HeaderFieldSpecification.

  • value (str) – The value to assign to the value property of this HeaderFieldSpecification.

property name

Gets the name of this HeaderFieldSpecification. Name of the header.

Returns

The name of this HeaderFieldSpecification.

Return type

str

property value

Gets the value of this HeaderFieldSpecification. Value of the header.

Returns

The value of this HeaderFieldSpecification.

Return type

str