Skip to content

Commit

Permalink
Fix Ports definition.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryan Halley committed Oct 28, 2024
1 parent 4d8b1de commit 9bc814a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Changelog

## 1.51.X
- Fixed LldpCdp.Ports to be a dictionary of string to LldpCdpPort

## 1.51.15
- Added subscription LicensingModel

Expand Down
2 changes: 1 addition & 1 deletion Meraki.Api/Data/LldpCdp.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,5 @@ public class LldpCdp
/// </summary>
[ApiAccess(ApiAccess.Read)]
[DataMember(Name = "ports")]
public LldpCdpPorts Ports { get; set; } = new();
public Dictionary<string, LldpCdpPort> Ports { get; set; } = new();
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
/// LldpCdp Ports
/// </summary>
[DataContract]
public class LldpCdpPorts
public class LldpCdpPort
{
/// <summary>
/// MAC address for the device
Expand Down

0 comments on commit 9bc814a

Please sign in to comment.