Skip to main content

Class: NotificationRuleBuilder

Defined in: packages/sdk/src/workspace-builder/automation.ts:130

Extends

  • WorkspaceBuilderResource

Constructors

Constructor

new NotificationRuleBuilder(name, options?): NotificationRuleBuilder

Defined in: packages/sdk/src/workspace-builder/automation.ts:139

Parameters

name

string

options?

AnyRecord = {}

Returns

NotificationRuleBuilder

Overrides

WorkspaceBuilderResource.constructor

Properties

_created

_created: boolean = false

Defined in: packages/sdk/src/workspace-builder/resource.ts:23

Inherited from

WorkspaceBuilderResource._created


_existed

_existed: boolean = false

Defined in: packages/sdk/src/workspace-builder/resource.ts:24

Inherited from

WorkspaceBuilderResource._existed


_id?

optional _id: number

Defined in: packages/sdk/src/workspace-builder/resource.ts:21

Inherited from

WorkspaceBuilderResource._id


_uuid?

optional _uuid: string

Defined in: packages/sdk/src/workspace-builder/resource.ts:22

Inherited from

WorkspaceBuilderResource._uuid


memberId

readonly memberId: number

Defined in: packages/sdk/src/workspace-builder/automation.ts:132


name

readonly name: string

Defined in: packages/sdk/src/workspace-builder/automation.ts:140


noticeType

readonly noticeType: string

Defined in: packages/sdk/src/workspace-builder/automation.ts:131


notifyEmail

readonly notifyEmail: boolean

Defined in: packages/sdk/src/workspace-builder/automation.ts:136


notifySms

readonly notifySms: boolean

Defined in: packages/sdk/src/workspace-builder/automation.ts:135


notifyVoice

readonly notifyVoice: boolean

Defined in: packages/sdk/src/workspace-builder/automation.ts:137


prompt?

readonly optional prompt: string

Defined in: packages/sdk/src/workspace-builder/automation.ts:134


workflow?

readonly optional workflow: WorkflowBuilder

Defined in: packages/sdk/src/workspace-builder/automation.ts:133

Accessors

id

Get Signature

get id(): number

Defined in: packages/sdk/src/workspace-builder/resource.ts:27

Server-assigned numeric id — available after apply() or adopt().

Returns

number

Inherited from

WorkspaceBuilderResource.id


uuid

Get Signature

get uuid(): string

Defined in: packages/sdk/src/workspace-builder/resource.ts:38

Server-assigned uuid — available after apply() or adopt().

Returns

string

Inherited from

WorkspaceBuilderResource.uuid

Methods

adopt()

adopt(existing): void

Defined in: packages/sdk/src/workspace-builder/resource.ts:55

Parameters

existing

AnyRecord

Returns

void

Inherited from

WorkspaceBuilderResource.adopt


apply()

apply(client): Promise<void>

Defined in: packages/sdk/src/workspace-builder/automation.ts:160

Parameters

client

GravityRailWorkspaceClient

Returns

Promise<void>

Overrides

WorkspaceBuilderResource.apply


matchKey()

matchKey(): string | undefined

Defined in: packages/sdk/src/workspace-builder/resource.ts:51

Returns

string | undefined

Inherited from

WorkspaceBuilderResource.matchKey


planLine()

planLine(): string

Defined in: packages/sdk/src/workspace-builder/automation.ts:153

Returns

string

Overrides

WorkspaceBuilderResource.planLine