@@ -290,12 +290,6 @@ func (a *AlertConfigurationsApiService) createAlertConfigurationExecute(r Create
290290 localVarHeaderParams := make (map [string ]string )
291291 localVarQueryParams := url.Values {}
292292 localVarFormParams := url.Values {}
293- if strlen (r .groupId ) < 24 {
294- return localVarReturnValue , nil , reportError ("groupId must have at least 24 elements" )
295- }
296- if strlen (r .groupId ) > 24 {
297- return localVarReturnValue , nil , reportError ("groupId must have less than 24 elements" )
298- }
299293 if r .groupAlertsConfig == nil {
300294 return localVarReturnValue , nil , reportError ("groupAlertsConfig is required and must be specified" )
301295 }
@@ -430,18 +424,6 @@ func (a *AlertConfigurationsApiService) deleteAlertConfigurationExecute(r Delete
430424 localVarHeaderParams := make (map [string ]string )
431425 localVarQueryParams := url.Values {}
432426 localVarFormParams := url.Values {}
433- if strlen (r .groupId ) < 24 {
434- return nil , reportError ("groupId must have at least 24 elements" )
435- }
436- if strlen (r .groupId ) > 24 {
437- return nil , reportError ("groupId must have less than 24 elements" )
438- }
439- if strlen (r .alertConfigId ) < 24 {
440- return nil , reportError ("alertConfigId must have at least 24 elements" )
441- }
442- if strlen (r .alertConfigId ) > 24 {
443- return nil , reportError ("alertConfigId must have less than 24 elements" )
444- }
445427
446428 // to determine the Content-Type header
447429 localVarHTTPContentTypes := []string {}
@@ -565,18 +547,6 @@ func (a *AlertConfigurationsApiService) getAlertConfigurationExecute(r GetAlertC
565547 localVarHeaderParams := make (map [string ]string )
566548 localVarQueryParams := url.Values {}
567549 localVarFormParams := url.Values {}
568- if strlen (r .groupId ) < 24 {
569- return localVarReturnValue , nil , reportError ("groupId must have at least 24 elements" )
570- }
571- if strlen (r .groupId ) > 24 {
572- return localVarReturnValue , nil , reportError ("groupId must have less than 24 elements" )
573- }
574- if strlen (r .alertConfigId ) < 24 {
575- return localVarReturnValue , nil , reportError ("alertConfigId must have at least 24 elements" )
576- }
577- if strlen (r .alertConfigId ) > 24 {
578- return localVarReturnValue , nil , reportError ("alertConfigId must have less than 24 elements" )
579- }
580550
581551 // to determine the Content-Type header
582552 localVarHTTPContentTypes := []string {}
@@ -848,12 +818,6 @@ func (a *AlertConfigurationsApiService) listAlertConfigurationsExecute(r ListAle
848818 localVarHeaderParams := make (map [string ]string )
849819 localVarQueryParams := url.Values {}
850820 localVarFormParams := url.Values {}
851- if strlen (r .groupId ) < 24 {
852- return localVarReturnValue , nil , reportError ("groupId must have at least 24 elements" )
853- }
854- if strlen (r .groupId ) > 24 {
855- return localVarReturnValue , nil , reportError ("groupId must have less than 24 elements" )
856- }
857821
858822 if r .includeCount != nil {
859823 parameterAddToHeaderOrQuery (localVarQueryParams , "includeCount" , r .includeCount , "" )
@@ -1034,18 +998,6 @@ func (a *AlertConfigurationsApiService) listAlertConfigurationsByAlertIdExecute(
1034998 localVarHeaderParams := make (map [string ]string )
1035999 localVarQueryParams := url.Values {}
10361000 localVarFormParams := url.Values {}
1037- if strlen (r .groupId ) < 24 {
1038- return localVarReturnValue , nil , reportError ("groupId must have at least 24 elements" )
1039- }
1040- if strlen (r .groupId ) > 24 {
1041- return localVarReturnValue , nil , reportError ("groupId must have less than 24 elements" )
1042- }
1043- if strlen (r .alertId ) < 24 {
1044- return localVarReturnValue , nil , reportError ("alertId must have at least 24 elements" )
1045- }
1046- if strlen (r .alertId ) > 24 {
1047- return localVarReturnValue , nil , reportError ("alertId must have less than 24 elements" )
1048- }
10491001
10501002 if r .includeCount != nil {
10511003 parameterAddToHeaderOrQuery (localVarQueryParams , "includeCount" , r .includeCount , "" )
@@ -1205,18 +1157,6 @@ func (a *AlertConfigurationsApiService) toggleAlertConfigurationExecute(r Toggle
12051157 localVarHeaderParams := make (map [string ]string )
12061158 localVarQueryParams := url.Values {}
12071159 localVarFormParams := url.Values {}
1208- if strlen (r .groupId ) < 24 {
1209- return localVarReturnValue , nil , reportError ("groupId must have at least 24 elements" )
1210- }
1211- if strlen (r .groupId ) > 24 {
1212- return localVarReturnValue , nil , reportError ("groupId must have less than 24 elements" )
1213- }
1214- if strlen (r .alertConfigId ) < 24 {
1215- return localVarReturnValue , nil , reportError ("alertConfigId must have at least 24 elements" )
1216- }
1217- if strlen (r .alertConfigId ) > 24 {
1218- return localVarReturnValue , nil , reportError ("alertConfigId must have less than 24 elements" )
1219- }
12201160 if r .alertsToggle == nil {
12211161 return localVarReturnValue , nil , reportError ("alertsToggle is required and must be specified" )
12221162 }
@@ -1360,18 +1300,6 @@ func (a *AlertConfigurationsApiService) updateAlertConfigurationExecute(r Update
13601300 localVarHeaderParams := make (map [string ]string )
13611301 localVarQueryParams := url.Values {}
13621302 localVarFormParams := url.Values {}
1363- if strlen (r .groupId ) < 24 {
1364- return localVarReturnValue , nil , reportError ("groupId must have at least 24 elements" )
1365- }
1366- if strlen (r .groupId ) > 24 {
1367- return localVarReturnValue , nil , reportError ("groupId must have less than 24 elements" )
1368- }
1369- if strlen (r .alertConfigId ) < 24 {
1370- return localVarReturnValue , nil , reportError ("alertConfigId must have at least 24 elements" )
1371- }
1372- if strlen (r .alertConfigId ) > 24 {
1373- return localVarReturnValue , nil , reportError ("alertConfigId must have less than 24 elements" )
1374- }
13751303 if r .groupAlertsConfig == nil {
13761304 return localVarReturnValue , nil , reportError ("groupAlertsConfig is required and must be specified" )
13771305 }
0 commit comments