Class EventStreamCloudEventUserCreatedObjectIdentitiesItem
- Namespace
- Auth0.ManagementApi
- Assembly
- Auth0.ManagementApi.dll
Identity object when accounts are linked.
[JsonConverter(typeof(EventStreamCloudEventUserCreatedObjectIdentitiesItem.JsonConverter))]
[Serializable]
public class EventStreamCloudEventUserCreatedObjectIdentitiesItem
- Inheritance
-
EventStreamCloudEventUserCreatedObjectIdentitiesItem
- 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
AsEventStreamCloudEventUserCreatedObjectIdentitiesItemCustom()
Returns the value as a EventStreamCloudEventUserCreatedObjectIdentitiesItemCustom if Type is 'eventStreamCloudEventUserCreatedObjectIdentitiesItemCustom', otherwise throws an exception.
public EventStreamCloudEventUserCreatedObjectIdentitiesItemCustom AsEventStreamCloudEventUserCreatedObjectIdentitiesItemCustom()
Returns
Exceptions
- ManagementException
Thrown when Type is not 'eventStreamCloudEventUserCreatedObjectIdentitiesItemCustom'.
AsEventStreamCloudEventUserCreatedObjectIdentitiesItemDatabase()
Returns the value as a EventStreamCloudEventUserCreatedObjectIdentitiesItemDatabase if Type is 'eventStreamCloudEventUserCreatedObjectIdentitiesItemDatabase', otherwise throws an exception.
public EventStreamCloudEventUserCreatedObjectIdentitiesItemDatabase AsEventStreamCloudEventUserCreatedObjectIdentitiesItemDatabase()
Returns
Exceptions
- ManagementException
Thrown when Type is not 'eventStreamCloudEventUserCreatedObjectIdentitiesItemDatabase'.
AsEventStreamCloudEventUserCreatedObjectIdentitiesItemEnterprise()
Returns the value as a EventStreamCloudEventUserCreatedObjectIdentitiesItemEnterprise if Type is 'eventStreamCloudEventUserCreatedObjectIdentitiesItemEnterprise', otherwise throws an exception.
public EventStreamCloudEventUserCreatedObjectIdentitiesItemEnterprise AsEventStreamCloudEventUserCreatedObjectIdentitiesItemEnterprise()
Returns
Exceptions
- ManagementException
Thrown when Type is not 'eventStreamCloudEventUserCreatedObjectIdentitiesItemEnterprise'.
AsEventStreamCloudEventUserCreatedObjectIdentitiesItemPasswordless()
Returns the value as a EventStreamCloudEventUserCreatedObjectIdentitiesItemPasswordless if Type is 'eventStreamCloudEventUserCreatedObjectIdentitiesItemPasswordless', otherwise throws an exception.
public EventStreamCloudEventUserCreatedObjectIdentitiesItemPasswordless AsEventStreamCloudEventUserCreatedObjectIdentitiesItemPasswordless()
Returns
Exceptions
- ManagementException
Thrown when Type is not 'eventStreamCloudEventUserCreatedObjectIdentitiesItemPasswordless'.
AsEventStreamCloudEventUserCreatedObjectIdentitiesItemSocial()
Returns the value as a EventStreamCloudEventUserCreatedObjectIdentitiesItemSocial if Type is 'eventStreamCloudEventUserCreatedObjectIdentitiesItemSocial', otherwise throws an exception.
public EventStreamCloudEventUserCreatedObjectIdentitiesItemSocial AsEventStreamCloudEventUserCreatedObjectIdentitiesItemSocial()
Returns
Exceptions
- ManagementException
Thrown when Type is not 'eventStreamCloudEventUserCreatedObjectIdentitiesItemSocial'.
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.
FromEventStreamCloudEventUserCreatedObjectIdentitiesItemCustom(EventStreamCloudEventUserCreatedObjectIdentitiesItemCustom)
Factory method to create a union from a Auth0.ManagementApi.EventStreamCloudEventUserCreatedObjectIdentitiesItemCustom value.
public static EventStreamCloudEventUserCreatedObjectIdentitiesItem FromEventStreamCloudEventUserCreatedObjectIdentitiesItemCustom(EventStreamCloudEventUserCreatedObjectIdentitiesItemCustom value)
Parameters
Returns
FromEventStreamCloudEventUserCreatedObjectIdentitiesItemDatabase(EventStreamCloudEventUserCreatedObjectIdentitiesItemDatabase)
Factory method to create a union from a Auth0.ManagementApi.EventStreamCloudEventUserCreatedObjectIdentitiesItemDatabase value.
public static EventStreamCloudEventUserCreatedObjectIdentitiesItem FromEventStreamCloudEventUserCreatedObjectIdentitiesItemDatabase(EventStreamCloudEventUserCreatedObjectIdentitiesItemDatabase value)
Parameters
Returns
FromEventStreamCloudEventUserCreatedObjectIdentitiesItemEnterprise(EventStreamCloudEventUserCreatedObjectIdentitiesItemEnterprise)
Factory method to create a union from a Auth0.ManagementApi.EventStreamCloudEventUserCreatedObjectIdentitiesItemEnterprise value.
public static EventStreamCloudEventUserCreatedObjectIdentitiesItem FromEventStreamCloudEventUserCreatedObjectIdentitiesItemEnterprise(EventStreamCloudEventUserCreatedObjectIdentitiesItemEnterprise value)
Parameters
Returns
FromEventStreamCloudEventUserCreatedObjectIdentitiesItemPasswordless(EventStreamCloudEventUserCreatedObjectIdentitiesItemPasswordless)
Factory method to create a union from a Auth0.ManagementApi.EventStreamCloudEventUserCreatedObjectIdentitiesItemPasswordless value.
public static EventStreamCloudEventUserCreatedObjectIdentitiesItem FromEventStreamCloudEventUserCreatedObjectIdentitiesItemPasswordless(EventStreamCloudEventUserCreatedObjectIdentitiesItemPasswordless value)
Parameters
Returns
FromEventStreamCloudEventUserCreatedObjectIdentitiesItemSocial(EventStreamCloudEventUserCreatedObjectIdentitiesItemSocial)
Factory method to create a union from a Auth0.ManagementApi.EventStreamCloudEventUserCreatedObjectIdentitiesItemSocial value.
public static EventStreamCloudEventUserCreatedObjectIdentitiesItem FromEventStreamCloudEventUserCreatedObjectIdentitiesItemSocial(EventStreamCloudEventUserCreatedObjectIdentitiesItemSocial value)
Parameters
Returns
GetHashCode()
Serves as the default hash function.
public override int GetHashCode()
Returns
- int
A hash code for the current object.
IsEventStreamCloudEventUserCreatedObjectIdentitiesItemCustom()
Returns true if Type is "eventStreamCloudEventUserCreatedObjectIdentitiesItemCustom"
public bool IsEventStreamCloudEventUserCreatedObjectIdentitiesItemCustom()
Returns
IsEventStreamCloudEventUserCreatedObjectIdentitiesItemDatabase()
Returns true if Type is "eventStreamCloudEventUserCreatedObjectIdentitiesItemDatabase"
public bool IsEventStreamCloudEventUserCreatedObjectIdentitiesItemDatabase()
Returns
IsEventStreamCloudEventUserCreatedObjectIdentitiesItemEnterprise()
Returns true if Type is "eventStreamCloudEventUserCreatedObjectIdentitiesItemEnterprise"
public bool IsEventStreamCloudEventUserCreatedObjectIdentitiesItemEnterprise()
Returns
IsEventStreamCloudEventUserCreatedObjectIdentitiesItemPasswordless()
Returns true if Type is "eventStreamCloudEventUserCreatedObjectIdentitiesItemPasswordless"
public bool IsEventStreamCloudEventUserCreatedObjectIdentitiesItemPasswordless()
Returns
IsEventStreamCloudEventUserCreatedObjectIdentitiesItemSocial()
Returns true if Type is "eventStreamCloudEventUserCreatedObjectIdentitiesItemSocial"
public bool IsEventStreamCloudEventUserCreatedObjectIdentitiesItemSocial()
Returns
Match<T>(Func<EventStreamCloudEventUserCreatedObjectIdentitiesItemCustom, T>, Func<EventStreamCloudEventUserCreatedObjectIdentitiesItemDatabase, T>, Func<EventStreamCloudEventUserCreatedObjectIdentitiesItemEnterprise, T>, Func<EventStreamCloudEventUserCreatedObjectIdentitiesItemPasswordless, T>, Func<EventStreamCloudEventUserCreatedObjectIdentitiesItemSocial, T>)
public T Match<T>(Func<EventStreamCloudEventUserCreatedObjectIdentitiesItemCustom, T> onEventStreamCloudEventUserCreatedObjectIdentitiesItemCustom, Func<EventStreamCloudEventUserCreatedObjectIdentitiesItemDatabase, T> onEventStreamCloudEventUserCreatedObjectIdentitiesItemDatabase, Func<EventStreamCloudEventUserCreatedObjectIdentitiesItemEnterprise, T> onEventStreamCloudEventUserCreatedObjectIdentitiesItemEnterprise, Func<EventStreamCloudEventUserCreatedObjectIdentitiesItemPasswordless, T> onEventStreamCloudEventUserCreatedObjectIdentitiesItemPasswordless, Func<EventStreamCloudEventUserCreatedObjectIdentitiesItemSocial, T> onEventStreamCloudEventUserCreatedObjectIdentitiesItemSocial)
Parameters
onEventStreamCloudEventUserCreatedObjectIdentitiesItemCustomFunc<EventStreamCloudEventUserCreatedObjectIdentitiesItemCustom, T>onEventStreamCloudEventUserCreatedObjectIdentitiesItemDatabaseFunc<EventStreamCloudEventUserCreatedObjectIdentitiesItemDatabase, T>onEventStreamCloudEventUserCreatedObjectIdentitiesItemEnterpriseFunc<EventStreamCloudEventUserCreatedObjectIdentitiesItemEnterprise, T>onEventStreamCloudEventUserCreatedObjectIdentitiesItemPasswordlessFunc<EventStreamCloudEventUserCreatedObjectIdentitiesItemPasswordless, T>onEventStreamCloudEventUserCreatedObjectIdentitiesItemSocialFunc<EventStreamCloudEventUserCreatedObjectIdentitiesItemSocial, 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.
TryGetEventStreamCloudEventUserCreatedObjectIdentitiesItemCustom(out EventStreamCloudEventUserCreatedObjectIdentitiesItemCustom?)
Attempts to cast the value to a EventStreamCloudEventUserCreatedObjectIdentitiesItemCustom and returns true if successful.
public bool TryGetEventStreamCloudEventUserCreatedObjectIdentitiesItemCustom(out EventStreamCloudEventUserCreatedObjectIdentitiesItemCustom? value)
Parameters
Returns
TryGetEventStreamCloudEventUserCreatedObjectIdentitiesItemDatabase(out EventStreamCloudEventUserCreatedObjectIdentitiesItemDatabase?)
Attempts to cast the value to a EventStreamCloudEventUserCreatedObjectIdentitiesItemDatabase and returns true if successful.
public bool TryGetEventStreamCloudEventUserCreatedObjectIdentitiesItemDatabase(out EventStreamCloudEventUserCreatedObjectIdentitiesItemDatabase? value)
Parameters
Returns
TryGetEventStreamCloudEventUserCreatedObjectIdentitiesItemEnterprise(out EventStreamCloudEventUserCreatedObjectIdentitiesItemEnterprise?)
Attempts to cast the value to a EventStreamCloudEventUserCreatedObjectIdentitiesItemEnterprise and returns true if successful.
public bool TryGetEventStreamCloudEventUserCreatedObjectIdentitiesItemEnterprise(out EventStreamCloudEventUserCreatedObjectIdentitiesItemEnterprise? value)
Parameters
Returns
TryGetEventStreamCloudEventUserCreatedObjectIdentitiesItemPasswordless(out EventStreamCloudEventUserCreatedObjectIdentitiesItemPasswordless?)
Attempts to cast the value to a EventStreamCloudEventUserCreatedObjectIdentitiesItemPasswordless and returns true if successful.
public bool TryGetEventStreamCloudEventUserCreatedObjectIdentitiesItemPasswordless(out EventStreamCloudEventUserCreatedObjectIdentitiesItemPasswordless? value)
Parameters
Returns
TryGetEventStreamCloudEventUserCreatedObjectIdentitiesItemSocial(out EventStreamCloudEventUserCreatedObjectIdentitiesItemSocial?)
Attempts to cast the value to a EventStreamCloudEventUserCreatedObjectIdentitiesItemSocial and returns true if successful.
public bool TryGetEventStreamCloudEventUserCreatedObjectIdentitiesItemSocial(out EventStreamCloudEventUserCreatedObjectIdentitiesItemSocial? value)
Parameters
Returns
Visit(Action<EventStreamCloudEventUserCreatedObjectIdentitiesItemCustom>, Action<EventStreamCloudEventUserCreatedObjectIdentitiesItemDatabase>, Action<EventStreamCloudEventUserCreatedObjectIdentitiesItemEnterprise>, Action<EventStreamCloudEventUserCreatedObjectIdentitiesItemPasswordless>, Action<EventStreamCloudEventUserCreatedObjectIdentitiesItemSocial>)
public void Visit(Action<EventStreamCloudEventUserCreatedObjectIdentitiesItemCustom> onEventStreamCloudEventUserCreatedObjectIdentitiesItemCustom, Action<EventStreamCloudEventUserCreatedObjectIdentitiesItemDatabase> onEventStreamCloudEventUserCreatedObjectIdentitiesItemDatabase, Action<EventStreamCloudEventUserCreatedObjectIdentitiesItemEnterprise> onEventStreamCloudEventUserCreatedObjectIdentitiesItemEnterprise, Action<EventStreamCloudEventUserCreatedObjectIdentitiesItemPasswordless> onEventStreamCloudEventUserCreatedObjectIdentitiesItemPasswordless, Action<EventStreamCloudEventUserCreatedObjectIdentitiesItemSocial> onEventStreamCloudEventUserCreatedObjectIdentitiesItemSocial)
Parameters
onEventStreamCloudEventUserCreatedObjectIdentitiesItemCustomAction<EventStreamCloudEventUserCreatedObjectIdentitiesItemCustom>onEventStreamCloudEventUserCreatedObjectIdentitiesItemDatabaseAction<EventStreamCloudEventUserCreatedObjectIdentitiesItemDatabase>onEventStreamCloudEventUserCreatedObjectIdentitiesItemEnterpriseAction<EventStreamCloudEventUserCreatedObjectIdentitiesItemEnterprise>onEventStreamCloudEventUserCreatedObjectIdentitiesItemPasswordlessAction<EventStreamCloudEventUserCreatedObjectIdentitiesItemPasswordless>onEventStreamCloudEventUserCreatedObjectIdentitiesItemSocialAction<EventStreamCloudEventUserCreatedObjectIdentitiesItemSocial>
Operators
implicit operator EventStreamCloudEventUserCreatedObjectIdentitiesItem(EventStreamCloudEventUserCreatedObjectIdentitiesItemCustom)
public static implicit operator EventStreamCloudEventUserCreatedObjectIdentitiesItem(EventStreamCloudEventUserCreatedObjectIdentitiesItemCustom value)
Parameters
Returns
implicit operator EventStreamCloudEventUserCreatedObjectIdentitiesItem(EventStreamCloudEventUserCreatedObjectIdentitiesItemDatabase)
public static implicit operator EventStreamCloudEventUserCreatedObjectIdentitiesItem(EventStreamCloudEventUserCreatedObjectIdentitiesItemDatabase value)
Parameters
Returns
implicit operator EventStreamCloudEventUserCreatedObjectIdentitiesItem(EventStreamCloudEventUserCreatedObjectIdentitiesItemEnterprise)
public static implicit operator EventStreamCloudEventUserCreatedObjectIdentitiesItem(EventStreamCloudEventUserCreatedObjectIdentitiesItemEnterprise value)
Parameters
Returns
implicit operator EventStreamCloudEventUserCreatedObjectIdentitiesItem(EventStreamCloudEventUserCreatedObjectIdentitiesItemPasswordless)
public static implicit operator EventStreamCloudEventUserCreatedObjectIdentitiesItem(EventStreamCloudEventUserCreatedObjectIdentitiesItemPasswordless value)
Parameters
Returns
implicit operator EventStreamCloudEventUserCreatedObjectIdentitiesItem(EventStreamCloudEventUserCreatedObjectIdentitiesItemSocial)
public static implicit operator EventStreamCloudEventUserCreatedObjectIdentitiesItem(EventStreamCloudEventUserCreatedObjectIdentitiesItemSocial value)