-
Notifications
You must be signed in to change notification settings - Fork 11
Wire up organization client endpoints into OrganizationsClientsSection #324
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,23 @@ | ||
| namespace Meraki.Api.Sections.General.Organizations; | ||
|
|
||
| /// <summary> | ||
| /// Provides access to organizations clients API endpoints | ||
| /// </summary> | ||
| public partial class OrganizationsClientsSection | ||
| { | ||
| /// <summary> | ||
| /// Interface for client search and details. | ||
| /// </summary> | ||
| [RefitPromoteCalls] | ||
| internal IOrganizationsClients Clients { get; set; } = null!; | ||
|
|
||
| /// <summary> | ||
| /// Interface for client bandwidth usage history. | ||
| /// </summary> | ||
| public IOrganizationBandwidthUsageHistory BandwidthUsageHistory { get; internal set; } = null!; | ||
|
|
||
| /// <summary> | ||
| /// Interface for client overview information. | ||
| /// </summary> | ||
| public IOrganizationsClientOverview Overview { get; internal set; } = null!; | ||
| } | ||
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -75,9 +75,9 @@ public partial class OrganizationsSection | |||||
| public OrganizationsCertificatesSection Certificates { get; internal set; } = new(); | ||||||
|
|
||||||
| /// <summary> | ||||||
| /// Interface for client search and details. | ||||||
| /// Section for client search and details. | ||||||
|
||||||
| /// Section for client search and details. | |
| /// Section for client search, details, overview, and bandwidth usage history operations. |
Copilot
AI
Apr 12, 2026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changing OrganizationsSection.Clients from IOrganizationsClients to OrganizationsClientsSection is a public API signature change. [RefitPromoteCalls] preserves method-call syntax, but consumers that reference the property as IOrganizationsClients (e.g., assignments/DI registrations/method params) will no longer compile. If the intent is truly non-breaking, consider keeping a public IOrganizationsClients-typed property (possibly obsolete) or having OrganizationsClientsSection implement IOrganizationsClients so it remains assignable to the interface; otherwise this should be treated/documented as a breaking change (SemVer/changelog).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
New public surface area is being wired (
Organizations.Clients.Overviewand.BandwidthUsageHistory), but there are no corresponding tests exercising these endpoints (onlyGetOrganizationClientsSearchAsyncis covered). Consider adding integration tests alongsideMeraki.Api.Test/Organizations/Clients/Tests.csto ensure these newly exposed interfaces remain correctly wired and callable.