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 @Schema(value = "the community identifier this organization belongs to", required = true) private String communityId; @NotNull @Schema(value = "name of the organization", required = true) private String name; @NotNull @Schema(value = "identifies this organization within the context it belongs to", required = true) private String id; @NotNull @Schema(value="url of the logo for this organization", required = true) private String logo_url; @NotNull @Schema(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; } }