Struct LogStreamPiiLogFieldsEnum
- Namespace
- Auth0.ManagementApi
- Assembly
- Auth0.ManagementApi.dll
[JsonConverter(typeof(LogStreamPiiLogFieldsEnum.LogStreamPiiLogFieldsEnumSerializer))]
[Serializable]
public readonly record struct LogStreamPiiLogFieldsEnum : IStringEnum, IEquatable<string>, IEquatable<LogStreamPiiLogFieldsEnum>
- Implements
- Inherited Members
Constructors
LogStreamPiiLogFieldsEnum(string)
public LogStreamPiiLogFieldsEnum(string value)
Parameters
valuestring
Fields
Address
public static readonly LogStreamPiiLogFieldsEnum Address
Field Value
public static readonly LogStreamPiiLogFieldsEnum Email
Field Value
FirstName
public static readonly LogStreamPiiLogFieldsEnum FirstName
Field Value
LastName
public static readonly LogStreamPiiLogFieldsEnum LastName
Field Value
Phone
public static readonly LogStreamPiiLogFieldsEnum Phone
Field Value
Username
public static readonly LogStreamPiiLogFieldsEnum Username
Field Value
Properties
Value
The string value of the enum.
public string Value { get; }
Property Value
Methods
Equals(string?)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(string? other)
Parameters
otherstringAn object to compare with this object.
Returns
- bool
true if the current object is equal to the
otherparameter; otherwise, false.
FromCustom(string)
Create a string enum with the given value.
public static LogStreamPiiLogFieldsEnum FromCustom(string value)
Parameters
valuestring
Returns
ToString()
Returns the string value of the enum.
public override string ToString()
Returns
Operators
operator ==(LogStreamPiiLogFieldsEnum, string)
public static bool operator ==(LogStreamPiiLogFieldsEnum value1, string value2)
Parameters
value1LogStreamPiiLogFieldsEnumvalue2string
Returns
explicit operator string(LogStreamPiiLogFieldsEnum)
public static explicit operator string(LogStreamPiiLogFieldsEnum value)
Parameters
Returns
explicit operator LogStreamPiiLogFieldsEnum(string)
public static explicit operator LogStreamPiiLogFieldsEnum(string value)
Parameters
valuestring
Returns
operator !=(LogStreamPiiLogFieldsEnum, string)
public static bool operator !=(LogStreamPiiLogFieldsEnum value1, string value2)
Parameters
value1LogStreamPiiLogFieldsEnumvalue2string