Table of Contents

Class EventStreamCloudEventConnectionCreatedObject

Namespace
Auth0.ManagementApi
Assembly
Auth0.ManagementApi.dll

The event content.

[JsonConverter(typeof(EventStreamCloudEventConnectionCreatedObject.JsonConverter))]
[Serializable]
public class EventStreamCloudEventConnectionCreatedObject
Inheritance
EventStreamCloudEventConnectionCreatedObject
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

AsEventStreamCloudEventConnectionCreatedObject0()

Returns the value as a EventStreamCloudEventConnectionCreatedObject0 if Type is 'eventStreamCloudEventConnectionCreatedObject0', otherwise throws an exception.

public EventStreamCloudEventConnectionCreatedObject0 AsEventStreamCloudEventConnectionCreatedObject0()

Returns

EventStreamCloudEventConnectionCreatedObject0

Exceptions

ManagementException

Thrown when Type is not 'eventStreamCloudEventConnectionCreatedObject0'.

AsEventStreamCloudEventConnectionCreatedObject1()

Returns the value as a EventStreamCloudEventConnectionCreatedObject1 if Type is 'eventStreamCloudEventConnectionCreatedObject1', otherwise throws an exception.

public EventStreamCloudEventConnectionCreatedObject1 AsEventStreamCloudEventConnectionCreatedObject1()

Returns

EventStreamCloudEventConnectionCreatedObject1

Exceptions

ManagementException

Thrown when Type is not 'eventStreamCloudEventConnectionCreatedObject1'.

AsEventStreamCloudEventConnectionCreatedObject2()

Returns the value as a EventStreamCloudEventConnectionCreatedObject2 if Type is 'eventStreamCloudEventConnectionCreatedObject2', otherwise throws an exception.

public EventStreamCloudEventConnectionCreatedObject2 AsEventStreamCloudEventConnectionCreatedObject2()

Returns

EventStreamCloudEventConnectionCreatedObject2

Exceptions

ManagementException

Thrown when Type is not 'eventStreamCloudEventConnectionCreatedObject2'.

AsEventStreamCloudEventConnectionCreatedObject3()

Returns the value as a EventStreamCloudEventConnectionCreatedObject3 if Type is 'eventStreamCloudEventConnectionCreatedObject3', otherwise throws an exception.

public EventStreamCloudEventConnectionCreatedObject3 AsEventStreamCloudEventConnectionCreatedObject3()

Returns

EventStreamCloudEventConnectionCreatedObject3

Exceptions

ManagementException

Thrown when Type is not 'eventStreamCloudEventConnectionCreatedObject3'.

AsEventStreamCloudEventConnectionCreatedObject4()

Returns the value as a EventStreamCloudEventConnectionCreatedObject4 if Type is 'eventStreamCloudEventConnectionCreatedObject4', otherwise throws an exception.

public EventStreamCloudEventConnectionCreatedObject4 AsEventStreamCloudEventConnectionCreatedObject4()

Returns

EventStreamCloudEventConnectionCreatedObject4

Exceptions

ManagementException

Thrown when Type is not 'eventStreamCloudEventConnectionCreatedObject4'.

AsEventStreamCloudEventConnectionCreatedObject5()

Returns the value as a EventStreamCloudEventConnectionCreatedObject5 if Type is 'eventStreamCloudEventConnectionCreatedObject5', otherwise throws an exception.

public EventStreamCloudEventConnectionCreatedObject5 AsEventStreamCloudEventConnectionCreatedObject5()

Returns

EventStreamCloudEventConnectionCreatedObject5

Exceptions

ManagementException

Thrown when Type is not 'eventStreamCloudEventConnectionCreatedObject5'.

AsEventStreamCloudEventConnectionCreatedObject6()

Returns the value as a EventStreamCloudEventConnectionCreatedObject6 if Type is 'eventStreamCloudEventConnectionCreatedObject6', otherwise throws an exception.

public EventStreamCloudEventConnectionCreatedObject6 AsEventStreamCloudEventConnectionCreatedObject6()

Returns

EventStreamCloudEventConnectionCreatedObject6

Exceptions

ManagementException

Thrown when Type is not 'eventStreamCloudEventConnectionCreatedObject6'.

AsEventStreamCloudEventConnectionCreatedObject7()

