Package net.stickycode.kuuty.model.v18
Class IoK8sApimachineryPkgApisMetaV1APIResourceList
- java.lang.Object
-
- net.stickycode.kuuty.model.v18.IoK8sApimachineryPkgApisMetaV1APIResourceList
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2020-11-26T11:01:11.402583+13:00[Pacific/Auckland]") public class IoK8sApimachineryPkgApisMetaV1APIResourceList extends Object
APIResourceList is a list of APIResource, it is used to expose the name of the resources supported in a specific group and version, and if the resource is namespaced.
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_API_VERSIONstatic StringJSON_PROPERTY_GROUP_VERSIONstatic StringJSON_PROPERTY_KINDstatic StringJSON_PROPERTY_RESOURCES
-
Constructor Summary
Constructors Constructor Description IoK8sApimachineryPkgApisMetaV1APIResourceList()
-
Method Summary
-
-
-
Field Detail
-
JSON_PROPERTY_API_VERSION
public static final String JSON_PROPERTY_API_VERSION
- See Also:
- Constant Field Values
-
JSON_PROPERTY_GROUP_VERSION
public static final String JSON_PROPERTY_GROUP_VERSION
- See Also:
- Constant Field Values
-
JSON_PROPERTY_KIND
public static final String JSON_PROPERTY_KIND
- See Also:
- Constant Field Values
-
JSON_PROPERTY_RESOURCES
public static final String JSON_PROPERTY_RESOURCES
- See Also:
- Constant Field Values
-
-
Method Detail
-
apiVersion
public IoK8sApimachineryPkgApisMetaV1APIResourceList 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)
-
groupVersion
public IoK8sApimachineryPkgApisMetaV1APIResourceList groupVersion(String groupVersion)
-
getGroupVersion
public String getGroupVersion()
groupVersion is the group and version this APIResourceList is for.- Returns:
- groupVersion
-
setGroupVersion
public void setGroupVersion(String groupVersion)
-
kind
public IoK8sApimachineryPkgApisMetaV1APIResourceList 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)
-
resources
public IoK8sApimachineryPkgApisMetaV1APIResourceList resources(List<IoK8sApimachineryPkgApisMetaV1APIResource> resources)
-
addResourcesItem
public IoK8sApimachineryPkgApisMetaV1APIResourceList addResourcesItem(IoK8sApimachineryPkgApisMetaV1APIResource resourcesItem)
-
getResources
public List<IoK8sApimachineryPkgApisMetaV1APIResource> getResources()
resources contains the name of the resources and if they are namespaced.- Returns:
- resources
-
setResources
public void setResources(List<IoK8sApimachineryPkgApisMetaV1APIResource> resources)
-
-