Show / Hide Table of Contents

Class V1DeviceAttribute

DeviceAttribute must have exactly one field set.

Inheritance
object
V1DeviceAttribute
Implements
IEquatable<V1DeviceAttribute>
Inherited Members
object.GetType()
object.MemberwiseClone()
object.Equals(object, object)
object.ReferenceEquals(object, object)
Namespace: k8s.Models
Assembly: KubernetesClient.dll
Syntax
public record V1DeviceAttribute : IEquatable<V1DeviceAttribute>

Constructors

View Source

V1DeviceAttribute()

Declaration
public V1DeviceAttribute()
View Source

V1DeviceAttribute(V1DeviceAttribute)

Declaration
protected V1DeviceAttribute(V1DeviceAttribute original)
Parameters
Type Name Description
V1DeviceAttribute original

Properties

View Source

BoolValue

BoolValue is a true/false value.

Declaration
[JsonPropertyName("bool")]
public bool? BoolValue { get; set; }
Property Value
Type Description
bool?
View Source

EqualityContract

Declaration
protected virtual Type EqualityContract { get; }
Property Value
Type Description
Type
View Source

IntValue

IntValue is a number.

Declaration
[JsonPropertyName("int")]
public long? IntValue { get; set; }
Property Value
Type Description
long?
View Source

StringValue

StringValue is a string. Must not be longer than 64 characters.

Declaration
[JsonPropertyName("string")]
public string StringValue { get; set; }
Property Value
Type Description
string
View Source

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
Type Description
string

Methods

View Source

Equals(object?)

Declaration
public override bool Equals(object? obj)
Parameters
Type Name Description
object obj
Returns
Type Description
bool
Overrides
object.Equals(object)
View Source

Equals(V1DeviceAttribute?)

Declaration
public virtual bool Equals(V1DeviceAttribute? other)
Parameters
Type Name Description
V1DeviceAttribute other
Returns
Type Description
bool
View Source

GetHashCode()

Declaration
public override int GetHashCode()
Returns
Type Description
int
Overrides
object.GetHashCode()
View Source

PrintMembers(StringBuilder)

Declaration
protected virtual bool PrintMembers(StringBuilder builder)
Parameters
Type Name Description
StringBuilder builder
Returns
Type Description
bool
View Source

ToString()

Declaration
public override string ToString()
Returns
Type Description
string
Overrides
object.ToString()

Operators

View Source

operator ==(V1DeviceAttribute?, V1DeviceAttribute?)

Declaration
public static bool operator ==(V1DeviceAttribute? left, V1DeviceAttribute? right)
Parameters
Type Name Description
V1DeviceAttribute left
V1DeviceAttribute right
Returns
Type Description
bool
View Source

operator !=(V1DeviceAttribute?, V1DeviceAttribute?)

Declaration
public static bool operator !=(V1DeviceAttribute? left, V1DeviceAttribute? right)
Parameters
Type Name Description
V1DeviceAttribute left
V1DeviceAttribute right
Returns
Type Description
bool

Implements

IEquatable<T>
  • View Source
In this article
Back to top Generated by DocFX