Skip to content

Commit fc6934f

Browse files
committed
spotless apply
1 parent 40b79ac commit fc6934f

File tree

184 files changed

+12408
-12495
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

184 files changed

+12408
-12495
lines changed
Lines changed: 61 additions & 70 deletions
Original file line numberDiff line numberDiff line change
@@ -1,173 +1,168 @@
11
/*
2-
* Kubernetes
3-
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4-
*
5-
* The version of the OpenAPI document: v1.18.2
6-
*
7-
*
8-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9-
* https://openapi-generator.tech
10-
* Do not edit the class manually.
11-
*/
12-
13-
2+
Copyright 2020 The Kubernetes Authors.
3+
Licensed under the Apache License, Version 2.0 (the "License");
4+
you may not use this file except in compliance with the License.
5+
You may obtain a copy of the License at
6+
http://www.apache.org/licenses/LICENSE-2.0
7+
Unless required by applicable law or agreed to in writing, software
8+
distributed under the License is distributed on an "AS IS" BASIS,
9+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10+
See the License for the specific language governing permissions and
11+
limitations under the License.
12+
*/
1413
package com.coreos.monitoring.models;
1514

16-
import java.util.Objects;
17-
import java.util.Arrays;
18-
import com.coreos.monitoring.models.V1AlertmanagerSpec;
19-
import com.coreos.monitoring.models.V1AlertmanagerStatus;
20-
import com.google.gson.TypeAdapter;
21-
import com.google.gson.annotations.JsonAdapter;
2215
import com.google.gson.annotations.SerializedName;
23-
import com.google.gson.stream.JsonReader;
24-
import com.google.gson.stream.JsonWriter;
2516
import io.kubernetes.client.openapi.models.V1ObjectMeta;
2617
import io.swagger.annotations.ApiModel;
2718
import io.swagger.annotations.ApiModelProperty;
28-
import java.io.IOException;
19+
import java.util.Objects;
2920

30-
/**
31-
* Alertmanager describes an Alertmanager cluster.
32-
*/
21+
/** Alertmanager describes an Alertmanager cluster. */
3322
@ApiModel(description = "Alertmanager describes an Alertmanager cluster.")
34-
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2020-08-31T19:41:55.826Z[Etc/UTC]")
23+
@javax.annotation.Generated(
24+
value = "org.openapitools.codegen.languages.JavaClientCodegen",
25+
date = "2020-08-31T19:41:55.826Z[Etc/UTC]")
3526
public class V1Alertmanager implements io.kubernetes.client.common.KubernetesObject {
3627
public static final String SERIALIZED_NAME_API_VERSION = "apiVersion";
28+
3729
@SerializedName(SERIALIZED_NAME_API_VERSION)
3830
private String apiVersion;
3931

4032
public static final String SERIALIZED_NAME_KIND = "kind";
33+
4134
@SerializedName(SERIALIZED_NAME_KIND)
4235
private String kind;
4336

4437
public static final String SERIALIZED_NAME_METADATA = "metadata";
38+
4539
@SerializedName(SERIALIZED_NAME_METADATA)
4640
private V1ObjectMeta metadata = null;
4741

4842
public static final String SERIALIZED_NAME_SPEC = "spec";
43+
4944
@SerializedName(SERIALIZED_NAME_SPEC)
5045
private V1AlertmanagerSpec spec;
5146

5247
public static final String SERIALIZED_NAME_STATUS = "status";
48+
5349
@SerializedName(SERIALIZED_NAME_STATUS)
5450
private V1AlertmanagerStatus status;
5551

56-
5752
public V1Alertmanager apiVersion(String apiVersion) {
58-
53+
5954
this.apiVersion = apiVersion;
6055
return this;
6156
}
6257

63-
/**
64-
* APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
58+
/**
59+
* APIVersion defines the versioned schema of this representation of an object. Servers should
60+
* convert recognized schemas to the latest internal value, and may reject unrecognized values.
61+
* More info:
62+
* https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
63+
*
6564
* @return apiVersion
66-
**/
65+
*/
6766
@javax.annotation.Nullable
68-
@ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources")
69-
67+
@ApiModelProperty(
68+
value =
69+
"APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources")
7070
public String getApiVersion() {
7171
return apiVersion;
7272
}
7373

74-
7574
public void setApiVersion(String apiVersion) {
7675
this.apiVersion = apiVersion;
7776
}
7877

79-
8078
public V1Alertmanager kind(String kind) {
81-
79+
8280
this.kind = kind;
8381
return this;
8482
}
8583

86-
/**
87-
* Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
84+
/**
85+
* Kind is a string value representing the REST resource this object represents. Servers may infer
86+
* this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More
87+
* info:
88+
* https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
89+
*
8890
* @return kind
89-
**/
91+
*/
9092
@javax.annotation.Nullable
91-
@ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds")
92-
93+
@ApiModelProperty(
94+
value =
95+
"Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds")
9396
public String getKind() {
9497
return kind;
9598
}
9699

97-
98100
public void setKind(String kind) {
99101
this.kind = kind;
100102
}
101103

102-
103104
public V1Alertmanager metadata(V1ObjectMeta metadata) {
104-
105+
105106
this.metadata = metadata;
106107
return this;
107108
}
108109

109-
/**
110+
/**
110111
* Get metadata
112+
*
111113
* @return metadata
112-
**/
114+
*/
113115
@javax.annotation.Nullable
114116
@ApiModelProperty(value = "")
115-
116117
public V1ObjectMeta getMetadata() {
117118
return metadata;
118119
}
119120

120-
121121
public void setMetadata(V1ObjectMeta metadata) {
122122
this.metadata = metadata;
123123
}
124124

125-
126125
public V1Alertmanager spec(V1AlertmanagerSpec spec) {
127-
126+
128127
this.spec = spec;
129128
return this;
130129
}
131130

132-
/**
131+
/**
133132
* Get spec
133+
*
134134
* @return spec
135-
**/
135+
*/
136136
@ApiModelProperty(required = true, value = "")
137-
138137
public V1AlertmanagerSpec getSpec() {
139138
return spec;
140139
}
141140

142-
143141
public void setSpec(V1AlertmanagerSpec spec) {
144142
this.spec = spec;
145143
}
146144

147-
148145
public V1Alertmanager status(V1AlertmanagerStatus status) {
149-
146+
150147
this.status = status;
151148
return this;
152149
}
153150

154-
/**
151+
/**
155152
* Get status
153+
*
156154
* @return status
157-
**/
155+
*/
158156
@javax.annotation.Nullable
159157
@ApiModelProperty(value = "")
160-
161158
public V1AlertmanagerStatus getStatus() {
162159
return status;
163160
}
164161

165-
166162
public void setStatus(V1AlertmanagerStatus status) {
167163
this.status = status;
168164
}
169165

170-
171166
@Override
172167
public boolean equals(java.lang.Object o) {
173168
if (this == o) {
@@ -177,19 +172,18 @@ public boolean equals(java.lang.Object o) {
177172
return false;
178173
}
179174
V1Alertmanager v1Alertmanager = (V1Alertmanager) o;
180-
return Objects.equals(this.apiVersion, v1Alertmanager.apiVersion) &&
181-
Objects.equals(this.kind, v1Alertmanager.kind) &&
182-
Objects.equals(this.metadata, v1Alertmanager.metadata) &&
183-
Objects.equals(this.spec, v1Alertmanager.spec) &&
184-
Objects.equals(this.status, v1Alertmanager.status);
175+
return Objects.equals(this.apiVersion, v1Alertmanager.apiVersion)
176+
&& Objects.equals(this.kind, v1Alertmanager.kind)
177+
&& Objects.equals(this.metadata, v1Alertmanager.metadata)
178+
&& Objects.equals(this.spec, v1Alertmanager.spec)
179+
&& Objects.equals(this.status, v1Alertmanager.status);
185180
}
186181

187182
@Override
188183
public int hashCode() {
189184
return Objects.hash(apiVersion, kind, metadata, spec, status);
190185
}
191186

192-
193187
@Override
194188
public String toString() {
195189
StringBuilder sb = new StringBuilder();
@@ -204,15 +198,12 @@ public String toString() {
204198
}
205199

206200
/**
207-
* Convert the given object to string with each line indented by 4 spaces
208-
* (except the first line).
201+
* Convert the given object to string with each line indented by 4 spaces (except the first line).
209202
*/
210203
private String toIndentedString(java.lang.Object o) {
211204
if (o == null) {
212205
return "null";
213206
}
214207
return o.toString().replace("\n", "\n ");
215208
}
216-
217209
}
218-

0 commit comments

Comments
 (0)