@@ -25,7 +25,7 @@ func TestEnvironmentAutomationTaskNewWithOptionalParams(t *testing.T) {
2525 client := gitpod .NewClient (
2626 option .WithBaseURL (baseURL ),
2727 option .WithBearerToken ("My Bearer Token" ),
28- option .WithConnectProtocolVersion (true ),
28+ option .WithConnectProtocolVersion (0 ),
2929 option .WithConnectTimeoutHeader (0 ),
3030 )
3131 _ , err := client .Environments .Automations .Tasks .New (context .TODO (), gitpod.EnvironmentAutomationTaskNewParams {
@@ -74,7 +74,7 @@ func TestEnvironmentAutomationTaskGetWithOptionalParams(t *testing.T) {
7474 client := gitpod .NewClient (
7575 option .WithBaseURL (baseURL ),
7676 option .WithBearerToken ("My Bearer Token" ),
77- option .WithConnectProtocolVersion (true ),
77+ option .WithConnectProtocolVersion (0 ),
7878 option .WithConnectTimeoutHeader (0 ),
7979 )
8080 _ , err := client .Environments .Automations .Tasks .Get (context .TODO (), gitpod.EnvironmentAutomationTaskGetParams {
@@ -100,7 +100,7 @@ func TestEnvironmentAutomationTaskUpdateWithOptionalParams(t *testing.T) {
100100 client := gitpod .NewClient (
101101 option .WithBaseURL (baseURL ),
102102 option .WithBearerToken ("My Bearer Token" ),
103- option .WithConnectProtocolVersion (true ),
103+ option .WithConnectProtocolVersion (0 ),
104104 option .WithConnectTimeoutHeader (0 ),
105105 )
106106 _ , err := client .Environments .Automations .Tasks .Update (context .TODO (), gitpod.EnvironmentAutomationTaskUpdateParams {
@@ -133,7 +133,7 @@ func TestEnvironmentAutomationTaskListWithOptionalParams(t *testing.T) {
133133 client := gitpod .NewClient (
134134 option .WithBaseURL (baseURL ),
135135 option .WithBearerToken ("My Bearer Token" ),
136- option .WithConnectProtocolVersion (true ),
136+ option .WithConnectProtocolVersion (0 ),
137137 option .WithConnectTimeoutHeader (0 ),
138138 )
139139 _ , err := client .Environments .Automations .Tasks .List (context .TODO (), gitpod.EnvironmentAutomationTaskListParams {
@@ -167,7 +167,7 @@ func TestEnvironmentAutomationTaskDeleteWithOptionalParams(t *testing.T) {
167167 client := gitpod .NewClient (
168168 option .WithBaseURL (baseURL ),
169169 option .WithBearerToken ("My Bearer Token" ),
170- option .WithConnectProtocolVersion (true ),
170+ option .WithConnectProtocolVersion (0 ),
171171 option .WithConnectTimeoutHeader (0 ),
172172 )
173173 _ , err := client .Environments .Automations .Tasks .Delete (context .TODO (), gitpod.EnvironmentAutomationTaskDeleteParams {
@@ -193,7 +193,7 @@ func TestEnvironmentAutomationTaskStartWithOptionalParams(t *testing.T) {
193193 client := gitpod .NewClient (
194194 option .WithBaseURL (baseURL ),
195195 option .WithBearerToken ("My Bearer Token" ),
196- option .WithConnectProtocolVersion (true ),
196+ option .WithConnectProtocolVersion (0 ),
197197 option .WithConnectTimeoutHeader (0 ),
198198 )
199199 _ , err := client .Environments .Automations .Tasks .Start (context .TODO (), gitpod.EnvironmentAutomationTaskStartParams {
0 commit comments