Returns the value as a EventStreamCloudEventConnectionCreatedObject7 if Type is 'eventStreamCloudEventConnectionCreatedObject7', otherwise throws an exception.

public EventStreamCloudEventConnectionCreatedObject7 AsEventStreamCloudEventConnectionCreatedObject7()

Returns

EventStreamCloudEventConnectionCreatedObject7

Exceptions

ManagementException

Thrown when Type is not 'eventStreamCloudEventConnectionCreatedObject7'.

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.

FromEventStreamCloudEventConnectionCreatedObject0(EventStreamCloudEventConnectionCreatedObject0)

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

public static EventStreamCloudEventConnectionCreatedObject FromEventStreamCloudEventConnectionCreatedObject0(EventStreamCloudEventConnectionCreatedObject0 value)

Parameters

value EventStreamCloudEventConnectionCreatedObject0

Returns

EventStreamCloudEventConnectionCreatedObject

FromEventStreamCloudEventConnectionCreatedObject1(EventStreamCloudEventConnectionCreatedObject1)

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

public static EventStreamCloudEventConnectionCreatedObject FromEventStreamCloudEventConnectionCreatedObject1(EventStreamCloudEventConnectionCreatedObject1 value)

Parameters

value EventStreamCloudEventConnectionCreatedObject1

Returns

EventStreamCloudEventConnectionCreatedObject

FromEventStreamCloudEventConnectionCreatedObject2(EventStreamCloudEventConnectionCreatedObject2)

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

public static EventStreamCloudEventConnectionCreatedObject FromEventStreamCloudEventConnectionCreatedObject2(EventStreamCloudEventConnectionCreatedObject2 value)

Parameters

value EventStreamCloudEventConnectionCreatedObject2

Returns

EventStreamCloudEventConnectionCreatedObject

FromEventStreamCloudEventConnectionCreatedObject3(EventStreamCloudEventConnectionCreatedObject3)

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

public static EventStreamCloudEventConnectionCreatedObject FromEventStreamCloudEventConnectionCreatedObject3(EventStreamCloudEventConnectionCreatedObject3 value)

Parameters

value EventStreamCloudEventConnectionCreatedObject3

Returns

EventStreamCloudEventConnectionCreatedObject

FromEventStreamCloudEventConnectionCreatedObject4(EventStreamCloudEventConnectionCreatedObject4)

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

public static EventStreamCloudEventConnectionCreatedObject FromEventStreamCloudEventConnectionCreatedObject4(EventStreamCloudEventConnectionCreatedObject4 value)

Parameters

value EventStreamCloudEventConnectionCreatedObject4

Returns

EventStreamCloudEventConnectionCreatedObject

FromEventStreamCloudEventConnectionCreatedObject5(EventStreamCloudEventConnectionCreatedObject5)

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

public static EventStreamCloudEventConnectionCreatedObject FromEventStreamCloudEventConnectionCreatedObject5(EventStreamCloudEventConnectionCreatedObject5 value)

Parameters

value EventStreamCloudEventConnectionCreatedObject5

Returns

EventStreamCloudEventConnectionCreatedObject

FromEventStreamCloudEventConnectionCreatedObject6(EventStreamCloudEventConnectionCreatedObject6)

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

public static EventStreamCloudEventConnectionCreatedObject FromEventStreamCloudEventConnectionCreatedObject6(EventStreamCloudEventConnectionCreatedObject6 value)

Parameters

value EventStreamCloudEventConnectionCreatedObject6

Returns

EventStreamCloudEventConnectionCreatedObject

FromEventStreamCloudEventConnectionCreatedObject7(EventStreamCloudEventConnectionCreatedObject7)

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

public static EventStreamCloudEventConnectionCreatedObject FromEventStreamCloudEventConnectionCreatedObject7(EventStreamCloudEventConnectionCreatedObject7 value)

Parameters

value EventStreamCloudEventConnectionCreatedObject7

Returns

EventStreamCloudEventConnectionCreatedObject

GetHashCode()

Serves as the default hash function.

public override int GetHashCode()

Returns

int

A hash code for the current object.

IsEventStreamCloudEventConnectionCreatedObject0()

Returns true if Type is "eventStreamCloudEventConnectionCreatedObject0"

public bool IsEventStreamCloudEventConnectionCreatedObject0()

