jira_api_v2/models/
container_of_workflow_scheme_associations.rs

1/*
2 * The Jira Cloud platform REST API
3 *
4 * Jira Cloud platform REST API documentation
5 *
6 * The version of the OpenAPI document: 1001.0.0-SNAPSHOT
7 * Contact: ecosystem@atlassian.com
8 * Generated by: https://openapi-generator.tech
9 */
10
11use crate::models;
12use serde::{Deserialize, Serialize};
13
14/// ContainerOfWorkflowSchemeAssociations : A container for a list of workflow schemes together with the projects they are associated with.
15#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
16pub struct ContainerOfWorkflowSchemeAssociations {
17    /// A list of workflow schemes together with projects they are associated with.
18    #[serde(rename = "values")]
19    pub values: Vec<models::WorkflowSchemeAssociations>,
20}
21
22impl ContainerOfWorkflowSchemeAssociations {
23    /// A container for a list of workflow schemes together with the projects they are associated with.
24    pub fn new(values: Vec<models::WorkflowSchemeAssociations>) -> ContainerOfWorkflowSchemeAssociations {
25        ContainerOfWorkflowSchemeAssociations {
26            values,
27        }
28    }
29}
30