jira/gen/models/custom_field_context_update_details.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
11/// CustomFieldContextUpdateDetails : Details of a custom field context.
12
13#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)]
14pub struct CustomFieldContextUpdateDetails {
15    /// The name of the custom field context. The name must be unique. The maximum length is 255 characters.
16    #[serde(rename = "name", skip_serializing_if = "Option::is_none")]
17    pub name: Option<String>,
18    /// The description of the custom field context. The maximum length is 255 characters.
19    #[serde(rename = "description", skip_serializing_if = "Option::is_none")]
20    pub description: Option<String>,
21}
22
23impl CustomFieldContextUpdateDetails {
24    /// Details of a custom field context.
25    pub fn new() -> CustomFieldContextUpdateDetails {
26        CustomFieldContextUpdateDetails {
27            name: None,
28            description: None,
29        }
30    }
31}