Class EventStreamCloudEventConnectionCreatedPreviousObject
- 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(EventStreamCloudEventConnectionCreatedPreviousObject.JsonConverter))]
[Serializable]
public class EventStreamCloudEventConnectionCreatedPreviousObject
- Inheritance
-
EventStreamCloudEventConnectionCreatedPreviousObject
- 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
AsEventStreamCloudEventConnectionCreatedPreviousObject0()
Returns the value as a EventStreamCloudEventConnectionCreatedPreviousObject0 if Type is 'eventStreamCloudEventConnectionCreatedPreviousObject0', otherwise throws an exception.
public EventStreamCloudEventConnectionCreatedPreviousObject0 AsEventStreamCloudEventConnectionCreatedPreviousObject0()
Returns
Exceptions
- ManagementException
Thrown when Type is not 'eventStreamCloudEventConnectionCreatedPreviousObject0'.
AsEventStreamCloudEventConnectionCreatedPreviousObject1()
Returns the value as a EventStreamCloudEventConnectionCreatedPreviousObject1 if Type is 'eventStreamCloudEventConnectionCreatedPreviousObject1', otherwise throws an exception.
public EventStreamCloudEventConnectionCreatedPreviousObject1 AsEventStreamCloudEventConnectionCreatedPreviousObject1()
Returns
Exceptions
- ManagementException
Thrown when Type is not 'eventStreamCloudEventConnectionCreatedPreviousObject1'.
AsEventStreamCloudEventConnectionCreatedPreviousObject2()
Returns the value as a EventStreamCloudEventConnectionCreatedPreviousObject2 if Type is 'eventStreamCloudEventConnectionCreatedPreviousObject2', otherwise throws an exception.
public EventStreamCloudEventConnectionCreatedPreviousObject2 AsEventStreamCloudEventConnectionCreatedPreviousObject2()
Returns
Exceptions
- ManagementException
Thrown when Type is not 'eventStreamCloudEventConnectionCreatedPreviousObject2'.
AsEventStreamCloudEventConnectionCreatedPreviousObject3()
Returns the value as a EventStreamCloudEventConnectionCreatedPreviousObject3 if Type is 'eventStreamCloudEventConnectionCreatedPreviousObject3', otherwise throws an exception.
public EventStreamCloudEventConnectionCreatedPreviousObject3 AsEventStreamCloudEventConnectionCreatedPreviousObject3()
Returns
Exceptions
- ManagementException
Thrown when Type is not 'eventStreamCloudEventConnectionCreatedPreviousObject3'.
AsEventStreamCloudEventConnectionCreatedPreviousObject4()
Returns the value as a EventStreamCloudEventConnectionCreatedPreviousObject4 if Type is 'eventStreamCloudEventConnectionCreatedPreviousObject4', otherwise throws an exception.
public EventStreamCloudEventConnectionCreatedPreviousObject4 AsEventStreamCloudEventConnectionCreatedPreviousObject4()
Returns
Exceptions
- ManagementException
Thrown when Type is not 'eventStreamCloudEventConnectionCreatedPreviousObject4'.
AsEventStreamCloudEventConnectionCreatedPreviousObject5()
Returns the value as a EventStreamCloudEventConnectionCreatedPreviousObject5 if Type is 'eventStreamCloudEventConnectionCreatedPreviousObject5', otherwise throws an exception.
public EventStreamCloudEventConnectionCreatedPreviousObject5 AsEventStreamCloudEventConnectionCreatedPreviousObject5()
Returns
Exceptions
- ManagementException
Thrown when Type is not 'eventStreamCloudEventConnectionCreatedPreviousObject5'.
AsEventStreamCloudEventConnectionCreatedPreviousObject6()
Returns the value as a EventStreamCloudEventConnectionCreatedPreviousObject6 if Type is 'eventStreamCloudEventConnectionCreatedPreviousObject6', otherwise throws an exception.
public EventStreamCloudEventConnectionCreatedPreviousObject6 AsEventStreamCloudEventConnectionCreatedPreviousObject6()
Returns
Exceptions
- ManagementException
Thrown when Type is not 'eventStreamCloudEventConnectionCreatedPreviousObject6'.
AsEventStreamCloudEventConnectionCreatedPreviousObject7()
Returns the value as a EventStreamCloudEventConnectionCreatedPreviousObject7 if Type is 'eventStreamCloudEventConnectionCreatedPreviousObject7', otherwise throws an exception.
public EventStreamCloudEventConnectionCreatedPreviousObject7 AsEventStreamCloudEventConnectionCreatedPreviousObject7()
Returns
Exceptions
- ManagementException
Thrown when Type is not 'eventStreamCloudEventConnectionCreatedPreviousObject7'.
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.
FromEventStreamCloudEventConnectionCreatedPreviousObject0(EventStreamCloudEventConnectionCreatedPreviousObject0)
Factory method to create a union from a Auth0.ManagementApi.EventStreamCloudEventConnectionCreatedPreviousObject0 value.
public static EventStreamCloudEventConnectionCreatedPreviousObject FromEventStreamCloudEventConnectionCreatedPreviousObject0(EventStreamCloudEventConnectionCreatedPreviousObject0 value)
Parameters
Returns
FromEventStreamCloudEventConnectionCreatedPreviousObject1(EventStreamCloudEventConnectionCreatedPreviousObject1)
Factory method to create a union from a Auth0.ManagementApi.EventStreamCloudEventConnectionCreatedPreviousObject1 value.
public static EventStreamCloudEventConnectionCreatedPreviousObject FromEventStreamCloudEventConnectionCreatedPreviousObject1(EventStreamCloudEventConnectionCreatedPreviousObject1 value)
Parameters
Returns
FromEventStreamCloudEventConnectionCreatedPreviousObject2(EventStreamCloudEventConnectionCreatedPreviousObject2)
Factory method to create a union from a Auth0.ManagementApi.EventStreamCloudEventConnectionCreatedPreviousObject2 value.
public static EventStreamCloudEventConnectionCreatedPreviousObject FromEventStreamCloudEventConnectionCreatedPreviousObject2(EventStreamCloudEventConnectionCreatedPreviousObject2 value)
Parameters
Returns
FromEventStreamCloudEventConnectionCreatedPreviousObject3(EventStreamCloudEventConnectionCreatedPreviousObject3)
Factory method to create a union from a Auth0.ManagementApi.EventStreamCloudEventConnectionCreatedPreviousObject3 value.
public static EventStreamCloudEventConnectionCreatedPreviousObject FromEventStreamCloudEventConnectionCreatedPreviousObject3(EventStreamCloudEventConnectionCreatedPreviousObject3 value)
Parameters
Returns
FromEventStreamCloudEventConnectionCreatedPreviousObject4(EventStreamCloudEventConnectionCreatedPreviousObject4)
Factory method to create a union from a Auth0.ManagementApi.EventStreamCloudEventConnectionCreatedPreviousObject4 value.
public static EventStreamCloudEventConnectionCreatedPreviousObject FromEventStreamCloudEventConnectionCreatedPreviousObject4(EventStreamCloudEventConnectionCreatedPreviousObject4 value)
Parameters
Returns
FromEventStreamCloudEventConnectionCreatedPreviousObject5(EventStreamCloudEventConnectionCreatedPreviousObject5)
Factory method to create a union from a Auth0.ManagementApi.EventStreamCloudEventConnectionCreatedPreviousObject5 value.
public static EventStreamCloudEventConnectionCreatedPreviousObject FromEventStreamCloudEventConnectionCreatedPreviousObject5(EventStreamCloudEventConnectionCreatedPreviousObject5 value)
Parameters
Returns
FromEventStreamCloudEventConnectionCreatedPreviousObject6(EventStreamCloudEventConnectionCreatedPreviousObject6)
Factory method to create a union from a Auth0.ManagementApi.EventStreamCloudEventConnectionCreatedPreviousObject6 value.
public static EventStreamCloudEventConnectionCreatedPreviousObject FromEventStreamCloudEventConnectionCreatedPreviousObject6(EventStreamCloudEventConnectionCreatedPreviousObject6 value)
Parameters
Returns
FromEventStreamCloudEventConnectionCreatedPreviousObject7(EventStreamCloudEventConnectionCreatedPreviousObject7)
Factory method to create a union from a Auth0.ManagementApi.EventStreamCloudEventConnectionCreatedPreviousObject7 value.
public static EventStreamCloudEventConnectionCreatedPreviousObject FromEventStreamCloudEventConnectionCreatedPreviousObject7(EventStreamCloudEventConnectionCreatedPreviousObject7 value)
Parameters
Returns
GetHashCode()
Serves as the default hash function.
public override int GetHashCode()
Returns
- int
A hash code for the current object.
IsEventStreamCloudEventConnectionCreatedPreviousObject0()
Returns true if Type is "eventStreamCloudEventConnectionCreatedPreviousObject0"
public bool IsEventStreamCloudEventConnectionCreatedPreviousObject0()
Returns
IsEventStreamCloudEventConnectionCreatedPreviousObject1()
Returns true if Type is "eventStreamCloudEventConnectionCreatedPreviousObject1"
public bool IsEventStreamCloudEventConnectionCreatedPreviousObject1()
Returns
IsEventStreamCloudEventConnectionCreatedPreviousObject2()
Returns true if Type is "eventStreamCloudEventConnectionCreatedPreviousObject2"
public bool IsEventStreamCloudEventConnectionCreatedPreviousObject2()
Returns
IsEventStreamCloudEventConnectionCreatedPreviousObject3()
Returns true if Type is "eventStreamCloudEventConnectionCreatedPreviousObject3"
public bool IsEventStreamCloudEventConnectionCreatedPreviousObject3()
Returns
IsEventStreamCloudEventConnectionCreatedPreviousObject4()
Returns true if Type is "eventStreamCloudEventConnectionCreatedPreviousObject4"
public bool IsEventStreamCloudEventConnectionCreatedPreviousObject4()
Returns
IsEventStreamCloudEventConnectionCreatedPreviousObject5()
Returns true if Type is "eventStreamCloudEventConnectionCreatedPreviousObject5"
public bool IsEventStreamCloudEventConnectionCreatedPreviousObject5()
Returns
IsEventStreamCloudEventConnectionCreatedPreviousObject6()
Returns true if Type is "eventStreamCloudEventConnectionCreatedPreviousObject6"
public bool IsEventStreamCloudEventConnectionCreatedPreviousObject6()
Returns
IsEventStreamCloudEventConnectionCreatedPreviousObject7()
Returns true if Type is "eventStreamCloudEventConnectionCreatedPreviousObject7"
public bool IsEventStreamCloudEventConnectionCreatedPreviousObject7()
Returns
Match<T>(Func<EventStreamCloudEventConnectionCreatedPreviousObject0, T>, Func<EventStreamCloudEventConnectionCreatedPreviousObject1, T>, Func<EventStreamCloudEventConnectionCreatedPreviousObject2, T>, Func<EventStreamCloudEventConnectionCreatedPreviousObject3, T>, Func<EventStreamCloudEventConnectionCreatedPreviousObject4, T>, Func<EventStreamCloudEventConnectionCreatedPreviousObject5, T>, Func<EventStreamCloudEventConnectionCreatedPreviousObject6, T>, Func<EventStreamCloudEventConnectionCreatedPreviousObject7, T>)
public T Match<T>(Func<EventStreamCloudEventConnectionCreatedPreviousObject0, T> onEventStreamCloudEventConnectionCreatedPreviousObject0, Func<EventStreamCloudEventConnectionCreatedPreviousObject1, T> onEventStreamCloudEventConnectionCreatedPreviousObject1, Func<EventStreamCloudEventConnectionCreatedPreviousObject2, T> onEventStreamCloudEventConnectionCreatedPreviousObject2, Func<EventStreamCloudEventConnectionCreatedPreviousObject3, T> onEventStreamCloudEventConnectionCreatedPreviousObject3, Func<EventStreamCloudEventConnectionCreatedPreviousObject4, T> onEventStreamCloudEventConnectionCreatedPreviousObject4, Func<EventStreamCloudEventConnectionCreatedPreviousObject5, T> onEventStreamCloudEventConnectionCreatedPreviousObject5, Func<EventStreamCloudEventConnectionCreatedPreviousObject6, T> onEventStreamCloudEventConnectionCreatedPreviousObject6, Func<EventStreamCloudEventConnectionCreatedPreviousObject7, T> onEventStreamCloudEventConnectionCreatedPreviousObject7)
Parameters
onEventStreamCloudEventConnectionCreatedPreviousObject0Func<EventStreamCloudEventConnectionCreatedPreviousObject0, T>onEventStreamCloudEventConnectionCreatedPreviousObject1Func<EventStreamCloudEventConnectionCreatedPreviousObject1, T>onEventStreamCloudEventConnectionCreatedPreviousObject2Func<EventStreamCloudEventConnectionCreatedPreviousObject2, T>onEventStreamCloudEventConnectionCreatedPreviousObject3Func<EventStreamCloudEventConnectionCreatedPreviousObject3, T>onEventStreamCloudEventConnectionCreatedPreviousObject4Func<EventStreamCloudEventConnectionCreatedPreviousObject4, T>onEventStreamCloudEventConnectionCreatedPreviousObject5Func<EventStreamCloudEventConnectionCreatedPreviousObject5, T>onEventStreamCloudEventConnectionCreatedPreviousObject6Func<EventStreamCloudEventConnectionCreatedPreviousObject6, T>onEventStreamCloudEventConnectionCreatedPreviousObject7Func<EventStreamCloudEventConnectionCreatedPreviousObject7, 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.
TryGetEventStreamCloudEventConnectionCreatedPreviousObject0(out EventStreamCloudEventConnectionCreatedPreviousObject0?)
Attempts to cast the value to a EventStreamCloudEventConnectionCreatedPreviousObject0 and returns true if successful.
public bool TryGetEventStreamCloudEventConnectionCreatedPreviousObject0(out EventStreamCloudEventConnectionCreatedPreviousObject0? value)
Parameters
Returns
TryGetEventStreamCloudEventConnectionCreatedPreviousObject1(out EventStreamCloudEventConnectionCreatedPreviousObject1?)
Attempts to cast the value to a EventStreamCloudEventConnectionCreatedPreviousObject1 and returns true if successful.
public bool TryGetEventStreamCloudEventConnectionCreatedPreviousObject1(out EventStreamCloudEventConnectionCreatedPreviousObject1? value)
Parameters
Returns
TryGetEventStreamCloudEventConnectionCreatedPreviousObject2(out EventStreamCloudEventConnectionCreatedPreviousObject2?)
Attempts to cast the value to a EventStreamCloudEventConnectionCreatedPreviousObject2 and returns true if successful.
public bool TryGetEventStreamCloudEventConnectionCreatedPreviousObject2(out EventStreamCloudEventConnectionCreatedPreviousObject2? value)
Parameters
Returns
TryGetEventStreamCloudEventConnectionCreatedPreviousObject3(out EventStreamCloudEventConnectionCreatedPreviousObject3?)
Attempts to cast the value to a EventStreamCloudEventConnectionCreatedPreviousObject3 and returns true if successful.
public bool TryGetEventStreamCloudEventConnectionCreatedPreviousObject3(out EventStreamCloudEventConnectionCreatedPreviousObject3? value)
Parameters
Returns
TryGetEventStreamCloudEventConnectionCreatedPreviousObject4(out EventStreamCloudEventConnectionCreatedPreviousObject4?)
Attempts to cast the value to a EventStreamCloudEventConnectionCreatedPreviousObject4 and returns true if successful.
public bool TryGetEventStreamCloudEventConnectionCreatedPreviousObject4(out EventStreamCloudEventConnectionCreatedPreviousObject4? value)
Parameters
Returns
TryGetEventStreamCloudEventConnectionCreatedPreviousObject5(out EventStreamCloudEventConnectionCreatedPreviousObject5?)
Attempts to cast the value to a EventStreamCloudEventConnectionCreatedPreviousObject5 and returns true if successful.
public bool TryGetEventStreamCloudEventConnectionCreatedPreviousObject5(out EventStreamCloudEventConnectionCreatedPreviousObject5? value)
Parameters
Returns
TryGetEventStreamCloudEventConnectionCreatedPreviousObject6(out EventStreamCloudEventConnectionCreatedPreviousObject6?)
Attempts to cast the value to a EventStreamCloudEventConnectionCreatedPreviousObject6 and returns true if successful.
public bool TryGetEventStreamCloudEventConnectionCreatedPreviousObject6(out EventStreamCloudEventConnectionCreatedPreviousObject6? value)
Parameters
Returns
TryGetEventStreamCloudEventConnectionCreatedPreviousObject7(out EventStreamCloudEventConnectionCreatedPreviousObject7?)
Attempts to cast the value to a EventStreamCloudEventConnectionCreatedPreviousObject7 and returns true if successful.
public bool TryGetEventStreamCloudEventConnectionCreatedPreviousObject7(out EventStreamCloudEventConnectionCreatedPreviousObject7? value)
Parameters
Returns
Visit(Action<EventStreamCloudEventConnectionCreatedPreviousObject0>, Action<EventStreamCloudEventConnectionCreatedPreviousObject1>, Action<EventStreamCloudEventConnectionCreatedPreviousObject2>, Action<EventStreamCloudEventConnectionCreatedPreviousObject3>, Action<EventStreamCloudEventConnectionCreatedPreviousObject4>, Action<EventStreamCloudEventConnectionCreatedPreviousObject5>, Action<EventStreamCloudEventConnectionCreatedPreviousObject6>, Action<EventStreamCloudEventConnectionCreatedPreviousObject7>)
public void Visit(Action<EventStreamCloudEventConnectionCreatedPreviousObject0> onEventStreamCloudEventConnectionCreatedPreviousObject0, Action<EventStreamCloudEventConnectionCreatedPreviousObject1> onEventStreamCloudEventConnectionCreatedPreviousObject1, Action<EventStreamCloudEventConnectionCreatedPreviousObject2> onEventStreamCloudEventConnectionCreatedPreviousObject2, Action<EventStreamCloudEventConnectionCreatedPreviousObject3> onEventStreamCloudEventConnectionCreatedPreviousObject3, Action<EventStreamCloudEventConnectionCreatedPreviousObject4> onEventStreamCloudEventConnectionCreatedPreviousObject4, Action<EventStreamCloudEventConnectionCreatedPreviousObject5> onEventStreamCloudEventConnectionCreatedPreviousObject5, Action<EventStreamCloudEventConnectionCreatedPreviousObject6> onEventStreamCloudEventConnectionCreatedPreviousObject6, Action<EventStreamCloudEventConnectionCreatedPreviousObject7> onEventStreamCloudEventConnectionCreatedPreviousObject7)
Parameters
onEventStreamCloudEventConnectionCreatedPreviousObject0Action<EventStreamCloudEventConnectionCreatedPreviousObject0>onEventStreamCloudEventConnectionCreatedPreviousObject1Action<EventStreamCloudEventConnectionCreatedPreviousObject1>onEventStreamCloudEventConnectionCreatedPreviousObject2Action<EventStreamCloudEventConnectionCreatedPreviousObject2>onEventStreamCloudEventConnectionCreatedPreviousObject3Action<EventStreamCloudEventConnectionCreatedPreviousObject3>onEventStreamCloudEventConnectionCreatedPreviousObject4Action<EventStreamCloudEventConnectionCreatedPreviousObject4>onEventStreamCloudEventConnectionCreatedPreviousObject5Action<EventStreamCloudEventConnectionCreatedPreviousObject5>onEventStreamCloudEventConnectionCreatedPreviousObject6Action<EventStreamCloudEventConnectionCreatedPreviousObject6>onEventStreamCloudEventConnectionCreatedPreviousObject7Action<EventStreamCloudEventConnectionCreatedPreviousObject7>
Operators
implicit operator EventStreamCloudEventConnectionCreatedPreviousObject(EventStreamCloudEventConnectionCreatedPreviousObject0)
public static implicit operator EventStreamCloudEventConnectionCreatedPreviousObject(EventStreamCloudEventConnectionCreatedPreviousObject0 value)
Parameters
Returns
implicit operator EventStreamCloudEventConnectionCreatedPreviousObject(EventStreamCloudEventConnectionCreatedPreviousObject1)
public static implicit operator EventStreamCloudEventConnectionCreatedPreviousObject(EventStreamCloudEventConnectionCreatedPreviousObject1 value)
Parameters
Returns
implicit operator EventStreamCloudEventConnectionCreatedPreviousObject(EventStreamCloudEventConnectionCreatedPreviousObject2)
public static implicit operator EventStreamCloudEventConnectionCreatedPreviousObject(EventStreamCloudEventConnectionCreatedPreviousObject2 value)
Parameters
Returns
implicit operator EventStreamCloudEventConnectionCreatedPreviousObject(EventStreamCloudEventConnectionCreatedPreviousObject3)
public static implicit operator EventStreamCloudEventConnectionCreatedPreviousObject(EventStreamCloudEventConnectionCreatedPreviousObject3 value)
Parameters
Returns
implicit operator EventStreamCloudEventConnectionCreatedPreviousObject(EventStreamCloudEventConnectionCreatedPreviousObject4)
public static implicit operator EventStreamCloudEventConnectionCreatedPreviousObject(EventStreamCloudEventConnectionCreatedPreviousObject4 value)
Parameters
Returns
implicit operator EventStreamCloudEventConnectionCreatedPreviousObject(EventStreamCloudEventConnectionCreatedPreviousObject5)
public static implicit operator EventStreamCloudEventConnectionCreatedPreviousObject(EventStreamCloudEventConnectionCreatedPreviousObject5 value)
Parameters
Returns
implicit operator EventStreamCloudEventConnectionCreatedPreviousObject(EventStreamCloudEventConnectionCreatedPreviousObject6)
public static implicit operator EventStreamCloudEventConnectionCreatedPreviousObject(EventStreamCloudEventConnectionCreatedPreviousObject6 value)
Parameters
Returns
implicit operator EventStreamCloudEventConnectionCreatedPreviousObject(EventStreamCloudEventConnectionCreatedPreviousObject7)
public static implicit operator EventStreamCloudEventConnectionCreatedPreviousObject(EventStreamCloudEventConnectionCreatedPreviousObject7 value)