diff --git a/services/authorization/api_default.go b/services/authorization/api_default.go index 8ab79085f..ae7482043 100644 --- a/services/authorization/api_default.go +++ b/services/authorization/api_default.go @@ -218,7 +218,7 @@ func (r AddMembersRequest) Execute() (*MembersResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.AddMembers") if err != nil { @@ -383,7 +383,7 @@ func (r ListMembersRequest) Execute() (*ListMembersResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.ListMembers") if err != nil { @@ -548,7 +548,7 @@ func (r ListPermissionsRequest) Execute() (*ListPermissionsResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.ListPermissions") if err != nil { @@ -701,7 +701,7 @@ func (r ListRolesRequest) Execute() (*RolesResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.ListRoles") if err != nil { @@ -876,7 +876,7 @@ func (r ListUserMembershipsRequest) Execute() (*ListUserMembershipsResponse, err a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.ListUserMemberships") if err != nil { @@ -1056,7 +1056,7 @@ func (r ListUserPermissionsRequest) Execute() (*ListUserPermissionsResponse, err a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.ListUserPermissions") if err != nil { @@ -1232,7 +1232,7 @@ func (r RemoveMembersRequest) Execute() (*MembersResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.RemoveMembers") if err != nil { diff --git a/services/cdn/api_default.go b/services/cdn/api_default.go index 0deb970b2..8c3063973 100644 --- a/services/cdn/api_default.go +++ b/services/cdn/api_default.go @@ -436,7 +436,7 @@ func (r CreateDistributionRequest) Execute() (*CreateDistributionResponse, error a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.CreateDistribution") if err != nil { @@ -622,7 +622,7 @@ func (r DeleteCustomDomainRequest) Execute() (*DeleteCustomDomainResponse, error a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.DeleteCustomDomain") if err != nil { @@ -807,7 +807,7 @@ func (r DeleteDistributionRequest) Execute() (*DeleteDistributionResponse, error a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.DeleteDistribution") if err != nil { @@ -985,7 +985,7 @@ func (r FindCachePathsRequest) Execute() (*FindCachePathsResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.FindCachePaths") if err != nil { @@ -1175,7 +1175,7 @@ func (r GetCacheInfoRequest) Execute() (*GetCacheInfoResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.GetCacheInfo") if err != nil { @@ -1349,7 +1349,7 @@ func (r GetCustomDomainRequest) Execute() (*GetCustomDomainResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.GetCustomDomain") if err != nil { @@ -1534,7 +1534,7 @@ func (r GetDistributionRequest) Execute() (*GetDistributionResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.GetDistribution") if err != nil { @@ -1758,7 +1758,7 @@ func (r GetLogsRequest) Execute() (*GetLogsResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.GetLogs") if err != nil { @@ -1965,7 +1965,7 @@ func (r GetStatisticsRequest) Execute() (*GetStatisticsResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.GetStatistics") if err != nil { @@ -2181,7 +2181,7 @@ func (r ListDistributionsRequest) Execute() (*ListDistributionsResponse, error) a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.ListDistributions") if err != nil { @@ -2363,7 +2363,7 @@ func (r PatchDistributionRequest) Execute() (*PatchDistributionResponse, error) a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.PatchDistribution") if err != nil { @@ -2538,7 +2538,7 @@ func (r PurgeCacheRequest) Execute() (map[string]interface{}, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.PurgeCache") if err != nil { @@ -2715,7 +2715,7 @@ func (r PutCustomDomainRequest) Execute() (*PutCustomDomainResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.PutCustomDomain") if err != nil { diff --git a/services/certificates/api_default.go b/services/certificates/api_default.go index b6e6ca51d..09f4d6565 100644 --- a/services/certificates/api_default.go +++ b/services/certificates/api_default.go @@ -157,7 +157,7 @@ func (r CreateCertificateRequest) Execute() (*CreateCertificateResponse, error) a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.CreateCertificate") if err != nil { @@ -308,7 +308,7 @@ func (r DeleteCertificateRequest) Execute() (map[string]interface{}, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.DeleteCertificate") if err != nil { @@ -458,7 +458,7 @@ func (r GetCertificateRequest) Execute() (*GetCertificateResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.GetCertificate") if err != nil { @@ -623,7 +623,7 @@ func (r ListCertificatesRequest) Execute() (*ListCertificatesResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.ListCertificates") if err != nil { diff --git a/services/dns/api_default.go b/services/dns/api_default.go index 7fd6a359a..b0806f77b 100644 --- a/services/dns/api_default.go +++ b/services/dns/api_default.go @@ -814,7 +814,7 @@ func (r CloneZoneRequest) Execute() (*ZoneResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.CloneZone") if err != nil { @@ -1007,7 +1007,7 @@ func (r CreateLabelRequest) Execute() (*CreateLabelResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.CreateLabel") if err != nil { @@ -1181,7 +1181,7 @@ func (r CreateMoveCodeRequest) Execute() (*MoveCodeResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.CreateMoveCode") if err != nil { @@ -1358,7 +1358,7 @@ func (r CreateRecordSetRequest) Execute() (*RecordSetResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.CreateRecordSet") if err != nil { @@ -1550,7 +1550,7 @@ func (r CreateZoneRequest) Execute() (*ZoneResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.CreateZone") if err != nil { @@ -1732,7 +1732,7 @@ func (r DeleteLabelRequest) Execute() (*DeleteLabelResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.DeleteLabel") if err != nil { @@ -1916,7 +1916,7 @@ func (r DeleteMoveCodeRequest) Execute() (*Message, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.DeleteMoveCode") if err != nil { @@ -2086,7 +2086,7 @@ func (r DeleteRecordSetRequest) Execute() (*Message, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.DeleteRecordSet") if err != nil { @@ -2259,7 +2259,7 @@ func (r DeleteZoneRequest) Execute() (*Message, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.DeleteZone") if err != nil { @@ -2436,7 +2436,7 @@ func (r ExportRecordSetsRequest) Execute() (*ZoneDataExchange, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.ExportRecordSets") if err != nil { @@ -2600,7 +2600,7 @@ func (r GetRecordSetRequest) Execute() (*RecordSetResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.GetRecordSet") if err != nil { @@ -2773,7 +2773,7 @@ func (r GetZoneRequest) Execute() (*ZoneResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.GetZone") if err != nil { @@ -2966,7 +2966,7 @@ func (r ImportRecordSetsRequest) Execute() (*ImportRecordSetsResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.ImportRecordSets") if err != nil { @@ -3146,7 +3146,7 @@ func (r ListLabelsRequest) Execute() (*ListLabelsResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.ListLabels") if err != nil { @@ -3582,7 +3582,7 @@ func (r ListRecordSetsRequest) Execute() (*ListRecordSetsResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.ListRecordSets") if err != nil { @@ -4198,7 +4198,7 @@ func (r ListZonesRequest) Execute() (*ListZonesResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.ListZones") if err != nil { @@ -4502,7 +4502,7 @@ func (r MoveZoneRequest) Execute() (*Message, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.MoveZone") if err != nil { @@ -4681,7 +4681,7 @@ func (r PartialUpdateRecordRequest) Execute() (*Message, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.PartialUpdateRecord") if err != nil { @@ -4868,7 +4868,7 @@ func (r PartialUpdateRecordSetRequest) Execute() (*Message, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.PartialUpdateRecordSet") if err != nil { @@ -5054,7 +5054,7 @@ func (r PartialUpdateZoneRequest) Execute() (*ZoneResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.PartialUpdateZone") if err != nil { @@ -5229,7 +5229,7 @@ func (r RestoreRecordSetRequest) Execute() (*Message, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.RestoreRecordSet") if err != nil { @@ -5402,7 +5402,7 @@ func (r RestoreZoneRequest) Execute() (*Message, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.RestoreZone") if err != nil { @@ -5560,7 +5560,7 @@ func (r RetrieveZoneRequest) Execute() (*Message, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.RetrieveZone") if err != nil { @@ -5726,7 +5726,7 @@ func (r ValidateMoveCodeRequest) Execute() (*Message, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.ValidateMoveCode") if err != nil { diff --git a/services/git/api_default.go b/services/git/api_default.go index 4ba7fdf28..d0df023d4 100644 --- a/services/git/api_default.go +++ b/services/git/api_default.go @@ -153,7 +153,7 @@ func (r CreateInstanceRequest) Execute() (*Instance, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.CreateInstance") if err != nil { @@ -450,7 +450,7 @@ func (r GetInstanceRequest) Execute() (*Instance, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.GetInstance") if err != nil { @@ -603,7 +603,7 @@ func (r ListInstancesRequest) Execute() (*ListInstances, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.ListInstances") if err != nil { diff --git a/services/iaas/api_default.go b/services/iaas/api_default.go index b9e74abda..e4eb93da2 100644 --- a/services/iaas/api_default.go +++ b/services/iaas/api_default.go @@ -3627,7 +3627,7 @@ func (r AddServiceAccountToServerRequest) Execute() (*ServiceAccountMailListResp a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.AddServiceAccountToServer") if err != nil { @@ -3846,7 +3846,7 @@ func (r AddVolumeToServerRequest) Execute() (*VolumeAttachment, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.AddVolumeToServer") if err != nil { @@ -4068,7 +4068,7 @@ func (r CreateAffinityGroupRequest) Execute() (*AffinityGroup, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.CreateAffinityGroup") if err != nil { @@ -4262,7 +4262,7 @@ func (r CreateBackupRequest) Execute() (*Backup, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.CreateBackup") if err != nil { @@ -4456,7 +4456,7 @@ func (r CreateImageRequest) Execute() (*ImageCreateResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.CreateImage") if err != nil { @@ -4660,7 +4660,7 @@ func (r CreateKeyPairRequest) Execute() (*Keypair, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.CreateKeyPair") if err != nil { @@ -4855,7 +4855,7 @@ func (r CreateNetworkRequest) Execute() (*Network, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.CreateNetwork") if err != nil { @@ -5060,7 +5060,7 @@ func (r CreateNetworkAreaRequest) Execute() (*NetworkArea, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.CreateNetworkArea") if err != nil { @@ -5255,7 +5255,7 @@ func (r CreateNetworkAreaRangeRequest) Execute() (*NetworkRangeListResponse, err a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.CreateNetworkAreaRange") if err != nil { @@ -5471,7 +5471,7 @@ func (r CreateNetworkAreaRouteRequest) Execute() (*RouteListResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.CreateNetworkAreaRoute") if err != nil { @@ -5687,7 +5687,7 @@ func (r CreateNicRequest) Execute() (*NIC, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.CreateNic") if err != nil { @@ -5913,7 +5913,7 @@ func (r CreatePublicIPRequest) Execute() (*PublicIp, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.CreatePublicIP") if err != nil { @@ -6118,7 +6118,7 @@ func (r CreateSecurityGroupRequest) Execute() (*SecurityGroup, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.CreateSecurityGroup") if err != nil { @@ -6313,7 +6313,7 @@ func (r CreateSecurityGroupRuleRequest) Execute() (*SecurityGroupRule, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.CreateSecurityGroupRule") if err != nil { @@ -6517,7 +6517,7 @@ func (r CreateServerRequest) Execute() (*Server, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.CreateServer") if err != nil { @@ -6711,7 +6711,7 @@ func (r CreateSnapshotRequest) Execute() (*Snapshot, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.CreateSnapshot") if err != nil { @@ -6905,7 +6905,7 @@ func (r CreateVolumeRequest) Execute() (*Volume, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.CreateVolume") if err != nil { @@ -10468,7 +10468,7 @@ func (r GetAffinityGroupRequest) Execute() (*AffinityGroup, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.GetAffinityGroup") if err != nil { @@ -10661,7 +10661,7 @@ func (r GetAttachedVolumeRequest) Execute() (*VolumeAttachment, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.GetAttachedVolume") if err != nil { @@ -10863,7 +10863,7 @@ func (r GetBackupRequest) Execute() (*Backup, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.GetBackup") if err != nil { @@ -11055,7 +11055,7 @@ func (r GetImageRequest) Execute() (*Image, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.GetImage") if err != nil { @@ -11247,7 +11247,7 @@ func (r GetImageShareRequest) Execute() (*ImageShare, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.GetImageShare") if err != nil { @@ -11440,7 +11440,7 @@ func (r GetImageShareConsumerRequest) Execute() (*ImageShareConsumer, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.GetImageShareConsumer") if err != nil { @@ -11641,7 +11641,7 @@ func (r GetKeyPairRequest) Execute() (*Keypair, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.GetKeyPair") if err != nil { @@ -11820,7 +11820,7 @@ func (r GetMachineTypeRequest) Execute() (*MachineType, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.GetMachineType") if err != nil { @@ -12009,7 +12009,7 @@ func (r GetNetworkRequest) Execute() (*Network, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.GetNetwork") if err != nil { @@ -12201,7 +12201,7 @@ func (r GetNetworkAreaRequest) Execute() (*NetworkArea, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.GetNetworkArea") if err != nil { @@ -12394,7 +12394,7 @@ func (r GetNetworkAreaRangeRequest) Execute() (*NetworkRange, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.GetNetworkAreaRange") if err != nil { @@ -12597,7 +12597,7 @@ func (r GetNetworkAreaRouteRequest) Execute() (*Route, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.GetNetworkAreaRoute") if err != nil { @@ -12800,7 +12800,7 @@ func (r GetNicRequest) Execute() (*NIC, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.GetNic") if err != nil { @@ -13002,7 +13002,7 @@ func (r GetOrganizationRequestRequest) Execute() (*Request, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.GetOrganizationRequest") if err != nil { @@ -13194,7 +13194,7 @@ func (r GetProjectNICRequest) Execute() (*NIC, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.GetProjectNIC") if err != nil { @@ -13386,7 +13386,7 @@ func (r GetProjectRequestRequest) Execute() (*Request, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.GetProjectRequest") if err != nil { @@ -13578,7 +13578,7 @@ func (r GetPublicIPRequest) Execute() (*PublicIp, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.GetPublicIP") if err != nil { @@ -13770,7 +13770,7 @@ func (r GetSecurityGroupRequest) Execute() (*SecurityGroup, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.GetSecurityGroup") if err != nil { @@ -13963,7 +13963,7 @@ func (r GetSecurityGroupRuleRequest) Execute() (*SecurityGroupRule, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.GetSecurityGroupRule") if err != nil { @@ -14173,7 +14173,7 @@ func (r GetServerRequest) Execute() (*Server, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.GetServer") if err != nil { @@ -14368,7 +14368,7 @@ func (r GetServerConsoleRequest) Execute() (*ServerConsoleUrl, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.GetServerConsole") if err != nil { @@ -14568,7 +14568,7 @@ func (r GetServerLogRequest) Execute() (*GetServerLog200Response, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.GetServerLog") if err != nil { @@ -14763,7 +14763,7 @@ func (r GetSnapshotRequest) Execute() (*Snapshot, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.GetSnapshot") if err != nil { @@ -14955,7 +14955,7 @@ func (r GetVolumeRequest) Execute() (*Volume, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.GetVolume") if err != nil { @@ -15147,7 +15147,7 @@ func (r GetVolumePerformanceClassRequest) Execute() (*VolumePerformanceClass, er a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.GetVolumePerformanceClass") if err != nil { @@ -15335,7 +15335,7 @@ func (r ListAffinityGroupsRequest) Execute() (*AffinityGroupListResponse, error) a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.ListAffinityGroups") if err != nil { @@ -15528,7 +15528,7 @@ func (r ListAttachedVolumesRequest) Execute() (*VolumeAttachmentListResponse, er a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.ListAttachedVolumes") if err != nil { @@ -15718,7 +15718,7 @@ func (r ListAvailabilityZonesRequest) Execute() (*AvailabilityZoneListResponse, a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.ListAvailabilityZones") if err != nil { @@ -15897,7 +15897,7 @@ func (r ListBackupsRequest) Execute() (*BackupListResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.ListBackups") if err != nil { @@ -16097,7 +16097,7 @@ func (r ListImagesRequest) Execute() (*ImageListResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.ListImages") if err != nil { @@ -16291,7 +16291,7 @@ func (r ListKeyPairsRequest) Execute() (*KeyPairListResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.ListKeyPairs") if err != nil { @@ -16473,7 +16473,7 @@ func (r ListMachineTypesRequest) Execute() (*MachineTypeListResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.ListMachineTypes") if err != nil { @@ -16658,7 +16658,7 @@ func (r ListNetworkAreaProjectsRequest) Execute() (*ProjectListResponse, error) a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.ListNetworkAreaProjects") if err != nil { @@ -16850,7 +16850,7 @@ func (r ListNetworkAreaRangesRequest) Execute() (*NetworkRangeListResponse, erro a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.ListNetworkAreaRanges") if err != nil { @@ -17050,7 +17050,7 @@ func (r ListNetworkAreaRoutesRequest) Execute() (*RouteListResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.ListNetworkAreaRoutes") if err != nil { @@ -17252,7 +17252,7 @@ func (r ListNetworkAreasRequest) Execute() (*NetworkAreaListResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.ListNetworkAreas") if err != nil { @@ -17444,7 +17444,7 @@ func (r ListNetworksRequest) Execute() (*NetworkListResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.ListNetworks") if err != nil { @@ -17637,7 +17637,7 @@ func (r ListNicsRequest) Execute() (*NICListResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.ListNics") if err != nil { @@ -17839,7 +17839,7 @@ func (r ListProjectNICsRequest) Execute() (*NICListResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.ListProjectNICs") if err != nil { @@ -18022,7 +18022,7 @@ func (r ListPublicIPRangesRequest) Execute() (*PublicNetworkListResponse, error) a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.ListPublicIPRanges") if err != nil { @@ -18201,7 +18201,7 @@ func (r ListPublicIPsRequest) Execute() (*PublicIpListResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.ListPublicIPs") if err != nil { @@ -18385,7 +18385,7 @@ func (r ListQuotasRequest) Execute() (*QuotaListResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.ListQuotas") if err != nil { @@ -18567,7 +18567,7 @@ func (r ListSecurityGroupRulesRequest) Execute() (*SecurityGroupRuleListResponse a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.ListSecurityGroupRules") if err != nil { @@ -18766,7 +18766,7 @@ func (r ListSecurityGroupsRequest) Execute() (*SecurityGroupListResponse, error) a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.ListSecurityGroups") if err != nil { @@ -18951,7 +18951,7 @@ func (r ListServerNicsRequest) Execute() (*NICListResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.ListServerNics") if err != nil { @@ -19143,7 +19143,7 @@ func (r ListServerServiceAccountsRequest) Execute() (*ServiceAccountMailListResp a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.ListServerServiceAccounts") if err != nil { @@ -19350,7 +19350,7 @@ func (r ListServersRequest) Execute() (*ServerListResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.ListServers") if err != nil { @@ -19545,7 +19545,7 @@ func (r ListSnapshotsRequest) Execute() (*SnapshotListResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.ListSnapshots") if err != nil { @@ -19737,7 +19737,7 @@ func (r ListVolumePerformanceClassesRequest) Execute() (*VolumePerformanceClassL a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.ListVolumePerformanceClasses") if err != nil { @@ -19929,7 +19929,7 @@ func (r ListVolumesRequest) Execute() (*VolumeListResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.ListVolumes") if err != nil { @@ -20316,7 +20316,7 @@ func (r PartialUpdateNetworkAreaRequest) Execute() (*NetworkArea, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.PartialUpdateNetworkArea") if err != nil { @@ -21507,7 +21507,7 @@ func (r RemoveServiceAccountFromServerRequest) Execute() (*ServiceAccountMailLis a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.RemoveServiceAccountFromServer") if err != nil { @@ -22721,7 +22721,7 @@ func (r SetImageShareRequest) Execute() (*ImageShare, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.SetImageShare") if err != nil { @@ -23503,7 +23503,7 @@ func (r UpdateAttachedVolumeRequest) Execute() (*VolumeAttachment, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.UpdateAttachedVolume") if err != nil { @@ -23718,7 +23718,7 @@ func (r UpdateBackupRequest) Execute() (*Backup, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.UpdateBackup") if err != nil { @@ -23923,7 +23923,7 @@ func (r UpdateImageRequest) Execute() (*Image, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.UpdateImage") if err != nil { @@ -24120,7 +24120,7 @@ func (r UpdateImageScopeLocalRequest) Execute() (*Image, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.UpdateImageScopeLocal") if err != nil { @@ -24312,7 +24312,7 @@ func (r UpdateImageScopePublicRequest) Execute() (*Image, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.UpdateImageScopePublic") if err != nil { @@ -24512,7 +24512,7 @@ func (r UpdateImageShareRequest) Execute() (*ImageShare, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.UpdateImageShare") if err != nil { @@ -24716,7 +24716,7 @@ func (r UpdateKeyPairRequest) Execute() (*Keypair, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.UpdateKeyPair") if err != nil { @@ -24909,7 +24909,7 @@ func (r UpdateNetworkAreaRouteRequest) Execute() (*Route, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.UpdateNetworkAreaRoute") if err != nil { @@ -25125,7 +25125,7 @@ func (r UpdateNicRequest) Execute() (*NIC, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.UpdateNic") if err != nil { @@ -25351,7 +25351,7 @@ func (r UpdatePublicIPRequest) Execute() (*PublicIp, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.UpdatePublicIP") if err != nil { @@ -25556,7 +25556,7 @@ func (r UpdateSecurityGroupRequest) Execute() (*SecurityGroup, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.UpdateSecurityGroup") if err != nil { @@ -25761,7 +25761,7 @@ func (r UpdateServerRequest) Execute() (*Server, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.UpdateServer") if err != nil { @@ -25966,7 +25966,7 @@ func (r UpdateSnapshotRequest) Execute() (*Snapshot, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.UpdateSnapshot") if err != nil { @@ -26171,7 +26171,7 @@ func (r UpdateVolumeRequest) Execute() (*Volume, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.UpdateVolume") if err != nil { diff --git a/services/iaasalpha/api_default.go b/services/iaasalpha/api_default.go index c15d93a1d..70d12f91f 100644 --- a/services/iaasalpha/api_default.go +++ b/services/iaasalpha/api_default.go @@ -3032,7 +3032,7 @@ func (r AddMemberToVirtualIPRequest) Execute() (*VirtualIp, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.AddMemberToVirtualIP") if err != nil { @@ -4041,7 +4041,7 @@ func (r AddServiceAccountToServerRequest) Execute() (*ServiceAccountMailListResp a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.AddServiceAccountToServer") if err != nil { @@ -4260,7 +4260,7 @@ func (r AddVolumeToServerRequest) Execute() (*VolumeAttachment, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.AddVolumeToServer") if err != nil { @@ -4482,7 +4482,7 @@ func (r CreateAffinityGroupRequest) Execute() (*AffinityGroup, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.CreateAffinityGroup") if err != nil { @@ -4676,7 +4676,7 @@ func (r CreateBackupRequest) Execute() (*Backup, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.CreateBackup") if err != nil { @@ -4870,7 +4870,7 @@ func (r CreateImageRequest) Execute() (*ImageCreateResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.CreateImage") if err != nil { @@ -5074,7 +5074,7 @@ func (r CreateKeyPairRequest) Execute() (*Keypair, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.CreateKeyPair") if err != nil { @@ -5269,7 +5269,7 @@ func (r CreateNetworkRequest) Execute() (*Network, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.CreateNetwork") if err != nil { @@ -5474,7 +5474,7 @@ func (r CreateNetworkAreaRequest) Execute() (*NetworkArea, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.CreateNetworkArea") if err != nil { @@ -5669,7 +5669,7 @@ func (r CreateNetworkAreaRangeRequest) Execute() (*NetworkRangeListResponse, err a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.CreateNetworkAreaRange") if err != nil { @@ -5885,7 +5885,7 @@ func (r CreateNetworkAreaRouteRequest) Execute() (*RouteListResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.CreateNetworkAreaRoute") if err != nil { @@ -6101,7 +6101,7 @@ func (r CreateNicRequest) Execute() (*NIC, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.CreateNic") if err != nil { @@ -6327,7 +6327,7 @@ func (r CreatePublicIPRequest) Execute() (*PublicIp, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.CreatePublicIP") if err != nil { @@ -6532,7 +6532,7 @@ func (r CreateSecurityGroupRequest) Execute() (*SecurityGroup, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.CreateSecurityGroup") if err != nil { @@ -6727,7 +6727,7 @@ func (r CreateSecurityGroupRuleRequest) Execute() (*SecurityGroupRule, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.CreateSecurityGroupRule") if err != nil { @@ -6931,7 +6931,7 @@ func (r CreateServerRequest) Execute() (*Server, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.CreateServer") if err != nil { @@ -7125,7 +7125,7 @@ func (r CreateSnapshotRequest) Execute() (*Snapshot, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.CreateSnapshot") if err != nil { @@ -7320,7 +7320,7 @@ func (r CreateVirtualIPRequest) Execute() (*VirtualIp, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.CreateVirtualIP") if err != nil { @@ -7535,7 +7535,7 @@ func (r CreateVolumeRequest) Execute() (*Volume, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.CreateVolume") if err != nil { @@ -11290,7 +11290,7 @@ func (r GetAffinityGroupRequest) Execute() (*AffinityGroup, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.GetAffinityGroup") if err != nil { @@ -11483,7 +11483,7 @@ func (r GetAttachedVolumeRequest) Execute() (*VolumeAttachment, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.GetAttachedVolume") if err != nil { @@ -11685,7 +11685,7 @@ func (r GetBackupRequest) Execute() (*Backup, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.GetBackup") if err != nil { @@ -11877,7 +11877,7 @@ func (r GetImageRequest) Execute() (*Image, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.GetImage") if err != nil { @@ -12069,7 +12069,7 @@ func (r GetImageShareRequest) Execute() (*ImageShare, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.GetImageShare") if err != nil { @@ -12262,7 +12262,7 @@ func (r GetImageShareConsumerRequest) Execute() (*ImageShareConsumer, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.GetImageShareConsumer") if err != nil { @@ -12463,7 +12463,7 @@ func (r GetKeyPairRequest) Execute() (*Keypair, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.GetKeyPair") if err != nil { @@ -12642,7 +12642,7 @@ func (r GetMachineTypeRequest) Execute() (*MachineType, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.GetMachineType") if err != nil { @@ -12831,7 +12831,7 @@ func (r GetNetworkRequest) Execute() (*Network, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.GetNetwork") if err != nil { @@ -13023,7 +13023,7 @@ func (r GetNetworkAreaRequest) Execute() (*NetworkArea, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.GetNetworkArea") if err != nil { @@ -13216,7 +13216,7 @@ func (r GetNetworkAreaRangeRequest) Execute() (*NetworkRange, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.GetNetworkAreaRange") if err != nil { @@ -13419,7 +13419,7 @@ func (r GetNetworkAreaRouteRequest) Execute() (*Route, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.GetNetworkAreaRoute") if err != nil { @@ -13622,7 +13622,7 @@ func (r GetNicRequest) Execute() (*NIC, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.GetNic") if err != nil { @@ -13824,7 +13824,7 @@ func (r GetOrganizationRequestRequest) Execute() (*Request, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.GetOrganizationRequest") if err != nil { @@ -14015,7 +14015,7 @@ func (r GetProjectDetailsRequest) Execute() (*Project, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.GetProjectDetails") if err != nil { @@ -14197,7 +14197,7 @@ func (r GetProjectNICRequest) Execute() (*NIC, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.GetProjectNIC") if err != nil { @@ -14389,7 +14389,7 @@ func (r GetProjectRequestRequest) Execute() (*Request, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.GetProjectRequest") if err != nil { @@ -14581,7 +14581,7 @@ func (r GetPublicIPRequest) Execute() (*PublicIp, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.GetPublicIP") if err != nil { @@ -14773,7 +14773,7 @@ func (r GetSecurityGroupRequest) Execute() (*SecurityGroup, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.GetSecurityGroup") if err != nil { @@ -14966,7 +14966,7 @@ func (r GetSecurityGroupRuleRequest) Execute() (*SecurityGroupRule, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.GetSecurityGroupRule") if err != nil { @@ -15176,7 +15176,7 @@ func (r GetServerRequest) Execute() (*Server, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.GetServer") if err != nil { @@ -15371,7 +15371,7 @@ func (r GetServerConsoleRequest) Execute() (*ServerConsoleUrl, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.GetServerConsole") if err != nil { @@ -15571,7 +15571,7 @@ func (r GetServerLogRequest) Execute() (*GetServerLog200Response, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.GetServerLog") if err != nil { @@ -15766,7 +15766,7 @@ func (r GetSnapshotRequest) Execute() (*Snapshot, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.GetSnapshot") if err != nil { @@ -15959,7 +15959,7 @@ func (r GetVirtualIPRequest) Execute() (*VirtualIp, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.GetVirtualIP") if err != nil { @@ -16161,7 +16161,7 @@ func (r GetVolumeRequest) Execute() (*Volume, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.GetVolume") if err != nil { @@ -16353,7 +16353,7 @@ func (r GetVolumePerformanceClassRequest) Execute() (*VolumePerformanceClass, er a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.GetVolumePerformanceClass") if err != nil { @@ -16541,7 +16541,7 @@ func (r ListAffinityGroupsRequest) Execute() (*AffinityGroupListResponse, error) a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.ListAffinityGroups") if err != nil { @@ -16734,7 +16734,7 @@ func (r ListAttachedVolumesRequest) Execute() (*VolumeAttachmentListResponse, er a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.ListAttachedVolumes") if err != nil { @@ -16924,7 +16924,7 @@ func (r ListAvailabilityZonesRequest) Execute() (*AvailabilityZoneListResponse, a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.ListAvailabilityZones") if err != nil { @@ -17103,7 +17103,7 @@ func (r ListBackupsRequest) Execute() (*BackupListResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.ListBackups") if err != nil { @@ -17303,7 +17303,7 @@ func (r ListImagesRequest) Execute() (*ImageListResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.ListImages") if err != nil { @@ -17497,7 +17497,7 @@ func (r ListKeyPairsRequest) Execute() (*KeyPairListResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.ListKeyPairs") if err != nil { @@ -17679,7 +17679,7 @@ func (r ListMachineTypesRequest) Execute() (*MachineTypeListResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.ListMachineTypes") if err != nil { @@ -17864,7 +17864,7 @@ func (r ListNetworkAreaProjectsRequest) Execute() (*ProjectListResponse, error) a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.ListNetworkAreaProjects") if err != nil { @@ -18056,7 +18056,7 @@ func (r ListNetworkAreaRangesRequest) Execute() (*NetworkRangeListResponse, erro a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.ListNetworkAreaRanges") if err != nil { @@ -18256,7 +18256,7 @@ func (r ListNetworkAreaRoutesRequest) Execute() (*RouteListResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.ListNetworkAreaRoutes") if err != nil { @@ -18458,7 +18458,7 @@ func (r ListNetworkAreasRequest) Execute() (*NetworkAreaListResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.ListNetworkAreas") if err != nil { @@ -18650,7 +18650,7 @@ func (r ListNetworksRequest) Execute() (*NetworkListResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.ListNetworks") if err != nil { @@ -18843,7 +18843,7 @@ func (r ListNicsRequest) Execute() (*NICListResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.ListNics") if err != nil { @@ -19045,7 +19045,7 @@ func (r ListProjectNICsRequest) Execute() (*NICListResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.ListProjectNICs") if err != nil { @@ -19237,7 +19237,7 @@ func (r ListPublicIPsRequest) Execute() (*PublicIpListResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.ListPublicIPs") if err != nil { @@ -19420,7 +19420,7 @@ func (r ListPublicIpRangesRequest) Execute() (*PublicNetworkListResponse, error) a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.ListPublicIpRanges") if err != nil { @@ -19591,7 +19591,7 @@ func (r ListQuotasRequest) Execute() (*QuotaListResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.ListQuotas") if err != nil { @@ -19773,7 +19773,7 @@ func (r ListSecurityGroupRulesRequest) Execute() (*SecurityGroupRuleListResponse a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.ListSecurityGroupRules") if err != nil { @@ -19972,7 +19972,7 @@ func (r ListSecurityGroupsRequest) Execute() (*SecurityGroupListResponse, error) a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.ListSecurityGroups") if err != nil { @@ -20157,7 +20157,7 @@ func (r ListServerNicsRequest) Execute() (*NICListResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.ListServerNics") if err != nil { @@ -20349,7 +20349,7 @@ func (r ListServerServiceAccountsRequest) Execute() (*ServiceAccountMailListResp a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.ListServerServiceAccounts") if err != nil { @@ -20556,7 +20556,7 @@ func (r ListServersRequest) Execute() (*ServerListResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.ListServers") if err != nil { @@ -20751,7 +20751,7 @@ func (r ListSnapshotsRequest) Execute() (*SnapshotListResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.ListSnapshots") if err != nil { @@ -20944,7 +20944,7 @@ func (r ListVirtualIPsRequest) Execute() (*VirtualIpListResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.ListVirtualIPs") if err != nil { @@ -21146,7 +21146,7 @@ func (r ListVolumePerformanceClassesRequest) Execute() (*VolumePerformanceClassL a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.ListVolumePerformanceClasses") if err != nil { @@ -21338,7 +21338,7 @@ func (r ListVolumesRequest) Execute() (*VolumeListResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.ListVolumes") if err != nil { @@ -21725,7 +21725,7 @@ func (r PartialUpdateNetworkAreaRequest) Execute() (*NetworkArea, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.PartialUpdateNetworkArea") if err != nil { @@ -22134,7 +22134,7 @@ func (r RemoveMemberFromVirtualIPRequest) Execute() (*VirtualIp, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.RemoveMemberFromVirtualIP") if err != nil { @@ -23132,7 +23132,7 @@ func (r RemoveServiceAccountFromServerRequest) Execute() (*ServiceAccountMailLis a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.RemoveServiceAccountFromServer") if err != nil { @@ -24346,7 +24346,7 @@ func (r SetImageShareRequest) Execute() (*ImageShare, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.SetImageShare") if err != nil { @@ -25128,7 +25128,7 @@ func (r UpdateAttachedVolumeRequest) Execute() (*VolumeAttachment, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.UpdateAttachedVolume") if err != nil { @@ -25343,7 +25343,7 @@ func (r UpdateBackupRequest) Execute() (*Backup, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.UpdateBackup") if err != nil { @@ -25548,7 +25548,7 @@ func (r UpdateImageRequest) Execute() (*Image, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.UpdateImage") if err != nil { @@ -25745,7 +25745,7 @@ func (r UpdateImageScopeLocalRequest) Execute() (*Image, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.UpdateImageScopeLocal") if err != nil { @@ -25937,7 +25937,7 @@ func (r UpdateImageScopePublicRequest) Execute() (*Image, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.UpdateImageScopePublic") if err != nil { @@ -26137,7 +26137,7 @@ func (r UpdateImageShareRequest) Execute() (*ImageShare, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.UpdateImageShare") if err != nil { @@ -26341,7 +26341,7 @@ func (r UpdateKeyPairRequest) Execute() (*Keypair, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.UpdateKeyPair") if err != nil { @@ -26534,7 +26534,7 @@ func (r UpdateNicRequest) Execute() (*NIC, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.UpdateNic") if err != nil { @@ -26760,7 +26760,7 @@ func (r UpdatePublicIPRequest) Execute() (*PublicIp, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.UpdatePublicIP") if err != nil { @@ -26965,7 +26965,7 @@ func (r UpdateSecurityGroupRequest) Execute() (*SecurityGroup, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.UpdateSecurityGroup") if err != nil { @@ -27170,7 +27170,7 @@ func (r UpdateServerRequest) Execute() (*Server, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.UpdateServer") if err != nil { @@ -27375,7 +27375,7 @@ func (r UpdateSnapshotRequest) Execute() (*Snapshot, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.UpdateSnapshot") if err != nil { @@ -27785,7 +27785,7 @@ func (r UpdateVolumeRequest) Execute() (*Volume, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.UpdateVolume") if err != nil { @@ -27991,7 +27991,7 @@ func (r V1alpha1UpdateRouteOfAreaRequest) Execute() (*Route, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.V1alpha1UpdateRouteOfArea") if err != nil { diff --git a/services/kms/api_default.go b/services/kms/api_default.go index b6268c010..49fab6b3d 100644 --- a/services/kms/api_default.go +++ b/services/kms/api_default.go @@ -679,7 +679,7 @@ func (r CreateKeyRequest) Execute() (*Key, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.CreateKey") if err != nil { @@ -863,7 +863,7 @@ func (r CreateKeyRingRequest) Execute() (*KeyRing, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.CreateKeyRing") if err != nil { @@ -1033,7 +1033,7 @@ func (r CreateWrappingKeyRequest) Execute() (*WrappingKey, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.CreateWrappingKey") if err != nil { @@ -1220,7 +1220,7 @@ func (r DecryptRequest) Execute() (*DecryptedData, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.Decrypt") if err != nil { @@ -2276,7 +2276,7 @@ func (r EncryptRequest) Execute() (*EncryptedData, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.Encrypt") if err != nil { @@ -2475,7 +2475,7 @@ func (r GetKeyRequest) Execute() (*Key, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.GetKey") if err != nil { @@ -2653,7 +2653,7 @@ func (r GetKeyRingRequest) Execute() (*KeyRing, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.GetKeyRing") if err != nil { @@ -2829,7 +2829,7 @@ func (r GetVersionRequest) Execute() (*Version, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.GetVersion") if err != nil { @@ -3012,7 +3012,7 @@ func (r GetWrappingKeyRequest) Execute() (*WrappingKey, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.GetWrappingKey") if err != nil { @@ -3197,7 +3197,7 @@ func (r ImportKeyRequest) Execute() (*Key, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.ImportKey") if err != nil { @@ -3390,7 +3390,7 @@ func (r ListKeyRingsRequest) Execute() (*KeyRingList, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.ListKeyRings") if err != nil { @@ -3549,7 +3549,7 @@ func (r ListKeysRequest) Execute() (*KeyList, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.ListKeys") if err != nil { @@ -3724,7 +3724,7 @@ func (r ListVersionsRequest) Execute() (*VersionList, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.ListVersions") if err != nil { @@ -3902,7 +3902,7 @@ func (r ListWrappingKeysRequest) Execute() (*WrappingKeyList, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.ListWrappingKeys") if err != nil { @@ -4418,7 +4418,7 @@ func (r RotateKeyRequest) Execute() (*Key, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.RotateKey") if err != nil { @@ -4626,7 +4626,7 @@ func (r SignRequest) Execute() (*SignedData, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.Sign") if err != nil { @@ -4832,7 +4832,7 @@ func (r VerifyRequest) Execute() (*VerifiedData, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.Verify") if err != nil { diff --git a/services/lbapplication/api_default.go b/services/lbapplication/api_default.go index 3c0b1c6b7..2d819f25a 100644 --- a/services/lbapplication/api_default.go +++ b/services/lbapplication/api_default.go @@ -479,7 +479,7 @@ func (r CreateCredentialsRequest) Execute() (*CreateCredentialsResponse, error) a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.CreateCredentials") if err != nil { @@ -648,7 +648,7 @@ func (r CreateLoadBalancerRequest) Execute() (*LoadBalancer, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.CreateLoadBalancer") if err != nil { @@ -804,7 +804,7 @@ func (r DeleteCredentialsRequest) Execute() (map[string]interface{}, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.DeleteCredentials") if err != nil { @@ -952,7 +952,7 @@ func (r DeleteLoadBalancerRequest) Execute() (map[string]interface{}, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.DeleteLoadBalancer") if err != nil { @@ -1099,7 +1099,7 @@ func (r DisableServiceRequest) Execute() (map[string]interface{}, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.DisableService") if err != nil { @@ -1254,7 +1254,7 @@ func (r EnableServiceRequest) Execute() (map[string]interface{}, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.EnableService") if err != nil { @@ -1405,7 +1405,7 @@ func (r GetCredentialsRequest) Execute() (*GetCredentialsResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.GetCredentials") if err != nil { @@ -1553,7 +1553,7 @@ func (r GetLoadBalancerRequest) Execute() (*LoadBalancer, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.GetLoadBalancer") if err != nil { @@ -1704,7 +1704,7 @@ func (r GetQuotaRequest) Execute() (*GetQuotaResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.GetQuota") if err != nil { @@ -1851,7 +1851,7 @@ func (r GetServiceStatusRequest) Execute() (*GetServiceStatusResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.GetServiceStatus") if err != nil { @@ -1998,7 +1998,7 @@ func (r ListCredentialsRequest) Execute() (*ListCredentialsResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.ListCredentials") if err != nil { @@ -2157,7 +2157,7 @@ func (r ListLoadBalancersRequest) Execute() (*ListLoadBalancersResponse, error) a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.ListLoadBalancers") if err != nil { @@ -2309,7 +2309,7 @@ func (r ListPlansRequest) Execute() (*ListPlansResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.ListPlans") if err != nil { @@ -2455,7 +2455,7 @@ func (r UpdateCredentialsRequest) Execute() (*UpdateCredentialsResponse, error) a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.UpdateCredentials") if err != nil { @@ -2614,7 +2614,7 @@ func (r UpdateLoadBalancerRequest) Execute() (*LoadBalancer, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.UpdateLoadBalancer") if err != nil { @@ -2780,7 +2780,7 @@ func (r UpdateTargetPoolRequest) Execute() (*TargetPool, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.UpdateTargetPool") if err != nil { diff --git a/services/loadbalancer/api_default.go b/services/loadbalancer/api_default.go index c2e864afe..6921badfa 100644 --- a/services/loadbalancer/api_default.go +++ b/services/loadbalancer/api_default.go @@ -407,7 +407,7 @@ func (r CreateCredentialsRequest) Execute() (*CreateCredentialsResponse, error) a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.CreateCredentials") if err != nil { @@ -575,7 +575,7 @@ func (r CreateLoadBalancerRequest) Execute() (*LoadBalancer, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.CreateLoadBalancer") if err != nil { @@ -731,7 +731,7 @@ func (r DeleteCredentialsRequest) Execute() (map[string]interface{}, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.DeleteCredentials") if err != nil { @@ -881,7 +881,7 @@ func (r DeleteLoadBalancerRequest) Execute() (map[string]interface{}, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.DeleteLoadBalancer") if err != nil { @@ -1031,7 +1031,7 @@ func (r GetCredentialsRequest) Execute() (*GetCredentialsResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.GetCredentials") if err != nil { @@ -1181,7 +1181,7 @@ func (r GetLoadBalancerRequest) Execute() (*LoadBalancer, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.GetLoadBalancer") if err != nil { @@ -1333,7 +1333,7 @@ func (r GetQuotaRequest) Execute() (*GetQuotaResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.GetQuota") if err != nil { @@ -1478,7 +1478,7 @@ func (r ListCredentialsRequest) Execute() (*ListCredentialsResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.ListCredentials") if err != nil { @@ -1639,7 +1639,7 @@ func (r ListLoadBalancersRequest) Execute() (*ListLoadBalancersResponse, error) a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.ListLoadBalancers") if err != nil { @@ -1792,7 +1792,7 @@ func (r ListPlansRequest) Execute() (*ListPlansResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.ListPlans") if err != nil { @@ -1940,7 +1940,7 @@ func (r UpdateCredentialsRequest) Execute() (*UpdateCredentialsResponse, error) a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.UpdateCredentials") if err != nil { @@ -2101,7 +2101,7 @@ func (r UpdateLoadBalancerRequest) Execute() (*LoadBalancer, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.UpdateLoadBalancer") if err != nil { @@ -2266,7 +2266,7 @@ func (r UpdateTargetPoolRequest) Execute() (*TargetPool, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.UpdateTargetPool") if err != nil { diff --git a/services/logme/api_default.go b/services/logme/api_default.go index bddba68d1..091b7ba35 100644 --- a/services/logme/api_default.go +++ b/services/logme/api_default.go @@ -487,7 +487,7 @@ func (r CreateBackupRequest) Execute() ([]CreateBackupResponseItem, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.CreateBackup") if err != nil { @@ -632,7 +632,7 @@ func (r CreateCredentialsRequest) Execute() (*CredentialsResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.CreateCredentials") if err != nil { @@ -775,7 +775,7 @@ func (r CreateInstanceRequest) Execute() (*CreateInstanceResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.CreateInstance") if err != nil { @@ -1190,7 +1190,7 @@ func (r DownloadBackupRequest) Execute() (*os.File, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.DownloadBackup") if err != nil { @@ -1329,7 +1329,7 @@ func (r GetCredentialsRequest) Execute() (*CredentialsResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.GetCredentials") if err != nil { @@ -1469,7 +1469,7 @@ func (r GetInstanceRequest) Execute() (*Instance, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.GetInstance") if err != nil { @@ -1616,7 +1616,7 @@ func (r GetMetricsRequest) Execute() (*GetMetricsResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.GetMetrics") if err != nil { @@ -1750,7 +1750,7 @@ func (r ListBackupsRequest) Execute() (*ListBackupsResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.ListBackups") if err != nil { @@ -1884,7 +1884,7 @@ func (r ListCredentialsRequest) Execute() (*ListCredentialsResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.ListCredentials") if err != nil { @@ -2019,7 +2019,7 @@ func (r ListInstancesRequest) Execute() (*ListInstancesResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.ListInstances") if err != nil { @@ -2150,7 +2150,7 @@ func (r ListOfferingsRequest) Execute() (*ListOfferingsResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.ListOfferings") if err != nil { @@ -2272,7 +2272,7 @@ func (r ListRestoresRequest) Execute() (*ListRestoresResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.ListRestores") if err != nil { @@ -2555,7 +2555,7 @@ func (r TriggerRecreateRequest) Execute() (*CreateInstanceResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.TriggerRecreate") if err != nil { @@ -2700,7 +2700,7 @@ func (r TriggerRestartRequest) Execute() (*CreateInstanceResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.TriggerRestart") if err != nil { @@ -2846,7 +2846,7 @@ func (r TriggerRestoreRequest) Execute() (*TriggerRestoreResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.TriggerRestore") if err != nil { @@ -3003,7 +3003,7 @@ func (r UpdateBackupsConfigRequest) Execute() (*UpdateBackupsConfigResponse, err a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.UpdateBackupsConfig") if err != nil { diff --git a/services/mariadb/api_default.go b/services/mariadb/api_default.go index 5469ab7e4..7df648731 100644 --- a/services/mariadb/api_default.go +++ b/services/mariadb/api_default.go @@ -487,7 +487,7 @@ func (r CreateBackupRequest) Execute() ([]CreateBackupResponseItem, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.CreateBackup") if err != nil { @@ -632,7 +632,7 @@ func (r CreateCredentialsRequest) Execute() (*CredentialsResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.CreateCredentials") if err != nil { @@ -775,7 +775,7 @@ func (r CreateInstanceRequest) Execute() (*CreateInstanceResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.CreateInstance") if err != nil { @@ -1190,7 +1190,7 @@ func (r DownloadBackupRequest) Execute() (*os.File, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.DownloadBackup") if err != nil { @@ -1329,7 +1329,7 @@ func (r GetCredentialsRequest) Execute() (*CredentialsResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.GetCredentials") if err != nil { @@ -1469,7 +1469,7 @@ func (r GetInstanceRequest) Execute() (*Instance, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.GetInstance") if err != nil { @@ -1616,7 +1616,7 @@ func (r GetMetricsRequest) Execute() (*GetMetricsResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.GetMetrics") if err != nil { @@ -1750,7 +1750,7 @@ func (r ListBackupsRequest) Execute() (*ListBackupsResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.ListBackups") if err != nil { @@ -1884,7 +1884,7 @@ func (r ListCredentialsRequest) Execute() (*ListCredentialsResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.ListCredentials") if err != nil { @@ -2019,7 +2019,7 @@ func (r ListInstancesRequest) Execute() (*ListInstancesResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.ListInstances") if err != nil { @@ -2150,7 +2150,7 @@ func (r ListOfferingsRequest) Execute() (*ListOfferingsResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.ListOfferings") if err != nil { @@ -2272,7 +2272,7 @@ func (r ListRestoresRequest) Execute() (*ListRestoresResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.ListRestores") if err != nil { @@ -2555,7 +2555,7 @@ func (r TriggerRecreateRequest) Execute() (*CreateInstanceResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.TriggerRecreate") if err != nil { @@ -2700,7 +2700,7 @@ func (r TriggerRestartRequest) Execute() (*CreateInstanceResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.TriggerRestart") if err != nil { @@ -2846,7 +2846,7 @@ func (r TriggerRestoreRequest) Execute() (*TriggerRestoreResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.TriggerRestore") if err != nil { @@ -3003,7 +3003,7 @@ func (r UpdateBackupsConfigRequest) Execute() (*UpdateBackupsConfigResponse, err a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.UpdateBackupsConfig") if err != nil { diff --git a/services/modelserving/api_default.go b/services/modelserving/api_default.go index 505d4ee82..4b9ada78c 100644 --- a/services/modelserving/api_default.go +++ b/services/modelserving/api_default.go @@ -250,7 +250,7 @@ func (r CreateTokenRequest) Execute() (*CreateTokenResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.CreateToken") if err != nil { @@ -422,7 +422,7 @@ func (r DeleteTokenRequest) Execute() (*MessageResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.DeleteToken") if err != nil { @@ -595,7 +595,7 @@ func (r GetChatModelRequest) Execute() (*GetChatModelResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.GetChatModel") if err != nil { @@ -753,7 +753,7 @@ func (r GetEmbeddingModelRequest) Execute() (*GetEmbeddingsModelResp, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.GetEmbeddingModel") if err != nil { @@ -912,7 +912,7 @@ func (r GetTokenRequest) Execute() (*GetTokenResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.GetToken") if err != nil { @@ -1084,7 +1084,7 @@ func (r ListModelsRequest) Execute() (*ListModelsResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.ListModels") if err != nil { @@ -1238,7 +1238,7 @@ func (r ListTokensRequest) Execute() (*ListTokenResp, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.ListTokens") if err != nil { @@ -1403,7 +1403,7 @@ func (r PartialUpdateTokenRequest) Execute() (*UpdateTokenResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.PartialUpdateToken") if err != nil { diff --git a/services/mongodbflex/api_default.go b/services/mongodbflex/api_default.go index 14fe1a6d1..6098451c8 100644 --- a/services/mongodbflex/api_default.go +++ b/services/mongodbflex/api_default.go @@ -666,7 +666,7 @@ func (r CloneInstanceRequest) Execute() (*CloneInstanceResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.CloneInstance") if err != nil { @@ -826,7 +826,7 @@ func (r CreateInstanceRequest) Execute() (*CreateInstanceResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.CreateInstance") if err != nil { @@ -993,7 +993,7 @@ func (r CreateUserRequest) Execute() (*CreateUserResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.CreateUser") if err != nil { @@ -1456,7 +1456,7 @@ func (r GetBackupRequest) Execute() (*GetBackupResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.GetBackup") if err != nil { @@ -1607,7 +1607,7 @@ func (r GetInstanceRequest) Execute() (*GetInstanceResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.GetInstance") if err != nil { @@ -1755,7 +1755,7 @@ func (r GetUserRequest) Execute() (*GetUserResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.GetUser") if err != nil { @@ -1906,7 +1906,7 @@ func (r ListAdvisorSlowQueriesRequest) Execute() (*HandlersInstancesSlowQueriesR a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.ListAdvisorSlowQueries") if err != nil { @@ -2064,7 +2064,7 @@ func (r ListBackupsRequest) Execute() (*ListBackupsResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.ListBackups") if err != nil { @@ -2210,7 +2210,7 @@ func (r ListFlavorsRequest) Execute() (*ListFlavorsResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.ListFlavors") if err != nil { @@ -2360,7 +2360,7 @@ func (r ListInstancesRequest) Execute() (*ListInstancesResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.ListInstances") if err != nil { @@ -2540,7 +2540,7 @@ func (r ListMetricsRequest) Execute() (*ListMetricsResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.ListMetrics") if err != nil { @@ -2715,7 +2715,7 @@ func (r ListRestoreJobsRequest) Execute() (*ListRestoreJobsResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.ListRestoreJobs") if err != nil { @@ -2862,7 +2862,7 @@ func (r ListStoragesRequest) Execute() (*ListStoragesResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.ListStorages") if err != nil { @@ -3009,7 +3009,7 @@ func (r ListSuggestedIndexesRequest) Execute() (*HandlersInstancesSuggestedIndex a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.ListSuggestedIndexes") if err != nil { @@ -3167,7 +3167,7 @@ func (r ListUsersRequest) Execute() (*ListUsersResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.ListUsers") if err != nil { @@ -3313,7 +3313,7 @@ func (r ListVersionsRequest) Execute() (*ListVersionsResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.ListVersions") if err != nil { @@ -3453,7 +3453,7 @@ func (r PartialUpdateInstanceRequest) Execute() (*UpdateInstanceResponse, error) a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.PartialUpdateInstance") if err != nil { @@ -3793,7 +3793,7 @@ func (r ResetUserRequest) Execute() (*User, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.ResetUser") if err != nil { @@ -3952,7 +3952,7 @@ func (r RestoreInstanceRequest) Execute() (*RestoreInstanceResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.RestoreInstance") if err != nil { @@ -4112,7 +4112,7 @@ func (r UpdateBackupScheduleRequest) Execute() (*BackupSchedule, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.UpdateBackupSchedule") if err != nil { @@ -4272,7 +4272,7 @@ func (r UpdateInstanceRequest) Execute() (*UpdateInstanceResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.UpdateInstance") if err != nil { diff --git a/services/objectstorage/api_default.go b/services/objectstorage/api_default.go index 145abcea3..9d335e01d 100644 --- a/services/objectstorage/api_default.go +++ b/services/objectstorage/api_default.go @@ -385,7 +385,7 @@ func (r CreateAccessKeyRequest) Execute() (*CreateAccessKeyResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.CreateAccessKey") if err != nil { @@ -574,7 +574,7 @@ func (r CreateBucketRequest) Execute() (*CreateBucketResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.CreateBucket") if err != nil { @@ -770,7 +770,7 @@ func (r CreateCredentialsGroupRequest) Execute() (*CreateCredentialsGroupRespons a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.CreateCredentialsGroup") if err != nil { @@ -971,7 +971,7 @@ func (r DeleteAccessKeyRequest) Execute() (*DeleteAccessKeyResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.DeleteAccessKey") if err != nil { @@ -1170,7 +1170,7 @@ func (r DeleteBucketRequest) Execute() (*DeleteBucketResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.DeleteBucket") if err != nil { @@ -1350,7 +1350,7 @@ func (r DeleteCredentialsGroupRequest) Execute() (*DeleteCredentialsGroupRespons a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.DeleteCredentialsGroup") if err != nil { @@ -1523,7 +1523,7 @@ func (r DisableServiceRequest) Execute() (*ProjectStatus, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.DisableService") if err != nil { @@ -1714,7 +1714,7 @@ func (r EnableServiceRequest) Execute() (*ProjectStatus, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.EnableService") if err != nil { @@ -1896,7 +1896,7 @@ func (r GetBucketRequest) Execute() (*GetBucketResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.GetBucket") if err != nil { @@ -2086,7 +2086,7 @@ func (r GetServiceStatusRequest) Execute() (*ProjectStatus, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.GetServiceStatus") if err != nil { @@ -2272,7 +2272,7 @@ func (r ListAccessKeysRequest) Execute() (*ListAccessKeysResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.ListAccessKeys") if err != nil { @@ -2455,7 +2455,7 @@ func (r ListBucketsRequest) Execute() (*ListBucketsResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.ListBuckets") if err != nil { @@ -2635,7 +2635,7 @@ func (r ListCredentialsGroupsRequest) Execute() (*ListCredentialsGroupsResponse, a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.ListCredentialsGroups") if err != nil { diff --git a/services/observability/api_default.go b/services/observability/api_default.go index f3e066044..0edc223e9 100644 --- a/services/observability/api_default.go +++ b/services/observability/api_default.go @@ -1391,7 +1391,7 @@ func (r CreateAlertConfigReceiverRequest) Execute() (*AlertConfigReceiversRespon a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.CreateAlertConfigReceiver") if err != nil { @@ -1549,7 +1549,7 @@ func (r CreateAlertConfigRouteRequest) Execute() (*AlertConfigRouteResponse, err a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.CreateAlertConfigRoute") if err != nil { @@ -1707,7 +1707,7 @@ func (r CreateAlertgroupsRequest) Execute() (*AlertGroupsResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.CreateAlertgroups") if err != nil { @@ -1866,7 +1866,7 @@ func (r CreateAlertrulesRequest) Execute() (*AlertRulesResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.CreateAlertrules") if err != nil { @@ -2022,7 +2022,7 @@ func (r CreateCredentialsRequest) Execute() (*CreateCredentialsResponse, error) a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.CreateCredentials") if err != nil { @@ -2163,7 +2163,7 @@ func (r CreateInstanceRequest) Execute() (*CreateInstanceResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.CreateInstance") if err != nil { @@ -2317,7 +2317,7 @@ func (r CreateLogsAlertgroupsRequest) Execute() (*AlertGroupsResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.CreateLogsAlertgroups") if err != nil { @@ -2475,7 +2475,7 @@ func (r CreateScrapeConfigRequest) Execute() (*ScrapeConfigsResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.CreateScrapeConfig") if err != nil { @@ -2628,7 +2628,7 @@ func (r DeleteAlertConfigReceiverRequest) Execute() (*AlertConfigReceiversRespon a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.DeleteAlertConfigReceiver") if err != nil { @@ -2780,7 +2780,7 @@ func (r DeleteAlertConfigRouteRequest) Execute() (*AlertConfigRouteResponse, err a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.DeleteAlertConfigRoute") if err != nil { @@ -2932,7 +2932,7 @@ func (r DeleteAlertgroupRequest) Execute() (*AlertGroupsResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.DeleteAlertgroup") if err != nil { @@ -3102,7 +3102,7 @@ func (r DeleteAlertgroupsRequest) Execute() (*AlertGroupsResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.DeleteAlertgroups") if err != nil { @@ -3251,7 +3251,7 @@ func (r DeleteAlertrulesRequest) Execute() (*AlertRulesResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.DeleteAlertrules") if err != nil { @@ -3396,7 +3396,7 @@ func (r DeleteCredentialsRequest) Execute() (*Message, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.DeleteCredentials") if err != nil { @@ -3559,7 +3559,7 @@ func (r DeleteCredentialsRemoteWriteConfigRequest) Execute() (*CredentialsRemote a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.DeleteCredentialsRemoteWriteConfig") if err != nil { @@ -3732,7 +3732,7 @@ func (r DeleteInstanceRequest) Execute() (*InstanceResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.DeleteInstance") if err != nil { @@ -3869,7 +3869,7 @@ func (r DeleteLogsAlertgroupRequest) Execute() (*AlertGroupsResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.DeleteLogsAlertgroup") if err != nil { @@ -4032,7 +4032,7 @@ func (r DeleteScrapeConfigRequest) Execute() (*DeleteScrapeConfigResponse, error a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.DeleteScrapeConfig") if err != nil { @@ -4184,7 +4184,7 @@ func (r GetAlertConfigReceiverRequest) Execute() (*Receiver, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.GetAlertConfigReceiver") if err != nil { @@ -4336,7 +4336,7 @@ func (r GetAlertConfigRouteRequest) Execute() (*AlertConfigRouteResponse, error) a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.GetAlertConfigRoute") if err != nil { @@ -4476,7 +4476,7 @@ func (r GetAlertConfigsRequest) Execute() (*GetAlertConfigsResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.GetAlertConfigs") if err != nil { @@ -4613,7 +4613,7 @@ func (r GetAlertgroupRequest) Execute() (*AlertGroupResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.GetAlertgroup") if err != nil { @@ -4776,7 +4776,7 @@ func (r GetCredentialsRequest) Execute() (*GetCredentialsResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.GetCredentials") if err != nil { @@ -4928,7 +4928,7 @@ func (r GetCredentialsRemoteWriteConfigRequest) Execute() (*CredentialsRemoteWri a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.GetCredentialsRemoteWriteConfig") if err != nil { @@ -5090,7 +5090,7 @@ func (r GetGrafanaConfigsRequest) Execute() (*GrafanaConfigs, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.GetGrafanaConfigs") if err != nil { @@ -5226,7 +5226,7 @@ func (r GetInstanceRequest) Execute() (*GetInstanceResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.GetInstance") if err != nil { @@ -5363,7 +5363,7 @@ func (r GetLogsAlertgroupRequest) Execute() (*AlertGroupResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.GetLogsAlertgroup") if err != nil { @@ -5525,7 +5525,7 @@ func (r GetMetricsStorageRetentionRequest) Execute() (*GetMetricsStorageRetentio a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.GetMetricsStorageRetention") if err != nil { @@ -5662,7 +5662,7 @@ func (r GetScrapeConfigRequest) Execute() (*GetScrapeConfigResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.GetScrapeConfig") if err != nil { @@ -5802,7 +5802,7 @@ func (r ListACLRequest) Execute() (*ListACLResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.ListACL") if err != nil { @@ -5938,7 +5938,7 @@ func (r ListAlertConfigReceiversRequest) Execute() (*AlertConfigReceiversRespons a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.ListAlertConfigReceivers") if err != nil { @@ -6074,7 +6074,7 @@ func (r ListAlertConfigRoutesRequest) Execute() (*AlertConfigRouteResponse, erro a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.ListAlertConfigRoutes") if err != nil { @@ -6210,7 +6210,7 @@ func (r ListAlertgroupsRequest) Execute() (*AlertGroupsResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.ListAlertgroups") if err != nil { @@ -6358,7 +6358,7 @@ func (r ListAlertrulesRequest) Execute() (*AlertRulesResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.ListAlertrules") if err != nil { @@ -6498,7 +6498,7 @@ func (r ListCredentialsRequest) Execute() (*ListCredentialsResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.ListCredentials") if err != nil { @@ -6633,7 +6633,7 @@ func (r ListInstancesRequest) Execute() (*ListInstancesResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.ListInstances") if err != nil { @@ -6765,7 +6765,7 @@ func (r ListLogsAlertgroupsRequest) Execute() (*AlertGroupsResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.ListLogsAlertgroups") if err != nil { @@ -6911,7 +6911,7 @@ func (r ListPlansRequest) Execute() (*PlansResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.ListPlans") if err != nil { @@ -7043,7 +7043,7 @@ func (r ListScrapeConfigsRequest) Execute() (*ListScrapeConfigsResponse, error) a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.ListScrapeConfigs") if err != nil { @@ -7185,7 +7185,7 @@ func (r PartialUpdateAlertgroupsRequest) Execute() (*AlertGroupsResponse, error) a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.PartialUpdateAlertgroups") if err != nil { @@ -7344,7 +7344,7 @@ func (r PartialUpdateAlertrulesRequest) Execute() (*AlertRulesResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.PartialUpdateAlertrules") if err != nil { @@ -7506,7 +7506,7 @@ func (r UpdateACLRequest) Execute() (*Message, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.UpdateACL") if err != nil { @@ -7662,7 +7662,7 @@ func (r UpdateAlertConfigReceiverRequest) Execute() (*AlertConfigReceiversRespon a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.UpdateAlertConfigReceiver") if err != nil { @@ -7836,7 +7836,7 @@ func (r UpdateAlertConfigRouteRequest) Execute() (*AlertConfigRouteResponse, err a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.UpdateAlertConfigRoute") if err != nil { @@ -8009,7 +8009,7 @@ func (r UpdateAlertConfigsRequest) Execute() (*UpdateAlertConfigsResponse, error a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.UpdateAlertConfigs") if err != nil { @@ -8168,7 +8168,7 @@ func (r UpdateAlertgroupRequest) Execute() (*AlertGroupsResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.UpdateAlertgroup") if err != nil { @@ -8341,7 +8341,7 @@ func (r UpdateAlertgroupsRequest) Execute() (*AlertGroupsResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.UpdateAlertgroups") if err != nil { @@ -8500,7 +8500,7 @@ func (r UpdateCredentialsRemoteWriteConfigRequest) Execute() (*CredentialsRemote a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.UpdateCredentialsRemoteWriteConfig") if err != nil { @@ -8684,7 +8684,7 @@ func (r UpdateGrafanaConfigsRequest) Execute() (*Message, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.UpdateGrafanaConfigs") if err != nil { @@ -8842,7 +8842,7 @@ func (r UpdateInstanceRequest) Execute() (*InstanceResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.UpdateInstance") if err != nil { @@ -9001,7 +9001,7 @@ func (r UpdateLogsAlertgroupRequest) Execute() (*AlertGroupsResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.UpdateLogsAlertgroup") if err != nil { @@ -9174,7 +9174,7 @@ func (r UpdateMetricsStorageRetentionRequest) Execute() (*Message, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.UpdateMetricsStorageRetention") if err != nil { @@ -9333,7 +9333,7 @@ func (r UpdateScrapeConfigRequest) Execute() (*ScrapeConfigsResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.UpdateScrapeConfig") if err != nil { diff --git a/services/opensearch/api_default.go b/services/opensearch/api_default.go index 5a7bc446a..391148d71 100644 --- a/services/opensearch/api_default.go +++ b/services/opensearch/api_default.go @@ -487,7 +487,7 @@ func (r CreateBackupRequest) Execute() ([]CreateBackupResponseItem, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.CreateBackup") if err != nil { @@ -632,7 +632,7 @@ func (r CreateCredentialsRequest) Execute() (*CredentialsResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.CreateCredentials") if err != nil { @@ -775,7 +775,7 @@ func (r CreateInstanceRequest) Execute() (*CreateInstanceResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.CreateInstance") if err != nil { @@ -1190,7 +1190,7 @@ func (r DownloadBackupRequest) Execute() (*os.File, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.DownloadBackup") if err != nil { @@ -1329,7 +1329,7 @@ func (r GetCredentialsRequest) Execute() (*CredentialsResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.GetCredentials") if err != nil { @@ -1469,7 +1469,7 @@ func (r GetInstanceRequest) Execute() (*Instance, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.GetInstance") if err != nil { @@ -1616,7 +1616,7 @@ func (r GetMetricsRequest) Execute() (*GetMetricsResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.GetMetrics") if err != nil { @@ -1750,7 +1750,7 @@ func (r ListBackupsRequest) Execute() (*ListBackupsResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.ListBackups") if err != nil { @@ -1884,7 +1884,7 @@ func (r ListCredentialsRequest) Execute() (*ListCredentialsResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.ListCredentials") if err != nil { @@ -2019,7 +2019,7 @@ func (r ListInstancesRequest) Execute() (*ListInstancesResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.ListInstances") if err != nil { @@ -2150,7 +2150,7 @@ func (r ListOfferingsRequest) Execute() (*ListOfferingsResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.ListOfferings") if err != nil { @@ -2272,7 +2272,7 @@ func (r ListRestoresRequest) Execute() (*ListRestoresResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.ListRestores") if err != nil { @@ -2555,7 +2555,7 @@ func (r TriggerRecreateRequest) Execute() (*CreateInstanceResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.TriggerRecreate") if err != nil { @@ -2700,7 +2700,7 @@ func (r TriggerRestartRequest) Execute() (*CreateInstanceResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.TriggerRestart") if err != nil { @@ -2846,7 +2846,7 @@ func (r TriggerRestoreRequest) Execute() (*TriggerRestoreResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.TriggerRestore") if err != nil { @@ -3003,7 +3003,7 @@ func (r UpdateBackupsConfigRequest) Execute() (*UpdateBackupsConfigResponse, err a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.UpdateBackupsConfig") if err != nil { diff --git a/services/postgresflex/api_default.go b/services/postgresflex/api_default.go index f09f44b89..84905dec1 100644 --- a/services/postgresflex/api_default.go +++ b/services/postgresflex/api_default.go @@ -722,7 +722,7 @@ func (r CloneInstanceRequest) Execute() (*CloneInstanceResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.CloneInstance") if err != nil { @@ -888,7 +888,7 @@ func (r CreateDatabaseRequest) Execute() (*InstanceCreateDatabaseResponse, error a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.CreateDatabase") if err != nil { @@ -1054,7 +1054,7 @@ func (r CreateInstanceRequest) Execute() (*CreateInstanceResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.CreateInstance") if err != nil { @@ -1216,7 +1216,7 @@ func (r CreateUserRequest) Execute() (*CreateUserResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.CreateUser") if err != nil { @@ -1995,7 +1995,7 @@ func (r GetBackupRequest) Execute() (*GetBackupResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.GetBackup") if err != nil { @@ -2152,7 +2152,7 @@ func (r GetInstanceRequest) Execute() (*InstanceResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.GetInstance") if err != nil { @@ -2306,7 +2306,7 @@ func (r GetUserRequest) Execute() (*GetUserResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.GetUser") if err != nil { @@ -2463,7 +2463,7 @@ func (r ListBackupsRequest) Execute() (*ListBackupsResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.ListBackups") if err != nil { @@ -2616,7 +2616,7 @@ func (r ListDatabaseParametersRequest) Execute() (*PostgresDatabaseParameterResp a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.ListDatabaseParameters") if err != nil { @@ -2769,7 +2769,7 @@ func (r ListDatabasesRequest) Execute() (*InstanceListDatabasesResponse, error) a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.ListDatabases") if err != nil { @@ -2921,7 +2921,7 @@ func (r ListFlavorsRequest) Execute() (*ListFlavorsResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.ListFlavors") if err != nil { @@ -3069,7 +3069,7 @@ func (r ListInstancesRequest) Execute() (*ListInstancesResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.ListInstances") if err != nil { @@ -3251,7 +3251,7 @@ func (r ListMetricsRequest) Execute() (*InstanceMetricsResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.ListMetrics") if err != nil { @@ -3442,7 +3442,7 @@ func (r ListStoragesRequest) Execute() (*ListStoragesResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.ListStorages") if err != nil { @@ -3595,7 +3595,7 @@ func (r ListUsersRequest) Execute() (*ListUsersResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.ListUsers") if err != nil { @@ -3755,7 +3755,7 @@ func (r ListVersionsRequest) Execute() (*ListVersionsResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.ListVersions") if err != nil { @@ -3915,7 +3915,7 @@ func (r PartialUpdateInstanceRequest) Execute() (*PartialUpdateInstanceResponse, a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.PartialUpdateInstance") if err != nil { @@ -4241,7 +4241,7 @@ func (r ResetUserRequest) Execute() (*ResetUserResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.ResetUser") if err != nil { @@ -4582,7 +4582,7 @@ func (r UpdateInstanceRequest) Execute() (*PartialUpdateInstanceResponse, error) a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.UpdateInstance") if err != nil { diff --git a/services/rabbitmq/api_default.go b/services/rabbitmq/api_default.go index 2c5e7eb48..8258ec02b 100644 --- a/services/rabbitmq/api_default.go +++ b/services/rabbitmq/api_default.go @@ -487,7 +487,7 @@ func (r CreateBackupRequest) Execute() ([]CreateBackupResponseItem, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.CreateBackup") if err != nil { @@ -632,7 +632,7 @@ func (r CreateCredentialsRequest) Execute() (*CredentialsResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.CreateCredentials") if err != nil { @@ -775,7 +775,7 @@ func (r CreateInstanceRequest) Execute() (*CreateInstanceResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.CreateInstance") if err != nil { @@ -1190,7 +1190,7 @@ func (r DownloadBackupRequest) Execute() (*os.File, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.DownloadBackup") if err != nil { @@ -1329,7 +1329,7 @@ func (r GetCredentialsRequest) Execute() (*CredentialsResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.GetCredentials") if err != nil { @@ -1469,7 +1469,7 @@ func (r GetInstanceRequest) Execute() (*Instance, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.GetInstance") if err != nil { @@ -1616,7 +1616,7 @@ func (r GetMetricsRequest) Execute() (*GetMetricsResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.GetMetrics") if err != nil { @@ -1750,7 +1750,7 @@ func (r ListBackupsRequest) Execute() (*ListBackupsResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.ListBackups") if err != nil { @@ -1884,7 +1884,7 @@ func (r ListCredentialsRequest) Execute() (*ListCredentialsResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.ListCredentials") if err != nil { @@ -2019,7 +2019,7 @@ func (r ListInstancesRequest) Execute() (*ListInstancesResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.ListInstances") if err != nil { @@ -2150,7 +2150,7 @@ func (r ListOfferingsRequest) Execute() (*ListOfferingsResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.ListOfferings") if err != nil { @@ -2272,7 +2272,7 @@ func (r ListRestoresRequest) Execute() (*ListRestoresResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.ListRestores") if err != nil { @@ -2555,7 +2555,7 @@ func (r TriggerRecreateRequest) Execute() (*CreateInstanceResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.TriggerRecreate") if err != nil { @@ -2700,7 +2700,7 @@ func (r TriggerRestartRequest) Execute() (*CreateInstanceResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.TriggerRestart") if err != nil { @@ -2846,7 +2846,7 @@ func (r TriggerRestoreRequest) Execute() (*TriggerRestoreResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.TriggerRestore") if err != nil { @@ -3003,7 +3003,7 @@ func (r UpdateBackupsConfigRequest) Execute() (*UpdateBackupsConfigResponse, err a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.UpdateBackupsConfig") if err != nil { diff --git a/services/redis/api_default.go b/services/redis/api_default.go index 1c2988694..1ac758c5a 100644 --- a/services/redis/api_default.go +++ b/services/redis/api_default.go @@ -487,7 +487,7 @@ func (r CreateBackupRequest) Execute() ([]CreateBackupResponseItem, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.CreateBackup") if err != nil { @@ -632,7 +632,7 @@ func (r CreateCredentialsRequest) Execute() (*CredentialsResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.CreateCredentials") if err != nil { @@ -775,7 +775,7 @@ func (r CreateInstanceRequest) Execute() (*CreateInstanceResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.CreateInstance") if err != nil { @@ -1190,7 +1190,7 @@ func (r DownloadBackupRequest) Execute() (*os.File, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.DownloadBackup") if err != nil { @@ -1329,7 +1329,7 @@ func (r GetCredentialsRequest) Execute() (*CredentialsResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.GetCredentials") if err != nil { @@ -1469,7 +1469,7 @@ func (r GetInstanceRequest) Execute() (*Instance, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.GetInstance") if err != nil { @@ -1616,7 +1616,7 @@ func (r GetMetricsRequest) Execute() (*GetMetricsResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.GetMetrics") if err != nil { @@ -1750,7 +1750,7 @@ func (r ListBackupsRequest) Execute() (*ListBackupsResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.ListBackups") if err != nil { @@ -1884,7 +1884,7 @@ func (r ListCredentialsRequest) Execute() (*ListCredentialsResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.ListCredentials") if err != nil { @@ -2019,7 +2019,7 @@ func (r ListInstancesRequest) Execute() (*ListInstancesResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.ListInstances") if err != nil { @@ -2150,7 +2150,7 @@ func (r ListOfferingsRequest) Execute() (*ListOfferingsResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.ListOfferings") if err != nil { @@ -2272,7 +2272,7 @@ func (r ListRestoresRequest) Execute() (*ListRestoresResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.ListRestores") if err != nil { @@ -2555,7 +2555,7 @@ func (r TriggerRecreateRequest) Execute() (*CreateInstanceResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.TriggerRecreate") if err != nil { @@ -2700,7 +2700,7 @@ func (r TriggerRestartRequest) Execute() (*CreateInstanceResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.TriggerRestart") if err != nil { @@ -2846,7 +2846,7 @@ func (r TriggerRestoreRequest) Execute() (*TriggerRestoreResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.TriggerRestore") if err != nil { @@ -3003,7 +3003,7 @@ func (r UpdateBackupsConfigRequest) Execute() (*UpdateBackupsConfigResponse, err a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.UpdateBackupsConfig") if err != nil { diff --git a/services/resourcemanager/api_default.go b/services/resourcemanager/api_default.go index f0e382ed6..a4823248a 100644 --- a/services/resourcemanager/api_default.go +++ b/services/resourcemanager/api_default.go @@ -356,7 +356,7 @@ func (r CreateFolderRequest) Execute() (*FolderResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.CreateFolder") if err != nil { @@ -512,7 +512,7 @@ func (r CreateProjectRequest) Execute() (*Project, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.CreateProject") if err != nil { @@ -1078,7 +1078,7 @@ func (r GetFolderDetailsRequest) Execute() (*GetFolderDetailsResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.GetFolderDetails") if err != nil { @@ -1223,7 +1223,7 @@ func (r GetOrganizationRequest) Execute() (*OrganizationResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.GetOrganization") if err != nil { @@ -1360,7 +1360,7 @@ func (r GetProjectRequest) Execute() (*GetProjectResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.GetProject") if err != nil { @@ -1544,7 +1544,7 @@ func (r ListOrganizationsRequest) Execute() (*ListOrganizationsResponse, error) a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.ListOrganizations") if err != nil { @@ -1756,7 +1756,7 @@ func (r ListProjectsRequest) Execute() (*ListProjectsResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.ListProjects") if err != nil { @@ -1935,7 +1935,7 @@ func (r PartialUpdateFolderRequest) Execute() (*FolderResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.PartialUpdateFolder") if err != nil { @@ -2099,7 +2099,7 @@ func (r PartialUpdateProjectRequest) Execute() (*Project, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.PartialUpdateProject") if err != nil { diff --git a/services/runcommand/api_default.go b/services/runcommand/api_default.go index 159d4a368..e4acaad9f 100644 --- a/services/runcommand/api_default.go +++ b/services/runcommand/api_default.go @@ -187,7 +187,7 @@ func (r CreateCommandRequest) Execute() (*NewCommandResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.CreateCommand") if err != nil { @@ -353,7 +353,7 @@ func (r GetCommandRequest) Execute() (*CommandDetails, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.GetCommand") if err != nil { @@ -521,7 +521,7 @@ func (r GetCommandTemplateRequest) Execute() (*CommandTemplateSchema, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.GetCommandTemplate") if err != nil { @@ -693,7 +693,7 @@ func (r ListCommandTemplatesRequest) Execute() (*CommandTemplateResponse, error) a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.ListCommandTemplates") if err != nil { @@ -836,7 +836,7 @@ func (r ListCommandsRequest) Execute() (*GetCommandsResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.ListCommands") if err != nil { diff --git a/services/secretsmanager/api_default.go b/services/secretsmanager/api_default.go index cb68927f5..a1a343c2a 100644 --- a/services/secretsmanager/api_default.go +++ b/services/secretsmanager/api_default.go @@ -412,7 +412,7 @@ func (r CreateACLRequest) Execute() (*ACL, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.CreateACL") if err != nil { @@ -581,7 +581,7 @@ func (r CreateInstanceRequest) Execute() (*Instance, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.CreateInstance") if err != nil { @@ -736,7 +736,7 @@ func (r CreateUserRequest) Execute() (*User, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.CreateUser") if err != nil { @@ -1366,7 +1366,7 @@ func (r GetACLRequest) Execute() (*ACL, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.GetACL") if err != nil { @@ -1529,7 +1529,7 @@ func (r GetInstanceRequest) Execute() (*Instance, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.GetInstance") if err != nil { @@ -1689,7 +1689,7 @@ func (r GetUserRequest) Execute() (*User, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.GetUser") if err != nil { @@ -1852,7 +1852,7 @@ func (r ListACLsRequest) Execute() (*ListACLsResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.ListACLs") if err != nil { @@ -2010,7 +2010,7 @@ func (r ListInstancesRequest) Execute() (*ListInstancesResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.ListInstances") if err != nil { @@ -2154,7 +2154,7 @@ func (r ListUsersRequest) Execute() (*ListUsersResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.ListUsers") if err != nil { diff --git a/services/serverbackup/api_default.go b/services/serverbackup/api_default.go index 0cbdc573c..06f036153 100644 --- a/services/serverbackup/api_default.go +++ b/services/serverbackup/api_default.go @@ -426,7 +426,7 @@ func (r CreateBackupRequest) Execute() (*BackupJob, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.CreateBackup") if err != nil { @@ -574,7 +574,7 @@ func (r CreateBackupScheduleRequest) Execute() (*BackupSchedule, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.CreateBackupSchedule") if err != nil { @@ -1390,7 +1390,7 @@ func (r GetBackupRequest) Execute() (*Backup, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.GetBackup") if err != nil { @@ -1535,7 +1535,7 @@ func (r GetBackupScheduleRequest) Execute() (*BackupSchedule, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.GetBackupSchedule") if err != nil { @@ -1679,7 +1679,7 @@ func (r GetServiceResourceRequest) Execute() (*GetBackupServiceResponse, error) a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.GetServiceResource") if err != nil { @@ -1817,7 +1817,7 @@ func (r ListBackupPoliciesRequest) Execute() (*GetBackupPoliciesResponse, error) a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.ListBackupPolicies") if err != nil { @@ -1949,7 +1949,7 @@ func (r ListBackupSchedulesRequest) Execute() (*GetBackupSchedulesResponse, erro a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.ListBackupSchedules") if err != nil { @@ -2089,7 +2089,7 @@ func (r ListBackupsRequest) Execute() (*GetBackupsListResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.ListBackups") if err != nil { @@ -2525,7 +2525,7 @@ func (r UpdateBackupScheduleRequest) Execute() (*BackupSchedule, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.UpdateBackupSchedule") if err != nil { diff --git a/services/serverupdate/api_default.go b/services/serverupdate/api_default.go index de1092625..5d432645a 100644 --- a/services/serverupdate/api_default.go +++ b/services/serverupdate/api_default.go @@ -342,7 +342,7 @@ func (r CreateUpdateRequest) Execute() (*Update, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.CreateUpdate") if err != nil { @@ -490,7 +490,7 @@ func (r CreateUpdateScheduleRequest) Execute() (*UpdateSchedule, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.CreateUpdateSchedule") if err != nil { @@ -1032,7 +1032,7 @@ func (r GetServiceResourceRequest) Execute() (*GetUpdateServiceResponse, error) a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.GetServiceResource") if err != nil { @@ -1173,7 +1173,7 @@ func (r GetUpdateRequest) Execute() (*Update, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.GetUpdate") if err != nil { @@ -1318,7 +1318,7 @@ func (r GetUpdateScheduleRequest) Execute() (*UpdateSchedule, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.GetUpdateSchedule") if err != nil { @@ -1460,7 +1460,7 @@ func (r ListUpdatePoliciesRequest) Execute() (*GetUpdatePoliciesResponse, error) a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.ListUpdatePolicies") if err != nil { @@ -1592,7 +1592,7 @@ func (r ListUpdateSchedulesRequest) Execute() (*GetUpdateSchedulesResponse, erro a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.ListUpdateSchedules") if err != nil { @@ -1732,7 +1732,7 @@ func (r ListUpdatesRequest) Execute() (*GetUpdatesListResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.ListUpdates") if err != nil { @@ -1879,7 +1879,7 @@ func (r UpdateUpdateScheduleRequest) Execute() (*UpdateSchedule, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.UpdateUpdateSchedule") if err != nil { diff --git a/services/serviceaccount/api_default.go b/services/serviceaccount/api_default.go index b034540c6..cf555566d 100644 --- a/services/serviceaccount/api_default.go +++ b/services/serviceaccount/api_default.go @@ -364,7 +364,7 @@ func (r CreateAccessTokenRequest) Execute() (*AccessToken, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.CreateAccessToken") if err != nil { @@ -542,7 +542,7 @@ func (r CreateServiceAccountRequest) Execute() (*ServiceAccount, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.CreateServiceAccount") if err != nil { @@ -717,7 +717,7 @@ func (r CreateServiceAccountKeyRequest) Execute() (*CreateServiceAccountKeyRespo a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.CreateServiceAccountKey") if err != nil { @@ -910,7 +910,7 @@ func (r CreateShortLivedAccessTokenRequest) Execute() (*CreateShortLivedAccessTo a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.CreateShortLivedAccessToken") if err != nil { @@ -1522,7 +1522,7 @@ func (r GetJWKSRequest) Execute() (*JWKS, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.GetJWKS") if err != nil { @@ -1653,7 +1653,7 @@ func (r GetServiceAccountKeyRequest) Execute() (*GetServiceAccountKeyResponse, e a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.GetServiceAccountKey") if err != nil { @@ -1818,7 +1818,7 @@ func (r ListAccessTokensRequest) Execute() (*ListAccessTokensResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.ListAccessTokens") if err != nil { @@ -1987,7 +1987,7 @@ func (r ListServiceAccountKeysRequest) Execute() (*ListServiceAccountKeysRespons a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.ListServiceAccountKeys") if err != nil { @@ -2144,7 +2144,7 @@ func (r ListServiceAccountsRequest) Execute() (*ListServiceAccountsResponse, err a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.ListServiceAccounts") if err != nil { @@ -2307,7 +2307,7 @@ func (r PartialUpdateServiceAccountKeyRequest) Execute() (*PartialUpdateServiceA a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.PartialUpdateServiceAccountKey") if err != nil { diff --git a/services/serviceenablement/api_default.go b/services/serviceenablement/api_default.go index ff7bdc2a9..031dcaab0 100644 --- a/services/serviceenablement/api_default.go +++ b/services/serviceenablement/api_default.go @@ -422,7 +422,7 @@ func (r GetServiceStatusRegionalRequest) Execute() (*ServiceStatus, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.GetServiceStatusRegional") if err != nil { @@ -580,7 +580,7 @@ func (r ListServiceStatusRegionalRequest) Execute() (*ListServiceStatusRegional2 a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.ListServiceStatusRegional") if err != nil { diff --git a/services/ske/api_default.go b/services/ske/api_default.go index b86b3b8dc..0557f8ade 100644 --- a/services/ske/api_default.go +++ b/services/ske/api_default.go @@ -330,7 +330,7 @@ func (r CompleteCredentialsRotationRequest) Execute() (map[string]interface{}, e a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.CompleteCredentialsRotation") if err != nil { @@ -492,7 +492,7 @@ func (r CreateKubeconfigRequest) Execute() (*Kubeconfig, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.CreateKubeconfig") if err != nil { @@ -637,7 +637,7 @@ func (r CreateOrUpdateClusterRequest) Execute() (*Cluster, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.CreateOrUpdateCluster") if err != nil { @@ -798,7 +798,7 @@ func (r DeleteClusterRequest) Execute() (map[string]interface{}, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.DeleteCluster") if err != nil { @@ -932,7 +932,7 @@ func (r GetClusterRequest) Execute() (*Cluster, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.GetCluster") if err != nil { @@ -1066,7 +1066,7 @@ func (r GetLoginKubeconfigRequest) Execute() (*LoginKubeconfig, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.GetLoginKubeconfig") if err != nil { @@ -1199,7 +1199,7 @@ func (r ListClustersRequest) Execute() (*ListClustersResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.ListClusters") if err != nil { @@ -1349,7 +1349,7 @@ func (r ListProviderOptionsRequest) Execute() (*ProviderOptions, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.ListProviderOptions") if err != nil { @@ -1475,7 +1475,7 @@ func (r StartCredentialsRotationRequest) Execute() (map[string]interface{}, erro a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.StartCredentialsRotation") if err != nil { @@ -1631,7 +1631,7 @@ func (r TriggerHibernateRequest) Execute() (map[string]interface{}, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.TriggerHibernate") if err != nil { @@ -1776,7 +1776,7 @@ func (r TriggerMaintenanceRequest) Execute() (map[string]interface{}, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.TriggerMaintenance") if err != nil { @@ -1921,7 +1921,7 @@ func (r TriggerReconcileRequest) Execute() (map[string]interface{}, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.TriggerReconcile") if err != nil { diff --git a/services/sqlserverflex/api_default.go b/services/sqlserverflex/api_default.go index c5040922b..c6ccd6c51 100644 --- a/services/sqlserverflex/api_default.go +++ b/services/sqlserverflex/api_default.go @@ -772,7 +772,7 @@ func (r CreateDatabaseRequest) Execute() (*CreateDatabaseResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.CreateDatabase") if err != nil { @@ -937,7 +937,7 @@ func (r CreateInstanceRequest) Execute() (*CreateInstanceResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.CreateInstance") if err != nil { @@ -1099,7 +1099,7 @@ func (r CreateUserRequest) Execute() (*CreateUserResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.CreateUser") if err != nil { @@ -1694,7 +1694,7 @@ func (r GetBackupRequest) Execute() (*GetBackupResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.GetBackup") if err != nil { @@ -1852,7 +1852,7 @@ func (r GetDatabaseRequest) Execute() (*GetDatabaseResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.GetDatabase") if err != nil { @@ -2009,7 +2009,7 @@ func (r GetInstanceRequest) Execute() (*GetInstanceResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.GetInstance") if err != nil { @@ -2163,7 +2163,7 @@ func (r GetUserRequest) Execute() (*GetUserResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.GetUser") if err != nil { @@ -2341,7 +2341,7 @@ func (r ListBackupsRequest) Execute() (*ListBackupsResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.ListBackups") if err != nil { @@ -2494,7 +2494,7 @@ func (r ListCollationsRequest) Execute() (*ListCollationsResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.ListCollations") if err != nil { @@ -2668,7 +2668,7 @@ func (r ListCompatibilityRequest) Execute() (*ListCompatibilityResponse, error) a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.ListCompatibility") if err != nil { @@ -2842,7 +2842,7 @@ func (r ListDatabasesRequest) Execute() (*ListDatabasesResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.ListDatabases") if err != nil { @@ -2994,7 +2994,7 @@ func (r ListFlavorsRequest) Execute() (*ListFlavorsResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.ListFlavors") if err != nil { @@ -3142,7 +3142,7 @@ func (r ListInstancesRequest) Execute() (*ListInstancesResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.ListInstances") if err != nil { @@ -3323,7 +3323,7 @@ func (r ListMetricsRequest) Execute() (*ListMetricsResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.ListMetrics") if err != nil { @@ -3499,7 +3499,7 @@ func (r ListRestoreJobsRequest) Execute() (*ListRestoreJobsResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.ListRestoreJobs") if err != nil { @@ -3652,7 +3652,7 @@ func (r ListRolesRequest) Execute() (*ListRolesResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.ListRoles") if err != nil { @@ -3805,7 +3805,7 @@ func (r ListStoragesRequest) Execute() (*ListStoragesResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.ListStorages") if err != nil { @@ -3958,7 +3958,7 @@ func (r ListUsersRequest) Execute() (*ListUsersResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.ListUsers") if err != nil { @@ -4118,7 +4118,7 @@ func (r ListVersionsRequest) Execute() (*ListVersionsResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.ListVersions") if err != nil { @@ -4278,7 +4278,7 @@ func (r PartialUpdateInstanceRequest) Execute() (*UpdateInstanceResponse, error) a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.PartialUpdateInstance") if err != nil { @@ -4437,7 +4437,7 @@ func (r ResetUserRequest) Execute() (*ResetUserResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.ResetUser") if err != nil { @@ -5119,7 +5119,7 @@ func (r UpdateInstanceRequest) Execute() (*UpdateInstanceResponse, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.UpdateInstance") if err != nil { diff --git a/services/stackitmarketplace/api_default.go b/services/stackitmarketplace/api_default.go index c93bd5495..f3540930f 100644 --- a/services/stackitmarketplace/api_default.go +++ b/services/stackitmarketplace/api_default.go @@ -417,7 +417,7 @@ func (r GetCatalogProductRequest) Execute() (*CatalogProductDetail, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.GetCatalogProduct") if err != nil { @@ -591,7 +591,7 @@ func (r GetVendorSubscriptionRequest) Execute() (*VendorSubscription, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.GetVendorSubscription") if err != nil { @@ -969,7 +969,7 @@ func (r ListCatalogProductsRequest) Execute() (*ListCatalogProductsResponse, err a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.ListCatalogProducts") if err != nil { @@ -1157,7 +1157,7 @@ func (r ListVendorSubscriptionsRequest) Execute() (*ListVendorSubscriptionsRespo a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.ListVendorSubscriptions") if err != nil { @@ -1331,7 +1331,7 @@ func (r ResolveCustomerRequest) Execute() (*VendorSubscription, error) { a := r.apiService client, ok := a.client.(*APIClient) if !ok { - return nil, fmt.Errorf("could not parse client to type APIClient") + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") } localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.ResolveCustomer") if err != nil {