Class V1beta2DeviceAttribute
DeviceAttribute must have exactly one field set.
Inheritance
V1beta2DeviceAttribute
Assembly: KubernetesClient.dll
Syntax
public record V1beta2DeviceAttribute : IEquatable<V1beta2DeviceAttribute>
Constructors
V1beta2DeviceAttribute()
Declaration
public V1beta2DeviceAttribute()
V1beta2DeviceAttribute(V1beta2DeviceAttribute)
Declaration
protected V1beta2DeviceAttribute(V1beta2DeviceAttribute original)
Parameters
Properties
BoolValue
BoolValue is a true/false value.
Declaration
[JsonPropertyName("bool")]
public bool? BoolValue { get; set; }
Property Value
Bools
BoolValues is a non-empty list of true/false values.
Declaration
[JsonPropertyName("bools")]
public IList<bool?> Bools { get; set; }
Property Value
EqualityContract
Declaration
protected virtual Type EqualityContract { get; }
Property Value
IntValue
Declaration
[JsonPropertyName("int")]
public long? IntValue { get; set; }
Property Value
Ints
IntValues is a non-empty list of numbers.
This is an alpha field and requires enabling the DRAListTypeAttributes feature
gate.
Declaration
[JsonPropertyName("ints")]
public IList<long?> Ints { get; set; }
Property Value
StringValue
StringValue is a string. Must not be longer than 64 characters.
Declaration
[JsonPropertyName("string")]
public string StringValue { get; set; }
Property Value
Strings
StringValues is a non-empty list of strings. Each string must not be longer than
64 characters.
This is an alpha field and requires enabling the DRAListTypeAttributes feature
gate.
Declaration
[JsonPropertyName("strings")]
public IList<string> Strings { get; set; }
Property Value
Version
VersionValue is a semantic version according to semver.org spec 2.0.0. Must not
be longer than 64 characters.
Declaration
[JsonPropertyName("version")]
public string Version { get; set; }
Property Value
Versions
VersionValues is a non-empty list of semantic versions according to semver.org
spec 2.0.0. Each version string must not be longer than 64 characters.
This is an alpha field and requires enabling the DRAListTypeAttributes feature
gate.
Declaration
[JsonPropertyName("versions")]
public IList<string> Versions { get; set; }
Property Value
Methods
Equals(object?)
Declaration
public override bool Equals(object? obj)
Parameters
| Type |
Name |
Description |
| object |
obj |
|
Returns
Overrides
Equals(V1beta2DeviceAttribute?)
Declaration
public virtual bool Equals(V1beta2DeviceAttribute? other)
Parameters
Returns
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Overrides
PrintMembers(StringBuilder)
Declaration
protected virtual bool PrintMembers(StringBuilder builder)
Parameters
Returns
ToString()
Declaration
public override string ToString()
Returns
Overrides
Operators
operator ==(V1beta2DeviceAttribute?, V1beta2DeviceAttribute?)
Declaration
public static bool operator ==(V1beta2DeviceAttribute? left, V1beta2DeviceAttribute? right)
Parameters
Returns
operator !=(V1beta2DeviceAttribute?, V1beta2DeviceAttribute?)
Declaration
public static bool operator !=(V1beta2DeviceAttribute? left, V1beta2DeviceAttribute? right)
Parameters
Returns
Implements