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.
30 lines
606 B
Java
30 lines
606 B
Java
package eu.openaire.urls_controller.models;
|
|
|
|
|
|
import com.fasterxml.jackson.annotation.JsonInclude;
|
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
|
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
|
|
|
|
@JsonInclude(JsonInclude.Include.NON_NULL)
|
|
@JsonPropertyOrder({
|
|
"id",
|
|
"name"
|
|
})
|
|
public class Datasource {
|
|
|
|
@JsonProperty("id")
|
|
String id;
|
|
|
|
@JsonProperty("name")
|
|
String name;
|
|
|
|
|
|
@Override
|
|
public String toString() {
|
|
return "Datasource{" +
|
|
"id='" + id + '\'' +
|
|
", name='" + name + '\'' +
|
|
'}';
|
|
}
|
|
}
|