/** * Generated by API Builder - https://www.apibuilder.io * Service version: 1.0.0 * User agent: apibuilder app.apibuilder.io/teambytes/hipchat-sns-bridge/1.0.0/java_models */ package com.teambytes.hipchat.sns.bridge.v1.models; public class SnsNotification { /** * The type of message. For a unsubscribe confirmation, the type is UnsubscribeConfirmation. */ private String type; /** * A Universally Unique Identifier, unique for each message published. For a message that Amazon SNS resends during a retry, the message ID of the original message is used. */ private String messageId; /** * The Amazon Resource Name (ARN) for the topic that this endpoint has been unsubscribed from. */ private String topicArn; /** * A string that describes the message. */ private String message; /** * The time (GMT) when the unsubscribe confirmation was sent. */ private String timestamp; /** * Version of the Amazon SNS signature used. */ private String signatureVersion; /** * Base64-encoded 'SHA1withRSA' signature of the Message, MessageId, Type, Timestamp, and TopicArn values. */ private String signature; /** * The URL to the certificate that was used to sign the message. */ private String signingCertURL; /** * A value you can use with the ConfirmSubscription action to re-confirm the subscription. Alternatively, you can simply visit the SubscribeURL. */ private String token; /** * The Subject parameter specified when the notification was published to the topic. Note that this is an optional parameter. If no Subject was specified, then this name/value pair does not appear in this JSON document. */ private String subject; /** * The URL that you must visit in order to re-confirm the subscription. Alternatively, you can instead use the Token with the ConfirmSubscription action to re-confirm the subscription. */ private String subscribeURL; /** * A URL that you can use to unsubscribe the endpoint from this topic. If you visit this URL, Amazon SNS unsubscribes the endpoint and stops sending notifications to this endpoint. */ private String unsubscribeURL; public SnsNotification() {} }