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
Value
Union value
[JsonIgnore]
public object? Value { get; }
Property Value
Methods
AsFlowActionXmlParseXml()
Returns the value as a FlowActionXmlParseXml if Type is 'flowActionXmlParseXml', otherwise throws an exception.
public FlowActionXmlParseXml AsFlowActionXmlParseXml()
Returns
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
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
objobjectThe 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
valueFlowActionXmlParseXml
Returns
FromFlowActionXmlSerializeXml(FlowActionXmlSerializeXml)
Factory method to create a union from a Auth0.ManagementApi.FlowActionXmlSerializeXml value.
public static FlowActionXml FromFlowActionXmlSerializeXml(FlowActionXmlSerializeXml value)
Parameters
Returns
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
IsFlowActionXmlSerializeXml()
Returns true if Type is "flowActionXmlSerializeXml"
public bool IsFlowActionXmlSerializeXml()
Returns
Match<T>(Func<FlowActionXmlParseXml, T>, Func<FlowActionXmlSerializeXml, T>)
public T Match<T>(Func<FlowActionXmlParseXml, T> onFlowActionXmlParseXml, Func<FlowActionXmlSerializeXml, T> onFlowActionXmlSerializeXml)
Parameters
onFlowActionXmlParseXmlFunc<FlowActionXmlParseXml, T>onFlowActionXmlSerializeXmlFunc<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
valueFlowActionXmlParseXml
Returns
TryGetFlowActionXmlSerializeXml(out FlowActionXmlSerializeXml?)
Attempts to cast the value to a FlowActionXmlSerializeXml and returns true if successful.
public bool TryGetFlowActionXmlSerializeXml(out FlowActionXmlSerializeXml? value)
Parameters
Returns
Visit(Action<FlowActionXmlParseXml>, Action<FlowActionXmlSerializeXml>)
public void Visit(Action<FlowActionXmlParseXml> onFlowActionXmlParseXml, Action<FlowActionXmlSerializeXml> onFlowActionXmlSerializeXml)
Parameters
onFlowActionXmlParseXmlAction<FlowActionXmlParseXml>onFlowActionXmlSerializeXmlAction<FlowActionXmlSerializeXml>
Operators
implicit operator FlowActionXml(FlowActionXmlParseXml)
public static implicit operator FlowActionXml(FlowActionXmlParseXml value)
Parameters
valueFlowActionXmlParseXml
Returns
implicit operator FlowActionXml(FlowActionXmlSerializeXml)
public static implicit operator FlowActionXml(FlowActionXmlSerializeXml value)