Class RetrievalConfig
Retrieval config.
public record RetrievalConfig : IEquatable<RetrievalConfig>
- Inheritance
-
RetrievalConfig
- Implements
- Inherited Members
Properties
LanguageCode
The language code of the user.
[JsonPropertyName("languageCode")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public string? LanguageCode { get; set; }
Property Value
LatLng
The location of the user.
[JsonPropertyName("latLng")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public LatLng? LatLng { get; set; }
Property Value
Methods
FromJson(string, JsonSerializerOptions?)
Deserializes a JSON string to a RetrievalConfig object.
public static RetrievalConfig? FromJson(string jsonString, JsonSerializerOptions? options = null)
Parameters
jsonStringstringThe JSON string to deserialize.
optionsJsonSerializerOptionsOptional JsonSerializerOptions.
Returns
- RetrievalConfig
The deserialized RetrievalConfig object, or null if deserialization fails.