thumbnails now changed to Object
This commit is contained in:
parent
2a3f605b31
commit
2d38e6cdc1
|
@ -1,11 +1,21 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<project version="4">
|
<project version="4">
|
||||||
<component name="RemoteRepositoriesConfiguration">
|
<component name="RemoteRepositoriesConfiguration">
|
||||||
|
<remote-repository>
|
||||||
|
<option name="id" value="ossez-repo-snapshots" />
|
||||||
|
<option name="name" value="OSSEZ Private Snapshots" />
|
||||||
|
<option name="url" value="https://repo.isharkfly.com/repository/maven-snapshots/" />
|
||||||
|
</remote-repository>
|
||||||
<remote-repository>
|
<remote-repository>
|
||||||
<option name="id" value="ossez-repo-snapshots" />
|
<option name="id" value="ossez-repo-snapshots" />
|
||||||
<option name="name" value="OSSEZ Private Snapshots" />
|
<option name="name" value="OSSEZ Private Snapshots" />
|
||||||
<option name="url" value="https://repo.ossez.com/repository/maven-snapshots/" />
|
<option name="url" value="https://repo.ossez.com/repository/maven-snapshots/" />
|
||||||
</remote-repository>
|
</remote-repository>
|
||||||
|
<remote-repository>
|
||||||
|
<option name="id" value="central" />
|
||||||
|
<option name="name" value="Central Repository" />
|
||||||
|
<option name="url" value="https://repo.isharkfly.com/repository/maven-public/" />
|
||||||
|
</remote-repository>
|
||||||
<remote-repository>
|
<remote-repository>
|
||||||
<option name="id" value="ossez-repo-releases" />
|
<option name="id" value="ossez-repo-releases" />
|
||||||
<option name="name" value="OSSEZ Private Releases" />
|
<option name="name" value="OSSEZ Private Releases" />
|
||||||
|
@ -26,5 +36,10 @@
|
||||||
<option name="name" value="JBoss Community repository" />
|
<option name="name" value="JBoss Community repository" />
|
||||||
<option name="url" value="https://repository.jboss.org/nexus/content/repositories/public/" />
|
<option name="url" value="https://repository.jboss.org/nexus/content/repositories/public/" />
|
||||||
</remote-repository>
|
</remote-repository>
|
||||||
|
<remote-repository>
|
||||||
|
<option name="id" value="ossez-repo-releases" />
|
||||||
|
<option name="name" value="OSSEZ Private Releases" />
|
||||||
|
<option name="url" value="https://repo.isharkfly.com/repository/maven-releases/" />
|
||||||
|
</remote-repository>
|
||||||
</component>
|
</component>
|
||||||
</project>
|
</project>
|
|
@ -1,4 +1,4 @@
|
||||||
# --- APP ---
|
# --- APP ---
|
||||||
api.site.url=https://www.zchub.net/
|
api.site.url=https://www.zchub.net/
|
||||||
api.username=******
|
api.username=zchub
|
||||||
api.key=*****
|
api.key=a6e6882164f606343bb0a9cde05992f27e73db2cf76c9347b885323a98f8afd3
|
|
@ -0,0 +1,63 @@
|
||||||
|
package com.ossez.discourse.common.model.dto;
|
||||||
|
|
||||||
|
import com.fasterxml.jackson.databind.PropertyNamingStrategy;
|
||||||
|
import com.fasterxml.jackson.databind.annotation.JsonNaming;
|
||||||
|
|
||||||
|
import java.io.Serializable;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* PostUpdate Data Object
|
||||||
|
*
|
||||||
|
* @author YuCheng Hu
|
||||||
|
*/
|
||||||
|
@JsonNaming(PropertyNamingStrategy.SnakeCaseStrategy.class)
|
||||||
|
public class Thumbnail implements Serializable {
|
||||||
|
|
||||||
|
private static final long serialVersionUID = 6031191663190724895L;
|
||||||
|
|
||||||
|
private Long maxWidth;
|
||||||
|
private Long maxHeight;
|
||||||
|
private long width;
|
||||||
|
private long height;
|
||||||
|
private String url;
|
||||||
|
|
||||||
|
public Long getMaxWidth() {
|
||||||
|
return maxWidth;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setMaxWidth(Long maxWidth) {
|
||||||
|
this.maxWidth = maxWidth;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Long getMaxHeight() {
|
||||||
|
return maxHeight;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setMaxHeight(Long maxHeight) {
|
||||||
|
this.maxHeight = maxHeight;
|
||||||
|
}
|
||||||
|
|
||||||
|
public long getWidth() {
|
||||||
|
return width;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setWidth(long width) {
|
||||||
|
this.width = width;
|
||||||
|
}
|
||||||
|
|
||||||
|
public long getHeight() {
|
||||||
|
return height;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setHeight(long height) {
|
||||||
|
this.height = height;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getUrl() {
|
||||||
|
return url;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setUrl(String url) {
|
||||||
|
this.url = url;
|
||||||
|
}
|
||||||
|
}
|
|
@ -55,7 +55,7 @@ public class Topic {
|
||||||
private Long messageBus_LastId;
|
private Long messageBus_LastId;
|
||||||
private Integer participantCount;
|
private Integer participantCount;
|
||||||
private Boolean showReadIndicator;
|
private Boolean showReadIndicator;
|
||||||
private String thumbnails;
|
private List<Thumbnail> thumbnails;
|
||||||
private String slowModeEnabledUUntil;
|
private String slowModeEnabledUUntil;
|
||||||
private Boolean summarizable;
|
private Boolean summarizable;
|
||||||
|
|
||||||
|
@ -412,11 +412,11 @@ public class Topic {
|
||||||
this.showReadIndicator = showReadIndicator;
|
this.showReadIndicator = showReadIndicator;
|
||||||
}
|
}
|
||||||
|
|
||||||
public String getThumbnails() {
|
public List<Thumbnail> getThumbnails() {
|
||||||
return thumbnails;
|
return thumbnails;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setThumbnails(String thumbnails) {
|
public void setThumbnails(List<Thumbnail> thumbnails) {
|
||||||
this.thumbnails = thumbnails;
|
this.thumbnails = thumbnails;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue