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
Value
Union value
[JsonIgnore]
public object? Value { get; }
Property Value
Methods
AsEventStreamCloudEventConnectionCreatedObject0()
Returns the value as a EventStreamCloudEventConnectionCreatedObject0 if Type is 'eventStreamCloudEventConnectionCreatedObject0', otherwise throws an exception.
public EventStreamCloudEventConnectionCreatedObject0 AsEventStreamCloudEventConnectionCreatedObject0()
Returns
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
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
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
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
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
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
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
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
objobjectThe 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
Returns
FromEventStreamCloudEventConnectionCreatedObject1(EventStreamCloudEventConnectionCreatedObject1)
Factory method to create a union from a Auth0.ManagementApi.EventStreamCloudEventConnectionCreatedObject1 value.
public static EventStreamCloudEventConnectionCreatedObject FromEventStreamCloudEventConnectionCreatedObject1(EventStreamCloudEventConnectionCreatedObject1 value)
Parameters
Returns
FromEventStreamCloudEventConnectionCreatedObject2(EventStreamCloudEventConnectionCreatedObject2)
Factory method to create a union from a Auth0.ManagementApi.EventStreamCloudEventConnectionCreatedObject2 value.
public static EventStreamCloudEventConnectionCreatedObject FromEventStreamCloudEventConnectionCreatedObject2(EventStreamCloudEventConnectionCreatedObject2 value)
Parameters
Returns
FromEventStreamCloudEventConnectionCreatedObject3(EventStreamCloudEventConnectionCreatedObject3)
Factory method to create a union from a Auth0.ManagementApi.EventStreamCloudEventConnectionCreatedObject3 value.
public static EventStreamCloudEventConnectionCreatedObject FromEventStreamCloudEventConnectionCreatedObject3(EventStreamCloudEventConnectionCreatedObject3 value)
Parameters
Returns
FromEventStreamCloudEventConnectionCreatedObject4(EventStreamCloudEventConnectionCreatedObject4)
Factory method to create a union from a Auth0.ManagementApi.EventStreamCloudEventConnectionCreatedObject4 value.
public static EventStreamCloudEventConnectionCreatedObject FromEventStreamCloudEventConnectionCreatedObject4(EventStreamCloudEventConnectionCreatedObject4 value)
Parameters
Returns
FromEventStreamCloudEventConnectionCreatedObject5(EventStreamCloudEventConnectionCreatedObject5)
Factory method to create a union from a Auth0.ManagementApi.EventStreamCloudEventConnectionCreatedObject5 value.
public static EventStreamCloudEventConnectionCreatedObject FromEventStreamCloudEventConnectionCreatedObject5(EventStreamCloudEventConnectionCreatedObject5 value)
Parameters
Returns
FromEventStreamCloudEventConnectionCreatedObject6(EventStreamCloudEventConnectionCreatedObject6)
Factory method to create a union from a Auth0.ManagementApi.EventStreamCloudEventConnectionCreatedObject6 value.
public static EventStreamCloudEventConnectionCreatedObject FromEventStreamCloudEventConnectionCreatedObject6(EventStreamCloudEventConnectionCreatedObject6 value)
Parameters
Returns
FromEventStreamCloudEventConnectionCreatedObject7(EventStreamCloudEventConnectionCreatedObject7)
Factory method to create a union from a Auth0.ManagementApi.EventStreamCloudEventConnectionCreatedObject7 value.
public static EventStreamCloudEventConnectionCreatedObject FromEventStreamCloudEventConnectionCreatedObject7(EventStreamCloudEventConnectionCreatedObject7 value)
Parameters
Returns
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
IsEventStreamCloudEventConnectionCreatedObject1()
Returns true if Type is "eventStreamCloudEventConnectionCreatedObject1"
public bool IsEventStreamCloudEventConnectionCreatedObject1()
Returns
IsEventStreamCloudEventConnectionCreatedObject2()
Returns true if Type is "eventStreamCloudEventConnectionCreatedObject2"
public bool IsEventStreamCloudEventConnectionCreatedObject2()
Returns
IsEventStreamCloudEventConnectionCreatedObject3()
Returns true if Type is "eventStreamCloudEventConnectionCreatedObject3"
public bool IsEventStreamCloudEventConnectionCreatedObject3()
Returns
IsEventStreamCloudEventConnectionCreatedObject4()
Returns true if Type is "eventStreamCloudEventConnectionCreatedObject4"
public bool IsEventStreamCloudEventConnectionCreatedObject4()
Returns
IsEventStreamCloudEventConnectionCreatedObject5()
Returns true if Type is "eventStreamCloudEventConnectionCreatedObject5"
public bool IsEventStreamCloudEventConnectionCreatedObject5()
Returns
IsEventStreamCloudEventConnectionCreatedObject6()
Returns true if Type is "eventStreamCloudEventConnectionCreatedObject6"
public bool IsEventStreamCloudEventConnectionCreatedObject6()
Returns
IsEventStreamCloudEventConnectionCreatedObject7()
Returns true if Type is "eventStreamCloudEventConnectionCreatedObject7"
public bool IsEventStreamCloudEventConnectionCreatedObject7()
Returns
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
onEventStreamCloudEventConnectionCreatedObject0Func<EventStreamCloudEventConnectionCreatedObject0, T>onEventStreamCloudEventConnectionCreatedObject1Func<EventStreamCloudEventConnectionCreatedObject1, T>onEventStreamCloudEventConnectionCreatedObject2Func<EventStreamCloudEventConnectionCreatedObject2, T>onEventStreamCloudEventConnectionCreatedObject3Func<EventStreamCloudEventConnectionCreatedObject3, T>onEventStreamCloudEventConnectionCreatedObject4Func<EventStreamCloudEventConnectionCreatedObject4, T>onEventStreamCloudEventConnectionCreatedObject5Func<EventStreamCloudEventConnectionCreatedObject5, T>onEventStreamCloudEventConnectionCreatedObject6Func<EventStreamCloudEventConnectionCreatedObject6, T>onEventStreamCloudEventConnectionCreatedObject7Func<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
Returns
TryGetEventStreamCloudEventConnectionCreatedObject1(out EventStreamCloudEventConnectionCreatedObject1?)
Attempts to cast the value to a EventStreamCloudEventConnectionCreatedObject1 and returns true if successful.
public bool TryGetEventStreamCloudEventConnectionCreatedObject1(out EventStreamCloudEventConnectionCreatedObject1? value)
Parameters
Returns
TryGetEventStreamCloudEventConnectionCreatedObject2(out EventStreamCloudEventConnectionCreatedObject2?)
Attempts to cast the value to a EventStreamCloudEventConnectionCreatedObject2 and returns true if successful.
public bool TryGetEventStreamCloudEventConnectionCreatedObject2(out EventStreamCloudEventConnectionCreatedObject2? value)
Parameters
Returns
TryGetEventStreamCloudEventConnectionCreatedObject3(out EventStreamCloudEventConnectionCreatedObject3?)
Attempts to cast the value to a EventStreamCloudEventConnectionCreatedObject3 and returns true if successful.
public bool TryGetEventStreamCloudEventConnectionCreatedObject3(out EventStreamCloudEventConnectionCreatedObject3? value)
Parameters
Returns
TryGetEventStreamCloudEventConnectionCreatedObject4(out EventStreamCloudEventConnectionCreatedObject4?)
Attempts to cast the value to a EventStreamCloudEventConnectionCreatedObject4 and returns true if successful.
public bool TryGetEventStreamCloudEventConnectionCreatedObject4(out EventStreamCloudEventConnectionCreatedObject4? value)
Parameters
Returns
TryGetEventStreamCloudEventConnectionCreatedObject5(out EventStreamCloudEventConnectionCreatedObject5?)
Attempts to cast the value to a EventStreamCloudEventConnectionCreatedObject5 and returns true if successful.
public bool TryGetEventStreamCloudEventConnectionCreatedObject5(out EventStreamCloudEventConnectionCreatedObject5? value)
Parameters
Returns
TryGetEventStreamCloudEventConnectionCreatedObject6(out EventStreamCloudEventConnectionCreatedObject6?)
Attempts to cast the value to a EventStreamCloudEventConnectionCreatedObject6 and returns true if successful.
public bool TryGetEventStreamCloudEventConnectionCreatedObject6(out EventStreamCloudEventConnectionCreatedObject6? value)
Parameters
Returns
TryGetEventStreamCloudEventConnectionCreatedObject7(out EventStreamCloudEventConnectionCreatedObject7?)
Attempts to cast the value to a EventStreamCloudEventConnectionCreatedObject7 and returns true if successful.
public bool TryGetEventStreamCloudEventConnectionCreatedObject7(out EventStreamCloudEventConnectionCreatedObject7? value)
Parameters
Returns
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
onEventStreamCloudEventConnectionCreatedObject0Action<EventStreamCloudEventConnectionCreatedObject0>onEventStreamCloudEventConnectionCreatedObject1Action<EventStreamCloudEventConnectionCreatedObject1>onEventStreamCloudEventConnectionCreatedObject2Action<EventStreamCloudEventConnectionCreatedObject2>onEventStreamCloudEventConnectionCreatedObject3Action<EventStreamCloudEventConnectionCreatedObject3>onEventStreamCloudEventConnectionCreatedObject4Action<EventStreamCloudEventConnectionCreatedObject4>onEventStreamCloudEventConnectionCreatedObject5Action<EventStreamCloudEventConnectionCreatedObject5>onEventStreamCloudEventConnectionCreatedObject6Action<EventStreamCloudEventConnectionCreatedObject6>onEventStreamCloudEventConnectionCreatedObject7Action<EventStreamCloudEventConnectionCreatedObject7>
Operators
implicit operator EventStreamCloudEventConnectionCreatedObject(EventStreamCloudEventConnectionCreatedObject0)
public static implicit operator EventStreamCloudEventConnectionCreatedObject(EventStreamCloudEventConnectionCreatedObject0 value)
Parameters
Returns
implicit operator EventStreamCloudEventConnectionCreatedObject(EventStreamCloudEventConnectionCreatedObject1)
public static implicit operator EventStreamCloudEventConnectionCreatedObject(EventStreamCloudEventConnectionCreatedObject1 value)
Parameters
Returns
implicit operator EventStreamCloudEventConnectionCreatedObject(EventStreamCloudEventConnectionCreatedObject2)
public static implicit operator EventStreamCloudEventConnectionCreatedObject(EventStreamCloudEventConnectionCreatedObject2 value)
Parameters
Returns
implicit operator EventStreamCloudEventConnectionCreatedObject(EventStreamCloudEventConnectionCreatedObject3)
public static implicit operator EventStreamCloudEventConnectionCreatedObject(EventStreamCloudEventConnectionCreatedObject3 value)
Parameters
Returns
implicit operator EventStreamCloudEventConnectionCreatedObject(EventStreamCloudEventConnectionCreatedObject4)
public static implicit operator EventStreamCloudEventConnectionCreatedObject(EventStreamCloudEventConnectionCreatedObject4 value)
Parameters
Returns
implicit operator EventStreamCloudEventConnectionCreatedObject(EventStreamCloudEventConnectionCreatedObject5)
public static implicit operator EventStreamCloudEventConnectionCreatedObject(EventStreamCloudEventConnectionCreatedObject5 value)
Parameters
Returns
implicit operator EventStreamCloudEventConnectionCreatedObject(EventStreamCloudEventConnectionCreatedObject6)
public static implicit operator EventStreamCloudEventConnectionCreatedObject(EventStreamCloudEventConnectionCreatedObject6 value)
Parameters
Returns
implicit operator EventStreamCloudEventConnectionCreatedObject(EventStreamCloudEventConnectionCreatedObject7)
public static implicit operator EventStreamCloudEventConnectionCreatedObject(EventStreamCloudEventConnectionCreatedObject7 value)