com.geotab.model.entity.textmessage.TextContent Maven / Gradle / Ivy
package com.geotab.model.entity.textmessage;
import lombok.Builder;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
/**
* The contents of a GPS Text Message. See also:
*
*
* -
* {@link CannedResponseContent}
*
* -
* {@link LocationContent}
*
*
*/
@Getter @Setter
@NoArgsConstructor
public class TextContent extends TextMessageContentType {
private String message;
private Boolean urgent;
@Builder
public TextContent(String message, Boolean urgent) {
super(MessageContentType.NORMAL);
this.message = message;
this.urgent = urgent;
}
@Builder(builderMethodName = "textContentBuilder")
public TextContent(MessageContentType messageContentType, String message, Boolean urgent) {
super(messageContentType);
this.message = message;
this.urgent = urgent;
}
}