Skip to content

Commit

Permalink
FAT2-295 - Correct property types
Browse files Browse the repository at this point in the history
  • Loading branch information
dashton82 committed Dec 24, 2020
1 parent 1be72eb commit 085ed72
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,21 +24,21 @@ public class FrameworkResponseItem
public string Title { get; set; }

[JsonProperty("level")]
public long Level { get; set; }
public int Level { get; set; }

[JsonProperty("frameworkCode")]
public long FrameworkCode { get; set; }
public int FrameworkCode { get; set; }

[JsonProperty("progType")]
public long ProgType { get; set; }
public int ProgType { get; set; }

[JsonProperty("pathwayCode")]
public long PathwayCode { get; set; }
public int PathwayCode { get; set; }

[JsonProperty("maxFunding")]
public long MaxFunding { get; set; }
public int MaxFunding { get; set; }

[JsonProperty("duration")]
public long Duration { get; set; }
public int Duration { get; set; }
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ public class GetProvidersResponse
public class ProviderResponseItem
{
[JsonProperty("ukprn")]
public long Ukprn { get; set; }
public int Ukprn { get; set; }

[JsonProperty("name")]
public string Name { get; set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,18 +12,18 @@ public class GetStandardsResponse
public class StandardResponseItem
{
[JsonProperty("id")]
public long Id { get; set; }
public int Id { get; set; }

[JsonProperty("level")]
public long Level { get; set; }
public int Level { get; set; }

[JsonProperty("title")]
public string Title { get; set; }

[JsonProperty("duration")]
public long Duration { get; set; }
public int Duration { get; set; }

[JsonProperty("maxFunding")]
public long MaxFunding { get; set; }
public int MaxFunding { get; set; }
}
}

0 comments on commit 085ed72

Please sign in to comment.