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
use serde::{Deserialize, Serialize};
#[allow(unused_imports)]
use super::*;
#[allow(unused_imports)]
use super::super::models::*;
#[derive(Debug, Clone, Serialize, Deserialize)]
#[serde(rename_all = "camelCase")]
pub struct UpdateContainerInstanceResponse {
/// Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation.
pub opc_work_request_id: String,
/// Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
pub opc_request_id: String,
}
/// Required fields for UpdateContainerInstanceResponse
pub struct UpdateContainerInstanceResponseRequired {
/// Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation.
pub opc_work_request_id: String,
/// Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
pub opc_request_id: String,
}
impl UpdateContainerInstanceResponse {
/// Create a new UpdateContainerInstanceResponse with required fields
pub fn new(required: UpdateContainerInstanceResponseRequired) -> Self {
Self {
opc_work_request_id: required.opc_work_request_id,
opc_request_id: required.opc_request_id,
}
}
/// Set opc_work_request_id
pub fn set_opc_work_request_id(mut self, value: String) -> Self {
self.opc_work_request_id = value;
self
}
/// Set opc_request_id
pub fn set_opc_request_id(mut self, value: String) -> Self {
self.opc_request_id = value;
self
}
}