1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
/*
* Linkbreakers API
*
* This is a documentation of all the APIs of Linkbreakers
*
* The version of the OpenAPI document: 1.138.2
*
* Generated by: https://openapi-generator.tech
*/
use crate::models;
use serde::{Deserialize, Serialize};
/// ListResponse : ListResponse wraps the current page of teammates for the workspace directory.
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct ListResponse {
#[serde(rename = "members", skip_serializing_if = "Option::is_none")]
pub members: Option<Vec<models::Member>>,
/// Cursor to continue listing members. Empty on the last page.
#[serde(rename = "nextPageToken", skip_serializing_if = "Option::is_none")]
pub next_page_token: Option<String>,
/// How many members exist in total, so a client can tell a complete answer from a page of one. A local-first client reads absence from this list as the member having been removed, and may only do so when the count it was given matches what it received.
#[serde(rename = "totalCount", skip_serializing_if = "Option::is_none")]
pub total_count: Option<String>,
}
impl ListResponse {
/// ListResponse wraps the current page of teammates for the workspace directory.
pub fn new() -> ListResponse {
ListResponse {
members: None,
next_page_token: None,
total_count: None,
}
}
}