Table of Contents

Class Hook

Namespace
Auth0.ManagementApi
Assembly
Auth0.ManagementApi.dll
[Serializable]
public record Hook : IJsonOnDeserialized, IEquatable<Hook>
Inheritance
Hook
Implements
Inherited Members
Extension Methods

Properties

AdditionalProperties

[JsonIgnore]
public ReadOnlyAdditionalProperties AdditionalProperties { get; }

Property Value

ReadOnlyAdditionalProperties

Dependencies

[JsonPropertyName("dependencies")]
public Dictionary<string, string>? Dependencies { get; set; }

Property Value

Dictionary<string, string>

Enabled

Whether this hook will be executed (true) or ignored (false).

[JsonPropertyName("enabled")]
public bool? Enabled { get; set; }

Property Value

bool?

Id

ID of this hook.

[JsonPropertyName("id")]
public string? Id { get; set; }

Property Value

string

Name

Name of this hook.

[JsonPropertyName("name")]
public string? Name { get; set; }

Property Value

string

Script

Code to be executed when this hook runs.

[JsonPropertyName("script")]
public string? Script { get; set; }

Property Value

string

TriggerId

Trigger ID

[JsonPropertyName("triggerId")]
public string? TriggerId { get; set; }

Property Value

string

Methods

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.