Table of Contents

Class UpdateEventStreamResponseContent

Namespace
Auth0.ManagementApi
Assembly
Auth0.ManagementApi.dll
[JsonConverter(typeof(UpdateEventStreamResponseContent.JsonConverter))]
[Serializable]
public class UpdateEventStreamResponseContent
Inheritance
UpdateEventStreamResponseContent
Inherited Members
Extension Methods

Properties

Type

Type discriminator

[JsonIgnore]
public string Type { get; }

Property Value

string

Value

Union value

[JsonIgnore]
public object? Value { get; }

Property Value

object

Methods

AsEventStreamActionResponseContent()

Returns the value as a EventStreamActionResponseContent if Type is 'eventStreamActionResponseContent', otherwise throws an exception.

public EventStreamActionResponseContent AsEventStreamActionResponseContent()

Returns

EventStreamActionResponseContent

Exceptions

ManagementException

Thrown when Type is not 'eventStreamActionResponseContent'.

AsEventStreamEventBridgeResponseContent()

Returns the value as a EventStreamEventBridgeResponseContent if Type is 'eventStreamEventBridgeResponseContent', otherwise throws an exception.

public EventStreamEventBridgeResponseContent AsEventStreamEventBridgeResponseContent()

Returns

EventStreamEventBridgeResponseContent

Exceptions

ManagementException

Thrown when Type is not 'eventStreamEventBridgeResponseContent'.

AsEventStreamWebhookResponseContent()

Returns the value as a EventStreamWebhookResponseContent if Type is 'eventStreamWebhookResponseContent', otherwise throws an exception.

public EventStreamWebhookResponseContent AsEventStreamWebhookResponseContent()

Returns

EventStreamWebhookResponseContent

Exceptions

ManagementException

Thrown when Type is not 'eventStreamWebhookResponseContent'.

Equals(object?)

Determines whether the specified object is equal to the current object.

public override bool Equals(object? obj)

Parameters

obj object

The object to compare with the current object.

Returns

bool

true if the specified object is equal to the current object; otherwise, false.

FromEventStreamActionResponseContent(EventStreamActionResponseContent)

Factory method to create a union from a Auth0.ManagementApi.EventStreamActionResponseContent value.

public static UpdateEventStreamResponseContent FromEventStreamActionResponseContent(EventStreamActionResponseContent value)

Parameters

value EventStreamActionResponseContent

Returns

UpdateEventStreamResponseContent

FromEventStreamEventBridgeResponseContent(EventStreamEventBridgeResponseContent)

Factory method to create a union from a Auth0.ManagementApi.EventStreamEventBridgeResponseContent value.

public static UpdateEventStreamResponseContent FromEventStreamEventBridgeResponseContent(EventStreamEventBridgeResponseContent value)

Parameters

value EventStreamEventBridgeResponseContent

Returns

UpdateEventStreamResponseContent

FromEventStreamWebhookResponseContent(EventStreamWebhookResponseContent)

Factory method to create a union from a Auth0.ManagementApi.EventStreamWebhookResponseContent value.

public static UpdateEventStreamResponseContent FromEventStreamWebhookResponseContent(EventStreamWebhookResponseContent value)

Parameters

value EventStreamWebhookResponseContent

Returns

UpdateEventStreamResponseContent

GetHashCode()

Serves as the default hash function.

public override int GetHashCode()

Returns

int

A hash code for the current object.

IsEventStreamActionResponseContent()

Returns true if Type is "eventStreamActionResponseContent"

public bool IsEventStreamActionResponseContent()

Returns

bool

IsEventStreamEventBridgeResponseContent()

Returns true if Type is "eventStreamEventBridgeResponseContent"

public bool IsEventStreamEventBridgeResponseContent()

Returns

bool

IsEventStreamWebhookResponseContent()

Returns true if Type is "eventStreamWebhookResponseContent"

public bool IsEventStreamWebhookResponseContent()

Returns

bool

Match<T>(Func<EventStreamWebhookResponseContent, T>, Func<EventStreamEventBridgeResponseContent, T>, Func<EventStreamActionResponseContent, T>)

public T Match<T>(Func<EventStreamWebhookResponseContent, T> onEventStreamWebhookResponseContent, Func<EventStreamEventBridgeResponseContent, T> onEventStreamEventBridgeResponseContent, Func<EventStreamActionResponseContent, T> onEventStreamActionResponseContent)

Parameters

onEventStreamWebhookResponseContent Func<EventStreamWebhookResponseContent, T>
onEventStreamEventBridgeResponseContent Func<EventStreamEventBridgeResponseContent, T>
onEventStreamActionResponseContent Func<EventStreamActionResponseContent, T>

Returns

T

Type Parameters

T

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.

TryGetEventStreamActionResponseContent(out EventStreamActionResponseContent?)

Attempts to cast the value to a EventStreamActionResponseContent and returns true if successful.

public bool TryGetEventStreamActionResponseContent(out EventStreamActionResponseContent? value)

Parameters

value EventStreamActionResponseContent

Returns

bool

TryGetEventStreamEventBridgeResponseContent(out EventStreamEventBridgeResponseContent?)

Attempts to cast the value to a EventStreamEventBridgeResponseContent and returns true if successful.

public bool TryGetEventStreamEventBridgeResponseContent(out EventStreamEventBridgeResponseContent? value)

Parameters

value EventStreamEventBridgeResponseContent

Returns

bool

TryGetEventStreamWebhookResponseContent(out EventStreamWebhookResponseContent?)

Attempts to cast the value to a EventStreamWebhookResponseContent and returns true if successful.

public bool TryGetEventStreamWebhookResponseContent(out EventStreamWebhookResponseContent? value)

Parameters

value EventStreamWebhookResponseContent

Returns

bool

Visit(Action<EventStreamWebhookResponseContent>, Action<EventStreamEventBridgeResponseContent>, Action<EventStreamActionResponseContent>)

public void Visit(Action<EventStreamWebhookResponseContent> onEventStreamWebhookResponseContent, Action<EventStreamEventBridgeResponseContent> onEventStreamEventBridgeResponseContent, Action<EventStreamActionResponseContent> onEventStreamActionResponseContent)

Parameters

onEventStreamWebhookResponseContent Action<EventStreamWebhookResponseContent>
onEventStreamEventBridgeResponseContent Action<EventStreamEventBridgeResponseContent>
onEventStreamActionResponseContent Action<EventStreamActionResponseContent>

Operators

implicit operator UpdateEventStreamResponseContent(EventStreamActionResponseContent)

public static implicit operator UpdateEventStreamResponseContent(EventStreamActionResponseContent value)

Parameters

value EventStreamActionResponseContent

Returns

UpdateEventStreamResponseContent

implicit operator UpdateEventStreamResponseContent(EventStreamEventBridgeResponseContent)

public static implicit operator UpdateEventStreamResponseContent(EventStreamEventBridgeResponseContent value)

Parameters

value EventStreamEventBridgeResponseContent

Returns

UpdateEventStreamResponseContent

implicit operator UpdateEventStreamResponseContent(EventStreamWebhookResponseContent)

public static implicit operator UpdateEventStreamResponseContent(EventStreamWebhookResponseContent value)

Parameters

value EventStreamWebhookResponseContent

Returns

UpdateEventStreamResponseContent