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
/*
* Tapis Globus Proxy API
*
* The Tapis Globus Proxy API proxies calls to Globus coming from a Tapis service.
*
* The version of the OpenAPI document: 1.3.0
* Contact: cicsupport@tacc.utexas.edu
* Generated by: https://openapi-generator.tech
*/
use crate::models;
use serde::{Deserialize, Serialize};
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct GlobusTransferItem {
#[serde(rename = "source_path")]
pub source_path: String,
#[serde(rename = "destination_path")]
pub destination_path: String,
/// Must be true for a directory path and false for a file.
#[serde(rename = "recursive")]
pub recursive: bool,
}
impl GlobusTransferItem {
pub fn new(
source_path: String,
destination_path: String,
recursive: bool,
) -> GlobusTransferItem {
GlobusTransferItem {
source_path,
destination_path,
recursive,
}
}
}