@@ -1769,11 +1769,11 @@ func (a *SyntheticsApi) GetSyntheticsDefaultLocations(ctx _context.Context) ([]s
17691769
17701770// GetTest Get a test configuration.
17711771// Get the detailed configuration associated with a Synthetic test.
1772- func (a * SyntheticsApi ) GetTest (ctx _context.Context , publicId string ) (SyntheticsTestDetails , * _nethttp.Response , error ) {
1772+ func (a * SyntheticsApi ) GetTest (ctx _context.Context , publicId string ) (SyntheticsTestDetailsWithoutSteps , * _nethttp.Response , error ) {
17731773 var (
17741774 localVarHTTPMethod = _nethttp .MethodGet
17751775 localVarPostBody interface {}
1776- localVarReturnValue SyntheticsTestDetails
1776+ localVarReturnValue SyntheticsTestDetailsWithoutSteps
17771777 )
17781778
17791779 localBasePath , err := a .Client .Cfg .ServerURLWithContext (ctx , "v1.SyntheticsApi.GetTest" )
@@ -2116,7 +2116,7 @@ func (a *SyntheticsApi) ListTests(ctx _context.Context, o ...ListTestsOptionalPa
21162116}
21172117
21182118// ListTestsWithPagination provides a paginated version of ListTests returning a channel with all items.
2119- func (a * SyntheticsApi ) ListTestsWithPagination (ctx _context.Context , o ... ListTestsOptionalParameters ) (<- chan datadog.PaginationResult [SyntheticsTestDetails ], func ()) {
2119+ func (a * SyntheticsApi ) ListTestsWithPagination (ctx _context.Context , o ... ListTestsOptionalParameters ) (<- chan datadog.PaginationResult [SyntheticsTestDetailsWithoutSteps ], func ()) {
21202120 ctx , cancel := _context .WithCancel (ctx )
21212121 pageSize_ := int64 (100 )
21222122 if len (o ) == 0 {
@@ -2129,13 +2129,13 @@ func (a *SyntheticsApi) ListTestsWithPagination(ctx _context.Context, o ...ListT
21292129 page_ := int64 (0 )
21302130 o [0 ].PageNumber = & page_
21312131
2132- items := make (chan datadog.PaginationResult [SyntheticsTestDetails ], pageSize_ )
2132+ items := make (chan datadog.PaginationResult [SyntheticsTestDetailsWithoutSteps ], pageSize_ )
21332133 go func () {
21342134 for {
21352135 resp , _ , err := a .ListTests (ctx , o ... )
21362136 if err != nil {
2137- var returnItem SyntheticsTestDetails
2138- items <- datadog.PaginationResult [SyntheticsTestDetails ]{Item : returnItem , Error : err }
2137+ var returnItem SyntheticsTestDetailsWithoutSteps
2138+ items <- datadog.PaginationResult [SyntheticsTestDetailsWithoutSteps ]{Item : returnItem , Error : err }
21392139 break
21402140 }
21412141 respTests , ok := resp .GetTestsOk ()
@@ -2146,7 +2146,7 @@ func (a *SyntheticsApi) ListTestsWithPagination(ctx _context.Context, o ...ListT
21462146
21472147 for _ , item := range results {
21482148 select {
2149- case items <- datadog.PaginationResult [SyntheticsTestDetails ]{Item : item , Error : nil }:
2149+ case items <- datadog.PaginationResult [SyntheticsTestDetailsWithoutSteps ]{Item : item , Error : nil }:
21502150 case <- ctx .Done ():
21512151 close (items )
21522152 return
0 commit comments