/*
* The Jira Cloud platform REST API
*
* Jira Cloud platform REST API documentation
*
* The version of the OpenAPI document: 1001.0.0-SNAPSHOT
* Contact: ecosystem@atlassian.com
* Generated by: https://openapi-generator.tech
*/
/// WorkflowTransition : A workflow transition.
#[derive(Clone, Debug, PartialEq, Default, Serialize, Deserialize)]
pub struct WorkflowTransition {
/// The transition ID.
#[serde(rename = "id")]
pub id: i32,
/// The transition name.
#[serde(rename = "name")]
pub name: String,
}
impl WorkflowTransition {
/// A workflow transition.
pub fn new(id: i32, name: String) -> WorkflowTransition {
WorkflowTransition {
id,
name,
}
}
}