Table of Contents

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

string

Value

Union value

[JsonIgnore]
public object? Value { get; }

Property Value

object

Methods

AsEventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemCustom()

Returns the value as a EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemCustom if Type is 'eventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemCustom', otherwise throws an exception.

public EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemCustom AsEventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemCustom()

Returns

EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemCustom

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

EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemDatabase

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

EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemEnterprise

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

EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemPasswordless

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

EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemSocial

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

obj object

The 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

value EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemCustom

Returns

EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItem

FromEventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemDatabase(EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemDatabase)

Factory method to create a union from a Auth0.ManagementApi.EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemDatabase value.

public static EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItem FromEventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemDatabase(EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemDatabase value)

Parameters

value EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemDatabase

Returns

EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItem

FromEventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemEnterprise(EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemEnterprise)

Factory method to create a union from a Auth0.ManagementApi.EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemEnterprise value.

public static EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItem FromEventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemEnterprise(EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemEnterprise value)

Parameters

value EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemEnterprise

Returns

EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItem

FromEventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemPasswordless(EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemPasswordless)

Factory method to create a union from a Auth0.ManagementApi.EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemPasswordless value.

public static EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItem FromEventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemPasswordless(EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemPasswordless value)

Parameters

value EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemPasswordless

Returns

EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItem

FromEventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemSocial(EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemSocial)

Factory method to create a union from a Auth0.ManagementApi.EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemSocial value.

public static EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItem FromEventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemSocial(EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemSocial value)

Parameters

value EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemSocial

Returns

EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItem

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

bool

IsEventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemDatabase()

Returns true if Type is "eventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemDatabase"

public bool IsEventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemDatabase()

Returns

bool

IsEventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemEnterprise()

Returns true if Type is "eventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemEnterprise"

public bool IsEventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemEnterprise()

Returns

bool

IsEventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemPasswordless()

Returns true if Type is "eventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemPasswordless"

public bool IsEventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemPasswordless()

Returns

bool

IsEventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemSocial()

Returns true if Type is "eventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemSocial"

public bool IsEventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemSocial()

Returns

bool

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

onEventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemCustom Func<EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemCustom, T>
onEventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemDatabase Func<EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemDatabase, T>
onEventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemEnterprise Func<EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemEnterprise, T>
onEventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemPasswordless Func<EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemPasswordless, T>
onEventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemSocial Func<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

value EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemCustom

Returns

bool

TryGetEventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemDatabase(out EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemDatabase?)

Attempts to cast the value to a EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemDatabase and returns true if successful.

public bool TryGetEventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemDatabase(out EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemDatabase? value)

Parameters

value EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemDatabase

Returns

bool

TryGetEventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemEnterprise(out EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemEnterprise?)

Attempts to cast the value to a EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemEnterprise and returns true if successful.

public bool TryGetEventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemEnterprise(out EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemEnterprise? value)

Parameters

value EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemEnterprise

Returns

bool

TryGetEventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemPasswordless(out EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemPasswordless?)

Attempts to cast the value to a EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemPasswordless and returns true if successful.

public bool TryGetEventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemPasswordless(out EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemPasswordless? value)

Parameters

value EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemPasswordless

Returns

bool

TryGetEventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemSocial(out EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemSocial?)

Attempts to cast the value to a EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemSocial and returns true if successful.

public bool TryGetEventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemSocial(out EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemSocial? value)

Parameters

value EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemSocial

Returns

bool

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

onEventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemCustom Action<EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemCustom>
onEventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemDatabase Action<EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemDatabase>
onEventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemEnterprise Action<EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemEnterprise>
onEventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemPasswordless Action<EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemPasswordless>
onEventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemSocial Action<EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemSocial>

Operators

implicit operator EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItem(EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemCustom)

public static implicit operator EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItem(EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemCustom value)

Parameters

value EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemCustom

Returns

EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItem

implicit operator EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItem(EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemDatabase)

public static implicit operator EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItem(EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemDatabase value)

Parameters

value EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemDatabase

Returns

EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItem

implicit operator EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItem(EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemEnterprise)

public static implicit operator EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItem(EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemEnterprise value)

Parameters

value EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemEnterprise

Returns

EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItem

implicit operator EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItem(EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemPasswordless)

public static implicit operator EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItem(EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemPasswordless value)

Parameters

value EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemPasswordless

Returns

EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItem

implicit operator EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItem(EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemSocial)

public static implicit operator EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItem(EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemSocial value)

Parameters

value EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemSocial

Returns

EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItem