10
10
from ...client import Client
11
11
from . import models
12
12
13
+ class GetDeploymentExecutionResponseValue (object ):
14
+ def __init__ (self , value , continuation_token ):
15
+ """
16
+ Response for the get_build_changes method
17
+ :param value:
18
+ :type value: :class:`<[Change]> <azure.devops.v5_1.build.models.[Change]>`
19
+ :param continuation_token: The continuation token to be used to get the next page of results.
20
+ :type continuation_token: str
21
+ """
22
+ self .value = value
23
+ self .continuation_token = continuation_token
13
24
14
25
class TaskAgentClient (Client ):
15
26
"""TaskAgent
@@ -358,7 +369,7 @@ def get_environment_deployment_execution_records(self, project, environment_id,
358
369
:param int environment_id:
359
370
:param str continuation_token:
360
371
:param int top:
361
- :rtype: :class:`<[EnvironmentDeploymentExecutionRecord]> <azure.devops.v6_0.task_agent.models.[EnvironmentDeploymentExecutionRecord] >`
372
+ :rtype: : class: `<GetDeploymentExecutionResponseValue >`
362
373
"""
363
374
route_values = {}
364
375
if project is not None :
@@ -375,7 +386,9 @@ def get_environment_deployment_execution_records(self, project, environment_id,
375
386
version = '6.0-preview.1' ,
376
387
route_values = route_values ,
377
388
query_parameters = query_parameters )
378
- return self ._deserialize ('[EnvironmentDeploymentExecutionRecord]' , self ._unwrap_collection (response ))
389
+ response_value = self ._deserialize ('[EnvironmentDeploymentExecutionRecord]' , self ._unwrap_collection (response ))
390
+ continuation_token = self ._get_continuation_token (response )
391
+ return self .GetDeploymentExecutionResponseValue (response_value , continuation_token )
379
392
380
393
def add_environment (self , environment_create_parameter , project ):
381
394
"""AddEnvironment.
0 commit comments