rusty-box 0.2.0-alpha

Box.com API wrapper
Documentation
/*
 * Box Platform API
 *
 * [Box Platform](https://box.dev) provides functionality to provide access to content stored within [Box](https://box.com).
 * It provides endpoints for basic manipulation of files and folders,
 * management of users within an enterprise,
 * as well as more complex topics such as legal holds and retention policies.
 *
 * The version of the OpenAPI document: 2.0.0
 * Contact: devrel@box.com
 * Generated by: https://openapi-generator.tech
 */

//TODO: DEPRECATED - This will be removed in a future version
#[derive(Clone, Debug, PartialEq, Default, Serialize, Deserialize)]
pub struct PostUsersTerminateSessionsRequest {
    /// A list of user IDs
    #[serde(rename = "user_ids")]
    pub user_ids: Vec<String>,
    /// A list of user logins
    #[serde(rename = "user_logins")]
    pub user_logins: Vec<String>,
}

impl PostUsersTerminateSessionsRequest {
    pub fn new(
        user_ids: Vec<String>,
        user_logins: Vec<String>,
    ) -> PostUsersTerminateSessionsRequest {
        PostUsersTerminateSessionsRequest {
            user_ids,
            user_logins,
        }
    }
}