1
|
package eu.dnetlib.openaire.community;
|
2
|
|
3
|
import javax.validation.constraints.NotNull;
|
4
|
|
5
|
import com.fasterxml.jackson.annotation.JsonAutoDetect;
|
6
|
import io.swagger.annotations.ApiModelProperty;
|
7
|
|
8
|
@JsonAutoDetect
|
9
|
public class CommunityZenodoCommunity {
|
10
|
|
11
|
|
12
|
|
13
|
@NotNull
|
14
|
@ApiModelProperty(value = "the community identifier this zenodoCommunity provider belongs to", required = true)
|
15
|
private String communityId;
|
16
|
|
17
|
@NotNull
|
18
|
@ApiModelProperty(value = "Zenodo identifier for this community", required = true)
|
19
|
private String zenodoid;
|
20
|
|
21
|
@NotNull
|
22
|
@ApiModelProperty(value = "identifies this zenodo community within the context it belongs to", required = true)
|
23
|
private String id;
|
24
|
|
25
|
|
26
|
@NotNull
|
27
|
@ApiModelProperty(value = "identifies the name of the zenodo community", required = false)
|
28
|
private String name;
|
29
|
|
30
|
// @ApiModelProperty(value = "zenodo community selection criteria", required = false)
|
31
|
// private SelectionCriteria selCrit;
|
32
|
|
33
|
|
34
|
public String getZenodoid() {
|
35
|
return zenodoid;
|
36
|
}
|
37
|
|
38
|
public void setZenodoid(String zenodoid) {
|
39
|
this.zenodoid = zenodoid;
|
40
|
}
|
41
|
|
42
|
public String getId() {
|
43
|
return id;
|
44
|
}
|
45
|
|
46
|
public void setId(final String id) {
|
47
|
this.id = id;
|
48
|
}
|
49
|
|
50
|
public String getCommunityId() {
|
51
|
return communityId;
|
52
|
}
|
53
|
|
54
|
public void setCommunityId(String communityId) {
|
55
|
this.communityId = communityId;
|
56
|
}
|
57
|
|
58
|
public String getName() {
|
59
|
return name;
|
60
|
}
|
61
|
|
62
|
public void setName(String name) {
|
63
|
this.name = name;
|
64
|
}
|
65
|
}
|