Class SetQueryParameterPolicyItem
Set will add a new query parameter if it was not in the original request. If the parameter already exists on the request, you can choose to override, append, or skip it.
Inherited Members
Namespace: Oci.ApigatewayService.Models
Assembly: OCI.DotNetSDK.Apigateway.dll
Syntax
public class SetQueryParameterPolicyItem
Properties
IfExists
Declaration
[JsonProperty(PropertyName = "ifExists")]
[JsonConverter(typeof(ResponseEnumConverter))]
public SetQueryParameterPolicyItem.IfExistsEnum? IfExists { get; set; }
Property Value
Type | Description |
---|---|
SetQueryParameterPolicyItem.IfExistsEnum? | If a query parameter with the same name already exists in the request, OVERWRITE will overwrite the value, APPEND will append to the existing value, or SKIP will keep the existing value. |
Name
Declaration
[Required(ErrorMessage = "Name is required.")]
[JsonProperty(PropertyName = "name")]
public string Name { get; set; }
Property Value
Type | Description |
---|---|
string | The case-sensitive name of the query parameter. This name must be unique across transformation policies. |
Remarks
Required
Values
Declaration
[Required(ErrorMessage = "Values is required.")]
[JsonProperty(PropertyName = "values")]
public List<string> Values { get; set; }
Property Value
Type | Description |
---|---|
List<string> | A list of new values. Each value can be a constant or may include one or more expressions enclosed within ${} delimiters. |
Remarks
Required