All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.geotab.model.entity.textmessage.GoTalkContent Maven / Gradle / Ivy

/*
 *
 * 2020 Copyright (C) Geotab Inc. All rights reserved.
 */

package com.geotab.model.entity.textmessage;

import com.geotab.model.enumeration.MessageContentType;
import lombok.Builder;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;

/**
 * The contents of a {@link TextMessage} that will be delivered to a GoTalk.
 */
@NoArgsConstructor
@Getter
@Setter
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = true)
public class GoTalkContent extends TextMessageContentType {

  private String message;

  @Builder(builderMethodName = "goTalkContentBuilder")
  public GoTalkContent(String message) {
    super(MessageContentType.GO_TALK);
    this.message = message;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy