OrganizationWebhookArgs class
The set of arguments for OrganizationWebhook. The set of arguments for OrganizationWebhook.
Constructors
-
OrganizationWebhookArgs({required Input<
bool> active, required Input<String> displayName, Input<String> ? envName, Input<List< ? filters, Input<String> >String> ? format, Input<List< ? groups, Input<String> >String> ? name, required Input<String> organizationName, required Input<String> payloadUrl, Input<String> ? projectName, Input<String> ? secret, Input<String> ? stackName}) -
Creates a new OrganizationWebhookArgs.
activeWhether the webhook is active and will receive deliveries.displayNameThe human-readable display name shown in the UI.envNameThe environment name. Set when the webhook is scoped to a specific environment.filtersSpecific event types this webhook subscribes to. If empty, all events are delivered.formatThe format of the webhook payload (e.g., 'raw', 'slack', 'ms_teams').groupsEvent groups this webhook subscribes to (e.g., 'stacks', 'deployments').nameThe unique identifier name for the webhook within its scope. Optional on creation; if omitted, the service generates a short random name. Always populated in responses.organizationNameThe organization that owns this webhook.payloadUrlThe URL to which webhook payloads are delivered.projectNameThe project name. Set when the webhook is scoped to a specific stack.secretSecret will be omitted when returned from the service.stackNameThe stack name. Set when the webhook is scoped to a specific stack.const -
OrganizationWebhookArgs.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
active
→ Input<
bool> -
Whether the webhook is active and will receive deliveries.
final
-
displayName
→ Input<
String> -
The human-readable display name shown in the UI.
final
-
envName
→ Input<
String> ? -
The environment name. Set when the webhook is scoped to a specific environment.
final
-
filters
→ Input<
List< ?String> > -
Specific event types this webhook subscribes to. If empty, all events are delivered.
final
-
format
→ Input<
String> ? -
The format of the webhook payload (e.g., 'raw', 'slack', 'ms_teams').
final
-
groups
→ Input<
List< ?String> > -
Event groups this webhook subscribes to (e.g., 'stacks', 'deployments').
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
name
→ Input<
String> ? -
The unique identifier name for the webhook within its scope. Optional on creation; if omitted, the service generates a short random name. Always populated in responses.
final
-
organizationName
→ Input<
String> -
The organization that owns this webhook.
final
-
payloadUrl
→ Input<
String> -
The URL to which webhook payloads are delivered.
final
-
projectName
→ Input<
String> ? -
The project name. Set when the webhook is scoped to a specific stack.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
secret
→ Input<
String> ? -
Secret will be omitted when returned from the service.
final
-
stackName
→ Input<
String> ? -
The stack name. Set when the webhook is scoped to a specific stack.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited