Package io.fabric8.kubernetes.api.model
Class GroupVersionForDiscovery
- java.lang.Object
-
- io.fabric8.kubernetes.api.model.GroupVersionForDiscovery
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<GroupVersionForDiscoveryBuilder>,KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class GroupVersionForDiscovery extends Object implements io.fabric8.kubernetes.api.builder.Editable<GroupVersionForDiscoveryBuilder>, KubernetesResource
GroupVersion contains the "group/version" and "version" string of a version. It is made a struct to keep extensibility.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description GroupVersionForDiscovery()No args constructor for use in serializationGroupVersionForDiscovery(String groupVersion, String version)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GroupVersionForDiscoveryBuilderedit()Map<String,Object>getAdditionalProperties()StringgetGroupVersion()groupVersion specifies the API group and version in the form "group/version"StringgetVersion()version specifies the version in the form of "version".voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetGroupVersion(String groupVersion)groupVersion specifies the API group and version in the form "group/version"voidsetVersion(String version)version specifies the version in the form of "version".GroupVersionForDiscoveryBuildertoBuilder()
-
-
-
Method Detail
-
getGroupVersion
public String getGroupVersion()
groupVersion specifies the API group and version in the form "group/version"
-
setGroupVersion
public void setGroupVersion(String groupVersion)
groupVersion specifies the API group and version in the form "group/version"
-
getVersion
public String getVersion()
version specifies the version in the form of "version". This is to save the clients the trouble of splitting the GroupVersion.
-
setVersion
public void setVersion(String version)
version specifies the version in the form of "version". This is to save the clients the trouble of splitting the GroupVersion.
-
edit
public GroupVersionForDiscoveryBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<GroupVersionForDiscoveryBuilder>
-
toBuilder
public GroupVersionForDiscoveryBuilder toBuilder()
-
-