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

com.geotab.model.entity.textmessage.TextContent 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 GPS Text Message. See also:
 *
 * 
    *
  • * {@link CannedResponseContent} *
  • *
  • * {@link LocationContent} *
  • *
*/ @NoArgsConstructor @Getter @Setter @ToString(callSuper = true) @EqualsAndHashCode(callSuper = true) 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; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy