Show / Hide Table of Contents

Class IntOrString

Inheritance
object
IntOrString
Inherited Members
object.GetType()
object.MemberwiseClone()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: k8s.Models
Assembly: KubernetesClient.dll
Syntax
[JsonConverter(typeof(IntOrStringJsonConverter))]
public class IntOrString

Constructors

View Source

IntOrString()

Declaration
public IntOrString()

Properties

View Source

Value

Declaration
public string Value { get; }
Property Value
Type Description
string

Methods

View Source

ToInt()

Declaration
public int ToInt()
Returns
Type Description
int
View Source

ToString()

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

Operators

View Source

implicit operator IntOrString(int)

Declaration
public static implicit operator IntOrString(int v)
Parameters
Type Name Description
int v
Returns
Type Description
IntOrString
View Source

implicit operator IntOrString(long)

Declaration
public static implicit operator IntOrString(long v)
Parameters
Type Name Description
long v
Returns
Type Description
IntOrString
View Source

implicit operator IntOrString(string)

Declaration
public static implicit operator IntOrString(string v)
Parameters
Type Name Description
string v
Returns
Type Description
IntOrString
View Source

implicit operator string(IntOrString)

Declaration
public static implicit operator string(IntOrString v)
Parameters
Type Name Description
IntOrString v
Returns
Type Description
string
  • View Source
In this article
Back to top Generated by DocFX