Table of Contents

Struct DefaultConfigEnum

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

Constructors

DefaultConfigEnum(string)

public DefaultConfigEnum(string value)

Parameters

value string

Fields

Flag

public static readonly DefaultConfigEnum Flag

Field Value

DefaultConfigEnum

Tenant

public static readonly DefaultConfigEnum Tenant

Field Value

DefaultConfigEnum

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 DefaultConfigEnum FromCustom(string value)

Parameters

value string

Returns

DefaultConfigEnum

ToString()

Returns the string value of the enum.

public override string ToString()

Returns

string

Operators

operator ==(DefaultConfigEnum, string)

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

Parameters

value1 DefaultConfigEnum
value2 string

Returns

bool

explicit operator string(DefaultConfigEnum)

public static explicit operator string(DefaultConfigEnum value)

Parameters

value DefaultConfigEnum

Returns

string

explicit operator DefaultConfigEnum(string)

public static explicit operator DefaultConfigEnum(string value)

Parameters

value string

Returns

DefaultConfigEnum

operator !=(DefaultConfigEnum, string)

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

Parameters

value1 DefaultConfigEnum
value2 string

Returns

bool