-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(arcgis): updating the parameter objects to include new parameter…
- Loading branch information
1 parent
a8951f1
commit 0c9028a
Showing
9 changed files
with
500 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,78 @@ | ||
// <copyright file="AddressParameters.cs" company="Geo.NET"> | ||
// Copyright (c) Geo.NET. | ||
// Licensed under the MIT license. See the LICENSE file in the solution root for full license information. | ||
// </copyright> | ||
|
||
namespace Geo.ArcGIS.Models.Parameters | ||
{ | ||
using Newtonsoft.Json; | ||
|
||
/// <summary> | ||
/// A parameters object for the address information for a ArcGIS request. | ||
/// </summary> | ||
public class AddressParameters | ||
{ | ||
/// <summary> | ||
/// Gets or sets the address of the location. | ||
/// </summary> | ||
[JsonProperty(NullValueHandling = NullValueHandling.Ignore)] | ||
public string Address { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets a string that represents the second line of a street address. | ||
/// This can include street name/house number, building name, place-name, or subunit. | ||
/// </summary> | ||
[JsonProperty(NullValueHandling = NullValueHandling.Ignore)] | ||
public string Address2 { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets a string that represents the third line of a street address. | ||
/// This can include street name/house number, building name, place-name, or subunit. | ||
/// </summary> | ||
[JsonProperty(NullValueHandling = NullValueHandling.Ignore)] | ||
public string Address3 { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets the neighbourhood of the location. | ||
/// </summary> | ||
[JsonProperty(NullValueHandling = NullValueHandling.Ignore)] | ||
public string Neighbourhood { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets the city of the location. | ||
/// </summary> | ||
[JsonProperty(NullValueHandling = NullValueHandling.Ignore)] | ||
public string City { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets the subregion of the location. | ||
/// </summary> | ||
[JsonProperty(NullValueHandling = NullValueHandling.Ignore)] | ||
public string Subregion { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets the region of the location. | ||
/// </summary> | ||
[JsonProperty(NullValueHandling = NullValueHandling.Ignore)] | ||
public string Region { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets the standard postal code for an address, typically, a three– to six-digit alphanumeric code. | ||
/// </summary> | ||
[JsonProperty(NullValueHandling = NullValueHandling.Ignore)] | ||
public string Postal { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets a postal code extension, such as the United States Postal Service ZIP+4 code, provides finer resolution or higher accuracy when also passing postal. | ||
/// </summary> | ||
[JsonProperty(NullValueHandling = NullValueHandling.Ignore)] | ||
public string PostalExt { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets a value representing the country. Providing this value increases geocoding speed. | ||
/// Acceptable values include the full country name in English or the official language of the country, the two-character country code, or the three-character country code. | ||
/// </summary> | ||
[JsonProperty(NullValueHandling = NullValueHandling.Ignore)] | ||
public string CountryCode { get; set; } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.