com.mailersend.sdk.templates.TemplatesList Maven / Gradle / Ivy
/*************************************************
* MailerSend Java SDK
* https://github.com/mailersend/mailersend-java
*
* @author MailerSend
* https://mailersend.com
**************************************************/
package com.mailersend.sdk.templates;
import com.google.gson.annotations.SerializedName;
import com.mailersend.sdk.util.PaginatedResponse;
public class TemplatesList extends PaginatedResponse {
@SerializedName("data")
public TemplateItem[] templates;
/**
* Is called to perform any actions after the deserialization of the response
* Do not call directly
*/
protected void postDeserialize() {
for (TemplateItem item : templates) {
item.postDeserialize();
}
}
}