Skip to content

Commit

Permalink
Add Pipeline Member api.
Browse files Browse the repository at this point in the history
  • Loading branch information
sdk-team committed Oct 22, 2020
1 parent 7dd5b64 commit b3ca059
Show file tree
Hide file tree
Showing 3 changed files with 189 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# CHANGELOG

## 1.8.560 - 2020-10-22
- Add Pipeline Member api.


## 1.8.559 - 2020-10-22
- Update data API.

Expand Down
184 changes: 184 additions & 0 deletions src/DevopsRdc/V20200303/DevopsRdcApiResolver.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
* @method DeleteDevopsProjectMembers deleteDevopsProjectMembers(array $options = [])
* @method DeleteDevopsProjectSprint deleteDevopsProjectSprint(array $options = [])
* @method DeleteDevopsProjectTask deleteDevopsProjectTask(array $options = [])
* @method DeletePipelineMember deletePipelineMember(array $options = [])
* @method ExecutePipeline executePipeline(array $options = [])
* @method GetDevopsOrganizationMembers getDevopsOrganizationMembers(array $options = [])
* @method GetDevopsProjectInfo getDevopsProjectInfo(array $options = [])
Expand All @@ -34,6 +35,7 @@
* @method GetPipleineLatestInstanceStatus getPipleineLatestInstanceStatus(array $options = [])
* @method GetUserByAliyunUid getUserByAliyunUid(array $options = [])
* @method InsertDevopsUser insertDevopsUser(array $options = [])
* @method InsertPipelineMember insertPipelineMember(array $options = [])
* @method InsertProjectMembers insertProjectMembers(array $options = [])
* @method ListCredentials listCredentials(array $options = [])
* @method ListDevopsProjectSprints listDevopsProjectSprints(array $options = [])
Expand All @@ -44,9 +46,11 @@
* @method ListPipelines listPipelines(array $options = [])
* @method ListServiceConnections listServiceConnections(array $options = [])
* @method ListUserOrganization listUserOrganization(array $options = [])
* @method TransferPipelineOwner transferPipelineOwner(array $options = [])
* @method UpdateDevopsProject updateDevopsProject(array $options = [])
* @method UpdateDevopsProjectSprint updateDevopsProjectSprint(array $options = [])
* @method UpdateDevopsProjectTask updateDevopsProjectTask(array $options = [])
* @method UpdatePipelineMember updatePipelineMember(array $options = [])
*/
class DevopsRdcApiResolver extends ApiResolver
{
Expand Down Expand Up @@ -994,6 +998,44 @@ public function withTaskId($value)
}
}

/**
* @method string getUserPk()
* @method string getUserId()
* @method string getOrgId()
* @method $this withOrgId($value)
* @method string getPipelineId()
* @method $this withPipelineId($value)
*/
class DeletePipelineMember extends Rpc
{

/**
* @param string $value
*
* @return $this
*/
public function withUserPk($value)
{
$this->data['UserPk'] = $value;
$this->options['form_params']['UserPk'] = $value;

return $this;
}

/**
* @param string $value
*
* @return $this
*/
public function withUserId($value)
{
$this->data['UserId'] = $value;
$this->options['form_params']['UserId'] = $value;

return $this;
}
}

/**
* @method string getParameters()
* @method string getUserPk()
Expand Down Expand Up @@ -1558,6 +1600,58 @@ public function withUserName($value)
}
}

/**
* @method string getRoleName()
* @method string getUserPk()
* @method string getUserId()
* @method string getOrgId()
* @method $this withOrgId($value)
* @method string getPipelineId()
* @method $this withPipelineId($value)
*/
class InsertPipelineMember extends Rpc
{

/**
* @param string $value
*
* @return $this
*/
public function withRoleName($value)
{
$this->data['RoleName'] = $value;
$this->options['form_params']['RoleName'] = $value;

return $this;
}

/**
* @param string $value
*
* @return $this
*/
public function withUserPk($value)
{
$this->data['UserPk'] = $value;
$this->options['form_params']['UserPk'] = $value;

return $this;
}

/**
* @param string $value
*
* @return $this
*/
public function withUserId($value)
{
$this->data['UserId'] = $value;
$this->options['form_params']['UserId'] = $value;

return $this;
}
}

/**
* @method string getMembers()
* @method string getProjectId()
Expand Down Expand Up @@ -2040,6 +2134,44 @@ public function withRealPk($value)
}
}

/**
* @method string getUserPk()
* @method string getOrgId()
* @method $this withOrgId($value)
* @method string getPipelineId()
* @method $this withPipelineId($value)
* @method string getNewOwnerId()
*/
class TransferPipelineOwner extends Rpc
{

/**
* @param string $value
*
* @return $this
*/
public function withUserPk($value)
{
$this->data['UserPk'] = $value;
$this->options['form_params']['UserPk'] = $value;

return $this;
}

/**
* @param string $value
*
* @return $this
*/
public function withNewOwnerId($value)
{
$this->data['NewOwnerId'] = $value;
$this->options['form_params']['NewOwnerId'] = $value;

return $this;
}
}

/**
* @method string getName()
* @method string getDescription()
Expand Down Expand Up @@ -2421,3 +2553,55 @@ public function withTaskId($value)
return $this;
}
}

/**
* @method string getRoleName()
* @method string getUserPk()
* @method string getUserId()
* @method string getOrgId()
* @method $this withOrgId($value)
* @method string getPipelineId()
* @method $this withPipelineId($value)
*/
class UpdatePipelineMember extends Rpc
{

/**
* @param string $value
*
* @return $this
*/
public function withRoleName($value)
{
$this->data['RoleName'] = $value;
$this->options['form_params']['RoleName'] = $value;

return $this;
}

/**
* @param string $value
*
* @return $this
*/
public function withUserPk($value)
{
$this->data['UserPk'] = $value;
$this->options['form_params']['UserPk'] = $value;

return $this;
}

/**
* @param string $value
*
* @return $this
*/
public function withUserId($value)
{
$this->data['UserId'] = $value;
$this->options['form_params']['UserId'] = $value;

return $this;
}
}
2 changes: 1 addition & 1 deletion src/Release.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class Release
/**
* Version of the SDK
*/
const VERSION = '1.8.559';
const VERSION = '1.8.560';

/**
* @param Event $event
Expand Down

0 comments on commit b3ca059

Please sign in to comment.