class OpenApiSDK::Models::Components::WebhookCustomerSeatRevokedPayload
This event is triggered when access to a seat is revoked, either manually by the organization or automatically when a subscription is canceled.
Sent when a customer seat is revoked.
def ==(other)
def ==(other) return false unless other.is_a?(self.class) return false unless @timestamp == other.timestamp return false unless @data == other.data return false unless @type == other.type true end
def initialize(timestamp:, data:, type: "customer_seat.revoked")
def initialize(timestamp:, data:, type: "customer_seat.revoked") @timestamp = timestamp @data = data unless type == "customer_seat.revoked" raise ArgumentError, "Invalid value for type" end @type = "customer_seat.revoked" end