Table of Contents

Class PageComponent

Namespace
Auth0.ManagementApi
Assembly
Auth0.ManagementApi.dll
[JsonConverter(typeof(PageComponent.JsonConverter))]
[Serializable]
public record PageComponent : IEquatable<PageComponent>
Inheritance
PageComponent
Implements
Inherited Members
Extension Methods

Constructors

PageComponent(PageComponentAuth0Form)

Create an instance of PageComponent with PageComponent.PageComponentAuth0Form.

public PageComponent(PageComponent.PageComponentAuth0Form value)

Parameters

value PageComponent.PageComponentAuth0Form

PageComponent(PageComponentAuth0MediaImage)

Create an instance of PageComponent with PageComponent.PageComponentAuth0MediaImage.

public PageComponent(PageComponent.PageComponentAuth0MediaImage value)

Parameters

value PageComponent.PageComponentAuth0MediaImage

PageComponent(PageComponentAuth0MyAccountMfaManagement)

Create an instance of PageComponent with PageComponent.PageComponentAuth0MyAccountMfaManagement.

public PageComponent(PageComponent.PageComponentAuth0MyAccountMfaManagement value)

Parameters

value PageComponent.PageComponentAuth0MyAccountMfaManagement

PageComponent(PageComponentAuth0MyAccountPasskeyManagement)

Create an instance of PageComponent with PageComponent.PageComponentAuth0MyAccountPasskeyManagement.

public PageComponent(PageComponent.PageComponentAuth0MyAccountPasskeyManagement value)

Parameters

value PageComponent.PageComponentAuth0MyAccountPasskeyManagement

PageComponent(PageComponentAuth0MyOrganizationDetailsEdit)

Create an instance of PageComponent with PageComponent.PageComponentAuth0MyOrganizationDetailsEdit.

public PageComponent(PageComponent.PageComponentAuth0MyOrganizationDetailsEdit value)

Parameters

value PageComponent.PageComponentAuth0MyOrganizationDetailsEdit

PageComponent(PageComponentAuth0MyOrganizationDomainTable)

Create an instance of PageComponent with PageComponent.PageComponentAuth0MyOrganizationDomainTable.

public PageComponent(PageComponent.PageComponentAuth0MyOrganizationDomainTable value)

Parameters

value PageComponent.PageComponentAuth0MyOrganizationDomainTable

PageComponent(PageComponentAuth0MyOrganizationMemberManagement)

Create an instance of PageComponent with PageComponent.PageComponentAuth0MyOrganizationMemberManagement.

public PageComponent(PageComponent.PageComponentAuth0MyOrganizationMemberManagement value)

Parameters

value PageComponent.PageComponentAuth0MyOrganizationMemberManagement

PageComponent(PageComponentAuth0StructureSection)

Create an instance of PageComponent with PageComponent.PageComponentAuth0StructureSection.

public PageComponent(PageComponent.PageComponentAuth0StructureSection value)

Parameters

value PageComponent.PageComponentAuth0StructureSection

PageComponent(PageComponentAuth0StructureSeparator)

Create an instance of PageComponent with PageComponent.PageComponentAuth0StructureSeparator.

public PageComponent(PageComponent.PageComponentAuth0StructureSeparator value)

Parameters

value PageComponent.PageComponentAuth0StructureSeparator

PageComponent(PageComponentAuth0TypographyHeading)

Create an instance of PageComponent with PageComponent.PageComponentAuth0TypographyHeading.

public PageComponent(PageComponent.PageComponentAuth0TypographyHeading value)

Parameters

value PageComponent.PageComponentAuth0TypographyHeading

PageComponent(PageComponentAuth0TypographyRichText)

Create an instance of PageComponent with PageComponent.PageComponentAuth0TypographyRichText.

public PageComponent(PageComponent.PageComponentAuth0TypographyRichText value)

Parameters

value PageComponent.PageComponentAuth0TypographyRichText

Properties

IsPageComponentAuth0Form

Returns true if Type is "page:component:auth0:form"

public bool IsPageComponentAuth0Form { get; }

