Class EventStreamCloudEventUserUpdatedObjectIdentitiesItem
- Namespace
- Auth0.ManagementApi
- Assembly
- Auth0.ManagementApi.dll
Identity object when accounts are linked.
[JsonConverter(typeof(EventStreamCloudEventUserUpdatedObjectIdentitiesItem.JsonConverter))]
[Serializable]
public class EventStreamCloudEventUserUpdatedObjectIdentitiesItem
- Inheritance
-
EventStreamCloudEventUserUpdatedObjectIdentitiesItem
- 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
AsEventStreamCloudEventUserUpdatedObjectIdentitiesItemCustom()
Returns the value as a EventStreamCloudEventUserUpdatedObjectIdentitiesItemCustom if Type is 'eventStreamCloudEventUserUpdatedObjectIdentitiesItemCustom', otherwise throws an exception.
public EventStreamCloudEventUserUpdatedObjectIdentitiesItemCustom AsEventStreamCloudEventUserUpdatedObjectIdentitiesItemCustom()
Returns
Exceptions
- ManagementException
Thrown when Type is not 'eventStreamCloudEventUserUpdatedObjectIdentitiesItemCustom'.
AsEventStreamCloudEventUserUpdatedObjectIdentitiesItemDatabase()
Returns the value as a EventStreamCloudEventUserUpdatedObjectIdentitiesItemDatabase if Type is 'eventStreamCloudEventUserUpdatedObjectIdentitiesItemDatabase', otherwise throws an exception.
public EventStreamCloudEventUserUpdatedObjectIdentitiesItemDatabase AsEventStreamCloudEventUserUpdatedObjectIdentitiesItemDatabase()
Returns
Exceptions
- ManagementException
Thrown when Type is not 'eventStreamCloudEventUserUpdatedObjectIdentitiesItemDatabase'.
AsEventStreamCloudEventUserUpdatedObjectIdentitiesItemEnterprise()
Returns the value as a EventStreamCloudEventUserUpdatedObjectIdentitiesItemEnterprise if Type is 'eventStreamCloudEventUserUpdatedObjectIdentitiesItemEnterprise', otherwise throws an exception.
public EventStreamCloudEventUserUpdatedObjectIdentitiesItemEnterprise AsEventStreamCloudEventUserUpdatedObjectIdentitiesItemEnterprise()
Returns
Exceptions
- ManagementException
Thrown when Type is not 'eventStreamCloudEventUserUpdatedObjectIdentitiesItemEnterprise'.
AsEventStreamCloudEventUserUpdatedObjectIdentitiesItemPasswordless()
Returns the value as a EventStreamCloudEventUserUpdatedObjectIdentitiesItemPasswordless if Type is 'eventStreamCloudEventUserUpdatedObjectIdentitiesItemPasswordless', otherwise throws an exception.
public EventStreamCloudEventUserUpdatedObjectIdentitiesItemPasswordless AsEventStreamCloudEventUserUpdatedObjectIdentitiesItemPasswordless()
Returns
Exceptions
- ManagementException
Thrown when Type is not 'eventStreamCloudEventUserUpdatedObjectIdentitiesItemPasswordless'.
AsEventStreamCloudEventUserUpdatedObjectIdentitiesItemSocial()
Returns the value as a EventStreamCloudEventUserUpdatedObjectIdentitiesItemSocial if Type is 'eventStreamCloudEventUserUpdatedObjectIdentitiesItemSocial', otherwise throws an exception.
public EventStreamCloudEventUserUpdatedObjectIdentitiesItemSocial AsEventStreamCloudEventUserUpdatedObjectIdentitiesItemSocial()
Returns
Exceptions
- ManagementException
Thrown when Type is not 'eventStreamCloudEventUserUpdatedObjectIdentitiesItemSocial'.
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.
FromEventStreamCloudEventUserUpdatedObjectIdentitiesItemCustom(EventStreamCloudEventUserUpdatedObjectIdentitiesItemCustom)
Factory method to create a union from a Auth0.ManagementApi.EventStreamCloudEventUserUpdatedObjectIdentitiesItemCustom value.
public static EventStreamCloudEventUserUpdatedObjectIdentitiesItem FromEventStreamCloudEventUserUpdatedObjectIdentitiesItemCustom(EventStreamCloudEventUserUpdatedObjectIdentitiesItemCustom value)
Parameters
Returns
FromEventStreamCloudEventUserUpdatedObjectIdentitiesItemDatabase(EventStreamCloudEventUserUpdatedObjectIdentitiesItemDatabase)
Factory method to create a union from a Auth0.ManagementApi.EventStreamCloudEventUserUpdatedObjectIdentitiesItemDatabase value.
public static EventStreamCloudEventUserUpdatedObjectIdentitiesItem FromEventStreamCloudEventUserUpdatedObjectIdentitiesItemDatabase(EventStreamCloudEventUserUpdatedObjectIdentitiesItemDatabase value)
Parameters
Returns
FromEventStreamCloudEventUserUpdatedObjectIdentitiesItemEnterprise(EventStreamCloudEventUserUpdatedObjectIdentitiesItemEnterprise)
Factory method to create a union from a Auth0.ManagementApi.EventStreamCloudEventUserUpdatedObjectIdentitiesItemEnterprise value.
public static EventStreamCloudEventUserUpdatedObjectIdentitiesItem FromEventStreamCloudEventUserUpdatedObjectIdentitiesItemEnterprise(EventStreamCloudEventUserUpdatedObjectIdentitiesItemEnterprise value)
Parameters
Returns
FromEventStreamCloudEventUserUpdatedObjectIdentitiesItemPasswordless(EventStreamCloudEventUserUpdatedObjectIdentitiesItemPasswordless)
Factory method to create a union from a Auth0.ManagementApi.EventStreamCloudEventUserUpdatedObjectIdentitiesItemPasswordless value.
public static EventStreamCloudEventUserUpdatedObjectIdentitiesItem FromEventStreamCloudEventUserUpdatedObjectIdentitiesItemPasswordless(EventStreamCloudEventUserUpdatedObjectIdentitiesItemPasswordless value)
Parameters
Returns
FromEventStreamCloudEventUserUpdatedObjectIdentitiesItemSocial(EventStreamCloudEventUserUpdatedObjectIdentitiesItemSocial)
Factory method to create a union from a Auth0.ManagementApi.EventStreamCloudEventUserUpdatedObjectIdentitiesItemSocial value.
public static EventStreamCloudEventUserUpdatedObjectIdentitiesItem FromEventStreamCloudEventUserUpdatedObjectIdentitiesItemSocial(EventStreamCloudEventUserUpdatedObjectIdentitiesItemSocial value)
Parameters
Returns
GetHashCode()
Serves as the default hash function.
public override int GetHashCode()
Returns
- int
A hash code for the current object.
IsEventStreamCloudEventUserUpdatedObjectIdentitiesItemCustom()
Returns true if Type is "eventStreamCloudEventUserUpdatedObjectIdentitiesItemCustom"
public bool IsEventStreamCloudEventUserUpdatedObjectIdentitiesItemCustom()
Returns
IsEventStreamCloudEventUserUpdatedObjectIdentitiesItemDatabase()
Returns true if Type is "eventStreamCloudEventUserUpdatedObjectIdentitiesItemDatabase"
public bool IsEventStreamCloudEventUserUpdatedObjectIdentitiesItemDatabase()
Returns
IsEventStreamCloudEventUserUpdatedObjectIdentitiesItemEnterprise()
Returns true if Type is "eventStreamCloudEventUserUpdatedObjectIdentitiesItemEnterprise"
public bool IsEventStreamCloudEventUserUpdatedObjectIdentitiesItemEnterprise()
Returns
IsEventStreamCloudEventUserUpdatedObjectIdentitiesItemPasswordless()
Returns true if Type is "eventStreamCloudEventUserUpdatedObjectIdentitiesItemPasswordless"
public bool IsEventStreamCloudEventUserUpdatedObjectIdentitiesItemPasswordless()
Returns
IsEventStreamCloudEventUserUpdatedObjectIdentitiesItemSocial()
Returns true if Type is "eventStreamCloudEventUserUpdatedObjectIdentitiesItemSocial"
public bool IsEventStreamCloudEventUserUpdatedObjectIdentitiesItemSocial()
Returns
Match<T>(Func<EventStreamCloudEventUserUpdatedObjectIdentitiesItemCustom, T>, Func<EventStreamCloudEventUserUpdatedObjectIdentitiesItemDatabase, T>, Func<EventStreamCloudEventUserUpdatedObjectIdentitiesItemEnterprise, T>, Func<EventStreamCloudEventUserUpdatedObjectIdentitiesItemPasswordless, T>, Func<EventStreamCloudEventUserUpdatedObjectIdentitiesItemSocial, T>)
public T Match<T>(Func<EventStreamCloudEventUserUpdatedObjectIdentitiesItemCustom, T> onEventStreamCloudEventUserUpdatedObjectIdentitiesItemCustom, Func<EventStreamCloudEventUserUpdatedObjectIdentitiesItemDatabase, T> onEventStreamCloudEventUserUpdatedObjectIdentitiesItemDatabase, Func<EventStreamCloudEventUserUpdatedObjectIdentitiesItemEnterprise, T> onEventStreamCloudEventUserUpdatedObjectIdentitiesItemEnterprise, Func<EventStreamCloudEventUserUpdatedObjectIdentitiesItemPasswordless, T> onEventStreamCloudEventUserUpdatedObjectIdentitiesItemPasswordless, Func<EventStreamCloudEventUserUpdatedObjectIdentitiesItemSocial, T> onEventStreamCloudEventUserUpdatedObjectIdentitiesItemSocial)
Parameters
onEventStreamCloudEventUserUpdatedObjectIdentitiesItemCustomFunc<EventStreamCloudEventUserUpdatedObjectIdentitiesItemCustom, T>onEventStreamCloudEventUserUpdatedObjectIdentitiesItemDatabaseFunc<EventStreamCloudEventUserUpdatedObjectIdentitiesItemDatabase, T>onEventStreamCloudEventUserUpdatedObjectIdentitiesItemEnterpriseFunc<EventStreamCloudEventUserUpdatedObjectIdentitiesItemEnterprise, T>onEventStreamCloudEventUserUpdatedObjectIdentitiesItemPasswordlessFunc<EventStreamCloudEventUserUpdatedObjectIdentitiesItemPasswordless, T>onEventStreamCloudEventUserUpdatedObjectIdentitiesItemSocialFunc<EventStreamCloudEventUserUpdatedObjectIdentitiesItemSocial, 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.
TryGetEventStreamCloudEventUserUpdatedObjectIdentitiesItemCustom(out EventStreamCloudEventUserUpdatedObjectIdentitiesItemCustom?)
Attempts to cast the value to a EventStreamCloudEventUserUpdatedObjectIdentitiesItemCustom and returns true if successful.
public bool TryGetEventStreamCloudEventUserUpdatedObjectIdentitiesItemCustom(out EventStreamCloudEventUserUpdatedObjectIdentitiesItemCustom? value)
Parameters
Returns
TryGetEventStreamCloudEventUserUpdatedObjectIdentitiesItemDatabase(out EventStreamCloudEventUserUpdatedObjectIdentitiesItemDatabase?)
Attempts to cast the value to a EventStreamCloudEventUserUpdatedObjectIdentitiesItemDatabase and returns true if successful.
public bool TryGetEventStreamCloudEventUserUpdatedObjectIdentitiesItemDatabase(out EventStreamCloudEventUserUpdatedObjectIdentitiesItemDatabase? value)
Parameters
Returns
TryGetEventStreamCloudEventUserUpdatedObjectIdentitiesItemEnterprise(out EventStreamCloudEventUserUpdatedObjectIdentitiesItemEnterprise?)
Attempts to cast the value to a EventStreamCloudEventUserUpdatedObjectIdentitiesItemEnterprise and returns true if successful.
public bool TryGetEventStreamCloudEventUserUpdatedObjectIdentitiesItemEnterprise(out EventStreamCloudEventUserUpdatedObjectIdentitiesItemEnterprise? value)
Parameters
Returns
TryGetEventStreamCloudEventUserUpdatedObjectIdentitiesItemPasswordless(out EventStreamCloudEventUserUpdatedObjectIdentitiesItemPasswordless?)
Attempts to cast the value to a EventStreamCloudEventUserUpdatedObjectIdentitiesItemPasswordless and returns true if successful.
public bool TryGetEventStreamCloudEventUserUpdatedObjectIdentitiesItemPasswordless(out EventStreamCloudEventUserUpdatedObjectIdentitiesItemPasswordless? value)
Parameters
Returns
TryGetEventStreamCloudEventUserUpdatedObjectIdentitiesItemSocial(out EventStreamCloudEventUserUpdatedObjectIdentitiesItemSocial?)
Attempts to cast the value to a EventStreamCloudEventUserUpdatedObjectIdentitiesItemSocial and returns true if successful.
public bool TryGetEventStreamCloudEventUserUpdatedObjectIdentitiesItemSocial(out EventStreamCloudEventUserUpdatedObjectIdentitiesItemSocial? value)
Parameters
Returns
Visit(Action<EventStreamCloudEventUserUpdatedObjectIdentitiesItemCustom>, Action<EventStreamCloudEventUserUpdatedObjectIdentitiesItemDatabase>, Action<EventStreamCloudEventUserUpdatedObjectIdentitiesItemEnterprise>, Action<EventStreamCloudEventUserUpdatedObjectIdentitiesItemPasswordless>, Action<EventStreamCloudEventUserUpdatedObjectIdentitiesItemSocial>)
public void Visit(Action<EventStreamCloudEventUserUpdatedObjectIdentitiesItemCustom> onEventStreamCloudEventUserUpdatedObjectIdentitiesItemCustom, Action<EventStreamCloudEventUserUpdatedObjectIdentitiesItemDatabase> onEventStreamCloudEventUserUpdatedObjectIdentitiesItemDatabase, Action<EventStreamCloudEventUserUpdatedObjectIdentitiesItemEnterprise> onEventStreamCloudEventUserUpdatedObjectIdentitiesItemEnterprise, Action<EventStreamCloudEventUserUpdatedObjectIdentitiesItemPasswordless> onEventStreamCloudEventUserUpdatedObjectIdentitiesItemPasswordless, Action<EventStreamCloudEventUserUpdatedObjectIdentitiesItemSocial> onEventStreamCloudEventUserUpdatedObjectIdentitiesItemSocial)
Parameters
onEventStreamCloudEventUserUpdatedObjectIdentitiesItemCustomAction<EventStreamCloudEventUserUpdatedObjectIdentitiesItemCustom>onEventStreamCloudEventUserUpdatedObjectIdentitiesItemDatabaseAction<EventStreamCloudEventUserUpdatedObjectIdentitiesItemDatabase>onEventStreamCloudEventUserUpdatedObjectIdentitiesItemEnterpriseAction<EventStreamCloudEventUserUpdatedObjectIdentitiesItemEnterprise>onEventStreamCloudEventUserUpdatedObjectIdentitiesItemPasswordlessAction<EventStreamCloudEventUserUpdatedObjectIdentitiesItemPasswordless>onEventStreamCloudEventUserUpdatedObjectIdentitiesItemSocialAction<EventStreamCloudEventUserUpdatedObjectIdentitiesItemSocial>
Operators
implicit operator EventStreamCloudEventUserUpdatedObjectIdentitiesItem(EventStreamCloudEventUserUpdatedObjectIdentitiesItemCustom)
public static implicit operator EventStreamCloudEventUserUpdatedObjectIdentitiesItem(EventStreamCloudEventUserUpdatedObjectIdentitiesItemCustom value)
Parameters
Returns
implicit operator EventStreamCloudEventUserUpdatedObjectIdentitiesItem(EventStreamCloudEventUserUpdatedObjectIdentitiesItemDatabase)
public static implicit operator EventStreamCloudEventUserUpdatedObjectIdentitiesItem(EventStreamCloudEventUserUpdatedObjectIdentitiesItemDatabase value)
Parameters
Returns
implicit operator EventStreamCloudEventUserUpdatedObjectIdentitiesItem(EventStreamCloudEventUserUpdatedObjectIdentitiesItemEnterprise)
public static implicit operator EventStreamCloudEventUserUpdatedObjectIdentitiesItem(EventStreamCloudEventUserUpdatedObjectIdentitiesItemEnterprise value)
Parameters
Returns
implicit operator EventStreamCloudEventUserUpdatedObjectIdentitiesItem(EventStreamCloudEventUserUpdatedObjectIdentitiesItemPasswordless)
public static implicit operator EventStreamCloudEventUserUpdatedObjectIdentitiesItem(EventStreamCloudEventUserUpdatedObjectIdentitiesItemPasswordless value)
Parameters
Returns
implicit operator EventStreamCloudEventUserUpdatedObjectIdentitiesItem(EventStreamCloudEventUserUpdatedObjectIdentitiesItemSocial)
public static implicit operator EventStreamCloudEventUserUpdatedObjectIdentitiesItem(EventStreamCloudEventUserUpdatedObjectIdentitiesItemSocial value)