Class FlowActionAuth0SendRequestParamsPayload
- Namespace
- Auth0.ManagementApi
- Assembly
- Auth0.ManagementApi.dll
[JsonConverter(typeof(FlowActionAuth0SendRequestParamsPayload.JsonConverter))]
[Serializable]
public class FlowActionAuth0SendRequestParamsPayload
- Inheritance
-
FlowActionAuth0SendRequestParamsPayload
- 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
AsFlowActionAuth0SendRequestParamsPayloadObject()
public Dictionary<string, object?> AsFlowActionAuth0SendRequestParamsPayloadObject()
Returns
AsListOfUnknown()
public IEnumerable<object> AsListOfUnknown()
Returns
AsString()
public string AsString()
Returns
Exceptions
- ManagementException
Thrown when Type is not 'string'.
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.
FromFlowActionAuth0SendRequestParamsPayloadObject(Dictionary<string, object?>)
public static FlowActionAuth0SendRequestParamsPayload FromFlowActionAuth0SendRequestParamsPayloadObject(Dictionary<string, object?> value)
Parameters
valueDictionary<string, object>
Returns
FromListOfUnknown(IEnumerable<object>)
public static FlowActionAuth0SendRequestParamsPayload FromListOfUnknown(IEnumerable<object> value)
Parameters
valueIEnumerable<object>
Returns
FromString(string)
Factory method to create a union from a string value.
public static FlowActionAuth0SendRequestParamsPayload FromString(string value)
Parameters
valuestring
Returns
GetHashCode()
Serves as the default hash function.
public override int GetHashCode()
Returns
- int
A hash code for the current object.
IsFlowActionAuth0SendRequestParamsPayloadObject()
Returns true if Type is "flowActionAuth0SendRequestParamsPayloadObject"
public bool IsFlowActionAuth0SendRequestParamsPayloadObject()
Returns
IsListOfUnknown()
Returns true if Type is "list"
public bool IsListOfUnknown()
Returns
IsString()
Returns true if Type is "string"
public bool IsString()
Returns
Match<T>(Func<string, T>, Func<IEnumerable<object>, T>, Func<Dictionary<string, object?>, T>)
public T Match<T>(Func<string, T> onString, Func<IEnumerable<object>, T> onListOfUnknown, Func<Dictionary<string, object?>, T> onFlowActionAuth0SendRequestParamsPayloadObject)
Parameters
onStringFunc<string, T>onListOfUnknownFunc<IEnumerable<object>, T>onFlowActionAuth0SendRequestParamsPayloadObjectFunc<Dictionary<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.
TryGetFlowActionAuth0SendRequestParamsPayloadObject(out Dictionary<string, object?>?)
public bool TryGetFlowActionAuth0SendRequestParamsPayloadObject(out Dictionary<string, object?>? value)
Parameters
valueDictionary<string, object>
Returns
TryGetListOfUnknown(out IEnumerable<object>?)
public bool TryGetListOfUnknown(out IEnumerable<object>? value)
Parameters
valueIEnumerable<object>
Returns
TryGetString(out string?)
Attempts to cast the value to a string and returns true if successful.
public bool TryGetString(out string? value)
Parameters
valuestring
Returns
Visit(Action<string>, Action<IEnumerable<object>>, Action<Dictionary<string, object?>>)
public void Visit(Action<string> onString, Action<IEnumerable<object>> onListOfUnknown, Action<Dictionary<string, object?>> onFlowActionAuth0SendRequestParamsPayloadObject)
Parameters
onStringAction<string>onListOfUnknownAction<IEnumerable<object>>onFlowActionAuth0SendRequestParamsPayloadObjectAction<Dictionary<string, object>>
Operators
implicit operator FlowActionAuth0SendRequestParamsPayload(Dictionary<string, object?>)
public static implicit operator FlowActionAuth0SendRequestParamsPayload(Dictionary<string, object?> value)
Parameters
valueDictionary<string, object>
Returns
implicit operator FlowActionAuth0SendRequestParamsPayload(string)
public static implicit operator FlowActionAuth0SendRequestParamsPayload(string value)
Parameters
valuestring