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