Class CreateActionRequestContent
- Namespace
- Auth0.ManagementApi
- Assembly
- Auth0.ManagementApi.dll
[Serializable]
public record CreateActionRequestContent : IEquatable<CreateActionRequestContent>
- Inheritance
-
CreateActionRequestContent
- Implements
- Inherited Members
- Extension Methods
Properties
Code
The source code of the action.
[JsonPropertyName("code")]
public string? Code { get; set; }
Property Value
Dependencies
The list of third party npm modules, and their versions, that this action depends on.
[JsonPropertyName("dependencies")]
public IEnumerable<ActionVersionDependency>? Dependencies { get; set; }
Property Value
Deploy
True if the action should be deployed after creation.
[JsonPropertyName("deploy")]
public bool? Deploy { get; set; }
Property Value
- bool?
Modules
The list of action modules and their versions used by this action.
[JsonPropertyName("modules")]
public IEnumerable<ActionModuleReference>? Modules { get; set; }
Property Value
Name
The name of an action.
[JsonPropertyName("name")]
public required string Name { get; set; }
Property Value
Runtime
The Node runtime. For example: node22, defaults to node22
[JsonPropertyName("runtime")]
public string? Runtime { get; set; }
Property Value
Secrets
The list of secrets that are included in an action or a version of an action.
[JsonPropertyName("secrets")]
public IEnumerable<ActionSecretRequest>? Secrets { get; set; }
Property Value
SupportedTriggers
The list of triggers that this action supports. At this time, an action can only target a single trigger at a time.
[JsonPropertyName("supported_triggers")]
public IEnumerable<ActionTrigger> SupportedTriggers { get; set; }
Property Value
Methods
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.