Class EventStreamCloudEventConnectionUpdatedObject
- Namespace
- Auth0.ManagementApi
- Assembly
- Auth0.ManagementApi.dll
The event content.
[JsonConverter(typeof(EventStreamCloudEventConnectionUpdatedObject.JsonConverter))]
[Serializable]
public class EventStreamCloudEventConnectionUpdatedObject
- Inheritance
-
EventStreamCloudEventConnectionUpdatedObject
- 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
AsEventStreamCloudEventConnectionUpdatedObject0()
Returns the value as a EventStreamCloudEventConnectionUpdatedObject0 if Type is 'eventStreamCloudEventConnectionUpdatedObject0', otherwise throws an exception.
public EventStreamCloudEventConnectionUpdatedObject0 AsEventStreamCloudEventConnectionUpdatedObject0()
Returns
Exceptions
- ManagementException
Thrown when Type is not 'eventStreamCloudEventConnectionUpdatedObject0'.
AsEventStreamCloudEventConnectionUpdatedObject1()
Returns the value as a EventStreamCloudEventConnectionUpdatedObject1 if Type is 'eventStreamCloudEventConnectionUpdatedObject1', otherwise throws an exception.
public EventStreamCloudEventConnectionUpdatedObject1 AsEventStreamCloudEventConnectionUpdatedObject1()
Returns
Exceptions
- ManagementException
Thrown when Type is not 'eventStreamCloudEventConnectionUpdatedObject1'.
AsEventStreamCloudEventConnectionUpdatedObject2()
Returns the value as a EventStreamCloudEventConnectionUpdatedObject2 if Type is 'eventStreamCloudEventConnectionUpdatedObject2', otherwise throws an exception.
public EventStreamCloudEventConnectionUpdatedObject2 AsEventStreamCloudEventConnectionUpdatedObject2()
Returns
Exceptions
- ManagementException
Thrown when Type is not 'eventStreamCloudEventConnectionUpdatedObject2'.
AsEventStreamCloudEventConnectionUpdatedObject3()
Returns the value as a EventStreamCloudEventConnectionUpdatedObject3 if Type is 'eventStreamCloudEventConnectionUpdatedObject3', otherwise throws an exception.
public EventStreamCloudEventConnectionUpdatedObject3 AsEventStreamCloudEventConnectionUpdatedObject3()
Returns
Exceptions
- ManagementException
Thrown when Type is not 'eventStreamCloudEventConnectionUpdatedObject3'.
AsEventStreamCloudEventConnectionUpdatedObject4()
Returns the value as a EventStreamCloudEventConnectionUpdatedObject4 if Type is 'eventStreamCloudEventConnectionUpdatedObject4', otherwise throws an exception.
public EventStreamCloudEventConnectionUpdatedObject4 AsEventStreamCloudEventConnectionUpdatedObject4()
Returns
Exceptions
- ManagementException
Thrown when Type is not 'eventStreamCloudEventConnectionUpdatedObject4'.
AsEventStreamCloudEventConnectionUpdatedObject5()
Returns the value as a EventStreamCloudEventConnectionUpdatedObject5 if Type is 'eventStreamCloudEventConnectionUpdatedObject5', otherwise throws an exception.
public EventStreamCloudEventConnectionUpdatedObject5 AsEventStreamCloudEventConnectionUpdatedObject5()
Returns
Exceptions
- ManagementException
Thrown when Type is not 'eventStreamCloudEventConnectionUpdatedObject5'.
AsEventStreamCloudEventConnectionUpdatedObject6()
Returns the value as a EventStreamCloudEventConnectionUpdatedObject6 if Type is 'eventStreamCloudEventConnectionUpdatedObject6', otherwise throws an exception.
public EventStreamCloudEventConnectionUpdatedObject6 AsEventStreamCloudEventConnectionUpdatedObject6()
Returns
Exceptions
- ManagementException
Thrown when Type is not 'eventStreamCloudEventConnectionUpdatedObject6'.
AsEventStreamCloudEventConnectionUpdatedObject7()
Returns the value as a EventStreamCloudEventConnectionUpdatedObject7 if Type is 'eventStreamCloudEventConnectionUpdatedObject7', otherwise throws an exception.
public EventStreamCloudEventConnectionUpdatedObject7 AsEventStreamCloudEventConnectionUpdatedObject7()
Returns
Exceptions
- ManagementException
Thrown when Type is not 'eventStreamCloudEventConnectionUpdatedObject7'.
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.
FromEventStreamCloudEventConnectionUpdatedObject0(EventStreamCloudEventConnectionUpdatedObject0)
Factory method to create a union from a Auth0.ManagementApi.EventStreamCloudEventConnectionUpdatedObject0 value.
public static EventStreamCloudEventConnectionUpdatedObject FromEventStreamCloudEventConnectionUpdatedObject0(EventStreamCloudEventConnectionUpdatedObject0 value)
Parameters
Returns
FromEventStreamCloudEventConnectionUpdatedObject1(EventStreamCloudEventConnectionUpdatedObject1)
Factory method to create a union from a Auth0.ManagementApi.EventStreamCloudEventConnectionUpdatedObject1 value.
public static EventStreamCloudEventConnectionUpdatedObject FromEventStreamCloudEventConnectionUpdatedObject1(EventStreamCloudEventConnectionUpdatedObject1 value)
Parameters
Returns
FromEventStreamCloudEventConnectionUpdatedObject2(EventStreamCloudEventConnectionUpdatedObject2)
Factory method to create a union from a Auth0.ManagementApi.EventStreamCloudEventConnectionUpdatedObject2 value.
public static EventStreamCloudEventConnectionUpdatedObject FromEventStreamCloudEventConnectionUpdatedObject2(EventStreamCloudEventConnectionUpdatedObject2 value)
Parameters
Returns
FromEventStreamCloudEventConnectionUpdatedObject3(EventStreamCloudEventConnectionUpdatedObject3)
Factory method to create a union from a Auth0.ManagementApi.EventStreamCloudEventConnectionUpdatedObject3 value.
public static EventStreamCloudEventConnectionUpdatedObject FromEventStreamCloudEventConnectionUpdatedObject3(EventStreamCloudEventConnectionUpdatedObject3 value)
Parameters
Returns
FromEventStreamCloudEventConnectionUpdatedObject4(EventStreamCloudEventConnectionUpdatedObject4)
Factory method to create a union from a Auth0.ManagementApi.EventStreamCloudEventConnectionUpdatedObject4 value.
public static EventStreamCloudEventConnectionUpdatedObject FromEventStreamCloudEventConnectionUpdatedObject4(EventStreamCloudEventConnectionUpdatedObject4 value)
Parameters
Returns
FromEventStreamCloudEventConnectionUpdatedObject5(EventStreamCloudEventConnectionUpdatedObject5)
Factory method to create a union from a Auth0.ManagementApi.EventStreamCloudEventConnectionUpdatedObject5 value.
public static EventStreamCloudEventConnectionUpdatedObject FromEventStreamCloudEventConnectionUpdatedObject5(EventStreamCloudEventConnectionUpdatedObject5 value)
Parameters
Returns
FromEventStreamCloudEventConnectionUpdatedObject6(EventStreamCloudEventConnectionUpdatedObject6)
Factory method to create a union from a Auth0.ManagementApi.EventStreamCloudEventConnectionUpdatedObject6 value.
public static EventStreamCloudEventConnectionUpdatedObject FromEventStreamCloudEventConnectionUpdatedObject6(EventStreamCloudEventConnectionUpdatedObject6 value)
Parameters
Returns
FromEventStreamCloudEventConnectionUpdatedObject7(EventStreamCloudEventConnectionUpdatedObject7)
Factory method to create a union from a Auth0.ManagementApi.EventStreamCloudEventConnectionUpdatedObject7 value.
public static EventStreamCloudEventConnectionUpdatedObject FromEventStreamCloudEventConnectionUpdatedObject7(EventStreamCloudEventConnectionUpdatedObject7 value)
Parameters
Returns
GetHashCode()
Serves as the default hash function.
public override int GetHashCode()
Returns
- int
A hash code for the current object.
IsEventStreamCloudEventConnectionUpdatedObject0()
Returns true if Type is "eventStreamCloudEventConnectionUpdatedObject0"
public bool IsEventStreamCloudEventConnectionUpdatedObject0()
Returns
IsEventStreamCloudEventConnectionUpdatedObject1()
Returns true if Type is "eventStreamCloudEventConnectionUpdatedObject1"
public bool IsEventStreamCloudEventConnectionUpdatedObject1()
Returns
IsEventStreamCloudEventConnectionUpdatedObject2()
Returns true if Type is "eventStreamCloudEventConnectionUpdatedObject2"
public bool IsEventStreamCloudEventConnectionUpdatedObject2()
Returns
IsEventStreamCloudEventConnectionUpdatedObject3()
Returns true if Type is "eventStreamCloudEventConnectionUpdatedObject3"
public bool IsEventStreamCloudEventConnectionUpdatedObject3()
Returns
IsEventStreamCloudEventConnectionUpdatedObject4()
Returns true if Type is "eventStreamCloudEventConnectionUpdatedObject4"
public bool IsEventStreamCloudEventConnectionUpdatedObject4()
Returns
IsEventStreamCloudEventConnectionUpdatedObject5()
Returns true if Type is "eventStreamCloudEventConnectionUpdatedObject5"
public bool IsEventStreamCloudEventConnectionUpdatedObject5()
Returns
IsEventStreamCloudEventConnectionUpdatedObject6()
Returns true if Type is "eventStreamCloudEventConnectionUpdatedObject6"
public bool IsEventStreamCloudEventConnectionUpdatedObject6()
Returns
IsEventStreamCloudEventConnectionUpdatedObject7()
Returns true if Type is "eventStreamCloudEventConnectionUpdatedObject7"
public bool IsEventStreamCloudEventConnectionUpdatedObject7()
Returns
Match<T>(Func<EventStreamCloudEventConnectionUpdatedObject0, T>, Func<EventStreamCloudEventConnectionUpdatedObject1, T>, Func<EventStreamCloudEventConnectionUpdatedObject2, T>, Func<EventStreamCloudEventConnectionUpdatedObject3, T>, Func<EventStreamCloudEventConnectionUpdatedObject4, T>, Func<EventStreamCloudEventConnectionUpdatedObject5, T>, Func<EventStreamCloudEventConnectionUpdatedObject6, T>, Func<EventStreamCloudEventConnectionUpdatedObject7, T>)
public T Match<T>(Func<EventStreamCloudEventConnectionUpdatedObject0, T> onEventStreamCloudEventConnectionUpdatedObject0, Func<EventStreamCloudEventConnectionUpdatedObject1, T> onEventStreamCloudEventConnectionUpdatedObject1, Func<EventStreamCloudEventConnectionUpdatedObject2, T> onEventStreamCloudEventConnectionUpdatedObject2, Func<EventStreamCloudEventConnectionUpdatedObject3, T> onEventStreamCloudEventConnectionUpdatedObject3, Func<EventStreamCloudEventConnectionUpdatedObject4, T> onEventStreamCloudEventConnectionUpdatedObject4, Func<EventStreamCloudEventConnectionUpdatedObject5, T> onEventStreamCloudEventConnectionUpdatedObject5, Func<EventStreamCloudEventConnectionUpdatedObject6, T> onEventStreamCloudEventConnectionUpdatedObject6, Func<EventStreamCloudEventConnectionUpdatedObject7, T> onEventStreamCloudEventConnectionUpdatedObject7)
Parameters
onEventStreamCloudEventConnectionUpdatedObject0Func<EventStreamCloudEventConnectionUpdatedObject0, T>onEventStreamCloudEventConnectionUpdatedObject1Func<EventStreamCloudEventConnectionUpdatedObject1, T>onEventStreamCloudEventConnectionUpdatedObject2Func<EventStreamCloudEventConnectionUpdatedObject2, T>onEventStreamCloudEventConnectionUpdatedObject3Func<EventStreamCloudEventConnectionUpdatedObject3, T>onEventStreamCloudEventConnectionUpdatedObject4Func<EventStreamCloudEventConnectionUpdatedObject4, T>onEventStreamCloudEventConnectionUpdatedObject5Func<EventStreamCloudEventConnectionUpdatedObject5, T>onEventStreamCloudEventConnectionUpdatedObject6Func<EventStreamCloudEventConnectionUpdatedObject6, T>onEventStreamCloudEventConnectionUpdatedObject7Func<EventStreamCloudEventConnectionUpdatedObject7, 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.
TryGetEventStreamCloudEventConnectionUpdatedObject0(out EventStreamCloudEventConnectionUpdatedObject0?)
Attempts to cast the value to a EventStreamCloudEventConnectionUpdatedObject0 and returns true if successful.
public bool TryGetEventStreamCloudEventConnectionUpdatedObject0(out EventStreamCloudEventConnectionUpdatedObject0? value)
Parameters
Returns
TryGetEventStreamCloudEventConnectionUpdatedObject1(out EventStreamCloudEventConnectionUpdatedObject1?)
Attempts to cast the value to a EventStreamCloudEventConnectionUpdatedObject1 and returns true if successful.
public bool TryGetEventStreamCloudEventConnectionUpdatedObject1(out EventStreamCloudEventConnectionUpdatedObject1? value)
Parameters
Returns
TryGetEventStreamCloudEventConnectionUpdatedObject2(out EventStreamCloudEventConnectionUpdatedObject2?)
Attempts to cast the value to a EventStreamCloudEventConnectionUpdatedObject2 and returns true if successful.
public bool TryGetEventStreamCloudEventConnectionUpdatedObject2(out EventStreamCloudEventConnectionUpdatedObject2? value)
Parameters
Returns
TryGetEventStreamCloudEventConnectionUpdatedObject3(out EventStreamCloudEventConnectionUpdatedObject3?)
Attempts to cast the value to a EventStreamCloudEventConnectionUpdatedObject3 and returns true if successful.
public bool TryGetEventStreamCloudEventConnectionUpdatedObject3(out EventStreamCloudEventConnectionUpdatedObject3? value)
Parameters
Returns
TryGetEventStreamCloudEventConnectionUpdatedObject4(out EventStreamCloudEventConnectionUpdatedObject4?)
Attempts to cast the value to a EventStreamCloudEventConnectionUpdatedObject4 and returns true if successful.
public bool TryGetEventStreamCloudEventConnectionUpdatedObject4(out EventStreamCloudEventConnectionUpdatedObject4? value)
Parameters
Returns
TryGetEventStreamCloudEventConnectionUpdatedObject5(out EventStreamCloudEventConnectionUpdatedObject5?)
Attempts to cast the value to a EventStreamCloudEventConnectionUpdatedObject5 and returns true if successful.
public bool TryGetEventStreamCloudEventConnectionUpdatedObject5(out EventStreamCloudEventConnectionUpdatedObject5? value)
Parameters
Returns
TryGetEventStreamCloudEventConnectionUpdatedObject6(out EventStreamCloudEventConnectionUpdatedObject6?)
Attempts to cast the value to a EventStreamCloudEventConnectionUpdatedObject6 and returns true if successful.
public bool TryGetEventStreamCloudEventConnectionUpdatedObject6(out EventStreamCloudEventConnectionUpdatedObject6? value)
Parameters
Returns
TryGetEventStreamCloudEventConnectionUpdatedObject7(out EventStreamCloudEventConnectionUpdatedObject7?)
Attempts to cast the value to a EventStreamCloudEventConnectionUpdatedObject7 and returns true if successful.
public bool TryGetEventStreamCloudEventConnectionUpdatedObject7(out EventStreamCloudEventConnectionUpdatedObject7? value)
Parameters
Returns
Visit(Action<EventStreamCloudEventConnectionUpdatedObject0>, Action<EventStreamCloudEventConnectionUpdatedObject1>, Action<EventStreamCloudEventConnectionUpdatedObject2>, Action<EventStreamCloudEventConnectionUpdatedObject3>, Action<EventStreamCloudEventConnectionUpdatedObject4>, Action<EventStreamCloudEventConnectionUpdatedObject5>, Action<EventStreamCloudEventConnectionUpdatedObject6>, Action<EventStreamCloudEventConnectionUpdatedObject7>)
public void Visit(Action<EventStreamCloudEventConnectionUpdatedObject0> onEventStreamCloudEventConnectionUpdatedObject0, Action<EventStreamCloudEventConnectionUpdatedObject1> onEventStreamCloudEventConnectionUpdatedObject1, Action<EventStreamCloudEventConnectionUpdatedObject2> onEventStreamCloudEventConnectionUpdatedObject2, Action<EventStreamCloudEventConnectionUpdatedObject3> onEventStreamCloudEventConnectionUpdatedObject3, Action<EventStreamCloudEventConnectionUpdatedObject4> onEventStreamCloudEventConnectionUpdatedObject4, Action<EventStreamCloudEventConnectionUpdatedObject5> onEventStreamCloudEventConnectionUpdatedObject5, Action<EventStreamCloudEventConnectionUpdatedObject6> onEventStreamCloudEventConnectionUpdatedObject6, Action<EventStreamCloudEventConnectionUpdatedObject7> onEventStreamCloudEventConnectionUpdatedObject7)
Parameters
onEventStreamCloudEventConnectionUpdatedObject0Action<EventStreamCloudEventConnectionUpdatedObject0>onEventStreamCloudEventConnectionUpdatedObject1Action<EventStreamCloudEventConnectionUpdatedObject1>onEventStreamCloudEventConnectionUpdatedObject2Action<EventStreamCloudEventConnectionUpdatedObject2>onEventStreamCloudEventConnectionUpdatedObject3Action<EventStreamCloudEventConnectionUpdatedObject3>onEventStreamCloudEventConnectionUpdatedObject4Action<EventStreamCloudEventConnectionUpdatedObject4>onEventStreamCloudEventConnectionUpdatedObject5Action<EventStreamCloudEventConnectionUpdatedObject5>onEventStreamCloudEventConnectionUpdatedObject6Action<EventStreamCloudEventConnectionUpdatedObject6>onEventStreamCloudEventConnectionUpdatedObject7Action<EventStreamCloudEventConnectionUpdatedObject7>
Operators
implicit operator EventStreamCloudEventConnectionUpdatedObject(EventStreamCloudEventConnectionUpdatedObject0)
public static implicit operator EventStreamCloudEventConnectionUpdatedObject(EventStreamCloudEventConnectionUpdatedObject0 value)
Parameters
Returns
implicit operator EventStreamCloudEventConnectionUpdatedObject(EventStreamCloudEventConnectionUpdatedObject1)
public static implicit operator EventStreamCloudEventConnectionUpdatedObject(EventStreamCloudEventConnectionUpdatedObject1 value)
Parameters
Returns
implicit operator EventStreamCloudEventConnectionUpdatedObject(EventStreamCloudEventConnectionUpdatedObject2)
public static implicit operator EventStreamCloudEventConnectionUpdatedObject(EventStreamCloudEventConnectionUpdatedObject2 value)
Parameters
Returns
implicit operator EventStreamCloudEventConnectionUpdatedObject(EventStreamCloudEventConnectionUpdatedObject3)
public static implicit operator EventStreamCloudEventConnectionUpdatedObject(EventStreamCloudEventConnectionUpdatedObject3 value)
Parameters
Returns
implicit operator EventStreamCloudEventConnectionUpdatedObject(EventStreamCloudEventConnectionUpdatedObject4)
public static implicit operator EventStreamCloudEventConnectionUpdatedObject(EventStreamCloudEventConnectionUpdatedObject4 value)
Parameters
Returns
implicit operator EventStreamCloudEventConnectionUpdatedObject(EventStreamCloudEventConnectionUpdatedObject5)
public static implicit operator EventStreamCloudEventConnectionUpdatedObject(EventStreamCloudEventConnectionUpdatedObject5 value)
Parameters
Returns
implicit operator EventStreamCloudEventConnectionUpdatedObject(EventStreamCloudEventConnectionUpdatedObject6)
public static implicit operator EventStreamCloudEventConnectionUpdatedObject(EventStreamCloudEventConnectionUpdatedObject6 value)
Parameters
Returns
implicit operator EventStreamCloudEventConnectionUpdatedObject(EventStreamCloudEventConnectionUpdatedObject7)
public static implicit operator EventStreamCloudEventConnectionUpdatedObject(EventStreamCloudEventConnectionUpdatedObject7 value)