Class DeviceAttribute
- java.lang.Object
-
- io.fabric8.kubernetes.api.model.resource.v1.DeviceAttribute
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<DeviceAttributeBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class DeviceAttribute extends Object implements io.fabric8.kubernetes.api.builder.Editable<DeviceAttributeBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
DeviceAttribute must have exactly one field set.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DeviceAttribute()No args constructor for use in serializationDeviceAttribute(Boolean bool, Long _int, String string, String version)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DeviceAttributeBuilderedit()Map<String,Object>getAdditionalProperties()BooleangetBool()BoolValue is a true/false value.LonggetInt()IntValue is a number.StringgetString()StringValue is a string.StringgetVersion()VersionValue is a semantic version according to semver.org spec 2.0.0.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetBool(Boolean bool)BoolValue is a true/false value.voidsetInt(Long _int)IntValue is a number.voidsetString(String string)StringValue is a string.voidsetVersion(String version)VersionValue is a semantic version according to semver.org spec 2.0.0.DeviceAttributeBuildertoBuilder()
-
-
-
Method Detail
-
getBool
public Boolean getBool()
BoolValue is a true/false value.
-
setBool
public void setBool(Boolean bool)
BoolValue is a true/false value.
-
getInt
public Long getInt()
IntValue is a number.
-
setInt
public void setInt(Long _int)
IntValue is a number.
-
getString
public String getString()
StringValue is a string. Must not be longer than 64 characters.
-
setString
public void setString(String string)
StringValue is a string. Must not be longer than 64 characters.
-
getVersion
public String getVersion()
VersionValue is a semantic version according to semver.org spec 2.0.0. Must not be longer than 64 characters.
-
setVersion
public void setVersion(String version)
VersionValue is a semantic version according to semver.org spec 2.0.0. Must not be longer than 64 characters.
-
edit
public DeviceAttributeBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<DeviceAttributeBuilder>
-
toBuilder
public DeviceAttributeBuilder toBuilder()
-
-