Package net.stickycode.kuuty.model.v18
Class IoK8sApimachineryPkgApisMetaV1APIVersions
- java.lang.Object
-
- net.stickycode.kuuty.model.v18.IoK8sApimachineryPkgApisMetaV1APIVersions
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2020-11-26T11:01:11.402583+13:00[Pacific/Auckland]") public class IoK8sApimachineryPkgApisMetaV1APIVersions extends Object
APIVersions lists the versions that are available, to allow clients to discover the API at /api, which is the root path of the legacy v1 API.
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_API_VERSIONstatic StringJSON_PROPERTY_KINDstatic StringJSON_PROPERTY_SERVER_ADDRESS_BY_CLIENT_C_I_D_RSstatic StringJSON_PROPERTY_VERSIONS
-
Constructor Summary
Constructors Constructor Description IoK8sApimachineryPkgApisMetaV1APIVersions()
-
Method Summary
-
-
-
Field Detail
-
JSON_PROPERTY_API_VERSION
public static final String JSON_PROPERTY_API_VERSION
- See Also:
- Constant Field Values
-
JSON_PROPERTY_KIND
public static final String JSON_PROPERTY_KIND
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SERVER_ADDRESS_BY_CLIENT_C_I_D_RS
public static final String JSON_PROPERTY_SERVER_ADDRESS_BY_CLIENT_C_I_D_RS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_VERSIONS
public static final String JSON_PROPERTY_VERSIONS
- See Also:
- Constant Field Values
-
-
Method Detail
-
apiVersion
public IoK8sApimachineryPkgApisMetaV1APIVersions apiVersion(String apiVersion)
-
getApiVersion
@Nullable public String getApiVersion()
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- Returns:
- apiVersion
-
setApiVersion
public void setApiVersion(String apiVersion)
-
kind
public IoK8sApimachineryPkgApisMetaV1APIVersions kind(String kind)
-
getKind
@Nullable public String getKind()
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- Returns:
- kind
-
setKind
public void setKind(String kind)
-
serverAddressByClientCIDRs
public IoK8sApimachineryPkgApisMetaV1APIVersions serverAddressByClientCIDRs(List<IoK8sApimachineryPkgApisMetaV1ServerAddressByClientCIDR> serverAddressByClientCIDRs)
-
addServerAddressByClientCIDRsItem
public IoK8sApimachineryPkgApisMetaV1APIVersions addServerAddressByClientCIDRsItem(IoK8sApimachineryPkgApisMetaV1ServerAddressByClientCIDR serverAddressByClientCIDRsItem)
-
getServerAddressByClientCIDRs
public List<IoK8sApimachineryPkgApisMetaV1ServerAddressByClientCIDR> getServerAddressByClientCIDRs()
a map of client CIDR to server address that is serving this group. This is to help clients reach servers in the most network-efficient way possible. Clients can use the appropriate server address as per the CIDR that they match. In case of multiple matches, clients should use the longest matching CIDR. The server returns only those CIDRs that it thinks that the client can match. For example: the master will return an internal IP CIDR only, if the client reaches the server using an internal IP. Server looks at X-Forwarded-For header or X-Real-Ip header or request.RemoteAddr (in that order) to get the client IP.- Returns:
- serverAddressByClientCIDRs
-
setServerAddressByClientCIDRs
public void setServerAddressByClientCIDRs(List<IoK8sApimachineryPkgApisMetaV1ServerAddressByClientCIDR> serverAddressByClientCIDRs)
-
versions
public IoK8sApimachineryPkgApisMetaV1APIVersions versions(List<String> versions)
-
addVersionsItem
public IoK8sApimachineryPkgApisMetaV1APIVersions addVersionsItem(String versionsItem)
-
getVersions
public List<String> getVersions()
versions are the api versions that are available.- Returns:
- versions
-
-