Webhook

public struct Webhook
extension Webhook: Mappable

A data type presents a Webhook at Cisco Webex for Developer.

See

see Webhooks Guide

Since

1.2.0
  • id

    The identifier of this webhook.

    Since

    1.2.0

    Declaration

    Swift

    public var id: String?
  • A user-friendly name for this webhook.

    Since

    1.2.0

    Declaration

    Swift

    public var name: String?
  • The URL that receives POST requests for each event.

    Since

    1.2.0

    Declaration

    Swift

    public var targetUrl: String?
  • The resource type for the webhook.

    Since

    1.2.0

    Declaration

    Swift

    public var resource: String?
  • The event type for the webhook.

    Since

    1.2.0

    Declaration

    Swift

    public var event: String?
  • The filter that defines the webhook scope.

    Since

    1.2.0

    Declaration

    Swift

    public var filter: String?
  • The timestamp that the webhook being created.

    Since

    1.2.0

    Declaration

    Swift

    public var created: Date?
  • The status of the webhook. Use active to reactivate a disabled webhook.

    Since

    1.4.0

    Declaration

    Swift

    public var status: String?
  • The Secret use to generate payload signiture.

    Since

    1.4.0

    Declaration

    Swift

    public var secret: String?
  • Constructs a new Webhook object.

    Note

    for internal use only.

    Declaration

    Swift

    public init?(map: Map)
  • Maps a Webhook from JSON.

    Note

    for internal use only.

    Declaration

    Swift

    public mutating func mapping(map: Map)