Returns

bool

IsEventStreamCloudEventConnectionCreatedObject1()

Returns true if Type is "eventStreamCloudEventConnectionCreatedObject1"

public bool IsEventStreamCloudEventConnectionCreatedObject1()

Returns

bool

IsEventStreamCloudEventConnectionCreatedObject2()

Returns true if Type is "eventStreamCloudEventConnectionCreatedObject2"

public bool IsEventStreamCloudEventConnectionCreatedObject2()

Returns

bool

IsEventStreamCloudEventConnectionCreatedObject3()

Returns true if Type is "eventStreamCloudEventConnectionCreatedObject3"

public bool IsEventStreamCloudEventConnectionCreatedObject3()

Returns

bool

IsEventStreamCloudEventConnectionCreatedObject4()

Returns true if Type is "eventStreamCloudEventConnectionCreatedObject4"

public bool IsEventStreamCloudEventConnectionCreatedObject4()

Returns

bool

IsEventStreamCloudEventConnectionCreatedObject5()

Returns true if Type is "eventStreamCloudEventConnectionCreatedObject5"

public bool IsEventStreamCloudEventConnectionCreatedObject5()

Returns

bool

IsEventStreamCloudEventConnectionCreatedObject6()

Returns true if Type is "eventStreamCloudEventConnectionCreatedObject6"

public bool IsEventStreamCloudEventConnectionCreatedObject6()

Returns

bool

IsEventStreamCloudEventConnectionCreatedObject7()

Returns true if Type is "eventStreamCloudEventConnectionCreatedObject7"

public bool IsEventStreamCloudEventConnectionCreatedObject7()

Returns

bool

Match<T>(Func<EventStreamCloudEventConnectionCreatedObject0, T>, Func<EventStreamCloudEventConnectionCreatedObject1, T>, Func<EventStreamCloudEventConnectionCreatedObject2, T>, Func<EventStreamCloudEventConnectionCreatedObject3, T>, Func<EventStreamCloudEventConnectionCreatedObject4, T>, Func<EventStreamCloudEventConnectionCreatedObject5, T>, Func<EventStreamCloudEventConnectionCreatedObject6, T>, Func<EventStreamCloudEventConnectionCreatedObject7, T>)

public T Match<T>(Func<EventStreamCloudEventConnectionCreatedObject0, T> onEventStreamCloudEventConnectionCreatedObject0, Func<EventStreamCloudEventConnectionCreatedObject1, T> onEventStreamCloudEventConnectionCreatedObject1, Func<EventStreamCloudEventConnectionCreatedObject2, T> onEventStreamCloudEventConnectionCreatedObject2, Func<EventStreamCloudEventConnectionCreatedObject3, T> onEventStreamCloudEventConnectionCreatedObject3, Func<EventStreamCloudEventConnectionCreatedObject4, T> onEventStreamCloudEventConnectionCreatedObject4, Func<EventStreamCloudEventConnectionCreatedObject5, T> onEventStreamCloudEventConnectionCreatedObject5, Func<EventStreamCloudEventConnectionCreatedObject6, T> onEventStreamCloudEventConnectionCreatedObject6, Func<EventStreamCloudEventConnectionCreatedObject7, T> onEventStreamCloudEventConnectionCreatedObject7)

Parameters

onEventStreamCloudEventConnectionCreatedObject0 Func<EventStreamCloudEventConnectionCreatedObject0, T>
onEventStreamCloudEventConnectionCreatedObject1 Func<EventStreamCloudEventConnectionCreatedObject1, T>
onEventStreamCloudEventConnectionCreatedObject2 Func<EventStreamCloudEventConnectionCreatedObject2, T>
onEventStreamCloudEventConnectionCreatedObject3 Func<EventStreamCloudEventConnectionCreatedObject3, T>
onEventStreamCloudEventConnectionCreatedObject4 Func<EventStreamCloudEventConnectionCreatedObject4, T>
onEventStreamCloudEventConnectionCreatedObject5 Func<EventStreamCloudEventConnectionCreatedObject5, T>
onEventStreamCloudEventConnectionCreatedObject6 Func<EventStreamCloudEventConnectionCreatedObject6, T>
onEventStreamCloudEventConnectionCreatedObject7 Func<EventStreamCloudEventConnectionCreatedObject7, 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.