Property Value

bool

IsPageComponentAuth0MediaImage

Returns true if Type is "page:component:auth0:media:image"

public bool IsPageComponentAuth0MediaImage { get; }

Property Value

bool

IsPageComponentAuth0MyAccountMfaManagement

Returns true if Type is "page:component:auth0:my_account:mfa_management"

public bool IsPageComponentAuth0MyAccountMfaManagement { get; }

Property Value

bool

IsPageComponentAuth0MyAccountPasskeyManagement

Returns true if Type is "page:component:auth0:my_account:passkey_management"

public bool IsPageComponentAuth0MyAccountPasskeyManagement { get; }

Property Value

bool

IsPageComponentAuth0MyOrganizationDetailsEdit

Returns true if Type is "page:component:auth0:my_organization:details_edit"

public bool IsPageComponentAuth0MyOrganizationDetailsEdit { get; }

Property Value

bool

IsPageComponentAuth0MyOrganizationDomainTable

Returns true if Type is "page:component:auth0:my_organization:domain_table"

public bool IsPageComponentAuth0MyOrganizationDomainTable { get; }

Property Value

bool

IsPageComponentAuth0MyOrganizationMemberManagement

Returns true if Type is "page:component:auth0:my_organization:member_management"

public bool IsPageComponentAuth0MyOrganizationMemberManagement { get; }

Property Value

bool

IsPageComponentAuth0StructureSection

Returns true if Type is "page:component:auth0:structure:section"

public bool IsPageComponentAuth0StructureSection { get; }

Property Value

bool

IsPageComponentAuth0StructureSeparator

Returns true if Type is "page:component:auth0:structure:separator"

public bool IsPageComponentAuth0StructureSeparator { get; }

Property Value

bool

IsPageComponentAuth0TypographyHeading

Returns true if Type is "page:component:auth0:typography:heading"

public bool IsPageComponentAuth0TypographyHeading { get; }

Property Value

bool

IsPageComponentAuth0TypographyRichText

Returns true if Type is "page:component:auth0:typography:rich_text"

public bool IsPageComponentAuth0TypographyRichText { get; }

Property Value

bool

Type

Discriminant value

[JsonPropertyName("type")]
public string Type { get; }

Property Value

string

Value

Discriminated union value

public object? Value { get; }

Property Value

object

Methods

AsPageComponentAuth0Form()

Returns the value as a PageComponentAuth0Form if Type is 'page:component:auth0:form', otherwise throws an exception.

public PageComponentAuth0Form AsPageComponentAuth0Form()

Returns

PageComponentAuth0Form

Exceptions

Exception

Thrown when Type is not 'page:component:auth0:form'.

AsPageComponentAuth0MediaImage()

Returns the value as a PageComponentAuth0MediaImage if Type is 'page:component:auth0:media:image', otherwise throws an exception.

public PageComponentAuth0MediaImage AsPageComponentAuth0MediaImage()

Returns

PageComponentAuth0MediaImage

Exceptions

Exception

Thrown when Type is not 'page:component:auth0:media:image'.

AsPageComponentAuth0MyAccountMfaManagement()

Returns the value as a PageComponentAuth0MyAccountMfaManagement if Type is 'page:component:auth0:my_account:mfa_management', otherwise throws an exception.

public PageComponentAuth0MyAccountMfaManagement AsPageComponentAuth0MyAccountMfaManagement()

Returns

PageComponentAuth0MyAccountMfaManagement

Exceptions

Exception

Thrown when Type is not 'page:component:auth0:my_account:mfa_management'.

AsPageComponentAuth0MyAccountPasskeyManagement()

Returns the value as a PageComponentAuth0MyAccountPasskeyManagement if Type is 'page:component:auth0:my_account:passkey_management', otherwise throws an exception.

public PageComponentAuth0MyAccountPasskeyManagement AsPageComponentAuth0MyAccountPasskeyManagement()

Returns

PageComponentAuth0MyAccountPasskeyManagement

Exceptions

Exception

Thrown when Type is not 'page:component:auth0:my_account:passkey_management'.

