jira2/models/permission_grants.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/// PermissionGrants : List of permission grants.
12
13
14
15#[derive(Clone, Debug, PartialEq, Default, Serialize, Deserialize)]
16pub struct PermissionGrants {
17 /// Permission grants list.
18 #[serde(rename = "permissions", skip_serializing_if = "Option::is_none")]
19 pub permissions: Option<Vec<crate::models::PermissionGrant>>,
20 /// Expand options that include additional permission grant details in the response.
21 #[serde(rename = "expand", skip_serializing_if = "Option::is_none")]
22 pub expand: Option<String>,
23}
24
25impl PermissionGrants {
26 /// List of permission grants.
27 pub fn new() -> PermissionGrants {
28 PermissionGrants {
29 permissions: None,
30 expand: None,
31 }
32 }
33}
34
35