Class EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItem
- Namespace
- Auth0.ManagementApi
- Assembly
- Auth0.ManagementApi.dll
Identity object when accounts are linked.
[JsonConverter(typeof(EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItem.JsonConverter))]
[Serializable]
public class EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItem
- Inheritance
-
EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItem
- 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
AsEventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemCustom()
Returns the value as a EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemCustom if Type is 'eventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemCustom', otherwise throws an exception.
public EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemCustom AsEventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemCustom()
Returns
Exceptions
- ManagementException
Thrown when Type is not 'eventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemCustom'.
AsEventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemDatabase()
Returns the value as a EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemDatabase if Type is 'eventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemDatabase', otherwise throws an exception.
public EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemDatabase AsEventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemDatabase()
Returns
Exceptions
- ManagementException
Thrown when Type is not 'eventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemDatabase'.
AsEventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemEnterprise()
Returns the value as a EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemEnterprise if Type is 'eventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemEnterprise', otherwise throws an exception.
public EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemEnterprise AsEventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemEnterprise()
Returns
Exceptions
- ManagementException
Thrown when Type is not 'eventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemEnterprise'.
AsEventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemPasswordless()
Returns the value as a EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemPasswordless if Type is 'eventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemPasswordless', otherwise throws an exception.
public EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemPasswordless AsEventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemPasswordless()
Returns
Exceptions
- ManagementException
Thrown when Type is not 'eventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemPasswordless'.
AsEventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemSocial()
Returns the value as a EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemSocial if Type is 'eventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemSocial', otherwise throws an exception.
public EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemSocial AsEventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemSocial()
Returns
Exceptions
- ManagementException
Thrown when Type is not 'eventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemSocial'.
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.
FromEventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemCustom(EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemCustom)
Factory method to create a union from a Auth0.ManagementApi.EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemCustom value.
public static EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItem FromEventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemCustom(EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemCustom value)
Parameters
Returns
FromEventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemDatabase(EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemDatabase)
Factory method to create a union from a Auth0.ManagementApi.EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemDatabase value.
public static EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItem FromEventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemDatabase(EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemDatabase value)
Parameters
Returns
FromEventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemEnterprise(EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemEnterprise)
Factory method to create a union from a Auth0.ManagementApi.EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemEnterprise value.
public static EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItem FromEventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemEnterprise(EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemEnterprise value)
Parameters
Returns
FromEventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemPasswordless(EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemPasswordless)
Factory method to create a union from a Auth0.ManagementApi.EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemPasswordless value.
public static EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItem FromEventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemPasswordless(EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemPasswordless value)
Parameters
Returns
FromEventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemSocial(EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemSocial)
Factory method to create a union from a Auth0.ManagementApi.EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemSocial value.
public static EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItem FromEventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemSocial(EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemSocial value)
Parameters
Returns
GetHashCode()
Serves as the default hash function.
public override int GetHashCode()
Returns
- int
A hash code for the current object.
IsEventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemCustom()
Returns true if Type is "eventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemCustom"
public bool IsEventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemCustom()
Returns
IsEventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemDatabase()
Returns true if Type is "eventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemDatabase"
public bool IsEventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemDatabase()
Returns
IsEventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemEnterprise()
Returns true if Type is "eventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemEnterprise"
public bool IsEventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemEnterprise()
Returns
IsEventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemPasswordless()
Returns true if Type is "eventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemPasswordless"
public bool IsEventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemPasswordless()
Returns
IsEventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemSocial()
Returns true if Type is "eventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemSocial"
public bool IsEventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemSocial()
Returns
Match<T>(Func<EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemCustom, T>, Func<EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemDatabase, T>, Func<EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemEnterprise, T>, Func<EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemPasswordless, T>, Func<EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemSocial, T>)
public T Match<T>(Func<EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemCustom, T> onEventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemCustom, Func<EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemDatabase, T> onEventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemDatabase, Func<EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemEnterprise, T> onEventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemEnterprise, Func<EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemPasswordless, T> onEventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemPasswordless, Func<EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemSocial, T> onEventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemSocial)
Parameters
onEventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemCustomFunc<EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemCustom, T>onEventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemDatabaseFunc<EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemDatabase, T>onEventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemEnterpriseFunc<EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemEnterprise, T>onEventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemPasswordlessFunc<EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemPasswordless, T>onEventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemSocialFunc<EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemSocial, 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.
TryGetEventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemCustom(out EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemCustom?)
Attempts to cast the value to a EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemCustom and returns true if successful.
public bool TryGetEventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemCustom(out EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemCustom? value)
Parameters
Returns
TryGetEventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemDatabase(out EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemDatabase?)
Attempts to cast the value to a EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemDatabase and returns true if successful.
public bool TryGetEventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemDatabase(out EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemDatabase? value)
Parameters
Returns
TryGetEventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemEnterprise(out EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemEnterprise?)
Attempts to cast the value to a EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemEnterprise and returns true if successful.
public bool TryGetEventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemEnterprise(out EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemEnterprise? value)
Parameters
Returns
TryGetEventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemPasswordless(out EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemPasswordless?)
Attempts to cast the value to a EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemPasswordless and returns true if successful.
public bool TryGetEventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemPasswordless(out EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemPasswordless? value)
Parameters
Returns
TryGetEventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemSocial(out EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemSocial?)
Attempts to cast the value to a EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemSocial and returns true if successful.
public bool TryGetEventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemSocial(out EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemSocial? value)
Parameters
Returns
Visit(Action<EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemCustom>, Action<EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemDatabase>, Action<EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemEnterprise>, Action<EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemPasswordless>, Action<EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemSocial>)
public void Visit(Action<EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemCustom> onEventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemCustom, Action<EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemDatabase> onEventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemDatabase, Action<EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemEnterprise> onEventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemEnterprise, Action<EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemPasswordless> onEventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemPasswordless, Action<EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemSocial> onEventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemSocial)
Parameters
onEventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemCustomAction<EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemCustom>onEventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemDatabaseAction<EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemDatabase>onEventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemEnterpriseAction<EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemEnterprise>onEventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemPasswordlessAction<EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemPasswordless>onEventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemSocialAction<EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemSocial>
Operators
implicit operator EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItem(EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemCustom)
public static implicit operator EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItem(EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemCustom value)
Parameters
Returns
implicit operator EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItem(EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemDatabase)
public static implicit operator EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItem(EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemDatabase value)
Parameters
Returns
implicit operator EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItem(EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemEnterprise)
public static implicit operator EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItem(EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemEnterprise value)
Parameters
Returns
implicit operator EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItem(EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemPasswordless)
public static implicit operator EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItem(EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemPasswordless value)
Parameters
Returns
implicit operator EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItem(EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemSocial)
public static implicit operator EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItem(EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemSocial value)