AsPageComponentAuth0MyOrganizationDetailsEdit()

Returns the value as a PageComponentAuth0MyOrganizationDetailsEdit if Type is 'page:component:auth0:my_organization:details_edit', otherwise throws an exception.

public PageComponentAuth0MyOrganizationDetailsEdit AsPageComponentAuth0MyOrganizationDetailsEdit()

Returns

PageComponentAuth0MyOrganizationDetailsEdit

Exceptions

Exception

Thrown when Type is not 'page:component:auth0:my_organization:details_edit'.

AsPageComponentAuth0MyOrganizationDomainTable()

Returns the value as a PageComponentAuth0MyOrganizationDomainTable if Type is 'page:component:auth0:my_organization:domain_table', otherwise throws an exception.

public PageComponentAuth0MyOrganizationDomainTable AsPageComponentAuth0MyOrganizationDomainTable()

Returns

PageComponentAuth0MyOrganizationDomainTable

Exceptions

Exception

Thrown when Type is not 'page:component:auth0:my_organization:domain_table'.

AsPageComponentAuth0MyOrganizationMemberManagement()

Returns the value as a PageComponentAuth0MyOrganizationMemberManagement if Type is 'page:component:auth0:my_organization:member_management', otherwise throws an exception.

public PageComponentAuth0MyOrganizationMemberManagement AsPageComponentAuth0MyOrganizationMemberManagement()

Returns

PageComponentAuth0MyOrganizationMemberManagement

Exceptions

Exception

Thrown when Type is not 'page:component:auth0:my_organization:member_management'.

AsPageComponentAuth0StructureSection()

Returns the value as a PageComponentAuth0StructureSection if Type is 'page:component:auth0:structure:section', otherwise throws an exception.

public PageComponentAuth0StructureSection AsPageComponentAuth0StructureSection()

Returns

PageComponentAuth0StructureSection

Exceptions

Exception

Thrown when Type is not 'page:component:auth0:structure:section'.

AsPageComponentAuth0StructureSeparator()

Returns the value as a PageComponentAuth0StructureSeparator if Type is 'page:component:auth0:structure:separator', otherwise throws an exception.

public PageComponentAuth0StructureSeparator AsPageComponentAuth0StructureSeparator()

Returns

PageComponentAuth0StructureSeparator

Exceptions

Exception

Thrown when Type is not 'page:component:auth0:structure:separator'.

AsPageComponentAuth0TypographyHeading()

Returns the value as a PageComponentAuth0TypographyHeading if Type is 'page:component:auth0:typography:heading', otherwise throws an exception.

public PageComponentAuth0TypographyHeading AsPageComponentAuth0TypographyHeading()

Returns

PageComponentAuth0TypographyHeading

Exceptions

Exception

Thrown when Type is not 'page:component:auth0:typography:heading'.

AsPageComponentAuth0TypographyRichText()

Returns the value as a PageComponentAuth0TypographyRichText if Type is 'page:component:auth0:typography:rich_text', otherwise throws an exception.

public PageComponentAuth0TypographyRichText AsPageComponentAuth0TypographyRichText()

Returns

PageComponentAuth0TypographyRichText

Exceptions

Exception

Thrown when Type is not 'page:component:auth0:typography:rich_text'.

Match<T>(Func<PageComponentAuth0Form, T>, Func<PageComponentAuth0TypographyHeading, T>, Func<PageComponentAuth0MediaImage, T>, Func<PageComponentAuth0TypographyRichText, T>, Func<PageComponentAuth0StructureSection, T>, Func<PageComponentAuth0StructureSeparator, T>, Func<PageComponentAuth0MyOrganizationDomainTable, T>, Func<PageComponentAuth0MyOrganizationMemberManagement, T>, Func<PageComponentAuth0MyOrganizationDetailsEdit, T>, Func<PageComponentAuth0MyAccountPasskeyManagement, T>, Func<PageComponentAuth0MyAccountMfaManagement, T>, Func<string, object?, T>)

