Class V1alpha1ServerStorageVersion
java.lang.Object
io.micronaut.kubernetes.client.openapi.model.V1alpha1ServerStorageVersion
@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen")
public class V1alpha1ServerStorageVersion
extends Object
An API server instance reports the version it can decode and the version it encodes objects to when persisting objects in the backend.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionadddecodableVersionsItem
(String decodableVersionsItem) Add an item to the decodableVersions property in a chainable fashion.apiServerID
(String apiServerID) Set apiServerID in a chainable fashion.decodableVersions
(List<@NotNull String> decodableVersions) Set decodableVersions in a chainable fashion.encodingVersion
(String encodingVersion) Set encodingVersion in a chainable fashion.boolean
The ID of the reporting API server.The API server can decode objects encoded in these versions.The API server encodes the object to this version when persisting it in the backend (e.g., etcd).int
hashCode()
void
setApiServerID
(String apiServerID) Set the apiServerID property valuevoid
setDecodableVersions
(List<@NotNull String> decodableVersions) Set the decodableVersions property valuevoid
setEncodingVersion
(String encodingVersion) Set the encodingVersion property valuetoString()
-
Field Details
-
JSON_PROPERTY_API_SERVER_I_D
- See Also:
-
JSON_PROPERTY_DECODABLE_VERSIONS
- See Also:
-
JSON_PROPERTY_ENCODING_VERSION
- See Also:
-
-
Constructor Details
-
V1alpha1ServerStorageVersion
public V1alpha1ServerStorageVersion()
-
-
Method Details
-
getApiServerID
The ID of the reporting API server.- Returns:
- the apiServerID property value
-
setApiServerID
Set the apiServerID property value- Parameters:
apiServerID
- property value to set
-
apiServerID
Set apiServerID in a chainable fashion.- Returns:
- The same instance of V1alpha1ServerStorageVersion for chaining.
-
getDecodableVersions
The API server can decode objects encoded in these versions. The encodingVersion must be included in the decodableVersions.- Returns:
- the decodableVersions property value
-
setDecodableVersions
Set the decodableVersions property value- Parameters:
decodableVersions
- property value to set
-
decodableVersions
Set decodableVersions in a chainable fashion.- Returns:
- The same instance of V1alpha1ServerStorageVersion for chaining.
-
adddecodableVersionsItem
Add an item to the decodableVersions property in a chainable fashion.- Returns:
- The same instance of V1alpha1ServerStorageVersion for chaining.
-
getEncodingVersion
The API server encodes the object to this version when persisting it in the backend (e.g., etcd).- Returns:
- the encodingVersion property value
-
setEncodingVersion
Set the encodingVersion property value- Parameters:
encodingVersion
- property value to set
-
encodingVersion
Set encodingVersion in a chainable fashion.- Returns:
- The same instance of V1alpha1ServerStorageVersion for chaining.
-
equals
-
hashCode
public int hashCode() -
toString
-