All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.mailersend.sdk.webhooks.WebhooksBuilderBody Maven / Gradle / Ivy

/*************************************************
 * MailerSend Java SDK
 * https://github.com/mailersend/mailersend-java
 * 
 * @author MailerSend 
 * https://mailersend.com
 **************************************************/
package com.mailersend.sdk.webhooks;

import java.util.ArrayList;

import com.google.gson.annotations.SerializedName;

class WebhooksBuilderBody {

    @SerializedName("url")
    public String url;
    
    @SerializedName("name")
    public String name;
    
    @SerializedName("events")
    public ArrayList events = new ArrayList();
    
    @SerializedName("enabled")
    public Boolean enabled = null;
    
    @SerializedName("domain_id")
    public String domainId;
    
    
    /**
     * Resets the values so that the object can be reused
     */
    public void reset() {
        
        url = null;
        
        name = null;
        
        events = new ArrayList();
        
        enabled = null;
        
        domainId = null;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy