asana/models/
task_remove_project_request.rs

1/*
2 * Asana
3 *
4 * This is the interface for interacting with the [Asana Platform](https://developers.asana.com). Our API reference is generated from our [OpenAPI spec] (https://raw.githubusercontent.com/Asana/developer-docs/master/defs/asana_oas.yaml).
5 *
6 * The version of the OpenAPI document: 1.0
7 *
8 * Generated by: https://openapi-generator.tech
9 */
10
11#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)]
12pub struct TaskRemoveProjectRequest {
13    /// The project to remove the task from.
14    #[serde(rename = "project")]
15    pub project: String,
16}
17
18impl TaskRemoveProjectRequest {
19    pub fn new(project: String) -> TaskRemoveProjectRequest {
20        TaskRemoveProjectRequest { project }
21    }
22}