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
use crate::models;
pub mod generate_ssh_identity_key_pair;
pub mod remove_ssh_identity_key_pair;
pub enum AggregationSourceDetailGetResponse {
Ok(models::aggregation_source::v1_3_1::AggregationSource),
Default(models::redfish::Error),
}
pub enum AggregationSourceDetailPutResponse {
Ok(models::aggregation_source::v1_3_1::AggregationSource),
Accepted(models::task::v1_5_1::Task),
NoContent,
Default(models::redfish::Error),
}
pub enum AggregationSourceDetailDeleteResponse {
Ok(models::aggregation_source::v1_3_1::AggregationSource),
Accepted(models::task::v1_5_1::Task),
NoContent,
Default(models::redfish::Error),
}
pub enum AggregationSourceDetailPatchResponse {
Ok(models::aggregation_source::v1_3_1::AggregationSource),
Accepted(models::task::v1_5_1::Task),
NoContent,
Default(models::redfish::Error),
}
pub trait AggregationSourceDetail {
fn get(
aggregation_source_id: String,
) -> AggregationSourceDetailGetResponse;
fn put(
aggregation_source_id: String,
body: models::aggregation_source::v1_3_1::AggregationSource,
) -> AggregationSourceDetailPutResponse;
fn delete(
aggregation_source_id: String,
) -> AggregationSourceDetailDeleteResponse;
fn patch(
aggregation_source_id: String,
body: serde_json::Value,
) -> AggregationSourceDetailPatchResponse;
}