Class EventStreamCloudEventGroupUpdatedObject
- Namespace
- Auth0.ManagementApi
- Assembly
- Auth0.ManagementApi.dll
The event content.
[JsonConverter(typeof(EventStreamCloudEventGroupUpdatedObject.JsonConverter))]
[Serializable]
public class EventStreamCloudEventGroupUpdatedObject
- Inheritance
-
EventStreamCloudEventGroupUpdatedObject
- 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
AsEventStreamCloudEventGroupUpdatedObject0()
Returns the value as a EventStreamCloudEventGroupUpdatedObject0 if Type is 'eventStreamCloudEventGroupUpdatedObject0', otherwise throws an exception.
public EventStreamCloudEventGroupUpdatedObject0 AsEventStreamCloudEventGroupUpdatedObject0()
Returns
Exceptions
- ManagementException
Thrown when Type is not 'eventStreamCloudEventGroupUpdatedObject0'.
AsEventStreamCloudEventGroupUpdatedObject1()
Returns the value as a EventStreamCloudEventGroupUpdatedObject1 if Type is 'eventStreamCloudEventGroupUpdatedObject1', otherwise throws an exception.
public EventStreamCloudEventGroupUpdatedObject1 AsEventStreamCloudEventGroupUpdatedObject1()
Returns
Exceptions
- ManagementException
Thrown when Type is not 'eventStreamCloudEventGroupUpdatedObject1'.
AsEventStreamCloudEventGroupUpdatedObject2()
Returns the value as a EventStreamCloudEventGroupUpdatedObject2 if Type is 'eventStreamCloudEventGroupUpdatedObject2', otherwise throws an exception.
public EventStreamCloudEventGroupUpdatedObject2 AsEventStreamCloudEventGroupUpdatedObject2()
Returns
Exceptions
- ManagementException
Thrown when Type is not 'eventStreamCloudEventGroupUpdatedObject2'.
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.
FromEventStreamCloudEventGroupUpdatedObject0(EventStreamCloudEventGroupUpdatedObject0)
Factory method to create a union from a Auth0.ManagementApi.EventStreamCloudEventGroupUpdatedObject0 value.
public static EventStreamCloudEventGroupUpdatedObject FromEventStreamCloudEventGroupUpdatedObject0(EventStreamCloudEventGroupUpdatedObject0 value)
Parameters
Returns
FromEventStreamCloudEventGroupUpdatedObject1(EventStreamCloudEventGroupUpdatedObject1)
Factory method to create a union from a Auth0.ManagementApi.EventStreamCloudEventGroupUpdatedObject1 value.
public static EventStreamCloudEventGroupUpdatedObject FromEventStreamCloudEventGroupUpdatedObject1(EventStreamCloudEventGroupUpdatedObject1 value)
Parameters
Returns
FromEventStreamCloudEventGroupUpdatedObject2(EventStreamCloudEventGroupUpdatedObject2)
Factory method to create a union from a Auth0.ManagementApi.EventStreamCloudEventGroupUpdatedObject2 value.
public static EventStreamCloudEventGroupUpdatedObject FromEventStreamCloudEventGroupUpdatedObject2(EventStreamCloudEventGroupUpdatedObject2 value)
Parameters
Returns
GetHashCode()
Serves as the default hash function.
public override int GetHashCode()
Returns
- int
A hash code for the current object.
IsEventStreamCloudEventGroupUpdatedObject0()
Returns true if Type is "eventStreamCloudEventGroupUpdatedObject0"
public bool IsEventStreamCloudEventGroupUpdatedObject0()
Returns
IsEventStreamCloudEventGroupUpdatedObject1()
Returns true if Type is "eventStreamCloudEventGroupUpdatedObject1"
public bool IsEventStreamCloudEventGroupUpdatedObject1()
Returns
IsEventStreamCloudEventGroupUpdatedObject2()
Returns true if Type is "eventStreamCloudEventGroupUpdatedObject2"
public bool IsEventStreamCloudEventGroupUpdatedObject2()
Returns
Match<T>(Func<EventStreamCloudEventGroupUpdatedObject0, T>, Func<EventStreamCloudEventGroupUpdatedObject1, T>, Func<EventStreamCloudEventGroupUpdatedObject2, T>)
public T Match<T>(Func<EventStreamCloudEventGroupUpdatedObject0, T> onEventStreamCloudEventGroupUpdatedObject0, Func<EventStreamCloudEventGroupUpdatedObject1, T> onEventStreamCloudEventGroupUpdatedObject1, Func<EventStreamCloudEventGroupUpdatedObject2, T> onEventStreamCloudEventGroupUpdatedObject2)
Parameters
onEventStreamCloudEventGroupUpdatedObject0Func<EventStreamCloudEventGroupUpdatedObject0, T>onEventStreamCloudEventGroupUpdatedObject1Func<EventStreamCloudEventGroupUpdatedObject1, T>onEventStreamCloudEventGroupUpdatedObject2Func<EventStreamCloudEventGroupUpdatedObject2, 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.
TryGetEventStreamCloudEventGroupUpdatedObject0(out EventStreamCloudEventGroupUpdatedObject0?)
Attempts to cast the value to a EventStreamCloudEventGroupUpdatedObject0 and returns true if successful.
public bool TryGetEventStreamCloudEventGroupUpdatedObject0(out EventStreamCloudEventGroupUpdatedObject0? value)
Parameters
Returns
TryGetEventStreamCloudEventGroupUpdatedObject1(out EventStreamCloudEventGroupUpdatedObject1?)
Attempts to cast the value to a EventStreamCloudEventGroupUpdatedObject1 and returns true if successful.
public bool TryGetEventStreamCloudEventGroupUpdatedObject1(out EventStreamCloudEventGroupUpdatedObject1? value)
Parameters
Returns
TryGetEventStreamCloudEventGroupUpdatedObject2(out EventStreamCloudEventGroupUpdatedObject2?)
Attempts to cast the value to a EventStreamCloudEventGroupUpdatedObject2 and returns true if successful.
public bool TryGetEventStreamCloudEventGroupUpdatedObject2(out EventStreamCloudEventGroupUpdatedObject2? value)
Parameters
Returns
Visit(Action<EventStreamCloudEventGroupUpdatedObject0>, Action<EventStreamCloudEventGroupUpdatedObject1>, Action<EventStreamCloudEventGroupUpdatedObject2>)
public void Visit(Action<EventStreamCloudEventGroupUpdatedObject0> onEventStreamCloudEventGroupUpdatedObject0, Action<EventStreamCloudEventGroupUpdatedObject1> onEventStreamCloudEventGroupUpdatedObject1, Action<EventStreamCloudEventGroupUpdatedObject2> onEventStreamCloudEventGroupUpdatedObject2)
Parameters
onEventStreamCloudEventGroupUpdatedObject0Action<EventStreamCloudEventGroupUpdatedObject0>onEventStreamCloudEventGroupUpdatedObject1Action<EventStreamCloudEventGroupUpdatedObject1>onEventStreamCloudEventGroupUpdatedObject2Action<EventStreamCloudEventGroupUpdatedObject2>
Operators
implicit operator EventStreamCloudEventGroupUpdatedObject(EventStreamCloudEventGroupUpdatedObject0)
public static implicit operator EventStreamCloudEventGroupUpdatedObject(EventStreamCloudEventGroupUpdatedObject0 value)
Parameters
Returns
implicit operator EventStreamCloudEventGroupUpdatedObject(EventStreamCloudEventGroupUpdatedObject1)
public static implicit operator EventStreamCloudEventGroupUpdatedObject(EventStreamCloudEventGroupUpdatedObject1 value)
Parameters
Returns
implicit operator EventStreamCloudEventGroupUpdatedObject(EventStreamCloudEventGroupUpdatedObject2)
public static implicit operator EventStreamCloudEventGroupUpdatedObject(EventStreamCloudEventGroupUpdatedObject2 value)