From 22eca81afea502a9a90cff31987bcf5cc2a38790 Mon Sep 17 00:00:00 2001 From: Anil Gadiyar HJ <89566379+AnilGadiyarHJ@users.noreply.github.com> Date: Wed, 4 Sep 2024 22:58:40 +0530 Subject: [PATCH] Renamed IPAMFederationAPI (#52) * Generated schemas for ipam-federation in go client * Generated schemas for ipam-federation in go client * fixed PR comment on go generated, added required feild in * corrected prefix in client.go --- client/client.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/client/client.go b/client/client.go index 18959f7..4473fac 100644 --- a/client/client.go +++ b/client/client.go @@ -19,7 +19,7 @@ import ( // APIClient is an aggregation of different BloxOne API clients. type APIClient struct { IPAddressManagementAPI *ipam.APIClient - IPAMFederation *ipamfederation.APIClient + IPAMFederationAPI *ipamfederation.APIClient DNSConfigurationAPI *dnsconfig.APIClient DNSDataAPI *dnsdata.APIClient HostActivationAPI *infraprovision.APIClient @@ -36,7 +36,7 @@ type APIClient struct { // This is an aggregation of different BloxOne API clients. // The following clients are available: // - IPAddressManagementAPI -// - IPAMFederation +// - IPAMFederationAPI // - DNSConfigurationAPI // - DNSDataAPI // - HostActivationAPI @@ -57,7 +57,7 @@ type APIClient struct { func NewAPIClient(options ...option.ClientOption) *APIClient { return &APIClient{ IPAddressManagementAPI: ipam.NewAPIClient(options...), - IPAMFederation: ipamfederation.NewAPIClient(options...), + IPAMFederationAPI: ipamfederation.NewAPIClient(options...), DNSConfigurationAPI: dnsconfig.NewAPIClient(options...), DNSDataAPI: dnsdata.NewAPIClient(options...), HostActivationAPI: infraprovision.NewAPIClient(options...),