Struct azure_devops_rust_api::wit::recyclebin::Client
source · pub struct Client(_);Implementations§
source§impl Client
impl Client
sourcepub fn get_deleted_work_items(
&self,
organization: impl Into<String>,
ids: impl Into<String>,
project: impl Into<String>
) -> RequestBuilder
pub fn get_deleted_work_items( &self, organization: impl Into<String>, ids: impl Into<String>, project: impl Into<String> ) -> RequestBuilder
Gets the work items from the recycle bin, whose IDs have been specified in the parameters
Arguments:
organization: The name of the Azure DevOps organization.ids: Comma separated list of IDs of the deleted work items to be returnedproject: Project ID or project name
sourcepub fn get_deleted_work_item_shallow_references(
&self,
organization: impl Into<String>,
project: impl Into<String>
) -> RequestBuilder
pub fn get_deleted_work_item_shallow_references( &self, organization: impl Into<String>, project: impl Into<String> ) -> RequestBuilder
Gets a list of the IDs and the URLs of the deleted the work items in the Recycle Bin.
Arguments:
organization: The name of the Azure DevOps organization.project: Project ID or project name
sourcepub fn get(
&self,
organization: impl Into<String>,
id: i32,
project: impl Into<String>
) -> RequestBuilder
pub fn get( &self, organization: impl Into<String>, id: i32, project: impl Into<String> ) -> RequestBuilder
Gets a deleted work item from Recycle Bin.
Arguments:
organization: The name of the Azure DevOps organization.id: ID of the work item to be returnedproject: Project ID or project name
sourcepub fn restore_work_item(
&self,
organization: impl Into<String>,
body: impl Into<WorkItemDeleteUpdate>,
id: i32,
project: impl Into<String>
) -> RequestBuilder
pub fn restore_work_item( &self, organization: impl Into<String>, body: impl Into<WorkItemDeleteUpdate>, id: i32, project: impl Into<String> ) -> RequestBuilder
Restores the deleted work item from Recycle Bin.
Arguments:
organization: The name of the Azure DevOps organization.body: Paylod with instructions to update the IsDeleted flag to falseid: ID of the work item to be restoredproject: Project ID or project name
sourcepub fn destroy_work_item(
&self,
organization: impl Into<String>,
id: i32,
project: impl Into<String>
) -> RequestBuilder
pub fn destroy_work_item( &self, organization: impl Into<String>, id: i32, project: impl Into<String> ) -> RequestBuilder
Destroys the specified work item permanently from the Recycle Bin. This action can not be undone.
Arguments:
organization: The name of the Azure DevOps organization.id: ID of the work item to be destroyed permanentlyproject: Project ID or project name