@@ -21,7 +21,7 @@ class TOperation::TImpl {
21
21
: Id_(operation.id(), true /* allowEmpty */ )
22
22
, Status_(std::move(status))
23
23
, Ready_(operation.ready())
24
- , StartTime_ (ProtoTimestampToInstant(operation.start_time ()))
24
+ , CreateTime_ (ProtoTimestampToInstant(operation.create_time ()))
25
25
, EndTime_(ProtoTimestampToInstant(operation.end_time()))
26
26
, Operation_(std::move(operation))
27
27
{
@@ -39,14 +39,18 @@ class TOperation::TImpl {
39
39
return Status_;
40
40
}
41
41
42
- TInstant StartTime () const {
43
- return StartTime_ ;
42
+ TInstant CreateTime () const {
43
+ return CreateTime_ ;
44
44
}
45
45
46
46
TInstant EndTime () const {
47
47
return EndTime_;
48
48
}
49
49
50
+ const std::string& CreatedBy () const {
51
+ return CreatedBy_;
52
+ }
53
+
50
54
const Ydb::Operations::Operation& GetProto () const {
51
55
return Operation_;
52
56
}
@@ -55,8 +59,9 @@ class TOperation::TImpl {
55
59
const TOperationId Id_;
56
60
const TStatus Status_;
57
61
const bool Ready_;
58
- const TInstant StartTime_ ;
62
+ const TInstant CreateTime_ ;
59
63
const TInstant EndTime_;
64
+ const std::string CreatedBy_;
60
65
const Ydb::Operations::Operation Operation_;
61
66
};
62
67
@@ -80,14 +85,18 @@ const TStatus& TOperation::Status() const {
80
85
return Impl_->Status ();
81
86
}
82
87
83
- TInstant TOperation::StartTime () const {
84
- return Impl_->StartTime ();
88
+ TInstant TOperation::CreateTime () const {
89
+ return Impl_->CreateTime ();
85
90
}
86
91
87
92
TInstant TOperation::EndTime () const {
88
93
return Impl_->EndTime ();
89
94
}
90
95
96
+ const std::string& TOperation::CreatedBy () const {
97
+ return Impl_->CreatedBy ();
98
+ }
99
+
91
100
std::string TOperation::ToString () const {
92
101
TString result;
93
102
TStringOutput out (result);
0 commit comments