com.geotab.model.entity.textmessage.CannedResponseOption Maven / Gradle / Ivy
package com.geotab.model.entity.textmessage;
import lombok.Builder;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
/**
* Specifies the allowed responses to a {@link TextMessage}.
*/
@Getter @Setter
@NoArgsConstructor()
public class CannedResponseOption {
/**
* The id number of the reply or null.
*/
private Integer id;
/**
* The text options provided for the CannedResponse message reply.
*/
private String text;
@Builder
public CannedResponseOption(Integer id, String text) {
this.id = id;
this.text = text;
}
public CannedResponseOption(String text) {
this.text = text;
}
}