com.mailersend.sdk.tokens.TokenAddRequestBody Maven / Gradle / Ivy
/*************************************************
* MailerSend Java SDK
* https://github.com/mailersend/mailersend-java
*
* @author MailerSend
* https://mailersend.com
**************************************************/
package com.mailersend.sdk.tokens;
import java.util.ArrayList;
import com.google.gson.annotations.SerializedName;
public class TokenAddRequestBody {
@SerializedName("name")
public String name;
@SerializedName("domain_id")
public String domainId = null;
ArrayList scopes = new ArrayList();
/**
* Resets the token add request body so that it can be reused
*/
public void reset() {
name = null;
domainId = null;
scopes.clear();
}
}