Class EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItem
- Namespace
- Auth0.ManagementApi
- Assembly
- Auth0.ManagementApi.dll
Identity object when accounts are linked.
[JsonConverter(typeof(EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItem.JsonConverter))]
[Serializable]
public class EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItem
- Inheritance
-
EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItem
- 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
AsEventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemCustom()
Returns the value as a EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemCustom if Type is 'eventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemCustom', otherwise throws an exception.
public EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemCustom AsEventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemCustom()
Returns
Exceptions
- ManagementException
Thrown when Type is not 'eventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemCustom'.
AsEventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemDatabase()
Returns the value as a EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemDatabase if Type is 'eventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemDatabase', otherwise throws an exception.
public EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemDatabase AsEventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemDatabase()
Returns
Exceptions
- ManagementException
Thrown when Type is not 'eventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemDatabase'.
AsEventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemEnterprise()
Returns the value as a EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemEnterprise if Type is 'eventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemEnterprise', otherwise throws an exception.
public EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemEnterprise AsEventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemEnterprise()
Returns
Exceptions
- ManagementException
Thrown when Type is not 'eventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemEnterprise'.
AsEventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemPasswordless()
Returns the value as a EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemPasswordless if Type is 'eventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemPasswordless', otherwise throws an exception.
public EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemPasswordless AsEventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemPasswordless()
Returns
Exceptions
- ManagementException
Thrown when Type is not 'eventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemPasswordless'.
AsEventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemSocial()
Returns the value as a EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemSocial if Type is 'eventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemSocial', otherwise throws an exception.
public EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemSocial AsEventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemSocial()
Returns
Exceptions
- ManagementException
Thrown when Type is not 'eventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemSocial'.
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.
FromEventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemCustom(EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemCustom)
Factory method to create a union from a Auth0.ManagementApi.EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemCustom value.
public static EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItem FromEventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemCustom(EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemCustom value)
Parameters
Returns
FromEventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemDatabase(EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemDatabase)
Factory method to create a union from a Auth0.ManagementApi.EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemDatabase value.
public static EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItem FromEventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemDatabase(EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemDatabase value)
Parameters
Returns
FromEventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemEnterprise(EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemEnterprise)
Factory method to create a union from a Auth0.ManagementApi.EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemEnterprise value.
public static EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItem FromEventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemEnterprise(EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemEnterprise value)
Parameters
Returns
FromEventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemPasswordless(EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemPasswordless)
Factory method to create a union from a Auth0.ManagementApi.EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemPasswordless value.
public static EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItem FromEventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemPasswordless(EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemPasswordless value)
Parameters
Returns
FromEventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemSocial(EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemSocial)
Factory method to create a union from a Auth0.ManagementApi.EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemSocial value.
public static EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItem FromEventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemSocial(EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemSocial value)
Parameters
Returns
GetHashCode()
Serves as the default hash function.
public override int GetHashCode()
Returns
- int
A hash code for the current object.
IsEventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemCustom()
Returns true if Type is "eventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemCustom"
public bool IsEventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemCustom()
Returns
IsEventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemDatabase()
Returns true if Type is "eventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemDatabase"
public bool IsEventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemDatabase()
Returns
IsEventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemEnterprise()
Returns true if Type is "eventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemEnterprise"
public bool IsEventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemEnterprise()
Returns
IsEventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemPasswordless()
Returns true if Type is "eventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemPasswordless"
public bool IsEventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemPasswordless()
Returns
IsEventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemSocial()
Returns true if Type is "eventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemSocial"
public bool IsEventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemSocial()
Returns
Match<T>(Func<EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemCustom, T>, Func<EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemDatabase, T>, Func<EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemEnterprise, T>, Func<EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemPasswordless, T>, Func<EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemSocial, T>)
public T Match<T>(Func<EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemCustom, T> onEventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemCustom, Func<EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemDatabase, T> onEventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemDatabase, Func<EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemEnterprise, T> onEventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemEnterprise, Func<EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemPasswordless, T> onEventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemPasswordless, Func<EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemSocial, T> onEventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemSocial)
Parameters
onEventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemCustomFunc<EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemCustom, T>onEventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemDatabaseFunc<EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemDatabase, T>onEventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemEnterpriseFunc<EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemEnterprise, T>onEventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemPasswordlessFunc<EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemPasswordless, T>onEventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemSocialFunc<EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemSocial, 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.
TryGetEventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemCustom(out EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemCustom?)
Attempts to cast the value to a EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemCustom and returns true if successful.
public bool TryGetEventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemCustom(out EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemCustom? value)
Parameters
Returns
TryGetEventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemDatabase(out EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemDatabase?)
Attempts to cast the value to a EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemDatabase and returns true if successful.
public bool TryGetEventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemDatabase(out EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemDatabase? value)
Parameters
Returns
TryGetEventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemEnterprise(out EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemEnterprise?)
Attempts to cast the value to a EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemEnterprise and returns true if successful.
public bool TryGetEventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemEnterprise(out EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemEnterprise? value)
Parameters
Returns
TryGetEventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemPasswordless(out EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemPasswordless?)
Attempts to cast the value to a EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemPasswordless and returns true if successful.
public bool TryGetEventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemPasswordless(out EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemPasswordless? value)
Parameters
Returns
TryGetEventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemSocial(out EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemSocial?)
Attempts to cast the value to a EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemSocial and returns true if successful.
public bool TryGetEventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemSocial(out EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemSocial? value)
Parameters
Returns
Visit(Action<EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemCustom>, Action<EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemDatabase>, Action<EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemEnterprise>, Action<EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemPasswordless>, Action<EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemSocial>)
public void Visit(Action<EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemCustom> onEventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemCustom, Action<EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemDatabase> onEventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemDatabase, Action<EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemEnterprise> onEventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemEnterprise, Action<EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemPasswordless> onEventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemPasswordless, Action<EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemSocial> onEventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemSocial)
Parameters
onEventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemCustomAction<EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemCustom>onEventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemDatabaseAction<EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemDatabase>onEventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemEnterpriseAction<EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemEnterprise>onEventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemPasswordlessAction<EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemPasswordless>onEventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemSocialAction<EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemSocial>
Operators
implicit operator EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItem(EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemCustom)
public static implicit operator EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItem(EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemCustom value)
Parameters
Returns
implicit operator EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItem(EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemDatabase)
public static implicit operator EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItem(EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemDatabase value)
Parameters
Returns
implicit operator EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItem(EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemEnterprise)
public static implicit operator EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItem(EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemEnterprise value)
Parameters
Returns
implicit operator EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItem(EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemPasswordless)
public static implicit operator EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItem(EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemPasswordless value)
Parameters
Returns
implicit operator EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItem(EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemSocial)
public static implicit operator EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItem(EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemSocial value)