Table of Contents

Struct EventStreamCloudEventOffsetOnlyMessageTypeEnum

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

Constructors

EventStreamCloudEventOffsetOnlyMessageTypeEnum(string)

public EventStreamCloudEventOffsetOnlyMessageTypeEnum(string value)

Parameters

value string

Fields

OffsetOnly

public static readonly EventStreamCloudEventOffsetOnlyMessageTypeEnum OffsetOnly

Field Value

EventStreamCloudEventOffsetOnlyMessageTypeEnum

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

Parameters

value string

Returns

EventStreamCloudEventOffsetOnlyMessageTypeEnum

ToString()

Returns the string value of the enum.

public override string ToString()

Returns

string

Operators

operator ==(EventStreamCloudEventOffsetOnlyMessageTypeEnum, string)

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

Parameters

value1 EventStreamCloudEventOffsetOnlyMessageTypeEnum
value2 string

Returns

bool

explicit operator string(EventStreamCloudEventOffsetOnlyMessageTypeEnum)

public static explicit operator string(EventStreamCloudEventOffsetOnlyMessageTypeEnum value)

Parameters

value EventStreamCloudEventOffsetOnlyMessageTypeEnum

Returns

string

explicit operator EventStreamCloudEventOffsetOnlyMessageTypeEnum(string)

public static explicit operator EventStreamCloudEventOffsetOnlyMessageTypeEnum(string value)

Parameters

value string

Returns

EventStreamCloudEventOffsetOnlyMessageTypeEnum

operator !=(EventStreamCloudEventOffsetOnlyMessageTypeEnum, string)

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

Parameters

value1 EventStreamCloudEventOffsetOnlyMessageTypeEnum
value2 string

Returns

bool