TryGetEventStreamCloudEventConnectionCreatedObject0(out EventStreamCloudEventConnectionCreatedObject0?)

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

public bool TryGetEventStreamCloudEventConnectionCreatedObject0(out EventStreamCloudEventConnectionCreatedObject0? value)

Parameters

value EventStreamCloudEventConnectionCreatedObject0

Returns

bool

TryGetEventStreamCloudEventConnectionCreatedObject1(out EventStreamCloudEventConnectionCreatedObject1?)

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

public bool TryGetEventStreamCloudEventConnectionCreatedObject1(out EventStreamCloudEventConnectionCreatedObject1? value)

Parameters

value EventStreamCloudEventConnectionCreatedObject1

Returns

bool

TryGetEventStreamCloudEventConnectionCreatedObject2(out EventStreamCloudEventConnectionCreatedObject2?)

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

public bool TryGetEventStreamCloudEventConnectionCreatedObject2(out EventStreamCloudEventConnectionCreatedObject2? value)

Parameters

value EventStreamCloudEventConnectionCreatedObject2

Returns

bool

TryGetEventStreamCloudEventConnectionCreatedObject3(out EventStreamCloudEventConnectionCreatedObject3?)

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

public bool TryGetEventStreamCloudEventConnectionCreatedObject3(out EventStreamCloudEventConnectionCreatedObject3? value)

Parameters

value EventStreamCloudEventConnectionCreatedObject3

Returns

bool

TryGetEventStreamCloudEventConnectionCreatedObject4(out EventStreamCloudEventConnectionCreatedObject4?)

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

public bool TryGetEventStreamCloudEventConnectionCreatedObject4(out EventStreamCloudEventConnectionCreatedObject4? value)

Parameters

value EventStreamCloudEventConnectionCreatedObject4

Returns

bool

TryGetEventStreamCloudEventConnectionCreatedObject5(out EventStreamCloudEventConnectionCreatedObject5?)

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

public bool TryGetEventStreamCloudEventConnectionCreatedObject5(out EventStreamCloudEventConnectionCreatedObject5? value)

Parameters

value EventStreamCloudEventConnectionCreatedObject5

Returns

bool

TryGetEventStreamCloudEventConnectionCreatedObject6(out EventStreamCloudEventConnectionCreatedObject6?)

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

public bool TryGetEventStreamCloudEventConnectionCreatedObject6(out EventStreamCloudEventConnectionCreatedObject6? value)

Parameters

value EventStreamCloudEventConnectionCreatedObject6

Returns

bool

TryGetEventStreamCloudEventConnectionCreatedObject7(out EventStreamCloudEventConnectionCreatedObject7?)

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

public bool TryGetEventStreamCloudEventConnectionCreatedObject7(out EventStreamCloudEventConnectionCreatedObject7? value)

Parameters

value EventStreamCloudEventConnectionCreatedObject7

Returns

bool

Visit(Action<EventStreamCloudEventConnectionCreatedObject0>, Action<EventStreamCloudEventConnectionCreatedObject1>, Action<EventStreamCloudEventConnectionCreatedObject2>, Action<EventStreamCloudEventConnectionCreatedObject3>, Action<EventStreamCloudEventConnectionCreatedObject4>, Action<EventStreamCloudEventConnectionCreatedObject5>, Action<EventStreamCloudEventConnectionCreatedObject6>, Action<EventStreamCloudEventConnectionCreatedObject7>)

public void Visit(Action<EventStreamCloudEventConnectionCreatedObject0> onEventStreamCloudEventConnectionCreatedObject0, Action<EventStreamCloudEventConnectionCreatedObject1> onEventStreamCloudEventConnectionCreatedObject1, Action<EventStreamCloudEventConnectionCreatedObject2> onEventStreamCloudEventConnectionCreatedObject2, Action<EventStreamCloudEventConnectionCreatedObject3> onEventStreamCloudEventConnectionCreatedObject3, Action<EventStreamCloudEventConnectionCreatedObject4> onEventStreamCloudEventConnectionCreatedObject4, Action<EventStreamCloudEventConnectionCreatedObject5> onEventStreamCloudEventConnectionCreatedObject5, Action<EventStreamCloudEventConnectionCreatedObject6> onEventStreamCloudEventConnectionCreatedObject6, Action<EventStreamCloudEventConnectionCreatedObject7> onEventStreamCloudEventConnectionCreatedObject7)

