Table of Contents

Struct ConnectionIdentifierPrecedenceEnum

Namespace
Auth0.ManagementApi
Assembly
Auth0.ManagementApi.dll
[JsonConverter(typeof(ConnectionIdentifierPrecedenceEnum.ConnectionIdentifierPrecedenceEnumSerializer))]
[Serializable]
public readonly record struct ConnectionIdentifierPrecedenceEnum : IStringEnum, IEquatable<string>, IEquatable<ConnectionIdentifierPrecedenceEnum>
Implements
Inherited Members

Constructors

ConnectionIdentifierPrecedenceEnum(string)

public ConnectionIdentifierPrecedenceEnum(string value)

Parameters

value string

Fields

Email

public static readonly ConnectionIdentifierPrecedenceEnum Email

Field Value

ConnectionIdentifierPrecedenceEnum

PhoneNumber

public static readonly ConnectionIdentifierPrecedenceEnum PhoneNumber

Field Value

ConnectionIdentifierPrecedenceEnum

Username

public static readonly ConnectionIdentifierPrecedenceEnum Username

Field Value

ConnectionIdentifierPrecedenceEnum

Properties

Value

The string value of the enum.

public string Value { get; }

Property Value

string

Methods

Equals(string?)

Indicates whether the current object is equal to another object of the same type.

public bool Equals(string? other)

Parameters

other string

An object to compare with this object.

Returns

bool

true if the current object is equal to the other parameter; otherwise, false.

FromCustom(string)

Create a string enum with the given value.

public static ConnectionIdentifierPrecedenceEnum FromCustom(string value)

Parameters

value string

Returns

ConnectionIdentifierPrecedenceEnum

ToString()

Returns the string value of the enum.

public override string ToString()

Returns

string

Operators

operator ==(ConnectionIdentifierPrecedenceEnum, string)

public static bool operator ==(ConnectionIdentifierPrecedenceEnum value1, string value2)

Parameters

value1 ConnectionIdentifierPrecedenceEnum
value2 string

Returns

bool

explicit operator string(ConnectionIdentifierPrecedenceEnum)

public static explicit operator string(ConnectionIdentifierPrecedenceEnum value)

Parameters

value ConnectionIdentifierPrecedenceEnum

Returns

string

explicit operator ConnectionIdentifierPrecedenceEnum(string)

public static explicit operator ConnectionIdentifierPrecedenceEnum(string value)

Parameters

value string

Returns

ConnectionIdentifierPrecedenceEnum

operator !=(ConnectionIdentifierPrecedenceEnum, string)

public static bool operator !=(ConnectionIdentifierPrecedenceEnum value1, string value2)

Parameters

value1 ConnectionIdentifierPrecedenceEnum
value2 string

Returns

bool