76 lines
1.8 KiB
Java
76 lines
1.8 KiB
Java
package eu.dnetlib.openaire.community;
|
|
|
|
import com.fasterxml.jackson.annotation.JsonAutoDetect;
|
|
|
|
import io.swagger.annotations.ApiModelProperty;
|
|
import javax.validation.constraints.NotNull;
|
|
|
|
@JsonAutoDetect
|
|
public class CommunityOrganization {
|
|
@NotNull
|
|
@ApiModelProperty(value = "the community identifier this organization belongs to", required = true)
|
|
private String communityId;
|
|
|
|
@NotNull
|
|
@ApiModelProperty(value = "name of the organization", required = true)
|
|
private String name;
|
|
|
|
@NotNull
|
|
@ApiModelProperty(value = "identifies this organization within the context it belongs to", required = true)
|
|
private String id;
|
|
|
|
@NotNull
|
|
@ApiModelProperty(value="url of the logo for this organization", required = true)
|
|
private String logo_url;
|
|
|
|
|
|
@NotNull
|
|
@ApiModelProperty(value="website url for this organization", required = true)
|
|
private String website_url;
|
|
|
|
public String getCommunityId() {
|
|
return communityId;
|
|
}
|
|
|
|
public CommunityOrganization setCommunityId(String communityId) {
|
|
this.communityId = communityId;
|
|
return this;
|
|
}
|
|
|
|
public String getName() {
|
|
return name;
|
|
}
|
|
|
|
public CommunityOrganization setName(String name) {
|
|
this.name = name;
|
|
return this;
|
|
}
|
|
|
|
public String getId() {
|
|
return id;
|
|
}
|
|
|
|
public CommunityOrganization setId(String id) {
|
|
this.id = id;
|
|
return this;
|
|
}
|
|
|
|
public String getLogo_url() {
|
|
return logo_url;
|
|
}
|
|
|
|
public CommunityOrganization setLogo_url(String logo_url) {
|
|
this.logo_url = logo_url;
|
|
return this;
|
|
}
|
|
|
|
public String getWebsite_url() {
|
|
return website_url;
|
|
}
|
|
|
|
public CommunityOrganization setWebsite_url(String website_url) {
|
|
this.website_url = website_url;
|
|
return this;
|
|
}
|
|
}
|