2 * Copyright (c) 2010-2023 Contributors to the openHAB project
4 * See the NOTICE file(s) distributed with this work for additional
7 * This program and the accompanying materials are made available under the
8 * terms of the Eclipse Public License 2.0 which is available at
9 * http://www.eclipse.org/legal/epl-2.0
11 * SPDX-License-Identifier: EPL-2.0
13 package org.openhab.binding.webexteams.internal.api;
15 import org.eclipse.jdt.annotation.NonNullByDefault;
16 import org.eclipse.jdt.annotation.Nullable;
19 * a <code>Message</code> that is sent or received through the API.
21 * @author Tom Deckers - Initial contribution
24 public class Message {
25 private @Nullable String id;
26 private @Nullable String roomId;
27 private @Nullable String toPersonEmail;
28 private @Nullable String text;
29 private @Nullable String markdown;
30 private @Nullable String file;
33 public String getId() {
37 public void setId(String id) {
42 public String getRoomId() {
46 public void setRoomId(String roomId) {
51 public String getToPersonEmail() {
55 public void setToPersonEmail(String toPersonEmail) {
56 this.toPersonEmail = toPersonEmail;
60 public String getText() {
64 public void setText(String text) {
69 public String getMarkdown() {
73 public void setMarkdown(String markdown) {
74 this.markdown = markdown;
78 public String getFile() {
82 public void setFile(String file) {