-
Notifications
You must be signed in to change notification settings - Fork 0
/
volume_error.cr
29 lines (24 loc) · 1.03 KB
/
volume_error.cr
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
# THIS FILE WAS AUTO GENERATED FROM THE K8S SWAGGER SPEC
require "yaml"
require "json"
module K8S
# VolumeError captures an error encountered during a volume operation.
@[::K8S::Properties(
message: {type: String, nilable: true, key: "message", getter: false, setter: false},
time: {type: Time, nilable: true, key: "time", getter: false, setter: false},
)]
class Api::Storage::V1alpha1::VolumeError
include ::JSON::Serializable
include ::YAML::Serializable
# String detailing the error encountered during Attach or Detach operation. This string maybe logged, so it should not contain sensitive information.
@[::JSON::Field(key: "message", emit_null: false)]
@[::YAML::Field(key: "message", emit_null: false)]
property message : String | Nil
# Time the error was encountered.
@[::JSON::Field(key: "time", emit_null: false)]
@[::YAML::Field(key: "time", emit_null: false)]
property time : Time | Nil
def initialize(*, @message : String | Nil = nil, @time : Time | Nil = nil)
end
end
end