You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
37 lines
622 B
Java
37 lines
622 B
Java
package eu.openaire.urls_controller.models;
|
|
|
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
|
|
|
public class Task {
|
|
|
|
@JsonProperty("id")
|
|
String id;
|
|
|
|
@JsonProperty("url")
|
|
String url;
|
|
|
|
public String getId() {
|
|
return id;
|
|
}
|
|
|
|
public void setId(String id) {
|
|
this.id = id;
|
|
}
|
|
|
|
public String getUrl() {
|
|
return url;
|
|
}
|
|
|
|
public void setUrl(String url) {
|
|
this.url = url;
|
|
}
|
|
|
|
@Override
|
|
public String toString() {
|
|
return "Task{" +
|
|
"id='" + id + '\'' +
|
|
", url='" + url + '\'' +
|
|
'}';
|
|
}
|
|
}
|