Class EventStreamCloudEventConnectionUpdatedPreviousObject
- Namespace
- Auth0.ManagementApi
- Assembly
- Auth0.ManagementApi.dll
The event content as it was prior to the change described by this event, when applicable.
[JsonConverter(typeof(EventStreamCloudEventConnectionUpdatedPreviousObject.JsonConverter))]
[Serializable]
public class EventStreamCloudEventConnectionUpdatedPreviousObject
- Inheritance
-
EventStreamCloudEventConnectionUpdatedPreviousObject
- 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
AsEventStreamCloudEventConnectionUpdatedPreviousObject0()
Returns the value as a EventStreamCloudEventConnectionUpdatedPreviousObject0 if Type is 'eventStreamCloudEventConnectionUpdatedPreviousObject0', otherwise throws an exception.
public EventStreamCloudEventConnectionUpdatedPreviousObject0 AsEventStreamCloudEventConnectionUpdatedPreviousObject0()
Returns
Exceptions
- ManagementException
Thrown when Type is not 'eventStreamCloudEventConnectionUpdatedPreviousObject0'.
AsEventStreamCloudEventConnectionUpdatedPreviousObject1()
Returns the value as a EventStreamCloudEventConnectionUpdatedPreviousObject1 if Type is 'eventStreamCloudEventConnectionUpdatedPreviousObject1', otherwise throws an exception.
public EventStreamCloudEventConnectionUpdatedPreviousObject1 AsEventStreamCloudEventConnectionUpdatedPreviousObject1()
Returns
Exceptions
- ManagementException
Thrown when Type is not 'eventStreamCloudEventConnectionUpdatedPreviousObject1'.
AsEventStreamCloudEventConnectionUpdatedPreviousObject2()
Returns the value as a EventStreamCloudEventConnectionUpdatedPreviousObject2 if Type is 'eventStreamCloudEventConnectionUpdatedPreviousObject2', otherwise throws an exception.
public EventStreamCloudEventConnectionUpdatedPreviousObject2 AsEventStreamCloudEventConnectionUpdatedPreviousObject2()
Returns
Exceptions
- ManagementException
Thrown when Type is not 'eventStreamCloudEventConnectionUpdatedPreviousObject2'.
AsEventStreamCloudEventConnectionUpdatedPreviousObject3()
Returns the value as a EventStreamCloudEventConnectionUpdatedPreviousObject3 if Type is 'eventStreamCloudEventConnectionUpdatedPreviousObject3', otherwise throws an exception.
public EventStreamCloudEventConnectionUpdatedPreviousObject3 AsEventStreamCloudEventConnectionUpdatedPreviousObject3()
Returns
Exceptions
- ManagementException
Thrown when Type is not 'eventStreamCloudEventConnectionUpdatedPreviousObject3'.
AsEventStreamCloudEventConnectionUpdatedPreviousObject4()
Returns the value as a EventStreamCloudEventConnectionUpdatedPreviousObject4 if Type is 'eventStreamCloudEventConnectionUpdatedPreviousObject4', otherwise throws an exception.
public EventStreamCloudEventConnectionUpdatedPreviousObject4 AsEventStreamCloudEventConnectionUpdatedPreviousObject4()
Returns
Exceptions
- ManagementException
Thrown when Type is not 'eventStreamCloudEventConnectionUpdatedPreviousObject4'.
AsEventStreamCloudEventConnectionUpdatedPreviousObject5()
Returns the value as a EventStreamCloudEventConnectionUpdatedPreviousObject5 if Type is 'eventStreamCloudEventConnectionUpdatedPreviousObject5', otherwise throws an exception.
public EventStreamCloudEventConnectionUpdatedPreviousObject5 AsEventStreamCloudEventConnectionUpdatedPreviousObject5()
Returns
Exceptions
- ManagementException
Thrown when Type is not 'eventStreamCloudEventConnectionUpdatedPreviousObject5'.
AsEventStreamCloudEventConnectionUpdatedPreviousObject6()
Returns the value as a EventStreamCloudEventConnectionUpdatedPreviousObject6 if Type is 'eventStreamCloudEventConnectionUpdatedPreviousObject6', otherwise throws an exception.
public EventStreamCloudEventConnectionUpdatedPreviousObject6 AsEventStreamCloudEventConnectionUpdatedPreviousObject6()
Returns
Exceptions
- ManagementException
Thrown when Type is not 'eventStreamCloudEventConnectionUpdatedPreviousObject6'.
AsEventStreamCloudEventConnectionUpdatedPreviousObject7()
Returns the value as a EventStreamCloudEventConnectionUpdatedPreviousObject7 if Type is 'eventStreamCloudEventConnectionUpdatedPreviousObject7', otherwise throws an exception.
public EventStreamCloudEventConnectionUpdatedPreviousObject7 AsEventStreamCloudEventConnectionUpdatedPreviousObject7()
Returns
Exceptions
- ManagementException
Thrown when Type is not 'eventStreamCloudEventConnectionUpdatedPreviousObject7'.
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.
FromEventStreamCloudEventConnectionUpdatedPreviousObject0(EventStreamCloudEventConnectionUpdatedPreviousObject0)
Factory method to create a union from a Auth0.ManagementApi.EventStreamCloudEventConnectionUpdatedPreviousObject0 value.
public static EventStreamCloudEventConnectionUpdatedPreviousObject FromEventStreamCloudEventConnectionUpdatedPreviousObject0(EventStreamCloudEventConnectionUpdatedPreviousObject0 value)
Parameters
Returns
FromEventStreamCloudEventConnectionUpdatedPreviousObject1(EventStreamCloudEventConnectionUpdatedPreviousObject1)
Factory method to create a union from a Auth0.ManagementApi.EventStreamCloudEventConnectionUpdatedPreviousObject1 value.
public static EventStreamCloudEventConnectionUpdatedPreviousObject FromEventStreamCloudEventConnectionUpdatedPreviousObject1(EventStreamCloudEventConnectionUpdatedPreviousObject1 value)
Parameters
Returns
FromEventStreamCloudEventConnectionUpdatedPreviousObject2(EventStreamCloudEventConnectionUpdatedPreviousObject2)
Factory method to create a union from a Auth0.ManagementApi.EventStreamCloudEventConnectionUpdatedPreviousObject2 value.
public static EventStreamCloudEventConnectionUpdatedPreviousObject FromEventStreamCloudEventConnectionUpdatedPreviousObject2(EventStreamCloudEventConnectionUpdatedPreviousObject2 value)
Parameters
Returns
FromEventStreamCloudEventConnectionUpdatedPreviousObject3(EventStreamCloudEventConnectionUpdatedPreviousObject3)
Factory method to create a union from a Auth0.ManagementApi.EventStreamCloudEventConnectionUpdatedPreviousObject3 value.
public static EventStreamCloudEventConnectionUpdatedPreviousObject FromEventStreamCloudEventConnectionUpdatedPreviousObject3(EventStreamCloudEventConnectionUpdatedPreviousObject3 value)
Parameters
Returns
FromEventStreamCloudEventConnectionUpdatedPreviousObject4(EventStreamCloudEventConnectionUpdatedPreviousObject4)
Factory method to create a union from a Auth0.ManagementApi.EventStreamCloudEventConnectionUpdatedPreviousObject4 value.
public static EventStreamCloudEventConnectionUpdatedPreviousObject FromEventStreamCloudEventConnectionUpdatedPreviousObject4(EventStreamCloudEventConnectionUpdatedPreviousObject4 value)
Parameters
Returns
FromEventStreamCloudEventConnectionUpdatedPreviousObject5(EventStreamCloudEventConnectionUpdatedPreviousObject5)
Factory method to create a union from a Auth0.ManagementApi.EventStreamCloudEventConnectionUpdatedPreviousObject5 value.
public static EventStreamCloudEventConnectionUpdatedPreviousObject FromEventStreamCloudEventConnectionUpdatedPreviousObject5(EventStreamCloudEventConnectionUpdatedPreviousObject5 value)
Parameters
Returns
FromEventStreamCloudEventConnectionUpdatedPreviousObject6(EventStreamCloudEventConnectionUpdatedPreviousObject6)
Factory method to create a union from a Auth0.ManagementApi.EventStreamCloudEventConnectionUpdatedPreviousObject6 value.
public static EventStreamCloudEventConnectionUpdatedPreviousObject FromEventStreamCloudEventConnectionUpdatedPreviousObject6(EventStreamCloudEventConnectionUpdatedPreviousObject6 value)
Parameters
Returns
FromEventStreamCloudEventConnectionUpdatedPreviousObject7(EventStreamCloudEventConnectionUpdatedPreviousObject7)
Factory method to create a union from a Auth0.ManagementApi.EventStreamCloudEventConnectionUpdatedPreviousObject7 value.
public static EventStreamCloudEventConnectionUpdatedPreviousObject FromEventStreamCloudEventConnectionUpdatedPreviousObject7(EventStreamCloudEventConnectionUpdatedPreviousObject7 value)
Parameters
Returns
GetHashCode()
Serves as the default hash function.
public override int GetHashCode()
Returns
- int
A hash code for the current object.
IsEventStreamCloudEventConnectionUpdatedPreviousObject0()
Returns true if Type is "eventStreamCloudEventConnectionUpdatedPreviousObject0"
public bool IsEventStreamCloudEventConnectionUpdatedPreviousObject0()
Returns
IsEventStreamCloudEventConnectionUpdatedPreviousObject1()
Returns true if Type is "eventStreamCloudEventConnectionUpdatedPreviousObject1"
public bool IsEventStreamCloudEventConnectionUpdatedPreviousObject1()
Returns
IsEventStreamCloudEventConnectionUpdatedPreviousObject2()
Returns true if Type is "eventStreamCloudEventConnectionUpdatedPreviousObject2"
public bool IsEventStreamCloudEventConnectionUpdatedPreviousObject2()
Returns
IsEventStreamCloudEventConnectionUpdatedPreviousObject3()
Returns true if Type is "eventStreamCloudEventConnectionUpdatedPreviousObject3"
public bool IsEventStreamCloudEventConnectionUpdatedPreviousObject3()
Returns
IsEventStreamCloudEventConnectionUpdatedPreviousObject4()
Returns true if Type is "eventStreamCloudEventConnectionUpdatedPreviousObject4"
public bool IsEventStreamCloudEventConnectionUpdatedPreviousObject4()
Returns
IsEventStreamCloudEventConnectionUpdatedPreviousObject5()
Returns true if Type is "eventStreamCloudEventConnectionUpdatedPreviousObject5"
public bool IsEventStreamCloudEventConnectionUpdatedPreviousObject5()
Returns
IsEventStreamCloudEventConnectionUpdatedPreviousObject6()
Returns true if Type is "eventStreamCloudEventConnectionUpdatedPreviousObject6"
public bool IsEventStreamCloudEventConnectionUpdatedPreviousObject6()
Returns
IsEventStreamCloudEventConnectionUpdatedPreviousObject7()
Returns true if Type is "eventStreamCloudEventConnectionUpdatedPreviousObject7"
public bool IsEventStreamCloudEventConnectionUpdatedPreviousObject7()
Returns
Match<T>(Func<EventStreamCloudEventConnectionUpdatedPreviousObject0, T>, Func<EventStreamCloudEventConnectionUpdatedPreviousObject1, T>, Func<EventStreamCloudEventConnectionUpdatedPreviousObject2, T>, Func<EventStreamCloudEventConnectionUpdatedPreviousObject3, T>, Func<EventStreamCloudEventConnectionUpdatedPreviousObject4, T>, Func<EventStreamCloudEventConnectionUpdatedPreviousObject5, T>, Func<EventStreamCloudEventConnectionUpdatedPreviousObject6, T>, Func<EventStreamCloudEventConnectionUpdatedPreviousObject7, T>)
public T Match<T>(Func<EventStreamCloudEventConnectionUpdatedPreviousObject0, T> onEventStreamCloudEventConnectionUpdatedPreviousObject0, Func<EventStreamCloudEventConnectionUpdatedPreviousObject1, T> onEventStreamCloudEventConnectionUpdatedPreviousObject1, Func<EventStreamCloudEventConnectionUpdatedPreviousObject2, T> onEventStreamCloudEventConnectionUpdatedPreviousObject2, Func<EventStreamCloudEventConnectionUpdatedPreviousObject3, T> onEventStreamCloudEventConnectionUpdatedPreviousObject3, Func<EventStreamCloudEventConnectionUpdatedPreviousObject4, T> onEventStreamCloudEventConnectionUpdatedPreviousObject4, Func<EventStreamCloudEventConnectionUpdatedPreviousObject5, T> onEventStreamCloudEventConnectionUpdatedPreviousObject5, Func<EventStreamCloudEventConnectionUpdatedPreviousObject6, T> onEventStreamCloudEventConnectionUpdatedPreviousObject6, Func<EventStreamCloudEventConnectionUpdatedPreviousObject7, T> onEventStreamCloudEventConnectionUpdatedPreviousObject7)
Parameters
onEventStreamCloudEventConnectionUpdatedPreviousObject0Func<EventStreamCloudEventConnectionUpdatedPreviousObject0, T>onEventStreamCloudEventConnectionUpdatedPreviousObject1Func<EventStreamCloudEventConnectionUpdatedPreviousObject1, T>onEventStreamCloudEventConnectionUpdatedPreviousObject2Func<EventStreamCloudEventConnectionUpdatedPreviousObject2, T>onEventStreamCloudEventConnectionUpdatedPreviousObject3Func<EventStreamCloudEventConnectionUpdatedPreviousObject3, T>onEventStreamCloudEventConnectionUpdatedPreviousObject4Func<EventStreamCloudEventConnectionUpdatedPreviousObject4, T>onEventStreamCloudEventConnectionUpdatedPreviousObject5Func<EventStreamCloudEventConnectionUpdatedPreviousObject5, T>onEventStreamCloudEventConnectionUpdatedPreviousObject6Func<EventStreamCloudEventConnectionUpdatedPreviousObject6, T>onEventStreamCloudEventConnectionUpdatedPreviousObject7Func<EventStreamCloudEventConnectionUpdatedPreviousObject7, 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.
TryGetEventStreamCloudEventConnectionUpdatedPreviousObject0(out EventStreamCloudEventConnectionUpdatedPreviousObject0?)
Attempts to cast the value to a EventStreamCloudEventConnectionUpdatedPreviousObject0 and returns true if successful.
public bool TryGetEventStreamCloudEventConnectionUpdatedPreviousObject0(out EventStreamCloudEventConnectionUpdatedPreviousObject0? value)
Parameters
Returns
TryGetEventStreamCloudEventConnectionUpdatedPreviousObject1(out EventStreamCloudEventConnectionUpdatedPreviousObject1?)
Attempts to cast the value to a EventStreamCloudEventConnectionUpdatedPreviousObject1 and returns true if successful.
public bool TryGetEventStreamCloudEventConnectionUpdatedPreviousObject1(out EventStreamCloudEventConnectionUpdatedPreviousObject1? value)
Parameters
Returns
TryGetEventStreamCloudEventConnectionUpdatedPreviousObject2(out EventStreamCloudEventConnectionUpdatedPreviousObject2?)
Attempts to cast the value to a EventStreamCloudEventConnectionUpdatedPreviousObject2 and returns true if successful.
public bool TryGetEventStreamCloudEventConnectionUpdatedPreviousObject2(out EventStreamCloudEventConnectionUpdatedPreviousObject2? value)
Parameters
Returns
TryGetEventStreamCloudEventConnectionUpdatedPreviousObject3(out EventStreamCloudEventConnectionUpdatedPreviousObject3?)
Attempts to cast the value to a EventStreamCloudEventConnectionUpdatedPreviousObject3 and returns true if successful.
public bool TryGetEventStreamCloudEventConnectionUpdatedPreviousObject3(out EventStreamCloudEventConnectionUpdatedPreviousObject3? value)
Parameters
Returns
TryGetEventStreamCloudEventConnectionUpdatedPreviousObject4(out EventStreamCloudEventConnectionUpdatedPreviousObject4?)
Attempts to cast the value to a EventStreamCloudEventConnectionUpdatedPreviousObject4 and returns true if successful.
public bool TryGetEventStreamCloudEventConnectionUpdatedPreviousObject4(out EventStreamCloudEventConnectionUpdatedPreviousObject4? value)
Parameters
Returns
TryGetEventStreamCloudEventConnectionUpdatedPreviousObject5(out EventStreamCloudEventConnectionUpdatedPreviousObject5?)
Attempts to cast the value to a EventStreamCloudEventConnectionUpdatedPreviousObject5 and returns true if successful.
public bool TryGetEventStreamCloudEventConnectionUpdatedPreviousObject5(out EventStreamCloudEventConnectionUpdatedPreviousObject5? value)
Parameters
Returns
TryGetEventStreamCloudEventConnectionUpdatedPreviousObject6(out EventStreamCloudEventConnectionUpdatedPreviousObject6?)
Attempts to cast the value to a EventStreamCloudEventConnectionUpdatedPreviousObject6 and returns true if successful.
public bool TryGetEventStreamCloudEventConnectionUpdatedPreviousObject6(out EventStreamCloudEventConnectionUpdatedPreviousObject6? value)
Parameters
Returns
TryGetEventStreamCloudEventConnectionUpdatedPreviousObject7(out EventStreamCloudEventConnectionUpdatedPreviousObject7?)
Attempts to cast the value to a EventStreamCloudEventConnectionUpdatedPreviousObject7 and returns true if successful.
public bool TryGetEventStreamCloudEventConnectionUpdatedPreviousObject7(out EventStreamCloudEventConnectionUpdatedPreviousObject7? value)
Parameters
Returns
Visit(Action<EventStreamCloudEventConnectionUpdatedPreviousObject0>, Action<EventStreamCloudEventConnectionUpdatedPreviousObject1>, Action<EventStreamCloudEventConnectionUpdatedPreviousObject2>, Action<EventStreamCloudEventConnectionUpdatedPreviousObject3>, Action<EventStreamCloudEventConnectionUpdatedPreviousObject4>, Action<EventStreamCloudEventConnectionUpdatedPreviousObject5>, Action<EventStreamCloudEventConnectionUpdatedPreviousObject6>, Action<EventStreamCloudEventConnectionUpdatedPreviousObject7>)
public void Visit(Action<EventStreamCloudEventConnectionUpdatedPreviousObject0> onEventStreamCloudEventConnectionUpdatedPreviousObject0, Action<EventStreamCloudEventConnectionUpdatedPreviousObject1> onEventStreamCloudEventConnectionUpdatedPreviousObject1, Action<EventStreamCloudEventConnectionUpdatedPreviousObject2> onEventStreamCloudEventConnectionUpdatedPreviousObject2, Action<EventStreamCloudEventConnectionUpdatedPreviousObject3> onEventStreamCloudEventConnectionUpdatedPreviousObject3, Action<EventStreamCloudEventConnectionUpdatedPreviousObject4> onEventStreamCloudEventConnectionUpdatedPreviousObject4, Action<EventStreamCloudEventConnectionUpdatedPreviousObject5> onEventStreamCloudEventConnectionUpdatedPreviousObject5, Action<EventStreamCloudEventConnectionUpdatedPreviousObject6> onEventStreamCloudEventConnectionUpdatedPreviousObject6, Action<EventStreamCloudEventConnectionUpdatedPreviousObject7> onEventStreamCloudEventConnectionUpdatedPreviousObject7)
Parameters
onEventStreamCloudEventConnectionUpdatedPreviousObject0Action<EventStreamCloudEventConnectionUpdatedPreviousObject0>onEventStreamCloudEventConnectionUpdatedPreviousObject1Action<EventStreamCloudEventConnectionUpdatedPreviousObject1>onEventStreamCloudEventConnectionUpdatedPreviousObject2Action<EventStreamCloudEventConnectionUpdatedPreviousObject2>onEventStreamCloudEventConnectionUpdatedPreviousObject3Action<EventStreamCloudEventConnectionUpdatedPreviousObject3>onEventStreamCloudEventConnectionUpdatedPreviousObject4Action<EventStreamCloudEventConnectionUpdatedPreviousObject4>onEventStreamCloudEventConnectionUpdatedPreviousObject5Action<EventStreamCloudEventConnectionUpdatedPreviousObject5>onEventStreamCloudEventConnectionUpdatedPreviousObject6Action<EventStreamCloudEventConnectionUpdatedPreviousObject6>onEventStreamCloudEventConnectionUpdatedPreviousObject7Action<EventStreamCloudEventConnectionUpdatedPreviousObject7>
Operators
implicit operator EventStreamCloudEventConnectionUpdatedPreviousObject(EventStreamCloudEventConnectionUpdatedPreviousObject0)
public static implicit operator EventStreamCloudEventConnectionUpdatedPreviousObject(EventStreamCloudEventConnectionUpdatedPreviousObject0 value)
Parameters
Returns
implicit operator EventStreamCloudEventConnectionUpdatedPreviousObject(EventStreamCloudEventConnectionUpdatedPreviousObject1)
public static implicit operator EventStreamCloudEventConnectionUpdatedPreviousObject(EventStreamCloudEventConnectionUpdatedPreviousObject1 value)
Parameters
Returns
implicit operator EventStreamCloudEventConnectionUpdatedPreviousObject(EventStreamCloudEventConnectionUpdatedPreviousObject2)
public static implicit operator EventStreamCloudEventConnectionUpdatedPreviousObject(EventStreamCloudEventConnectionUpdatedPreviousObject2 value)
Parameters
Returns
implicit operator EventStreamCloudEventConnectionUpdatedPreviousObject(EventStreamCloudEventConnectionUpdatedPreviousObject3)
public static implicit operator EventStreamCloudEventConnectionUpdatedPreviousObject(EventStreamCloudEventConnectionUpdatedPreviousObject3 value)
Parameters
Returns
implicit operator EventStreamCloudEventConnectionUpdatedPreviousObject(EventStreamCloudEventConnectionUpdatedPreviousObject4)
public static implicit operator EventStreamCloudEventConnectionUpdatedPreviousObject(EventStreamCloudEventConnectionUpdatedPreviousObject4 value)
Parameters
Returns
implicit operator EventStreamCloudEventConnectionUpdatedPreviousObject(EventStreamCloudEventConnectionUpdatedPreviousObject5)
public static implicit operator EventStreamCloudEventConnectionUpdatedPreviousObject(EventStreamCloudEventConnectionUpdatedPreviousObject5 value)
Parameters
Returns
implicit operator EventStreamCloudEventConnectionUpdatedPreviousObject(EventStreamCloudEventConnectionUpdatedPreviousObject6)
public static implicit operator EventStreamCloudEventConnectionUpdatedPreviousObject(EventStreamCloudEventConnectionUpdatedPreviousObject6 value)
Parameters
Returns
implicit operator EventStreamCloudEventConnectionUpdatedPreviousObject(EventStreamCloudEventConnectionUpdatedPreviousObject7)
public static implicit operator EventStreamCloudEventConnectionUpdatedPreviousObject(EventStreamCloudEventConnectionUpdatedPreviousObject7 value)