Table of Contents

Class FlowActionXml

Namespace
Auth0.ManagementApi
Assembly
Auth0.ManagementApi.dll
[JsonConverter(typeof(FlowActionXml.JsonConverter))]
[Serializable]
public class FlowActionXml
Inheritance
FlowActionXml
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

AsFlowActionXmlParseXml()

Returns the value as a FlowActionXmlParseXml if Type is 'flowActionXmlParseXml', otherwise throws an exception.

public FlowActionXmlParseXml AsFlowActionXmlParseXml()

Returns

FlowActionXmlParseXml

Exceptions

ManagementException

Thrown when Type is not 'flowActionXmlParseXml'.

AsFlowActionXmlSerializeXml()

Returns the value as a FlowActionXmlSerializeXml if Type is 'flowActionXmlSerializeXml', otherwise throws an exception.

public FlowActionXmlSerializeXml AsFlowActionXmlSerializeXml()

Returns

FlowActionXmlSerializeXml

Exceptions

ManagementException

Thrown when Type is not 'flowActionXmlSerializeXml'.

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.

FromFlowActionXmlParseXml(FlowActionXmlParseXml)

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

public static FlowActionXml FromFlowActionXmlParseXml(FlowActionXmlParseXml value)

Parameters

value FlowActionXmlParseXml

Returns

FlowActionXml

FromFlowActionXmlSerializeXml(FlowActionXmlSerializeXml)

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

public static FlowActionXml FromFlowActionXmlSerializeXml(FlowActionXmlSerializeXml value)

Parameters

value FlowActionXmlSerializeXml

Returns

FlowActionXml

GetHashCode()

Serves as the default hash function.

public override int GetHashCode()

Returns

int

A hash code for the current object.

IsFlowActionXmlParseXml()

Returns true if Type is "flowActionXmlParseXml"

public bool IsFlowActionXmlParseXml()

Returns

bool

IsFlowActionXmlSerializeXml()

Returns true if Type is "flowActionXmlSerializeXml"

public bool IsFlowActionXmlSerializeXml()

Returns

bool

Match<T>(Func<FlowActionXmlParseXml, T>, Func<FlowActionXmlSerializeXml, T>)

public T Match<T>(Func<FlowActionXmlParseXml, T> onFlowActionXmlParseXml, Func<FlowActionXmlSerializeXml, T> onFlowActionXmlSerializeXml)

Parameters

onFlowActionXmlParseXml Func<FlowActionXmlParseXml, T>
onFlowActionXmlSerializeXml Func<FlowActionXmlSerializeXml, 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.

TryGetFlowActionXmlParseXml(out FlowActionXmlParseXml?)

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

public bool TryGetFlowActionXmlParseXml(out FlowActionXmlParseXml? value)

Parameters

value FlowActionXmlParseXml

Returns

bool

TryGetFlowActionXmlSerializeXml(out FlowActionXmlSerializeXml?)

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

public bool TryGetFlowActionXmlSerializeXml(out FlowActionXmlSerializeXml? value)

Parameters

value FlowActionXmlSerializeXml

Returns

bool

Visit(Action<FlowActionXmlParseXml>, Action<FlowActionXmlSerializeXml>)

public void Visit(Action<FlowActionXmlParseXml> onFlowActionXmlParseXml, Action<FlowActionXmlSerializeXml> onFlowActionXmlSerializeXml)

Parameters

onFlowActionXmlParseXml Action<FlowActionXmlParseXml>
onFlowActionXmlSerializeXml Action<FlowActionXmlSerializeXml>

Operators

implicit operator FlowActionXml(FlowActionXmlParseXml)

public static implicit operator FlowActionXml(FlowActionXmlParseXml value)

Parameters

value FlowActionXmlParseXml

Returns

FlowActionXml

implicit operator FlowActionXml(FlowActionXmlSerializeXml)

public static implicit operator FlowActionXml(FlowActionXmlSerializeXml value)

Parameters

value FlowActionXmlSerializeXml

Returns

FlowActionXml