com.greenapi.client.pkg.models.request.OutgoingListMessage Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of whatsapp-api-client-java Show documentation
Show all versions of whatsapp-api-client-java Show documentation
WhatsApp java client Green API
package com.greenapi.client.pkg.models.request;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.*;
import lombok.experimental.SuperBuilder;
import java.util.List;
@Data
@SuperBuilder
@EqualsAndHashCode(callSuper = true)
@JsonInclude(JsonInclude.Include.NON_NULL)
public class OutgoingListMessage extends Outgoing {
private final String message;
private final String title;
private final String footer;
private final String buttonText;
private final List sections;
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public static class Section {
private String title;
private List rows;
}
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public static class Row {
private String rowId;
private String title;
private String description;
}
}