Webhook
public class Webhook : BoxModel
Defines a Webhook, which enables event triggers to be attached to Box files and folders
-
Declaration
Swift
public private(set) var rawData: [String : Any] { get } -
Box item type
Declaration
Swift
public var type: String
-
Identifier
Declaration
Swift
public let id: String -
Target information
Declaration
Swift
public let target: WebhookItem? -
User that created the webhook
Declaration
Swift
public let createdBy: User? -
Timestamp of when webhook was created
Declaration
Swift
public let createdAt: Date? -
URL to which notifications are sent
Declaration
Swift
public let address: URL? -
Events that activate the webhook
Declaration
Swift
public let triggers: [EventTriggers]? -
Initializer.
Throws
Decoding error.Declaration
Swift
public required init(json: [String : Any]) throwsParameters
jsonJSON dictionary.
Webhook Class Reference