@@ -412,7 +412,7 @@ type RequestAIEndpointAnalyticsUpdateAnExistingProfilingRuleV1ConditionGroupsCon
412
412
413
413
414
414
415
- Documentation Link: https://developer.cisco.com/docs/dna-center/#!get-anc-policies-v1
415
+ Documentation Link: https://developer.cisco.com/docs/dna-center/#!get-anc-policies
416
416
*/
417
417
func (s * AIEndpointAnalyticsService ) GetAncPoliciesV1 () (* ResponseAIEndpointAnalyticsGetAncPoliciesV1 , * resty.Response , error ) {
418
418
path := "/dna/intent/api/v1/endpoint-analytics/anc-policies"
@@ -447,7 +447,7 @@ func (s *AIEndpointAnalyticsService) GetAncPoliciesV1() (*ResponseAIEndpointAnal
447
447
448
448
@param GetAIEndpointAnalyticsAttributeDictionariesV1QueryParams Filtering parameter
449
449
450
- Documentation Link: https://developer.cisco.com/docs/dna-center/#!get-a-i-endpoint-analytics-attribute-dictionaries-v1
450
+ Documentation Link: https://developer.cisco.com/docs/dna-center/#!get-a-i-endpoint-analytics-attribute-dictionaries
451
451
*/
452
452
func (s * AIEndpointAnalyticsService ) GetAIEndpointAnalyticsAttributeDictionariesV1 (GetAIEndpointAnalyticsAttributeDictionariesV1QueryParams * GetAIEndpointAnalyticsAttributeDictionariesV1QueryParams ) (* ResponseAIEndpointAnalyticsGetAIEndpointAnalyticsAttributeDictionariesV1 , * resty.Response , error ) {
453
453
path := "/dna/intent/api/v1/endpoint-analytics/dictionaries"
@@ -484,7 +484,7 @@ func (s *AIEndpointAnalyticsService) GetAIEndpointAnalyticsAttributeDictionaries
484
484
485
485
@param QueryTheEndpointsV1QueryParams Filtering parameter
486
486
487
- Documentation Link: https://developer.cisco.com/docs/dna-center/#!query-the-endpoints-v1
487
+ Documentation Link: https://developer.cisco.com/docs/dna-center/#!query-the-endpoints
488
488
*/
489
489
func (s * AIEndpointAnalyticsService ) QueryTheEndpointsV1 (QueryTheEndpointsV1QueryParams * QueryTheEndpointsV1QueryParams ) (* ResponseAIEndpointAnalyticsQueryTheEndpointsV1 , * resty.Response , error ) {
490
490
path := "/dna/intent/api/v1/endpoint-analytics/endpoints"
@@ -521,7 +521,7 @@ func (s *AIEndpointAnalyticsService) QueryTheEndpointsV1(QueryTheEndpointsV1Quer
521
521
522
522
@param FetchTheCountOfEndpointsV1QueryParams Filtering parameter
523
523
524
- Documentation Link: https://developer.cisco.com/docs/dna-center/#!fetch-the-count-of-endpoints-v1
524
+ Documentation Link: https://developer.cisco.com/docs/dna-center/#!fetch-the-count-of-endpoints
525
525
*/
526
526
func (s * AIEndpointAnalyticsService ) FetchTheCountOfEndpointsV1 (FetchTheCountOfEndpointsV1QueryParams * FetchTheCountOfEndpointsV1QueryParams ) (* ResponseAIEndpointAnalyticsFetchTheCountOfEndpointsV1 , * resty.Response , error ) {
527
527
path := "/dna/intent/api/v1/endpoint-analytics/endpoints/count"
@@ -560,7 +560,7 @@ func (s *AIEndpointAnalyticsService) FetchTheCountOfEndpointsV1(FetchTheCountOfE
560
560
561
561
@param GetEndpointDetailsV1QueryParams Filtering parameter
562
562
563
- Documentation Link: https://developer.cisco.com/docs/dna-center/#!get-endpoint-details-v1
563
+ Documentation Link: https://developer.cisco.com/docs/dna-center/#!get-endpoint-details
564
564
*/
565
565
func (s * AIEndpointAnalyticsService ) GetEndpointDetailsV1 (epID string , GetEndpointDetailsV1QueryParams * GetEndpointDetailsV1QueryParams ) (* ResponseAIEndpointAnalyticsGetEndpointDetailsV1 , * resty.Response , error ) {
566
566
path := "/dna/intent/api/v1/endpoint-analytics/endpoints/{epId}"
@@ -598,7 +598,7 @@ func (s *AIEndpointAnalyticsService) GetEndpointDetailsV1(epID string, GetEndpoi
598
598
599
599
@param GetListOfProfilingRulesV1QueryParams Filtering parameter
600
600
601
- Documentation Link: https://developer.cisco.com/docs/dna-center/#!get-list-of-profiling-rules-v1
601
+ Documentation Link: https://developer.cisco.com/docs/dna-center/#!get-list-of-profiling-rules
602
602
*/
603
603
func (s * AIEndpointAnalyticsService ) GetListOfProfilingRulesV1 (GetListOfProfilingRulesV1QueryParams * GetListOfProfilingRulesV1QueryParams ) (* ResponseAIEndpointAnalyticsGetListOfProfilingRulesV1 , * resty.Response , error ) {
604
604
path := "/dna/intent/api/v1/endpoint-analytics/profiling-rules"
@@ -635,7 +635,7 @@ func (s *AIEndpointAnalyticsService) GetListOfProfilingRulesV1(GetListOfProfilin
635
635
636
636
@param GetCountOfProfilingRulesV1QueryParams Filtering parameter
637
637
638
- Documentation Link: https://developer.cisco.com/docs/dna-center/#!get-count-of-profiling-rules-v1
638
+ Documentation Link: https://developer.cisco.com/docs/dna-center/#!get-count-of-profiling-rules
639
639
*/
640
640
func (s * AIEndpointAnalyticsService ) GetCountOfProfilingRulesV1 (GetCountOfProfilingRulesV1QueryParams * GetCountOfProfilingRulesV1QueryParams ) (* ResponseAIEndpointAnalyticsGetCountOfProfilingRulesV1 , * resty.Response , error ) {
641
641
path := "/dna/intent/api/v1/endpoint-analytics/profiling-rules/count"
@@ -673,7 +673,7 @@ func (s *AIEndpointAnalyticsService) GetCountOfProfilingRulesV1(GetCountOfProfil
673
673
@param ruleID ruleId path parameter. Unique rule identifier
674
674
675
675
676
- Documentation Link: https://developer.cisco.com/docs/dna-center/#!get-details-of-a-single-profiling-rule-v1
676
+ Documentation Link: https://developer.cisco.com/docs/dna-center/#!get-details-of-a-single-profiling-rule
677
677
*/
678
678
func (s * AIEndpointAnalyticsService ) GetDetailsOfASingleProfilingRuleV1 (ruleID string ) (* ResponseAIEndpointAnalyticsGetDetailsOfASingleProfilingRuleV1 , * resty.Response , error ) {
679
679
path := "/dna/intent/api/v1/endpoint-analytics/profiling-rules/{ruleId}"
@@ -710,7 +710,7 @@ func (s *AIEndpointAnalyticsService) GetDetailsOfASingleProfilingRuleV1(ruleID s
710
710
@param taskID taskId path parameter. Unique identifier for the task.
711
711
712
712
713
- Documentation Link: https://developer.cisco.com/docs/dna-center/#!get-task-details-v1
713
+ Documentation Link: https://developer.cisco.com/docs/dna-center/#!get-task-details
714
714
*/
715
715
func (s * AIEndpointAnalyticsService ) GetTaskDetailsV1 (taskID string ) (* ResponseAIEndpointAnalyticsGetTaskDetailsV1 , * resty.Response , error ) {
716
716
path := "/dna/intent/api/v1/endpoint-analytics/tasks/{taskId}"
@@ -745,7 +745,7 @@ func (s *AIEndpointAnalyticsService) GetTaskDetailsV1(taskID string) (*ResponseA
745
745
746
746
747
747
748
- Documentation Link: https://developer.cisco.com/docs/dna-center/#!process-cmdb-endpoints-v1
748
+ Documentation Link: https://developer.cisco.com/docs/dna-center/#!process-cmdb-endpoints
749
749
*/
750
750
func (s * AIEndpointAnalyticsService ) ProcessCmdbEndpointsV1 (requestAIEndpointAnalyticsProcessCMDBEndpointsV1 * RequestAIEndpointAnalyticsProcessCmdbEndpointsV1 ) (* resty.Response , error ) {
751
751
path := "/dna/intent/api/v1/endpoint-analytics/cmdb/endpoints"
@@ -780,7 +780,7 @@ func (s *AIEndpointAnalyticsService) ProcessCmdbEndpointsV1(requestAIEndpointAna
780
780
781
781
782
782
783
- Documentation Link: https://developer.cisco.com/docs/dna-center/#!register-an-endpoint-v1
783
+ Documentation Link: https://developer.cisco.com/docs/dna-center/#!register-an-endpoint
784
784
*/
785
785
func (s * AIEndpointAnalyticsService ) RegisterAnEndpointV1 (requestAIEndpointAnalyticsRegisterAnEndpointV1 * RequestAIEndpointAnalyticsRegisterAnEndpointV1 ) (* resty.Response , error ) {
786
786
path := "/dna/intent/api/v1/endpoint-analytics/endpoints"
@@ -815,7 +815,7 @@ func (s *AIEndpointAnalyticsService) RegisterAnEndpointV1(requestAIEndpointAnaly
815
815
816
816
817
817
818
- Documentation Link: https://developer.cisco.com/docs/dna-center/#!create-a-profiling-rule-v1
818
+ Documentation Link: https://developer.cisco.com/docs/dna-center/#!create-a-profiling-rule
819
819
*/
820
820
func (s * AIEndpointAnalyticsService ) CreateAProfilingRuleV1 (requestAIEndpointAnalyticsCreateAProfilingRuleV1 * RequestAIEndpointAnalyticsCreateAProfilingRuleV1 ) (* ResponseAIEndpointAnalyticsCreateAProfilingRuleV1 , * resty.Response , error ) {
821
821
path := "/dna/intent/api/v1/endpoint-analytics/profiling-rules"
@@ -855,7 +855,7 @@ func (s *AIEndpointAnalyticsService) CreateAProfilingRuleV1(requestAIEndpointAna
855
855
856
856
857
857
858
- Documentation Link: https://developer.cisco.com/docs/dna-center/#!import-profiling-rules-in-bulk-v1
858
+ Documentation Link: https://developer.cisco.com/docs/dna-center/#!import-profiling-rules-in-bulk
859
859
*/
860
860
func (s * AIEndpointAnalyticsService ) ImportProfilingRulesInBulkV1 (requestAIEndpointAnalyticsImportProfilingRulesInBulkV1 * RequestAIEndpointAnalyticsImportProfilingRulesInBulkV1 ) (* resty.Response , error ) {
861
861
path := "/dna/intent/api/v1/endpoint-analytics/profiling-rules/bulk"
@@ -994,7 +994,7 @@ func (s *AIEndpointAnalyticsService) UpdateAnExistingProfilingRuleV1(ruleID stri
994
994
@param epID epId path parameter. Unique identifier for the endpoint.
995
995
996
996
997
- Documentation Link: https://developer.cisco.com/docs/dna-center/#!delete-an-endpoint-v1
997
+ Documentation Link: https://developer.cisco.com/docs/dna-center/#!delete-an-endpoint
998
998
*/
999
999
func (s * AIEndpointAnalyticsService ) DeleteAnEndpointV1 (epID string ) (* resty.Response , error ) {
1000
1000
//epID string
@@ -1014,8 +1014,7 @@ func (s *AIEndpointAnalyticsService) DeleteAnEndpointV1(epID string) (*resty.Res
1014
1014
1015
1015
if response .IsError () {
1016
1016
if response .StatusCode () == http .StatusUnauthorized {
1017
- return s .DeleteAnEndpointV1 (
1018
- epID )
1017
+ return s .DeleteAnEndpointV1 (epID )
1019
1018
}
1020
1019
return response , fmt .Errorf ("error with operation DeleteAnEndpointV1" )
1021
1020
}
@@ -1031,7 +1030,7 @@ func (s *AIEndpointAnalyticsService) DeleteAnEndpointV1(epID string) (*resty.Res
1031
1030
@param epID epId path parameter. Unique identifier for the endpoint.
1032
1031
1033
1032
1034
- Documentation Link: https://developer.cisco.com/docs/dna-center/#!revoke-anc-policy-v1
1033
+ Documentation Link: https://developer.cisco.com/docs/dna-center/#!revoke-anc-policy
1035
1034
*/
1036
1035
func (s * AIEndpointAnalyticsService ) RevokeAncPolicyV1 (epID string ) (* resty.Response , error ) {
1037
1036
//epID string
@@ -1051,8 +1050,7 @@ func (s *AIEndpointAnalyticsService) RevokeAncPolicyV1(epID string) (*resty.Resp
1051
1050
1052
1051
if response .IsError () {
1053
1052
if response .StatusCode () == http .StatusUnauthorized {
1054
- return s .RevokeAncPolicyV1 (
1055
- epID )
1053
+ return s .RevokeAncPolicyV1 (epID )
1056
1054
}
1057
1055
return response , fmt .Errorf ("error with operation RevokeAncPolicyV1" )
1058
1056
}
@@ -1068,7 +1066,7 @@ func (s *AIEndpointAnalyticsService) RevokeAncPolicyV1(epID string) (*resty.Resp
1068
1066
@param ruleID ruleId path parameter. Unique rule identifier
1069
1067
1070
1068
1071
- Documentation Link: https://developer.cisco.com/docs/dna-center/#!delete-an-existing-profiling-rule-v1
1069
+ Documentation Link: https://developer.cisco.com/docs/dna-center/#!delete-an-existing-profiling-rule
1072
1070
*/
1073
1071
func (s * AIEndpointAnalyticsService ) DeleteAnExistingProfilingRuleV1 (ruleID string ) (* resty.Response , error ) {
1074
1072
//ruleID string
@@ -1088,8 +1086,7 @@ func (s *AIEndpointAnalyticsService) DeleteAnExistingProfilingRuleV1(ruleID stri
1088
1086
1089
1087
if response .IsError () {
1090
1088
if response .StatusCode () == http .StatusUnauthorized {
1091
- return s .DeleteAnExistingProfilingRuleV1 (
1092
- ruleID )
1089
+ return s .DeleteAnExistingProfilingRuleV1 (ruleID )
1093
1090
}
1094
1091
return response , fmt .Errorf ("error with operation DeleteAnExistingProfilingRuleV1" )
1095
1092
}
0 commit comments