Struct HttpElementLocation
The location of the API key. This enum is not supported in Gemini API.
[JsonConverter(typeof(HttpElementLocationConverter))]
public readonly record struct HttpElementLocation : IEquatable<HttpElementLocation>
- Implements
- Inherited Members
Properties
AllValues
public static IReadOnlyList<HttpElementLocation> AllValues { get; }
Property Value
HttpInBody
Element is in the HTTP request body.
public static HttpElementLocation HttpInBody { get; }
Property Value
HttpInCookie
Element is in the HTTP request cookie.
public static HttpElementLocation HttpInCookie { get; }
Property Value
HttpInHeader
Element is in the HTTP request header.
public static HttpElementLocation HttpInHeader { get; }
Property Value
HttpInPath
Element is in the HTTP request path.
public static HttpElementLocation HttpInPath { get; }
Property Value
HttpInQuery
Element is in the HTTP request query.
public static HttpElementLocation HttpInQuery { get; }
Property Value
HttpInUnspecified
public static HttpElementLocation HttpInUnspecified { get; }
Property Value
Value
public string Value { get; }
Property Value
Methods
Equals(HttpElementLocation)
public bool Equals(HttpElementLocation other)
Parameters
otherHttpElementLocation
Returns
FromString(string)
public static HttpElementLocation FromString(string value)
Parameters
valuestring
Returns
GetHashCode()
public override int GetHashCode()
Returns
ToString()
public override string ToString()
Returns
Operators
implicit operator HttpElementLocation(string)
public static implicit operator HttpElementLocation(string value)
Parameters
valuestring