@@ -1532,7 +1532,7 @@ func (client *ClientImpl) GetExtensionDailyStats(ctx context.Context, args GetEx
15321532 queryParams .Add ("aggregate" , string (* args .Aggregate ))
15331533 }
15341534 if args .AfterDate != nil {
1535- queryParams .Add ("afterDate" , (* args .AfterDate ).String ())
1535+ queryParams .Add ("afterDate" , (* args .AfterDate ).AsQueryParameter ())
15361536 }
15371537 locationId , _ := uuid .Parse ("ae06047e-51c5-4fb4-ab65-7be488544416" )
15381538 resp , err := client .Client .Send (ctx , http .MethodGet , locationId , "5.1-preview.1" , routeValues , queryParams , nil , "" , "application/json" , nil )
@@ -1613,7 +1613,7 @@ func (client *ClientImpl) GetExtensionEvents(ctx context.Context, args GetExtens
16131613 queryParams .Add ("count" , strconv .Itoa (* args .Count ))
16141614 }
16151615 if args .AfterDate != nil {
1616- queryParams .Add ("afterDate" , (* args .AfterDate ).String ())
1616+ queryParams .Add ("afterDate" , (* args .AfterDate ).AsQueryParameter ())
16171617 }
16181618 if args .Include != nil {
16191619 queryParams .Add ("include" , * args .Include )
@@ -1668,7 +1668,7 @@ func (client *ClientImpl) GetExtensionReports(ctx context.Context, args GetExten
16681668 queryParams .Add ("count" , strconv .Itoa (* args .Count ))
16691669 }
16701670 if args .AfterDate != nil {
1671- queryParams .Add ("afterDate" , (* args .AfterDate ).String ())
1671+ queryParams .Add ("afterDate" , (* args .AfterDate ).AsQueryParameter ())
16721672 }
16731673 locationId , _ := uuid .Parse ("79e0c74f-157f-437e-845f-74fbb4121d4c" )
16741674 resp , err := client .Client .Send (ctx , http .MethodGet , locationId , "5.1-preview.1" , routeValues , queryParams , nil , "" , "application/json" , nil )
@@ -1857,7 +1857,7 @@ func (client *ClientImpl) GetQuestions(ctx context.Context, args GetQuestionsArg
18571857 queryParams .Add ("page" , strconv .Itoa (* args .Page ))
18581858 }
18591859 if args .AfterDate != nil {
1860- queryParams .Add ("afterDate" , (* args .AfterDate ).String ())
1860+ queryParams .Add ("afterDate" , (* args .AfterDate ).AsQueryParameter ())
18611861 }
18621862 locationId , _ := uuid .Parse ("c010d03d-812c-4ade-ae07-c1862475eda5" )
18631863 resp , err := client .Client .Send (ctx , http .MethodGet , locationId , "5.1-preview.1" , routeValues , queryParams , nil , "" , "application/json" , nil )
@@ -1904,10 +1904,10 @@ func (client *ClientImpl) GetReviews(ctx context.Context, args GetReviewsArgs) (
19041904 queryParams .Add ("filterOptions" , string (* args .FilterOptions ))
19051905 }
19061906 if args .BeforeDate != nil {
1907- queryParams .Add ("beforeDate" , (* args .BeforeDate ).String ())
1907+ queryParams .Add ("beforeDate" , (* args .BeforeDate ).AsQueryParameter ())
19081908 }
19091909 if args .AfterDate != nil {
1910- queryParams .Add ("afterDate" , (* args .AfterDate ).String ())
1910+ queryParams .Add ("afterDate" , (* args .AfterDate ).AsQueryParameter ())
19111911 }
19121912 locationId , _ := uuid .Parse ("5b3f819f-f247-42ad-8c00-dd9ab9ab246d" )
19131913 resp , err := client .Client .Send (ctx , http .MethodGet , locationId , "5.1-preview.1" , routeValues , queryParams , nil , "" , "application/json" , nil )
@@ -1950,10 +1950,10 @@ func (client *ClientImpl) GetReviewsSummary(ctx context.Context, args GetReviews
19501950
19511951 queryParams := url.Values {}
19521952 if args .BeforeDate != nil {
1953- queryParams .Add ("beforeDate" , (* args .BeforeDate ).String ())
1953+ queryParams .Add ("beforeDate" , (* args .BeforeDate ).AsQueryParameter ())
19541954 }
19551955 if args .AfterDate != nil {
1956- queryParams .Add ("afterDate" , (* args .AfterDate ).String ())
1956+ queryParams .Add ("afterDate" , (* args .AfterDate ).AsQueryParameter ())
19571957 }
19581958 locationId , _ := uuid .Parse ("b7b44e21-209e-48f0-ae78-04727fc37d77" )
19591959 resp , err := client .Client .Send (ctx , http .MethodGet , locationId , "5.1-preview.1" , routeValues , queryParams , nil , "" , "application/json" , nil )
0 commit comments