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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
/// Response struct returning an \[Object\] on success and \[ValidationResult\] if
/// invalid fields were provided
#[derive(Serialize, Deserialize)]
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Response {
    /// struct with field -> error pairs to provide feedback about invalid fields
    #[prost(message, optional, tag = "1")]
    pub validation_result: ::core::option::Option<super::ValidationResult>,
    /// Object struct with ids \[`Vec\<FieldValue\>`\] in [`Uuid`](uuid::Uuid) format and \[`Data`\]
    /// struct with flight_plan_parcel data
    #[prost(message, optional, tag = "2")]
    pub object: ::core::option::Option<Object>,
}
/// Object struct with `id` and `data` field
///
/// * `ids` \[`Vec\<FieldValue\>`\] where the field_value's should be in [`Uuid`](uuid::Uuid) format
/// * `data` \[`Data`\] struct with flight_plan_parcel_parcel data
#[derive(Serialize, Deserialize)]
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Object {
    /// list of field_name / id UUID v4 combinations
    #[prost(message, repeated, tag = "1")]
    pub ids: ::prost::alloc::vec::Vec<super::FieldValue>,
    /// data
    #[prost(message, optional, tag = "2")]
    pub data: ::core::option::Option<Data>,
}
/// UpdateObject struct with `ids`, `data` and `mask` fields
///
/// * `ids` \[`Vec\<FieldValue\>`\] where the field_value's should be in [`Uuid`](uuid::Uuid) format
/// * `data` \[`Data`\] struct with flight_plan_parcel data which should be used for update
/// * `mask` \[`FieldMask`\] struct with flight_plan_parcel fields that should be updated
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct UpdateObject {
    /// list of field_name / id UUID v4 combinations
    #[prost(message, repeated, tag = "1")]
    pub ids: ::prost::alloc::vec::Vec<super::FieldValue>,
    /// struct with flight_plan_parcel data which should be used for update
    #[prost(message, optional, tag = "2")]
    pub data: ::core::option::Option<Data>,
    /// struct with flight_plan_parcel fields that should be updated
    #[prost(message, optional, tag = "3")]
    pub mask: ::core::option::Option<::prost_types::FieldMask>,
}
/// Data struct with flight_plan_parcel data
#[derive(Serialize, Deserialize)]
#[derive(Copy)]
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Data {
    /// If the parcels are picked up at the departure vertiport
    #[prost(bool, tag = "1")]
    pub acquire: bool,
    /// If the parcels are delivered at the destination vertiport
    #[prost(bool, tag = "2")]
    pub deliver: bool,
}
/// Data struct with flight_plan_parcel data including id fields
#[derive(Serialize, Deserialize)]
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct RowData {
    /// the UUID of the flight_plan
    #[prost(string, tag = "1")]
    pub flight_plan_id: ::prost::alloc::string::String,
    /// the UUID of the parcel
    #[prost(string, tag = "2")]
    pub parcel_id: ::prost::alloc::string::String,
    /// If the parcels are picked up at the departure vertiport
    #[prost(bool, tag = "3")]
    pub acquire: bool,
    /// If the parcels are delivered at the destination vertiport
    #[prost(bool, tag = "4")]
    pub deliver: bool,
}
/// Struct containing a `list` of flight_plan_parcel \[`Vec\<Object\>`\]
#[derive(Serialize, Deserialize)]
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct List {
    /// array/vector of flight plan parcel items
    #[prost(message, repeated, tag = "1")]
    pub list: ::prost::alloc::vec::Vec<Object>,
}
/// Struct containing a `list` of flight_plan_parcel \[`Vec\<RowData\>`\]
#[derive(Serialize, Deserialize)]
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct RowDataList {
    /// array/vector of flight plan parcel items including id fields
    #[prost(message, repeated, tag = "1")]
    pub list: ::prost::alloc::vec::Vec<RowData>,
}