Package io.fabric8.kubernetes.api.model
Class NamespaceList
- java.lang.Object
-
- io.fabric8.kubernetes.api.model.NamespaceList
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<NamespaceListBuilder>,KubernetesResource,KubernetesResourceList<Namespace>,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class NamespaceList extends Object implements io.fabric8.kubernetes.api.builder.Editable<NamespaceListBuilder>, KubernetesResource, KubernetesResourceList<Namespace>
NamespaceList is a list of Namespaces.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description NamespaceList()No args constructor for use in serializationNamespaceList(String apiVersion, List<Namespace> items, String kind, ListMeta metadata)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NamespaceListBuilderedit()Map<String,Object>getAdditionalProperties()StringgetApiVersion()APIVersion defines the versioned schema of this representation of an object.List<Namespace>getItems()Items is the list of Namespace objects in the list.StringgetKind()Kind is a string value representing the REST resource this object represents.ListMetagetMetadata()NamespaceList is a list of Namespaces.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetApiVersion(String apiVersion)APIVersion defines the versioned schema of this representation of an object.voidsetItems(List<Namespace> items)Items is the list of Namespace objects in the list.voidsetKind(String kind)Kind is a string value representing the REST resource this object represents.voidsetMetadata(ListMeta metadata)NamespaceList is a list of Namespaces.NamespaceListBuildertoBuilder()
-
-
-
Method Detail
-
getApiVersion
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
-
setApiVersion
public void setApiVersion(String apiVersion)
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
-
getItems
public List<Namespace> getItems()
Items is the list of Namespace objects in the list. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/- Specified by:
getItemsin interfaceKubernetesResourceList<Namespace>
-
setItems
public void setItems(List<Namespace> items)
Items is the list of Namespace objects in the list. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/
-
getKind
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
-
setKind
public void setKind(String kind)
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
-
getMetadata
public ListMeta getMetadata()
NamespaceList is a list of Namespaces.- Specified by:
getMetadatain interfaceKubernetesResourceList<Namespace>
-
setMetadata
public void setMetadata(ListMeta metadata)
NamespaceList is a list of Namespaces.
-
edit
public NamespaceListBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<NamespaceListBuilder>
-
toBuilder
public NamespaceListBuilder toBuilder()
-
-