Enum Webhook.SslVersionEnum

  • All Implemented Interfaces:
    Serializable, Comparable<Webhook.SslVersionEnum>
    Enclosing class:
    Webhook

    public static enum Webhook.SslVersionEnum
    extends Enum<Webhook.SslVersionEnum>
    SSL version to access the public webhook URL specified in the `url` field. Possible values: * **TLSv1.3** * **TLSv1.2** * **HTTP** - Only allowed on Test environment. If not specified, the webhook will use `sslVersion`: **TLSv1.2**.
    • Method Detail

      • values

        public static Webhook.SslVersionEnum[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (Webhook.SslVersionEnum c : Webhook.SslVersionEnum.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static Webhook.SslVersionEnum valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • getValue

        public String getValue()