Table of Contents

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

value string

Fields

Danger

public static readonly FlowActionSlackPostMessageParamsAttachmentColor Danger

Field Value

FlowActionSlackPostMessageParamsAttachmentColor

Good

public static readonly FlowActionSlackPostMessageParamsAttachmentColor Good

Field Value

FlowActionSlackPostMessageParamsAttachmentColor

Warning

public static readonly FlowActionSlackPostMessageParamsAttachmentColor Warning

Field Value

FlowActionSlackPostMessageParamsAttachmentColor

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

Parameters

value string

Returns

FlowActionSlackPostMessageParamsAttachmentColor

ToString()

Returns the string value of the enum.

public override string ToString()

Returns

string

Operators

operator ==(FlowActionSlackPostMessageParamsAttachmentColor, string)

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

Parameters

value1 FlowActionSlackPostMessageParamsAttachmentColor
value2 string

Returns

bool

explicit operator string(FlowActionSlackPostMessageParamsAttachmentColor)

public static explicit operator string(FlowActionSlackPostMessageParamsAttachmentColor value)

Parameters

value FlowActionSlackPostMessageParamsAttachmentColor

Returns

string

explicit operator FlowActionSlackPostMessageParamsAttachmentColor(string)

public static explicit operator FlowActionSlackPostMessageParamsAttachmentColor(string value)

Parameters

value string

Returns

FlowActionSlackPostMessageParamsAttachmentColor

operator !=(FlowActionSlackPostMessageParamsAttachmentColor, string)

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

Parameters

value1 FlowActionSlackPostMessageParamsAttachmentColor
value2 string

Returns

bool