Struct FormFieldPaymentConfigChargeTypeOneOffConst
- Namespace
- Auth0.ManagementApi
- Assembly
- Auth0.ManagementApi.dll
[JsonConverter(typeof(FormFieldPaymentConfigChargeTypeOneOffConst.FormFieldPaymentConfigChargeTypeOneOffConstSerializer))]
[Serializable]
public readonly record struct FormFieldPaymentConfigChargeTypeOneOffConst : IStringEnum, IEquatable<string>, IEquatable<FormFieldPaymentConfigChargeTypeOneOffConst>
- Implements
- Inherited Members
Constructors
FormFieldPaymentConfigChargeTypeOneOffConst(string)
public FormFieldPaymentConfigChargeTypeOneOffConst(string value)
Parameters
valuestring
Fields
OneOff
public static readonly FormFieldPaymentConfigChargeTypeOneOffConst OneOff
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 FormFieldPaymentConfigChargeTypeOneOffConst FromCustom(string value)
Parameters
valuestring
Returns
ToString()
Returns the string value of the enum.
public override string ToString()
Returns
Operators
operator ==(FormFieldPaymentConfigChargeTypeOneOffConst, string)
public static bool operator ==(FormFieldPaymentConfigChargeTypeOneOffConst value1, string value2)
Parameters
value1FormFieldPaymentConfigChargeTypeOneOffConstvalue2string
Returns
explicit operator string(FormFieldPaymentConfigChargeTypeOneOffConst)
public static explicit operator string(FormFieldPaymentConfigChargeTypeOneOffConst value)
Parameters
Returns
explicit operator FormFieldPaymentConfigChargeTypeOneOffConst(string)
public static explicit operator FormFieldPaymentConfigChargeTypeOneOffConst(string value)
Parameters
valuestring
Returns
operator !=(FormFieldPaymentConfigChargeTypeOneOffConst, string)
public static bool operator !=(FormFieldPaymentConfigChargeTypeOneOffConst value1, string value2)
Parameters
value1FormFieldPaymentConfigChargeTypeOneOffConstvalue2string