public T Match<T>(Func<PageComponentAuth0Form, T> onPageComponentAuth0Form, Func<PageComponentAuth0TypographyHeading, T> onPageComponentAuth0TypographyHeading, Func<PageComponentAuth0MediaImage, T> onPageComponentAuth0MediaImage, Func<PageComponentAuth0TypographyRichText, T> onPageComponentAuth0TypographyRichText, Func<PageComponentAuth0StructureSection, T> onPageComponentAuth0StructureSection, Func<PageComponentAuth0StructureSeparator, T> onPageComponentAuth0StructureSeparator, Func<PageComponentAuth0MyOrganizationDomainTable, T> onPageComponentAuth0MyOrganizationDomainTable, Func<PageComponentAuth0MyOrganizationMemberManagement, T> onPageComponentAuth0MyOrganizationMemberManagement, Func<PageComponentAuth0MyOrganizationDetailsEdit, T> onPageComponentAuth0MyOrganizationDetailsEdit, Func<PageComponentAuth0MyAccountPasskeyManagement, T> onPageComponentAuth0MyAccountPasskeyManagement, Func<PageComponentAuth0MyAccountMfaManagement, T> onPageComponentAuth0MyAccountMfaManagement, Func<string, object?, T> onUnknown_)

Parameters

onPageComponentAuth0Form Func<PageComponentAuth0Form, T>
onPageComponentAuth0TypographyHeading Func<PageComponentAuth0TypographyHeading, T>
onPageComponentAuth0MediaImage Func<PageComponentAuth0MediaImage, T>
onPageComponentAuth0TypographyRichText Func<PageComponentAuth0TypographyRichText, T>
onPageComponentAuth0StructureSection Func<PageComponentAuth0StructureSection, T>
onPageComponentAuth0StructureSeparator Func<PageComponentAuth0StructureSeparator, T>
onPageComponentAuth0MyOrganizationDomainTable Func<PageComponentAuth0MyOrganizationDomainTable, T>
onPageComponentAuth0MyOrganizationMemberManagement Func<PageComponentAuth0MyOrganizationMemberManagement, T>
onPageComponentAuth0MyOrganizationDetailsEdit Func<PageComponentAuth0MyOrganizationDetailsEdit, T>
onPageComponentAuth0MyAccountPasskeyManagement Func<PageComponentAuth0MyAccountPasskeyManagement, T>
onPageComponentAuth0MyAccountMfaManagement Func<PageComponentAuth0MyAccountMfaManagement, T>
onUnknown_ Func<string, object, 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.

TryAsPageComponentAuth0Form(out PageComponentAuth0Form?)

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

public bool TryAsPageComponentAuth0Form(out PageComponentAuth0Form? value)

Parameters

value PageComponentAuth0Form

Returns

bool

TryAsPageComponentAuth0MediaImage(out PageComponentAuth0MediaImage?)

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

public bool TryAsPageComponentAuth0MediaImage(out PageComponentAuth0MediaImage? value)

Parameters

value PageComponentAuth0MediaImage

Returns

bool

TryAsPageComponentAuth0MyAccountMfaManagement(out PageComponentAuth0MyAccountMfaManagement?)

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

public bool TryAsPageComponentAuth0MyAccountMfaManagement(out PageComponentAuth0MyAccountMfaManagement? value)

Parameters

value PageComponentAuth0MyAccountMfaManagement

Returns

bool

TryAsPageComponentAuth0MyAccountPasskeyManagement(out PageComponentAuth0MyAccountPasskeyManagement?)

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

public bool TryAsPageComponentAuth0MyAccountPasskeyManagement(out PageComponentAuth0MyAccountPasskeyManagement? value)

Parameters

value PageComponentAuth0MyAccountPasskeyManagement

Returns

bool

TryAsPageComponentAuth0MyOrganizationDetailsEdit(out PageComponentAuth0MyOrganizationDetailsEdit?)

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

public bool TryAsPageComponentAuth0MyOrganizationDetailsEdit(out PageComponentAuth0MyOrganizationDetailsEdit? value)

Parameters

value PageComponentAuth0MyOrganizationDetailsEdit

