Class BatchGeocodeResult
Per-input batch geocode result with partial-failure metadata.
public sealed record BatchGeocodeResult : IEquatable<BatchGeocodeResult>
- Inheritance
-
BatchGeocodeResult
- Implements
- Inherited Members
Constructors
BatchGeocodeResult(int, string, string?, GeocodeResult?, string?, IReadOnlyDictionary<string, string?>)
Per-input batch geocode result with partial-failure metadata.
public BatchGeocodeResult(int InputId, string InputAddress, string? Status, GeocodeResult? Result, string? ErrorMessage, IReadOnlyDictionary<string, string?> Attributes)
Parameters
InputIdintOne-based input record identifier sent to the service.
InputAddressstringOriginal input address.
StatusstringProvider status code when returned, such as M for matched or U for unmatched.
ResultGeocodeResultGeocode result for matched inputs, or null for partial failures.
ErrorMessagestringFailure message for unmatched or missing inputs.
AttributesIReadOnlyDictionary<string, string>Provider attributes returned for the batch row.
Properties
Attributes
Provider attributes returned for the batch row.
public IReadOnlyDictionary<string, string?> Attributes { get; init; }
Property Value
ErrorMessage
Failure message for unmatched or missing inputs.
public string? ErrorMessage { get; init; }
Property Value
InputAddress
Original input address.
public string InputAddress { get; init; }
Property Value
InputId
One-based input record identifier sent to the service.
public int InputId { get; init; }
Property Value
Result
Geocode result for matched inputs, or null for partial failures.
public GeocodeResult? Result { get; init; }
Property Value
Status
Provider status code when returned, such as M for matched or U for unmatched.
public string? Status { get; init; }