@@ -2767,15 +2767,6 @@ func (a *SecurityMonitoringApi) GetSBOM(ctx _context.Context, assetType AssetTyp
27672767 optionalParams = o [0 ]
27682768 }
27692769
2770- operationId := "v2.GetSBOM"
2771- isOperationEnabled := a .Client .Cfg .IsUnstableOperationEnabled (operationId )
2772- if ! isOperationEnabled {
2773- return localVarReturnValue , nil , datadog.GenericOpenAPIError {ErrorMessage : _fmt .Sprintf ("Unstable operation '%s' is disabled" , operationId )}
2774- }
2775- if isOperationEnabled && a .Client .Cfg .Debug {
2776- _log .Printf ("WARNING: Using unstable operation '%s'" , operationId )
2777- }
2778-
27792770 localBasePath , err := a .Client .Cfg .ServerURLWithContext (ctx , "v2.SecurityMonitoringApi.GetSBOM" )
27802771 if err != nil {
27812772 return localVarReturnValue , nil , datadog.GenericOpenAPIError {ErrorMessage : err .Error ()}
@@ -4358,15 +4349,6 @@ func (a *SecurityMonitoringApi) ListAssetsSBOMs(ctx _context.Context, o ...ListA
43584349 optionalParams = o [0 ]
43594350 }
43604351
4361- operationId := "v2.ListAssetsSBOMs"
4362- isOperationEnabled := a .Client .Cfg .IsUnstableOperationEnabled (operationId )
4363- if ! isOperationEnabled {
4364- return localVarReturnValue , nil , datadog.GenericOpenAPIError {ErrorMessage : _fmt .Sprintf ("Unstable operation '%s' is disabled" , operationId )}
4365- }
4366- if isOperationEnabled && a .Client .Cfg .Debug {
4367- _log .Printf ("WARNING: Using unstable operation '%s'" , operationId )
4368- }
4369-
43704352 localBasePath , err := a .Client .Cfg .ServerURLWithContext (ctx , "v2.SecurityMonitoringApi.ListAssetsSBOMs" )
43714353 if err != nil {
43724354 return localVarReturnValue , nil , datadog.GenericOpenAPIError {ErrorMessage : err .Error ()}
0 commit comments