MapsSearchModelFactory.GeocodingBatchResponseItem Method

Definition

Initializes a new instance of GeocodingBatchResponseItem.

public static Azure.Maps.Search.Models.GeocodingBatchResponseItem GeocodingBatchResponseItem (string optionalId = default, Azure.Maps.Search.Models.FeatureCollectionEnum? type = default, System.Collections.Generic.IEnumerable<Azure.Maps.Search.Models.FeaturesItem> features = default, string nextLink = default, Azure.Maps.Search.Models.ErrorDetail error = default);
static member GeocodingBatchResponseItem : string * Nullable<Azure.Maps.Search.Models.FeatureCollectionEnum> * seq<Azure.Maps.Search.Models.FeaturesItem> * string * Azure.Maps.Search.Models.ErrorDetail -> Azure.Maps.Search.Models.GeocodingBatchResponseItem
Public Shared Function GeocodingBatchResponseItem (Optional optionalId As String = Nothing, Optional type As Nullable(Of FeatureCollectionEnum) = Nothing, Optional features As IEnumerable(Of FeaturesItem) = Nothing, Optional nextLink As String = Nothing, Optional error As ErrorDetail = Nothing) As GeocodingBatchResponseItem

Parameters

optionalId
String

id of the batchItem which would be the same as the id in the request.

type
Nullable<FeatureCollectionEnum>

The type of a FeatureCollection object must be FeatureCollection.

nextLink
String

The is the link to the next page of the features returned. If it's the last page, no this field.

error
ErrorDetail

The error detail.

Returns

A new GeocodingBatchResponseItem instance for mocking.

Applies to