Package io.fabric8.kubernetes.api.model
Class PodTemplateList
- java.lang.Object
-
- io.fabric8.kubernetes.api.model.PodTemplateList
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<PodTemplateListBuilder>,KubernetesResource,KubernetesResourceList<PodTemplate>,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class PodTemplateList extends Object implements io.fabric8.kubernetes.api.builder.Editable<PodTemplateListBuilder>, KubernetesResource, KubernetesResourceList<PodTemplate>
PodTemplateList is a list of PodTemplates.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PodTemplateList()No args constructor for use in serializationPodTemplateList(String apiVersion, List<PodTemplate> items, String kind, ListMeta metadata)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PodTemplateListBuilderedit()Map<String,Object>getAdditionalProperties()StringgetApiVersion()APIVersion defines the versioned schema of this representation of an object.List<PodTemplate>getItems()List of pod templatesStringgetKind()Kind is a string value representing the REST resource this object represents.ListMetagetMetadata()PodTemplateList is a list of PodTemplates.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<PodTemplate> items)List of pod templatesvoidsetKind(String kind)Kind is a string value representing the REST resource this object represents.voidsetMetadata(ListMeta metadata)PodTemplateList is a list of PodTemplates.PodTemplateListBuildertoBuilder()
-
-
-
Constructor Detail
-
PodTemplateList
public PodTemplateList()
No args constructor for use in serialization
-
PodTemplateList
public PodTemplateList(String apiVersion, List<PodTemplate> items, String kind, ListMeta metadata)
-
-
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<PodTemplate> getItems()
List of pod templates- Specified by:
getItemsin interfaceKubernetesResourceList<PodTemplate>
-
setItems
public void setItems(List<PodTemplate> items)
List of pod templates
-
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()
PodTemplateList is a list of PodTemplates.- Specified by:
getMetadatain interfaceKubernetesResourceList<PodTemplate>
-
setMetadata
public void setMetadata(ListMeta metadata)
PodTemplateList is a list of PodTemplates.
-
edit
public PodTemplateListBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<PodTemplateListBuilder>
-
toBuilder
public PodTemplateListBuilder toBuilder()
-
-