-
Notifications
You must be signed in to change notification settings - Fork 0
/
external_documentation.cr
29 lines (24 loc) · 1.01 KB
/
external_documentation.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
# ExternalDocumentation allows referencing an external resource for extended documentation.
@[::K8S::Properties(
description: {type: String, nilable: true, key: "description", getter: false, setter: false},
url: {type: String, nilable: true, key: "url", getter: false, setter: false},
)]
class ApiextensionsApiserver::Apis::Apiextensions::V1beta1::ExternalDocumentation
include ::JSON::Serializable
include ::JSON::Serializable::Unmapped
include ::YAML::Serializable
include ::YAML::Serializable::Unmapped
@[::JSON::Field(key: "description", emit_null: false)]
@[::YAML::Field(key: "description", emit_null: false)]
property description : String | Nil
@[::JSON::Field(key: "url", emit_null: false)]
@[::YAML::Field(key: "url", emit_null: false)]
property url : String | Nil
def initialize(*, @description : String | Nil = nil, @url : String | Nil = nil)
end
end
end