2 * Copyright (c) 2010-2024 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.pushbullet.internal.model;
15 import com.google.gson.annotations.SerializedName;
18 * This class represents the push request sent to the API.
20 * @author Hakan Tandogan - Initial contribution
21 * @author Hakan Tandogan - Migrated from openHAB 1 action with the same name
25 @SerializedName("title")
28 @SerializedName("body")
31 @SerializedName("type")
34 @SerializedName("email")
37 @SerializedName("channel_tag")
38 private String channelTag;
40 public String getTitle() {
44 public void setTitle(String title) {
48 public String getBody() {
52 public void setBody(String body) {
56 public String getType() {
60 public void setType(String type) {
64 public String getEmail() {
68 public void setEmail(String email) {
72 public String getChannel() {
76 public void setChannel(String channelTag) {
77 this.channelTag = channelTag;
81 public String toString() {
82 return "Push {" + "title='" + title + '\'' + ", body='" + body + '\'' + ", type='" + type + '\'' + ", email='"
83 + email + '\'' + ", channelTag='" + channelTag + '\'' + '}';