Class FlowActionAirtable
- Namespace
- Auth0.ManagementApi
- Assembly
- Auth0.ManagementApi.dll
[JsonConverter(typeof(FlowActionAirtable.JsonConverter))]
[Serializable]
public class FlowActionAirtable
- Inheritance
-
FlowActionAirtable
- 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
AsFlowActionAirtableCreateRecord()
Returns the value as a FlowActionAirtableCreateRecord if Type is 'flowActionAirtableCreateRecord', otherwise throws an exception.
public FlowActionAirtableCreateRecord AsFlowActionAirtableCreateRecord()
Returns
Exceptions
- ManagementException
Thrown when Type is not 'flowActionAirtableCreateRecord'.
AsFlowActionAirtableListRecords()
Returns the value as a FlowActionAirtableListRecords if Type is 'flowActionAirtableListRecords', otherwise throws an exception.
public FlowActionAirtableListRecords AsFlowActionAirtableListRecords()
Returns
Exceptions
- ManagementException
Thrown when Type is not 'flowActionAirtableListRecords'.
AsFlowActionAirtableUpdateRecord()
Returns the value as a FlowActionAirtableUpdateRecord if Type is 'flowActionAirtableUpdateRecord', otherwise throws an exception.
public FlowActionAirtableUpdateRecord AsFlowActionAirtableUpdateRecord()
Returns
Exceptions
- ManagementException
Thrown when Type is not 'flowActionAirtableUpdateRecord'.
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.
FromFlowActionAirtableCreateRecord(FlowActionAirtableCreateRecord)
Factory method to create a union from a Auth0.ManagementApi.FlowActionAirtableCreateRecord value.
public static FlowActionAirtable FromFlowActionAirtableCreateRecord(FlowActionAirtableCreateRecord value)
Parameters
Returns
FromFlowActionAirtableListRecords(FlowActionAirtableListRecords)
Factory method to create a union from a Auth0.ManagementApi.FlowActionAirtableListRecords value.
public static FlowActionAirtable FromFlowActionAirtableListRecords(FlowActionAirtableListRecords value)
Parameters
Returns
FromFlowActionAirtableUpdateRecord(FlowActionAirtableUpdateRecord)
Factory method to create a union from a Auth0.ManagementApi.FlowActionAirtableUpdateRecord value.
public static FlowActionAirtable FromFlowActionAirtableUpdateRecord(FlowActionAirtableUpdateRecord value)
Parameters
Returns
GetHashCode()
Serves as the default hash function.
public override int GetHashCode()
Returns
- int
A hash code for the current object.
IsFlowActionAirtableCreateRecord()
Returns true if Type is "flowActionAirtableCreateRecord"
public bool IsFlowActionAirtableCreateRecord()
Returns
IsFlowActionAirtableListRecords()
Returns true if Type is "flowActionAirtableListRecords"
public bool IsFlowActionAirtableListRecords()
Returns
IsFlowActionAirtableUpdateRecord()
Returns true if Type is "flowActionAirtableUpdateRecord"
public bool IsFlowActionAirtableUpdateRecord()
Returns
Match<T>(Func<FlowActionAirtableCreateRecord, T>, Func<FlowActionAirtableListRecords, T>, Func<FlowActionAirtableUpdateRecord, T>)
public T Match<T>(Func<FlowActionAirtableCreateRecord, T> onFlowActionAirtableCreateRecord, Func<FlowActionAirtableListRecords, T> onFlowActionAirtableListRecords, Func<FlowActionAirtableUpdateRecord, T> onFlowActionAirtableUpdateRecord)
Parameters
onFlowActionAirtableCreateRecordFunc<FlowActionAirtableCreateRecord, T>onFlowActionAirtableListRecordsFunc<FlowActionAirtableListRecords, T>onFlowActionAirtableUpdateRecordFunc<FlowActionAirtableUpdateRecord, 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.
TryGetFlowActionAirtableCreateRecord(out FlowActionAirtableCreateRecord?)
Attempts to cast the value to a FlowActionAirtableCreateRecord and returns true if successful.
public bool TryGetFlowActionAirtableCreateRecord(out FlowActionAirtableCreateRecord? value)
Parameters
Returns
TryGetFlowActionAirtableListRecords(out FlowActionAirtableListRecords?)
Attempts to cast the value to a FlowActionAirtableListRecords and returns true if successful.
public bool TryGetFlowActionAirtableListRecords(out FlowActionAirtableListRecords? value)
Parameters
Returns
TryGetFlowActionAirtableUpdateRecord(out FlowActionAirtableUpdateRecord?)
Attempts to cast the value to a FlowActionAirtableUpdateRecord and returns true if successful.
public bool TryGetFlowActionAirtableUpdateRecord(out FlowActionAirtableUpdateRecord? value)
Parameters
Returns
Visit(Action<FlowActionAirtableCreateRecord>, Action<FlowActionAirtableListRecords>, Action<FlowActionAirtableUpdateRecord>)
public void Visit(Action<FlowActionAirtableCreateRecord> onFlowActionAirtableCreateRecord, Action<FlowActionAirtableListRecords> onFlowActionAirtableListRecords, Action<FlowActionAirtableUpdateRecord> onFlowActionAirtableUpdateRecord)
Parameters
onFlowActionAirtableCreateRecordAction<FlowActionAirtableCreateRecord>onFlowActionAirtableListRecordsAction<FlowActionAirtableListRecords>onFlowActionAirtableUpdateRecordAction<FlowActionAirtableUpdateRecord>
Operators
implicit operator FlowActionAirtable(FlowActionAirtableCreateRecord)
public static implicit operator FlowActionAirtable(FlowActionAirtableCreateRecord value)
Parameters
Returns
implicit operator FlowActionAirtable(FlowActionAirtableListRecords)
public static implicit operator FlowActionAirtable(FlowActionAirtableListRecords value)
Parameters
Returns
implicit operator FlowActionAirtable(FlowActionAirtableUpdateRecord)
public static implicit operator FlowActionAirtable(FlowActionAirtableUpdateRecord value)