Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions .nuget/packages.config

This file was deleted.

35 changes: 0 additions & 35 deletions rosette_api.sln

This file was deleted.

5 changes: 5 additions & 0 deletions rosette_api.slnx
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<Solution>
<Project Path="rosette_apiExamples/rosette_apiExamples.csproj" Id="3e1d0a21-a346-49c4-95ac-cafba3734a50" />
<Project Path="rosette_apiUnitTests/rosette_apiUnitTests.csproj" />
<Project Path="rosette_api/rosette_api.csproj" />
</Solution>
78 changes: 39 additions & 39 deletions rosette_api/Address.cs
Original file line number Diff line number Diff line change
@@ -1,158 +1,158 @@
namespace rosette_api
{
public class Address: IAddress
public class Address : IAddress
{
public Address(string house = null, string houseNumber = null, string road = null, string unit = null, string level = null, string staircase = null, string entrance = null, string suburb = null, string cityDistrict = null, string city = null, string island = null, string stateDistrict = null, string state = null, string countryRegion = null, string country = null, string worldRegion = null, string postCode = null, string poBox = null)
public Address(string? house = null, string? houseNumber = null, string? road = null, string? unit = null, string? level = null, string? staircase = null, string? entrance = null, string? suburb = null, string? cityDistrict = null, string? city = null, string? island = null, string? stateDistrict = null, string? state = null, string? countryRegion = null, string? country = null, string? worldRegion = null, string? postCode = null, string? poBox = null)
{
this.house = house;
this.houseNumber = houseNumber;
this.road = road;
this.unit = unit;
this.level = level;
this.staircase = staircase;
this.entrance = entrance;
this.suburb = suburb;
this.cityDistrict = cityDistrict;
this.city = city;
this.island = island;
this.stateDistrict = stateDistrict;
this.state = state;
this.countryRegion = countryRegion;
this.country = country;
this.worldRegion = worldRegion;
this.postCode = postCode;
this.poBox = poBox;
this.House = house;
this.HouseNumber = houseNumber;
this.Road = road;
this.Unit = unit;
this.Level = level;
this.Staircase = staircase;
this.Entrance = entrance;
this.Suburb = suburb;
this.CityDistrict = cityDistrict;
this.City = city;
this.Island = island;
this.StateDistrict = stateDistrict;
this.State = state;
this.CountryRegion = countryRegion;
this.Country = country;
this.WorldRegion = worldRegion;
this.PostCode = postCode;
this.PoBox = poBox;
}

/// <summary>house
/// <para>
/// Getter, Setter for the house
/// </para>
/// </summary>
public string house { get; set; }
public string? House { get; set; }

/// <summary>houseNumber
/// <para>
/// Getter, Setter for the houseNumber
/// </para>
/// </summary>
public string houseNumber { get; set; }
public string? HouseNumber { get; set; }

/// <summary>road
/// <para>
/// Getter, Setter for the road
/// </para>
/// </summary>
public string road { get; set; }
public string? Road { get; set; }

/// <summary>unit
/// <para>
/// Getter, Setter for the unit
/// </para>
/// </summary>
public string unit { get; set; }
public string? Unit { get; set; }

/// <summary>level
/// <para>
/// Getter, Setter for the level
/// </para>
/// </summary>
public string level { get; set; }
public string? Level { get; set; }

/// <summary>staircase
/// <para>
/// Getter, Setter for the staircase
/// </para>
/// </summary>
public string staircase { get; set; }
public string? Staircase { get; set; }

/// <summary>entrance
/// <para>
/// Getter, Setter for the entrance
/// </para>
/// </summary>
public string entrance { get; set; }
public string? Entrance { get; set; }

/// <summary>suburb
/// <para>
/// Getter, Setter for the suburb
/// </para>
/// </summary>
public string suburb { get; set; }
public string? Suburb { get; set; }

/// <summary>cityDistrict
/// <para>
/// Getter, Setter for the cityDistrict
/// </para>
/// </summary>
public string cityDistrict { get; set; }
public string? CityDistrict { get; set; }

/// <summary>city
/// <para>
/// Getter, Setter for the city
/// </para>
/// </summary>
public string city { get; set; }
public string? City { get; set; }

/// <summary>island
/// <para>
/// Getter, Setter for the island
/// </para>
/// </summary>
public string island { get; set; }
public string? Island { get; set; }

/// <summary>stateDistrict
/// <para>
/// Getter, Setter for the stateDistrict
/// </para>
/// </summary>
public string stateDistrict { get; set; }
public string? StateDistrict { get; set; }

/// <summary>state
/// <para>
/// Getter, Setter for the state
/// </para>
/// </summary>
public string state { get; set; }
public string? State { get; set; }

/// <summary>countryRegion
/// <para>
/// Getter, Setter for the countryRegion
/// </para>
/// </summary>
public string countryRegion { get; set; }
public string? CountryRegion { get; set; }

/// <summary>country
/// <para>
/// Getter, Setter for the country
/// </para>
/// </summary>
public string country { get; set; }
public string? Country { get; set; }

/// <summary>worldRegion
/// <para>
/// Getter, Setter for the worldRegion
/// </para>
/// </summary>
public string worldRegion { get; set; }
public string? WorldRegion { get; set; }

/// <summary>postCode
/// <para>
/// Getter, Setter for the postCode
/// </para>
/// </summary>
public string postCode { get; set; }
public string? PostCode { get; set; }

/// <summary>poBox
/// <para>
/// Getter, Setter for the poBox
/// </para>
/// </summary>
public string poBox { get; set; }
public string? PoBox { get; set; }

/// <summary> is this address fielded?
/// </summary>
public bool fielded()
public bool Fielded()
{
return true;
}
Expand Down
5 changes: 1 addition & 4 deletions rosette_api/AddressSimilarityResponse.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
using System;
using System.Collections.Generic;
using Newtonsoft.Json;
using System.Net.Http;
using Newtonsoft.Json;

namespace rosette_api
{
Expand Down
Loading