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

org.gs4tr.gcc.restclient.request.NotifyRequest Maven / Gradle / Ivy

Go to download

GlobalLink Connect Cloud java is a library to connect your system to GlobalLink Connect Cloud REST API.

There is a newer version: 3.1.3
Show newest version
package org.gs4tr.gcc.restclient.request;

import com.fasterxml.jackson.annotation.JsonProperty;

public class NotifyRequest extends GCRequest {

	@JsonProperty("job_id")
	private Long jobId;
	@JsonProperty("task_id")
	private Long taskId;
	@JsonProperty("subject")
	private String subject;
	@JsonProperty("message")
	private String message;

	public NotifyRequest(String message) {
		super();
		this.message = message;
	}

	public NotifyRequest(Long jobId, Long taskId, String subject, String message) {
		super();
		this.jobId = jobId;
		this.taskId = taskId;
		this.subject = subject;
		this.message = message;
	}

	public Long getJobId() {
		return jobId;
	}

	public void setJobId(Long jobId) {
		this.jobId = jobId;
	}

	public Long getTaskId() {
		return taskId;
	}

	public void setTaskId(Long taskId) {
		this.taskId = taskId;
	}

	public String getSubject() {
		return subject;
	}

	public void setSubject(String subject) {
		this.subject = subject;
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy