com.mailgun.model.domains.UpdateDomainConnectionResponse Maven / Gradle / Ivy
Show all versions of mailgun-java Show documentation
package com.mailgun.model.domains;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Builder;
import lombok.Value;
import lombok.extern.jackson.Jacksonized;
/**
*
* Domain connection update response.
*
*
* @see Domains
*/
@Value
@Jacksonized
@Builder
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonIgnoreProperties(ignoreUnknown = true)
public class UpdateDomainConnectionResponse {
/**
*
* Result status message.
*
*/
String message;
/**
*
* true
or false
*
*
*
* If set to true
, this requires the message only be sent over a TLS connection.
* If a TLS connection can not be established, Mailgun will not deliver the message.
*
*
*
* If set to false
, Mailgun will still try and upgrade the connection,
* but if Mailgun cannot, the message will be delivered over a plaintext SMTP connection.
*
*/
@JsonProperty("require_tls")
Boolean requireTls;
/**
*
* true
or false
*
*
*
* If set to true
, the certificate and hostname will not be verified when trying to establish a TLS connection
* and Mailgun will accept any certificate during delivery.
*
*
*
* If set to false
, Mailgun will verify the certificate and hostname.
* If either one can not be verified, a TLS connection will not be established.
*
*/
@JsonProperty("skip_verification")
Boolean skipVerification;
}