Parameters

onEventStreamCloudEventConnectionCreatedObject0 Action<EventStreamCloudEventConnectionCreatedObject0>
onEventStreamCloudEventConnectionCreatedObject1 Action<EventStreamCloudEventConnectionCreatedObject1>
onEventStreamCloudEventConnectionCreatedObject2 Action<EventStreamCloudEventConnectionCreatedObject2>
onEventStreamCloudEventConnectionCreatedObject3 Action<EventStreamCloudEventConnectionCreatedObject3>
onEventStreamCloudEventConnectionCreatedObject4 Action<EventStreamCloudEventConnectionCreatedObject4>
onEventStreamCloudEventConnectionCreatedObject5 Action<EventStreamCloudEventConnectionCreatedObject5>
onEventStreamCloudEventConnectionCreatedObject6 Action<EventStreamCloudEventConnectionCreatedObject6>
onEventStreamCloudEventConnectionCreatedObject7 Action<EventStreamCloudEventConnectionCreatedObject7>

Operators

implicit operator EventStreamCloudEventConnectionCreatedObject(EventStreamCloudEventConnectionCreatedObject0)

public static implicit operator EventStreamCloudEventConnectionCreatedObject(EventStreamCloudEventConnectionCreatedObject0 value)

Parameters

value EventStreamCloudEventConnectionCreatedObject0

Returns

EventStreamCloudEventConnectionCreatedObject

implicit operator EventStreamCloudEventConnectionCreatedObject(EventStreamCloudEventConnectionCreatedObject1)

public static implicit operator EventStreamCloudEventConnectionCreatedObject(EventStreamCloudEventConnectionCreatedObject1 value)

Parameters

value EventStreamCloudEventConnectionCreatedObject1

Returns

EventStreamCloudEventConnectionCreatedObject

implicit operator EventStreamCloudEventConnectionCreatedObject(EventStreamCloudEventConnectionCreatedObject2)

public static implicit operator EventStreamCloudEventConnectionCreatedObject(EventStreamCloudEventConnectionCreatedObject2 value)

Parameters

value EventStreamCloudEventConnectionCreatedObject2

Returns

EventStreamCloudEventConnectionCreatedObject

implicit operator EventStreamCloudEventConnectionCreatedObject(EventStreamCloudEventConnectionCreatedObject3)

public static implicit operator EventStreamCloudEventConnectionCreatedObject(EventStreamCloudEventConnectionCreatedObject3 value)

Parameters

value EventStreamCloudEventConnectionCreatedObject3

Returns

EventStreamCloudEventConnectionCreatedObject

implicit operator EventStreamCloudEventConnectionCreatedObject(EventStreamCloudEventConnectionCreatedObject4)

public static implicit operator EventStreamCloudEventConnectionCreatedObject(EventStreamCloudEventConnectionCreatedObject4 value)

Parameters

value EventStreamCloudEventConnectionCreatedObject4

Returns

EventStreamCloudEventConnectionCreatedObject

implicit operator EventStreamCloudEventConnectionCreatedObject(EventStreamCloudEventConnectionCreatedObject5)

public static implicit operator EventStreamCloudEventConnectionCreatedObject(EventStreamCloudEventConnectionCreatedObject5 value)

Parameters

value EventStreamCloudEventConnectionCreatedObject5

Returns

EventStreamCloudEventConnectionCreatedObject

implicit operator EventStreamCloudEventConnectionCreatedObject(EventStreamCloudEventConnectionCreatedObject6)

public static implicit operator EventStreamCloudEventConnectionCreatedObject(EventStreamCloudEventConnectionCreatedObject6 value)

Parameters

value EventStreamCloudEventConnectionCreatedObject6

Returns

EventStreamCloudEventConnectionCreatedObject

implicit operator EventStreamCloudEventConnectionCreatedObject(EventStreamCloudEventConnectionCreatedObject7)

public static implicit operator EventStreamCloudEventConnectionCreatedObject(EventStreamCloudEventConnectionCreatedObject7 value)

Parameters

value EventStreamCloudEventConnectionCreatedObject7

Returns

EventStreamCloudEventConnectionCreatedObject