Class SubscriptionCommon


  • @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
               comments="Generator version: 7.7.0")
    public class SubscriptionCommon
    extends Object
    SubscriptionCommon
    • Constructor Detail

      • SubscriptionCommon

        public SubscriptionCommon()
    • Method Detail

      • getDescription

        @Nullable
        public String getDescription()
        Description of the subscription
        Returns:
        description
      • setDescription

        public void setDescription​(String description)
      • getNotificationUrl

        @Nonnull
        public String getNotificationUrl()
        The URL of the webhook endpoint to which event messages will be delivered
        Returns:
        notificationUrl
      • setNotificationUrl

        public void setNotificationUrl​(String notificationUrl)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • validateJsonElement

        public static void validateJsonElement​(com.google.gson.JsonElement jsonElement)
                                        throws IOException
        Validates the JSON Element and throws an exception if issues found
        Parameters:
        jsonElement - JSON Element
        Throws:
        IOException - if the JSON Element is invalid with respect to SubscriptionCommon
      • fromJson

        public static SubscriptionCommon fromJson​(String jsonString)
                                           throws IOException
        Create an instance of SubscriptionCommon given an JSON string
        Parameters:
        jsonString - JSON string
        Returns:
        An instance of SubscriptionCommon
        Throws:
        IOException - if the JSON string is invalid with respect to SubscriptionCommon
      • toJson

        public String toJson()
        Convert an instance of SubscriptionCommon to an JSON string
        Returns:
        JSON string