Returns

bool

TryAsPageComponentAuth0MyOrganizationDomainTable(out PageComponentAuth0MyOrganizationDomainTable?)

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

public bool TryAsPageComponentAuth0MyOrganizationDomainTable(out PageComponentAuth0MyOrganizationDomainTable? value)

Parameters

value PageComponentAuth0MyOrganizationDomainTable

Returns

bool

TryAsPageComponentAuth0MyOrganizationMemberManagement(out PageComponentAuth0MyOrganizationMemberManagement?)

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

public bool TryAsPageComponentAuth0MyOrganizationMemberManagement(out PageComponentAuth0MyOrganizationMemberManagement? value)

Parameters

value PageComponentAuth0MyOrganizationMemberManagement

Returns

bool

TryAsPageComponentAuth0StructureSection(out PageComponentAuth0StructureSection?)

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

public bool TryAsPageComponentAuth0StructureSection(out PageComponentAuth0StructureSection? value)

Parameters

value PageComponentAuth0StructureSection

Returns

bool

TryAsPageComponentAuth0StructureSeparator(out PageComponentAuth0StructureSeparator?)

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

public bool TryAsPageComponentAuth0StructureSeparator(out PageComponentAuth0StructureSeparator? value)

Parameters

value PageComponentAuth0StructureSeparator

Returns

bool

TryAsPageComponentAuth0TypographyHeading(out PageComponentAuth0TypographyHeading?)

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

public bool TryAsPageComponentAuth0TypographyHeading(out PageComponentAuth0TypographyHeading? value)

Parameters

value PageComponentAuth0TypographyHeading

Returns

bool

TryAsPageComponentAuth0TypographyRichText(out PageComponentAuth0TypographyRichText?)

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

public bool TryAsPageComponentAuth0TypographyRichText(out PageComponentAuth0TypographyRichText? value)

Parameters

value PageComponentAuth0TypographyRichText

Returns

bool

Visit(Action<PageComponentAuth0Form>, Action<PageComponentAuth0TypographyHeading>, Action<PageComponentAuth0MediaImage>, Action<PageComponentAuth0TypographyRichText>, Action<PageComponentAuth0StructureSection>, Action<PageComponentAuth0StructureSeparator>, Action<PageComponentAuth0MyOrganizationDomainTable>, Action<PageComponentAuth0MyOrganizationMemberManagement>, Action<PageComponentAuth0MyOrganizationDetailsEdit>, Action<PageComponentAuth0MyAccountPasskeyManagement>, Action<PageComponentAuth0MyAccountMfaManagement>, Action<string, object?>)

public void Visit(Action<PageComponentAuth0Form> onPageComponentAuth0Form, Action<PageComponentAuth0TypographyHeading> onPageComponentAuth0TypographyHeading, Action<PageComponentAuth0MediaImage> onPageComponentAuth0MediaImage, Action<PageComponentAuth0TypographyRichText> onPageComponentAuth0TypographyRichText, Action<PageComponentAuth0StructureSection> onPageComponentAuth0StructureSection, Action<PageComponentAuth0StructureSeparator> onPageComponentAuth0StructureSeparator, Action<PageComponentAuth0MyOrganizationDomainTable> onPageComponentAuth0MyOrganizationDomainTable, Action<PageComponentAuth0MyOrganizationMemberManagement> onPageComponentAuth0MyOrganizationMemberManagement, Action<PageComponentAuth0MyOrganizationDetailsEdit> onPageComponentAuth0MyOrganizationDetailsEdit, Action<PageComponentAuth0MyAccountPasskeyManagement> onPageComponentAuth0MyAccountPasskeyManagement, Action<PageComponentAuth0MyAccountMfaManagement> onPageComponentAuth0MyAccountMfaManagement, Action<string, object?> onUnknown_)

Parameters

