Skip to content

Commit 87c890c

Browse files
Kubernetes Prow Robotyue9944882
authored andcommitted
Automated openapi generation from release-1.28
Signed-off-by: Kubernetes Prow Robot <[email protected]>
1 parent b8c6162 commit 87c890c

File tree

1,256 files changed

+244528
-107064
lines changed

Some content is hidden

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

1,256 files changed

+244528
-107064
lines changed
Lines changed: 83 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,83 @@
1+
package io.kubernetes.client.openapi.models;
2+
3+
import java.lang.SuppressWarnings;
4+
import io.kubernetes.client.fluent.BaseFluent;
5+
import java.lang.Object;
6+
import java.lang.String;
7+
import java.lang.Boolean;
8+
9+
/**
10+
* Generated
11+
*/
12+
@SuppressWarnings("unchecked")
13+
public class AbstractOpenApiSchemaFluent<A extends AbstractOpenApiSchemaFluent<A>> extends BaseFluent<A>{
14+
public AbstractOpenApiSchemaFluent() {
15+
}
16+
17+
public AbstractOpenApiSchemaFluent(AbstractOpenApiSchema instance) {
18+
this.copyInstance(instance);
19+
}
20+
private Boolean isNullable;
21+
private String schemaType;
22+
23+
protected void copyInstance(AbstractOpenApiSchema instance) {
24+
if (instance != null) {
25+
this.withSchemaType(instance.getSchemaType());
26+
}
27+
}
28+
29+
public Boolean getIsNullable() {
30+
return this.isNullable;
31+
}
32+
33+
public A withIsNullable(Boolean isNullable) {
34+
this.isNullable = isNullable;
35+
return (A) this;
36+
}
37+
38+
public boolean hasIsNullable() {
39+
return this.isNullable != null;
40+
}
41+
42+
public String getSchemaType() {
43+
return this.schemaType;
44+
}
45+
46+
public A withSchemaType(String schemaType) {
47+
this.schemaType = schemaType;
48+
return (A) this;
49+
}
50+
51+
public boolean hasSchemaType() {
52+
return this.schemaType != null;
53+
}
54+
55+
public boolean equals(Object o) {
56+
if (this == o) return true;
57+
if (o == null || getClass() != o.getClass()) return false;
58+
if (!super.equals(o)) return false;
59+
AbstractOpenApiSchemaFluent that = (AbstractOpenApiSchemaFluent) o;
60+
if (!java.util.Objects.equals(isNullable, that.isNullable)) return false;
61+
if (!java.util.Objects.equals(schemaType, that.schemaType)) return false;
62+
return true;
63+
}
64+
65+
public int hashCode() {
66+
return java.util.Objects.hash(isNullable, schemaType, super.hashCode());
67+
}
68+
69+
public String toString() {
70+
StringBuilder sb = new StringBuilder();
71+
sb.append("{");
72+
if (isNullable != null) { sb.append("isNullable:"); sb.append(isNullable + ","); }
73+
if (schemaType != null) { sb.append("schemaType:"); sb.append(schemaType); }
74+
sb.append("}");
75+
return sb.toString();
76+
}
77+
78+
public A withIsNullable() {
79+
return withIsNullable(true);
80+
}
81+
82+
83+
}
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# This workflow will build a Java project with Maven, and cache/restore any dependencies to improve the workflow execution time
2+
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven
3+
#
4+
# This file is auto-generated by OpenAPI Generator (https://openapi-generator.tech)
5+
6+
name: Java CI with Maven
7+
8+
on:
9+
push:
10+
branches: [ main, master ]
11+
pull_request:
12+
branches: [ main, master ]
13+
14+
jobs:
15+
build:
16+
name: Build Kubernetes
17+
runs-on: ubuntu-latest
18+
strategy:
19+
matrix:
20+
java: [ '8' ]
21+
steps:
22+
- uses: actions/checkout@v2
23+
- name: Set up JDK
24+
uses: actions/setup-java@v2
25+
with:
26+
java-version: ${{ matrix.java }}
27+
distribution: 'temurin'
28+
cache: maven
29+
- name: Build with Maven
30+
run: mvn -B package --no-transfer-progress --file pom.xml

kubernetes/.openapi-generator/COMMIT

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
Requested Commit/Tag : v4.3.1
2-
Actual Commit : 003165c2c254ded7817760cc1d6f97af730d9d4d
1+
Requested Commit/Tag : v6.6.0
2+
Actual Commit : 7f8b853f502d9039c9a0aac2614ce92871e895ed

0 commit comments

Comments
 (0)