jira_api_v2/models/
page_bean_field_configuration_scheme_projects.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/// PageBeanFieldConfigurationSchemeProjects : A page of items.
15#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
16pub struct PageBeanFieldConfigurationSchemeProjects {
17    /// The URL of the page.
18    #[serde(rename = "self", skip_serializing_if = "Option::is_none")]
19    pub param_self: Option<String>,
20    /// If there is another page of results, the URL of the next page.
21    #[serde(rename = "nextPage", skip_serializing_if = "Option::is_none")]
22    pub next_page: Option<String>,
23    /// The maximum number of items that could be returned.
24    #[serde(rename = "maxResults", skip_serializing_if = "Option::is_none")]
25    pub max_results: Option<i32>,
26    /// The index of the first item returned.
27    #[serde(rename = "startAt", skip_serializing_if = "Option::is_none")]
28    pub start_at: Option<i64>,
29    /// The number of items returned.
30    #[serde(rename = "total", skip_serializing_if = "Option::is_none")]
31    pub total: Option<i64>,
32    /// Whether this is the last page.
33    #[serde(rename = "isLast", skip_serializing_if = "Option::is_none")]
34    pub is_last: Option<bool>,
35    /// The list of items.
36    #[serde(rename = "values", skip_serializing_if = "Option::is_none")]
37    pub values: Option<Vec<models::FieldConfigurationSchemeProjects>>,
38}
39
40impl PageBeanFieldConfigurationSchemeProjects {
41    /// A page of items.
42    pub fn new() -> PageBeanFieldConfigurationSchemeProjects {
43        PageBeanFieldConfigurationSchemeProjects {
44            param_self: None,
45            next_page: None,
46            max_results: None,
47            start_at: None,
48            total: None,
49            is_last: None,
50            values: None,
51        }
52    }
53}
54