|
1 | 1 | // Copyright 2020 StrongDM Inc
|
2 |
| -// |
| 2 | +// |
3 | 3 | // Licensed under the Apache License, Version 2.0 (the "License");
|
4 | 4 | // you may not use this file except in compliance with the License.
|
5 | 5 | // You may obtain a copy of the License at
|
6 |
| -// |
| 6 | +// |
7 | 7 | // http://www.apache.org/licenses/LICENSE-2.0
|
8 |
| -// |
| 8 | +// |
9 | 9 | // Unless required by applicable law or agreed to in writing, software
|
10 | 10 | // distributed under the License is distributed on an "AS IS" BASIS,
|
11 | 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12 | 12 | // See the License for the specific language governing permissions and
|
13 | 13 | // limitations under the License.
|
14 |
| -// |
| 14 | +// |
15 | 15 |
|
16 | 16 | // This file was generated by protogen. DO NOT EDIT.
|
17 | 17 |
|
18 | 18 | package com.strongdm.api.v1;
|
19 | 19 |
|
20 |
| -public class AKS implements Resource { |
21 |
| - private String id; |
22 |
| - // Unique identifier of the Resource. |
23 |
| - public String getId() { |
24 |
| - return this.id; |
25 |
| - } |
26 |
| - // Unique identifier of the Resource. |
27 |
| - public void setId(String in) { |
28 |
| - this.id = in; |
29 |
| - } |
30 |
| - |
31 |
| - private String name; |
32 |
| - // Unique human-readable name of the Resource. |
33 |
| - public String getName() { |
34 |
| - return this.name; |
35 |
| - } |
36 |
| - // Unique human-readable name of the Resource. |
37 |
| - public void setName(String in) { |
38 |
| - this.name = in; |
39 |
| - } |
40 |
| - |
41 |
| - private boolean healthy; |
42 |
| - // True if the datasource is reachable and the credentials are valid. |
43 |
| - public boolean getHealthy() { |
44 |
| - return this.healthy; |
45 |
| - } |
46 |
| - // True if the datasource is reachable and the credentials are valid. |
47 |
| - public void setHealthy(boolean in) { |
48 |
| - this.healthy = in; |
49 |
| - } |
50 |
| - |
51 |
| - private java.util.Map<String, String> tags; |
52 |
| - // Tags is a map of key, value pairs. |
53 |
| - public java.util.Map<String, String> getTags() { |
54 |
| - java.util.Map<String, String> m = new java.util.HashMap<String, String>(); |
55 |
| - if (this.tags != null) { |
56 |
| - m.putAll(this.tags); |
57 |
| - } |
58 |
| - return m; |
59 |
| - } |
60 |
| - // Tags is a map of key, value pairs. |
61 |
| - public void setTags(java.util.Map<String, String> in) { |
62 |
| - if (in == null) { |
63 |
| - this.tags = null; |
64 |
| - return; |
65 |
| - } |
66 |
| - this.tags = new java.util.HashMap<String, String>(); |
67 |
| - this.tags.putAll(in); |
68 |
| - } |
69 |
| - |
70 |
| - private String hostname; |
71 |
| - |
72 |
| - public String getHostname() { |
73 |
| - return this.hostname; |
74 |
| - } |
75 |
| - |
76 |
| - public void setHostname(String in) { |
77 |
| - this.hostname = in; |
78 |
| - } |
79 |
| - |
80 |
| - private int port; |
81 |
| - |
82 |
| - public int getPort() { |
83 |
| - return this.port; |
84 |
| - } |
85 |
| - |
86 |
| - public void setPort(int in) { |
87 |
| - this.port = in; |
88 |
| - } |
89 |
| - |
90 |
| - private String certificateAuthority; |
91 |
| - |
92 |
| - public String getCertificateAuthority() { |
93 |
| - return this.certificateAuthority; |
94 |
| - } |
95 |
| - |
96 |
| - public void setCertificateAuthority(String in) { |
97 |
| - this.certificateAuthority = in; |
98 |
| - } |
99 |
| - |
100 |
| - private String certificateAuthorityFilename; |
101 |
| - |
102 |
| - public String getCertificateAuthorityFilename() { |
103 |
| - return this.certificateAuthorityFilename; |
104 |
| - } |
105 |
| - |
106 |
| - public void setCertificateAuthorityFilename(String in) { |
107 |
| - this.certificateAuthorityFilename = in; |
108 |
| - } |
109 |
| - |
110 |
| - private String clientCertificate; |
111 |
| - |
112 |
| - public String getClientCertificate() { |
113 |
| - return this.clientCertificate; |
114 |
| - } |
115 |
| - |
116 |
| - public void setClientCertificate(String in) { |
117 |
| - this.clientCertificate = in; |
118 |
| - } |
119 |
| - |
120 |
| - private String clientCertificateFilename; |
121 |
| - |
122 |
| - public String getClientCertificateFilename() { |
123 |
| - return this.clientCertificateFilename; |
124 |
| - } |
125 |
| - |
126 |
| - public void setClientCertificateFilename(String in) { |
127 |
| - this.clientCertificateFilename = in; |
128 |
| - } |
| 20 | +import java.util.ArrayList; |
| 21 | +import java.util.List; |
| 22 | +import java.util.Collection; |
| 23 | +import java.util.Date; |
129 | 24 |
|
130 |
| - private String clientKey; |
131 |
| - |
132 |
| - public String getClientKey() { |
133 |
| - return this.clientKey; |
134 |
| - } |
135 | 25 |
|
136 |
| - public void setClientKey(String in) { |
137 |
| - this.clientKey = in; |
138 |
| - } |
| 26 | +public class AKS |
| 27 | + implements Resource |
| 28 | + { |
| 29 | + private String id; |
| 30 | + // Unique identifier of the Resource. |
| 31 | + public String getId() { |
| 32 | + return this.id; |
| 33 | + } |
| 34 | + // Unique identifier of the Resource. |
| 35 | + public void setId(String in) { |
| 36 | + this.id = in; |
| 37 | + } |
| 38 | + private String name; |
| 39 | + // Unique human-readable name of the Resource. |
| 40 | + public String getName() { |
| 41 | + return this.name; |
| 42 | + } |
| 43 | + // Unique human-readable name of the Resource. |
| 44 | + public void setName(String in) { |
| 45 | + this.name = in; |
| 46 | + } |
| 47 | + private boolean healthy; |
| 48 | + // True if the datasource is reachable and the credentials are valid. |
| 49 | + public boolean getHealthy() { |
| 50 | + return this.healthy; |
| 51 | + } |
| 52 | + // True if the datasource is reachable and the credentials are valid. |
| 53 | + public void setHealthy(boolean in) { |
| 54 | + this.healthy = in; |
| 55 | + } |
| 56 | + private java.util.Map<String, String> tags; |
| 57 | + // Tags is a map of key, value pairs. |
| 58 | + public java.util.Map<String, String> getTags() { |
| 59 | + java.util.Map<String, String> m = new java.util.HashMap<String, String>(); |
| 60 | + if (this.tags != null) { |
| 61 | + m.putAll(this.tags); |
| 62 | + } |
| 63 | + return m; |
| 64 | + } |
| 65 | + // Tags is a map of key, value pairs. |
| 66 | + public void setTags(java.util.Map<String, String> in) { |
| 67 | + if (in == null) { |
| 68 | + this.tags = null; |
| 69 | + return; |
| 70 | + } |
| 71 | + this.tags = new java.util.HashMap<String, String>(); |
| 72 | + this.tags.putAll(in); |
| 73 | + } |
| 74 | + private String hostname; |
| 75 | + |
| 76 | + public String getHostname() { |
| 77 | + return this.hostname; |
| 78 | + } |
| 79 | + |
| 80 | + public void setHostname(String in) { |
| 81 | + this.hostname = in; |
| 82 | + } |
| 83 | + private int port; |
| 84 | + |
| 85 | + public int getPort() { |
| 86 | + return this.port; |
| 87 | + } |
| 88 | + |
| 89 | + public void setPort(int in) { |
| 90 | + this.port = in; |
| 91 | + } |
| 92 | + private String certificateAuthority; |
| 93 | + |
| 94 | + public String getCertificateAuthority() { |
| 95 | + return this.certificateAuthority; |
| 96 | + } |
| 97 | + |
| 98 | + public void setCertificateAuthority(String in) { |
| 99 | + this.certificateAuthority = in; |
| 100 | + } |
| 101 | + private String certificateAuthorityFilename; |
| 102 | + |
| 103 | + public String getCertificateAuthorityFilename() { |
| 104 | + return this.certificateAuthorityFilename; |
| 105 | + } |
| 106 | + |
| 107 | + public void setCertificateAuthorityFilename(String in) { |
| 108 | + this.certificateAuthorityFilename = in; |
| 109 | + } |
| 110 | + private String clientCertificate; |
139 | 111 |
|
140 |
| - private String clientKeyFilename; |
| 112 | + public String getClientCertificate() { |
| 113 | + return this.clientCertificate; |
| 114 | + } |
141 | 115 |
|
142 |
| - public String getClientKeyFilename() { |
143 |
| - return this.clientKeyFilename; |
144 |
| - } |
| 116 | + public void setClientCertificate(String in) { |
| 117 | + this.clientCertificate = in; |
| 118 | + } |
| 119 | + private String clientCertificateFilename; |
145 | 120 |
|
146 |
| - public void setClientKeyFilename(String in) { |
147 |
| - this.clientKeyFilename = in; |
148 |
| - } |
| 121 | + public String getClientCertificateFilename() { |
| 122 | + return this.clientCertificateFilename; |
| 123 | + } |
149 | 124 |
|
150 |
| - private String healthcheckNamespace; |
| 125 | + public void setClientCertificateFilename(String in) { |
| 126 | + this.clientCertificateFilename = in; |
| 127 | + } |
| 128 | + private String clientKey; |
151 | 129 |
|
152 |
| - public String getHealthcheckNamespace() { |
153 |
| - return this.healthcheckNamespace; |
154 |
| - } |
| 130 | + public String getClientKey() { |
| 131 | + return this.clientKey; |
| 132 | + } |
155 | 133 |
|
156 |
| - public void setHealthcheckNamespace(String in) { |
157 |
| - this.healthcheckNamespace = in; |
158 |
| - } |
| 134 | + public void setClientKey(String in) { |
| 135 | + this.clientKey = in; |
| 136 | + } |
| 137 | + private String clientKeyFilename; |
| 138 | + |
| 139 | + public String getClientKeyFilename() { |
| 140 | + return this.clientKeyFilename; |
| 141 | + } |
| 142 | + |
| 143 | + public void setClientKeyFilename(String in) { |
| 144 | + this.clientKeyFilename = in; |
| 145 | + } |
| 146 | + private String healthcheckNamespace; |
| 147 | + |
| 148 | + public String getHealthcheckNamespace() { |
| 149 | + return this.healthcheckNamespace; |
| 150 | + } |
| 151 | + |
| 152 | + public void setHealthcheckNamespace(String in) { |
| 153 | + this.healthcheckNamespace = in; |
| 154 | + } |
159 | 155 | }
|
0 commit comments