onPageComponentAuth0Form Action<PageComponentAuth0Form>
onPageComponentAuth0TypographyHeading Action<PageComponentAuth0TypographyHeading>
onPageComponentAuth0MediaImage Action<PageComponentAuth0MediaImage>
onPageComponentAuth0TypographyRichText Action<PageComponentAuth0TypographyRichText>
onPageComponentAuth0StructureSection Action<PageComponentAuth0StructureSection>
onPageComponentAuth0StructureSeparator Action<PageComponentAuth0StructureSeparator>
onPageComponentAuth0MyOrganizationDomainTable Action<PageComponentAuth0MyOrganizationDomainTable>
onPageComponentAuth0MyOrganizationMemberManagement Action<PageComponentAuth0MyOrganizationMemberManagement>
onPageComponentAuth0MyOrganizationDetailsEdit Action<PageComponentAuth0MyOrganizationDetailsEdit>
onPageComponentAuth0MyAccountPasskeyManagement Action<PageComponentAuth0MyAccountPasskeyManagement>
onPageComponentAuth0MyAccountMfaManagement Action<PageComponentAuth0MyAccountMfaManagement>
onUnknown_ Action<string, object>

Operators

implicit operator PageComponent(PageComponentAuth0Form)

public static implicit operator PageComponent(PageComponent.PageComponentAuth0Form value)

Parameters

value PageComponent.PageComponentAuth0Form

Returns

PageComponent

implicit operator PageComponent(PageComponentAuth0MediaImage)

public static implicit operator PageComponent(PageComponent.PageComponentAuth0MediaImage value)

Parameters

value PageComponent.PageComponentAuth0MediaImage

Returns

PageComponent

implicit operator PageComponent(PageComponentAuth0MyAccountMfaManagement)

public static implicit operator PageComponent(PageComponent.PageComponentAuth0MyAccountMfaManagement value)

Parameters

value PageComponent.PageComponentAuth0MyAccountMfaManagement

Returns

PageComponent

implicit operator PageComponent(PageComponentAuth0MyAccountPasskeyManagement)

public static implicit operator PageComponent(PageComponent.PageComponentAuth0MyAccountPasskeyManagement value)

Parameters

value PageComponent.PageComponentAuth0MyAccountPasskeyManagement

Returns

PageComponent

implicit operator PageComponent(PageComponentAuth0MyOrganizationDetailsEdit)

public static implicit operator PageComponent(PageComponent.PageComponentAuth0MyOrganizationDetailsEdit value)

Parameters

value PageComponent.PageComponentAuth0MyOrganizationDetailsEdit

Returns

PageComponent

implicit operator PageComponent(PageComponentAuth0MyOrganizationDomainTable)

public static implicit operator PageComponent(PageComponent.PageComponentAuth0MyOrganizationDomainTable value)

Parameters

value PageComponent.PageComponentAuth0MyOrganizationDomainTable

Returns

PageComponent

implicit operator PageComponent(PageComponentAuth0MyOrganizationMemberManagement)

public static implicit operator PageComponent(PageComponent.PageComponentAuth0MyOrganizationMemberManagement value)

Parameters

value PageComponent.PageComponentAuth0MyOrganizationMemberManagement

Returns

PageComponent

implicit operator PageComponent(PageComponentAuth0StructureSection)

public static implicit operator PageComponent(PageComponent.PageComponentAuth0StructureSection value)

Parameters

value PageComponent.PageComponentAuth0StructureSection

Returns

PageComponent

implicit operator PageComponent(PageComponentAuth0StructureSeparator)

public static implicit operator PageComponent(PageComponent.PageComponentAuth0StructureSeparator value)

Parameters

value PageComponent.PageComponentAuth0StructureSeparator

Returns

PageComponent

implicit operator PageComponent(PageComponentAuth0TypographyHeading)

public static implicit operator PageComponent(PageComponent.PageComponentAuth0TypographyHeading value)

Parameters

value PageComponent.PageComponentAuth0TypographyHeading

Returns

PageComponent

implicit operator PageComponent(PageComponentAuth0TypographyRichText)

public static implicit operator PageComponent(PageComponent.PageComponentAuth0TypographyRichText value)

Parameters

value PageComponent.PageComponentAuth0TypographyRichText

Returns

PageComponent