forked from loafle/openapi-generator-original
updated client
This commit is contained in:
parent
13ef879703
commit
f10da06188
@ -7,9 +7,9 @@ import io.swagger.client.model.*;
|
|||||||
|
|
||||||
import java.util.*;
|
import java.util.*;
|
||||||
|
|
||||||
import io.swagger.client.model.User;
|
|
||||||
import io.swagger.client.model.ApiTokenStatus;
|
import io.swagger.client.model.ApiTokenStatus;
|
||||||
import io.swagger.client.model.AuthenticationToken;
|
import io.swagger.client.model.AuthenticationToken;
|
||||||
|
import io.swagger.client.model.User;
|
||||||
import io.swagger.client.model.WordList;
|
import io.swagger.client.model.WordList;
|
||||||
|
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
|
@ -7,12 +7,12 @@ import io.swagger.client.model.*;
|
|||||||
|
|
||||||
import java.util.*;
|
import java.util.*;
|
||||||
|
|
||||||
import io.swagger.client.model.Example;
|
|
||||||
import io.swagger.client.model.AudioFile;
|
|
||||||
import io.swagger.client.model.Bigram;
|
|
||||||
import io.swagger.client.model.WordObject;
|
import io.swagger.client.model.WordObject;
|
||||||
import io.swagger.client.model.FrequencySummary;
|
import io.swagger.client.model.AudioFile;
|
||||||
import io.swagger.client.model.Definition;
|
import io.swagger.client.model.Definition;
|
||||||
|
import io.swagger.client.model.FrequencySummary;
|
||||||
|
import io.swagger.client.model.Bigram;
|
||||||
|
import io.swagger.client.model.Example;
|
||||||
|
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
import java.util.HashMap;
|
import java.util.HashMap;
|
||||||
|
@ -7,10 +7,10 @@ import io.swagger.client.model.*;
|
|||||||
|
|
||||||
import java.util.*;
|
import java.util.*;
|
||||||
|
|
||||||
|
import io.swagger.client.model.WordObject;
|
||||||
|
import io.swagger.client.model.DefinitionSearchResults;
|
||||||
import io.swagger.client.model.WordSearchResults;
|
import io.swagger.client.model.WordSearchResults;
|
||||||
import io.swagger.client.model.WordOfTheDay;
|
import io.swagger.client.model.WordOfTheDay;
|
||||||
import io.swagger.client.model.DefinitionSearchResults;
|
|
||||||
import io.swagger.client.model.WordObject;
|
|
||||||
|
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
import java.util.HashMap;
|
import java.util.HashMap;
|
||||||
|
@ -2,33 +2,24 @@ package io.swagger.client.model;
|
|||||||
|
|
||||||
|
|
||||||
import com.wordnik.swagger.annotations.*;
|
import com.wordnik.swagger.annotations.*;
|
||||||
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||||
|
|
||||||
|
|
||||||
@ApiModel(description = "")
|
@ApiModel(description = "")
|
||||||
public class ApiTokenStatus {
|
public class ApiTokenStatus {
|
||||||
|
|
||||||
private Boolean valid = null;
|
private Boolean valid = null;
|
||||||
private String token = null;
|
private String token = null;
|
||||||
private Long resetsInMillis = null;
|
private Long resetsInMillis = null;
|
||||||
|
|
||||||
//public enum resetsInMillisEnum { };
|
|
||||||
|
|
||||||
private Long remainingCalls = null;
|
private Long remainingCalls = null;
|
||||||
|
|
||||||
//public enum remainingCallsEnum { };
|
|
||||||
|
|
||||||
private Long expiresInMillis = null;
|
private Long expiresInMillis = null;
|
||||||
|
|
||||||
//public enum expiresInMillisEnum { };
|
|
||||||
|
|
||||||
private Long totalRequests = null;
|
private Long totalRequests = null;
|
||||||
|
|
||||||
//public enum totalRequestsEnum { };
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
**/
|
**/
|
||||||
@ApiModelProperty(required = false, value = "")
|
@ApiModelProperty(required = false, value = "")
|
||||||
|
@JsonProperty("valid")
|
||||||
public Boolean getValid() {
|
public Boolean getValid() {
|
||||||
return valid;
|
return valid;
|
||||||
}
|
}
|
||||||
@ -40,6 +31,7 @@ public class ApiTokenStatus {
|
|||||||
/**
|
/**
|
||||||
**/
|
**/
|
||||||
@ApiModelProperty(required = false, value = "")
|
@ApiModelProperty(required = false, value = "")
|
||||||
|
@JsonProperty("token")
|
||||||
public String getToken() {
|
public String getToken() {
|
||||||
return token;
|
return token;
|
||||||
}
|
}
|
||||||
@ -51,6 +43,7 @@ public class ApiTokenStatus {
|
|||||||
/**
|
/**
|
||||||
**/
|
**/
|
||||||
@ApiModelProperty(required = false, value = "")
|
@ApiModelProperty(required = false, value = "")
|
||||||
|
@JsonProperty("resetsInMillis")
|
||||||
public Long getResetsInMillis() {
|
public Long getResetsInMillis() {
|
||||||
return resetsInMillis;
|
return resetsInMillis;
|
||||||
}
|
}
|
||||||
@ -62,6 +55,7 @@ public class ApiTokenStatus {
|
|||||||
/**
|
/**
|
||||||
**/
|
**/
|
||||||
@ApiModelProperty(required = false, value = "")
|
@ApiModelProperty(required = false, value = "")
|
||||||
|
@JsonProperty("remainingCalls")
|
||||||
public Long getRemainingCalls() {
|
public Long getRemainingCalls() {
|
||||||
return remainingCalls;
|
return remainingCalls;
|
||||||
}
|
}
|
||||||
@ -73,6 +67,7 @@ public class ApiTokenStatus {
|
|||||||
/**
|
/**
|
||||||
**/
|
**/
|
||||||
@ApiModelProperty(required = false, value = "")
|
@ApiModelProperty(required = false, value = "")
|
||||||
|
@JsonProperty("expiresInMillis")
|
||||||
public Long getExpiresInMillis() {
|
public Long getExpiresInMillis() {
|
||||||
return expiresInMillis;
|
return expiresInMillis;
|
||||||
}
|
}
|
||||||
@ -84,6 +79,7 @@ public class ApiTokenStatus {
|
|||||||
/**
|
/**
|
||||||
**/
|
**/
|
||||||
@ApiModelProperty(required = false, value = "")
|
@ApiModelProperty(required = false, value = "")
|
||||||
|
@JsonProperty("totalRequests")
|
||||||
public Long getTotalRequests() {
|
public Long getTotalRequests() {
|
||||||
return totalRequests;
|
return totalRequests;
|
||||||
}
|
}
|
||||||
|
@ -3,47 +3,32 @@ package io.swagger.client.model;
|
|||||||
import java.util.Date;
|
import java.util.Date;
|
||||||
|
|
||||||
import com.wordnik.swagger.annotations.*;
|
import com.wordnik.swagger.annotations.*;
|
||||||
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||||
|
|
||||||
|
|
||||||
@ApiModel(description = "")
|
@ApiModel(description = "")
|
||||||
public class AudioFile {
|
public class AudioFile {
|
||||||
|
|
||||||
private String attributionUrl = null;
|
private String attributionUrl = null;
|
||||||
private Integer commentCount = null;
|
private Integer commentCount = null;
|
||||||
|
|
||||||
//public enum commentCountEnum { };
|
|
||||||
|
|
||||||
private Integer voteCount = null;
|
private Integer voteCount = null;
|
||||||
|
|
||||||
//public enum voteCountEnum { };
|
|
||||||
|
|
||||||
private String fileUrl = null;
|
private String fileUrl = null;
|
||||||
private String audioType = null;
|
private String audioType = null;
|
||||||
private Long id = null;
|
private Long id = null;
|
||||||
|
|
||||||
//public enum idEnum { };
|
|
||||||
|
|
||||||
private Double duration = null;
|
private Double duration = null;
|
||||||
|
|
||||||
//public enum durationEnum { };
|
|
||||||
|
|
||||||
private String attributionText = null;
|
private String attributionText = null;
|
||||||
private String createdBy = null;
|
private String createdBy = null;
|
||||||
private String description = null;
|
private String description = null;
|
||||||
private Date createdAt = null;
|
private Date createdAt = null;
|
||||||
private Float voteWeightedAverage = null;
|
private Float voteWeightedAverage = null;
|
||||||
|
|
||||||
//public enum voteWeightedAverageEnum { };
|
|
||||||
|
|
||||||
private Float voteAverage = null;
|
private Float voteAverage = null;
|
||||||
|
|
||||||
//public enum voteAverageEnum { };
|
|
||||||
|
|
||||||
private String word = null;
|
private String word = null;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
**/
|
**/
|
||||||
@ApiModelProperty(required = false, value = "")
|
@ApiModelProperty(required = false, value = "")
|
||||||
|
@JsonProperty("attributionUrl")
|
||||||
public String getAttributionUrl() {
|
public String getAttributionUrl() {
|
||||||
return attributionUrl;
|
return attributionUrl;
|
||||||
}
|
}
|
||||||
@ -55,6 +40,7 @@ public class AudioFile {
|
|||||||
/**
|
/**
|
||||||
**/
|
**/
|
||||||
@ApiModelProperty(required = false, value = "")
|
@ApiModelProperty(required = false, value = "")
|
||||||
|
@JsonProperty("commentCount")
|
||||||
public Integer getCommentCount() {
|
public Integer getCommentCount() {
|
||||||
return commentCount;
|
return commentCount;
|
||||||
}
|
}
|
||||||
@ -66,6 +52,7 @@ public class AudioFile {
|
|||||||
/**
|
/**
|
||||||
**/
|
**/
|
||||||
@ApiModelProperty(required = false, value = "")
|
@ApiModelProperty(required = false, value = "")
|
||||||
|
@JsonProperty("voteCount")
|
||||||
public Integer getVoteCount() {
|
public Integer getVoteCount() {
|
||||||
return voteCount;
|
return voteCount;
|
||||||
}
|
}
|
||||||
@ -77,6 +64,7 @@ public class AudioFile {
|
|||||||
/**
|
/**
|
||||||
**/
|
**/
|
||||||
@ApiModelProperty(required = false, value = "")
|
@ApiModelProperty(required = false, value = "")
|
||||||
|
@JsonProperty("fileUrl")
|
||||||
public String getFileUrl() {
|
public String getFileUrl() {
|
||||||
return fileUrl;
|
return fileUrl;
|
||||||
}
|
}
|
||||||
@ -88,6 +76,7 @@ public class AudioFile {
|
|||||||
/**
|
/**
|
||||||
**/
|
**/
|
||||||
@ApiModelProperty(required = false, value = "")
|
@ApiModelProperty(required = false, value = "")
|
||||||
|
@JsonProperty("audioType")
|
||||||
public String getAudioType() {
|
public String getAudioType() {
|
||||||
return audioType;
|
return audioType;
|
||||||
}
|
}
|
||||||
@ -99,6 +88,7 @@ public class AudioFile {
|
|||||||
/**
|
/**
|
||||||
**/
|
**/
|
||||||
@ApiModelProperty(required = false, value = "")
|
@ApiModelProperty(required = false, value = "")
|
||||||
|
@JsonProperty("id")
|
||||||
public Long getId() {
|
public Long getId() {
|
||||||
return id;
|
return id;
|
||||||
}
|
}
|
||||||
@ -110,6 +100,7 @@ public class AudioFile {
|
|||||||
/**
|
/**
|
||||||
**/
|
**/
|
||||||
@ApiModelProperty(required = false, value = "")
|
@ApiModelProperty(required = false, value = "")
|
||||||
|
@JsonProperty("duration")
|
||||||
public Double getDuration() {
|
public Double getDuration() {
|
||||||
return duration;
|
return duration;
|
||||||
}
|
}
|
||||||
@ -121,6 +112,7 @@ public class AudioFile {
|
|||||||
/**
|
/**
|
||||||
**/
|
**/
|
||||||
@ApiModelProperty(required = false, value = "")
|
@ApiModelProperty(required = false, value = "")
|
||||||
|
@JsonProperty("attributionText")
|
||||||
public String getAttributionText() {
|
public String getAttributionText() {
|
||||||
return attributionText;
|
return attributionText;
|
||||||
}
|
}
|
||||||
@ -132,6 +124,7 @@ public class AudioFile {
|
|||||||
/**
|
/**
|
||||||
**/
|
**/
|
||||||
@ApiModelProperty(required = false, value = "")
|
@ApiModelProperty(required = false, value = "")
|
||||||
|
@JsonProperty("createdBy")
|
||||||
public String getCreatedBy() {
|
public String getCreatedBy() {
|
||||||
return createdBy;
|
return createdBy;
|
||||||
}
|
}
|
||||||
@ -143,6 +136,7 @@ public class AudioFile {
|
|||||||
/**
|
/**
|
||||||
**/
|
**/
|
||||||
@ApiModelProperty(required = false, value = "")
|
@ApiModelProperty(required = false, value = "")
|
||||||
|
@JsonProperty("description")
|
||||||
public String getDescription() {
|
public String getDescription() {
|
||||||
return description;
|
return description;
|
||||||
}
|
}
|
||||||
@ -154,6 +148,7 @@ public class AudioFile {
|
|||||||
/**
|
/**
|
||||||
**/
|
**/
|
||||||
@ApiModelProperty(required = false, value = "")
|
@ApiModelProperty(required = false, value = "")
|
||||||
|
@JsonProperty("createdAt")
|
||||||
public Date getCreatedAt() {
|
public Date getCreatedAt() {
|
||||||
return createdAt;
|
return createdAt;
|
||||||
}
|
}
|
||||||
@ -165,6 +160,7 @@ public class AudioFile {
|
|||||||
/**
|
/**
|
||||||
**/
|
**/
|
||||||
@ApiModelProperty(required = false, value = "")
|
@ApiModelProperty(required = false, value = "")
|
||||||
|
@JsonProperty("voteWeightedAverage")
|
||||||
public Float getVoteWeightedAverage() {
|
public Float getVoteWeightedAverage() {
|
||||||
return voteWeightedAverage;
|
return voteWeightedAverage;
|
||||||
}
|
}
|
||||||
@ -176,6 +172,7 @@ public class AudioFile {
|
|||||||
/**
|
/**
|
||||||
**/
|
**/
|
||||||
@ApiModelProperty(required = false, value = "")
|
@ApiModelProperty(required = false, value = "")
|
||||||
|
@JsonProperty("voteAverage")
|
||||||
public Float getVoteAverage() {
|
public Float getVoteAverage() {
|
||||||
return voteAverage;
|
return voteAverage;
|
||||||
}
|
}
|
||||||
@ -187,6 +184,7 @@ public class AudioFile {
|
|||||||
/**
|
/**
|
||||||
**/
|
**/
|
||||||
@ApiModelProperty(required = false, value = "")
|
@ApiModelProperty(required = false, value = "")
|
||||||
|
@JsonProperty("word")
|
||||||
public String getWord() {
|
public String getWord() {
|
||||||
return word;
|
return word;
|
||||||
}
|
}
|
||||||
|
@ -2,20 +2,20 @@ package io.swagger.client.model;
|
|||||||
|
|
||||||
|
|
||||||
import com.wordnik.swagger.annotations.*;
|
import com.wordnik.swagger.annotations.*;
|
||||||
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||||
|
|
||||||
|
|
||||||
@ApiModel(description = "")
|
@ApiModel(description = "")
|
||||||
public class AudioType {
|
public class AudioType {
|
||||||
|
|
||||||
private Integer id = null;
|
private Integer id = null;
|
||||||
|
|
||||||
//public enum idEnum { };
|
|
||||||
|
|
||||||
private String name = null;
|
private String name = null;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
**/
|
**/
|
||||||
@ApiModelProperty(required = false, value = "")
|
@ApiModelProperty(required = false, value = "")
|
||||||
|
@JsonProperty("id")
|
||||||
public Integer getId() {
|
public Integer getId() {
|
||||||
return id;
|
return id;
|
||||||
}
|
}
|
||||||
@ -27,6 +27,7 @@ public class AudioType {
|
|||||||
/**
|
/**
|
||||||
**/
|
**/
|
||||||
@ApiModelProperty(required = false, value = "")
|
@ApiModelProperty(required = false, value = "")
|
||||||
|
@JsonProperty("name")
|
||||||
public String getName() {
|
public String getName() {
|
||||||
return name;
|
return name;
|
||||||
}
|
}
|
||||||
|
@ -2,21 +2,21 @@ package io.swagger.client.model;
|
|||||||
|
|
||||||
|
|
||||||
import com.wordnik.swagger.annotations.*;
|
import com.wordnik.swagger.annotations.*;
|
||||||
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||||
|
|
||||||
|
|
||||||
@ApiModel(description = "")
|
@ApiModel(description = "")
|
||||||
public class AuthenticationToken {
|
public class AuthenticationToken {
|
||||||
|
|
||||||
private String token = null;
|
private String token = null;
|
||||||
private Long userId = null;
|
private Long userId = null;
|
||||||
|
|
||||||
//public enum userIdEnum { };
|
|
||||||
|
|
||||||
private String userSignature = null;
|
private String userSignature = null;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
**/
|
**/
|
||||||
@ApiModelProperty(required = false, value = "")
|
@ApiModelProperty(required = false, value = "")
|
||||||
|
@JsonProperty("token")
|
||||||
public String getToken() {
|
public String getToken() {
|
||||||
return token;
|
return token;
|
||||||
}
|
}
|
||||||
@ -28,6 +28,7 @@ public class AuthenticationToken {
|
|||||||
/**
|
/**
|
||||||
**/
|
**/
|
||||||
@ApiModelProperty(required = false, value = "")
|
@ApiModelProperty(required = false, value = "")
|
||||||
|
@JsonProperty("userId")
|
||||||
public Long getUserId() {
|
public Long getUserId() {
|
||||||
return userId;
|
return userId;
|
||||||
}
|
}
|
||||||
@ -39,6 +40,7 @@ public class AuthenticationToken {
|
|||||||
/**
|
/**
|
||||||
**/
|
**/
|
||||||
@ApiModelProperty(required = false, value = "")
|
@ApiModelProperty(required = false, value = "")
|
||||||
|
@JsonProperty("userSignature")
|
||||||
public String getUserSignature() {
|
public String getUserSignature() {
|
||||||
return userSignature;
|
return userSignature;
|
||||||
}
|
}
|
||||||
|
@ -2,29 +2,23 @@ package io.swagger.client.model;
|
|||||||
|
|
||||||
|
|
||||||
import com.wordnik.swagger.annotations.*;
|
import com.wordnik.swagger.annotations.*;
|
||||||
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||||
|
|
||||||
|
|
||||||
@ApiModel(description = "")
|
@ApiModel(description = "")
|
||||||
public class Bigram {
|
public class Bigram {
|
||||||
|
|
||||||
private Long count = null;
|
private Long count = null;
|
||||||
|
|
||||||
//public enum countEnum { };
|
|
||||||
|
|
||||||
private String gram2 = null;
|
private String gram2 = null;
|
||||||
private String gram1 = null;
|
private String gram1 = null;
|
||||||
private Double wlmi = null;
|
private Double wlmi = null;
|
||||||
|
|
||||||
//public enum wlmiEnum { };
|
|
||||||
|
|
||||||
private Double mi = null;
|
private Double mi = null;
|
||||||
|
|
||||||
//public enum miEnum { };
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
**/
|
**/
|
||||||
@ApiModelProperty(required = false, value = "")
|
@ApiModelProperty(required = false, value = "")
|
||||||
|
@JsonProperty("count")
|
||||||
public Long getCount() {
|
public Long getCount() {
|
||||||
return count;
|
return count;
|
||||||
}
|
}
|
||||||
@ -36,6 +30,7 @@ public class Bigram {
|
|||||||
/**
|
/**
|
||||||
**/
|
**/
|
||||||
@ApiModelProperty(required = false, value = "")
|
@ApiModelProperty(required = false, value = "")
|
||||||
|
@JsonProperty("gram2")
|
||||||
public String getGram2() {
|
public String getGram2() {
|
||||||
return gram2;
|
return gram2;
|
||||||
}
|
}
|
||||||
@ -47,6 +42,7 @@ public class Bigram {
|
|||||||
/**
|
/**
|
||||||
**/
|
**/
|
||||||
@ApiModelProperty(required = false, value = "")
|
@ApiModelProperty(required = false, value = "")
|
||||||
|
@JsonProperty("gram1")
|
||||||
public String getGram1() {
|
public String getGram1() {
|
||||||
return gram1;
|
return gram1;
|
||||||
}
|
}
|
||||||
@ -58,6 +54,7 @@ public class Bigram {
|
|||||||
/**
|
/**
|
||||||
**/
|
**/
|
||||||
@ApiModelProperty(required = false, value = "")
|
@ApiModelProperty(required = false, value = "")
|
||||||
|
@JsonProperty("wlmi")
|
||||||
public Double getWlmi() {
|
public Double getWlmi() {
|
||||||
return wlmi;
|
return wlmi;
|
||||||
}
|
}
|
||||||
@ -69,6 +66,7 @@ public class Bigram {
|
|||||||
/**
|
/**
|
||||||
**/
|
**/
|
||||||
@ApiModelProperty(required = false, value = "")
|
@ApiModelProperty(required = false, value = "")
|
||||||
|
@JsonProperty("mi")
|
||||||
public Double getMi() {
|
public Double getMi() {
|
||||||
return mi;
|
return mi;
|
||||||
}
|
}
|
||||||
|
@ -2,20 +2,20 @@ package io.swagger.client.model;
|
|||||||
|
|
||||||
|
|
||||||
import com.wordnik.swagger.annotations.*;
|
import com.wordnik.swagger.annotations.*;
|
||||||
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||||
|
|
||||||
|
|
||||||
@ApiModel(description = "")
|
@ApiModel(description = "")
|
||||||
public class Category {
|
public class Category {
|
||||||
|
|
||||||
private Long id = null;
|
private Long id = null;
|
||||||
|
|
||||||
//public enum idEnum { };
|
|
||||||
|
|
||||||
private String name = null;
|
private String name = null;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
**/
|
**/
|
||||||
@ApiModelProperty(required = false, value = "")
|
@ApiModelProperty(required = false, value = "")
|
||||||
|
@JsonProperty("id")
|
||||||
public Long getId() {
|
public Long getId() {
|
||||||
return id;
|
return id;
|
||||||
}
|
}
|
||||||
@ -27,6 +27,7 @@ public class Category {
|
|||||||
/**
|
/**
|
||||||
**/
|
**/
|
||||||
@ApiModelProperty(required = false, value = "")
|
@ApiModelProperty(required = false, value = "")
|
||||||
|
@JsonProperty("name")
|
||||||
public String getName() {
|
public String getName() {
|
||||||
return name;
|
return name;
|
||||||
}
|
}
|
||||||
|
@ -2,17 +2,20 @@ package io.swagger.client.model;
|
|||||||
|
|
||||||
|
|
||||||
import com.wordnik.swagger.annotations.*;
|
import com.wordnik.swagger.annotations.*;
|
||||||
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||||
|
|
||||||
|
|
||||||
@ApiModel(description = "")
|
@ApiModel(description = "")
|
||||||
public class Citation {
|
public class Citation {
|
||||||
|
|
||||||
private String cite = null;
|
private String cite = null;
|
||||||
private String source = null;
|
private String source = null;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
**/
|
**/
|
||||||
@ApiModelProperty(required = false, value = "")
|
@ApiModelProperty(required = false, value = "")
|
||||||
|
@JsonProperty("cite")
|
||||||
public String getCite() {
|
public String getCite() {
|
||||||
return cite;
|
return cite;
|
||||||
}
|
}
|
||||||
@ -24,6 +27,7 @@ public class Citation {
|
|||||||
/**
|
/**
|
||||||
**/
|
**/
|
||||||
@ApiModelProperty(required = false, value = "")
|
@ApiModelProperty(required = false, value = "")
|
||||||
|
@JsonProperty("source")
|
||||||
public String getSource() {
|
public String getSource() {
|
||||||
return source;
|
return source;
|
||||||
}
|
}
|
||||||
|
@ -2,20 +2,20 @@ package io.swagger.client.model;
|
|||||||
|
|
||||||
|
|
||||||
import com.wordnik.swagger.annotations.*;
|
import com.wordnik.swagger.annotations.*;
|
||||||
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||||
|
|
||||||
|
|
||||||
@ApiModel(description = "")
|
@ApiModel(description = "")
|
||||||
public class ContentProvider {
|
public class ContentProvider {
|
||||||
|
|
||||||
private Integer id = null;
|
private Integer id = null;
|
||||||
|
|
||||||
//public enum idEnum { };
|
|
||||||
|
|
||||||
private String name = null;
|
private String name = null;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
**/
|
**/
|
||||||
@ApiModelProperty(required = false, value = "")
|
@ApiModelProperty(required = false, value = "")
|
||||||
|
@JsonProperty("id")
|
||||||
public Integer getId() {
|
public Integer getId() {
|
||||||
return id;
|
return id;
|
||||||
}
|
}
|
||||||
@ -27,6 +27,7 @@ public class ContentProvider {
|
|||||||
/**
|
/**
|
||||||
**/
|
**/
|
||||||
@ApiModelProperty(required = false, value = "")
|
@ApiModelProperty(required = false, value = "")
|
||||||
|
@JsonProperty("name")
|
||||||
public String getName() {
|
public String getName() {
|
||||||
return name;
|
return name;
|
||||||
}
|
}
|
||||||
|
@ -1,27 +1,26 @@
|
|||||||
package io.swagger.client.model;
|
package io.swagger.client.model;
|
||||||
|
|
||||||
import io.swagger.client.model.ExampleUsage;
|
|
||||||
import io.swagger.client.model.Label;
|
|
||||||
import io.swagger.client.model.Note;
|
|
||||||
import java.util.*;
|
|
||||||
import io.swagger.client.model.Related;
|
import io.swagger.client.model.Related;
|
||||||
import io.swagger.client.model.Citation;
|
import io.swagger.client.model.Note;
|
||||||
|
import io.swagger.client.model.Label;
|
||||||
import io.swagger.client.model.TextPron;
|
import io.swagger.client.model.TextPron;
|
||||||
|
import io.swagger.client.model.ExampleUsage;
|
||||||
|
import java.util.*;
|
||||||
|
import io.swagger.client.model.Citation;
|
||||||
|
|
||||||
import com.wordnik.swagger.annotations.*;
|
import com.wordnik.swagger.annotations.*;
|
||||||
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||||
|
|
||||||
|
|
||||||
@ApiModel(description = "")
|
@ApiModel(description = "")
|
||||||
public class Definition {
|
public class Definition {
|
||||||
|
|
||||||
private String extendedText = null;
|
private String extendedText = null;
|
||||||
private String text = null;
|
private String text = null;
|
||||||
private String sourceDictionary = null;
|
private String sourceDictionary = null;
|
||||||
private List<Citation> citations = new ArrayList<Citation>() ;
|
private List<Citation> citations = new ArrayList<Citation>() ;
|
||||||
private List<Label> labels = new ArrayList<Label>() ;
|
private List<Label> labels = new ArrayList<Label>() ;
|
||||||
private Float score = null;
|
private Float score = null;
|
||||||
|
|
||||||
//public enum scoreEnum { };
|
|
||||||
|
|
||||||
private List<ExampleUsage> exampleUses = new ArrayList<ExampleUsage>() ;
|
private List<ExampleUsage> exampleUses = new ArrayList<ExampleUsage>() ;
|
||||||
private String attributionUrl = null;
|
private String attributionUrl = null;
|
||||||
private String seqString = null;
|
private String seqString = null;
|
||||||
@ -32,11 +31,12 @@ public class Definition {
|
|||||||
private List<Note> notes = new ArrayList<Note>() ;
|
private List<Note> notes = new ArrayList<Note>() ;
|
||||||
private List<TextPron> textProns = new ArrayList<TextPron>() ;
|
private List<TextPron> textProns = new ArrayList<TextPron>() ;
|
||||||
private String partOfSpeech = null;
|
private String partOfSpeech = null;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
**/
|
**/
|
||||||
@ApiModelProperty(required = false, value = "")
|
@ApiModelProperty(required = false, value = "")
|
||||||
|
@JsonProperty("extendedText")
|
||||||
public String getExtendedText() {
|
public String getExtendedText() {
|
||||||
return extendedText;
|
return extendedText;
|
||||||
}
|
}
|
||||||
@ -48,6 +48,7 @@ public class Definition {
|
|||||||
/**
|
/**
|
||||||
**/
|
**/
|
||||||
@ApiModelProperty(required = false, value = "")
|
@ApiModelProperty(required = false, value = "")
|
||||||
|
@JsonProperty("text")
|
||||||
public String getText() {
|
public String getText() {
|
||||||
return text;
|
return text;
|
||||||
}
|
}
|
||||||
@ -59,6 +60,7 @@ public class Definition {
|
|||||||
/**
|
/**
|
||||||
**/
|
**/
|
||||||
@ApiModelProperty(required = false, value = "")
|
@ApiModelProperty(required = false, value = "")
|
||||||
|
@JsonProperty("sourceDictionary")
|
||||||
public String getSourceDictionary() {
|
public String getSourceDictionary() {
|
||||||
return sourceDictionary;
|
return sourceDictionary;
|
||||||
}
|
}
|
||||||
@ -70,6 +72,7 @@ public class Definition {
|
|||||||
/**
|
/**
|
||||||
**/
|
**/
|
||||||
@ApiModelProperty(required = false, value = "")
|
@ApiModelProperty(required = false, value = "")
|
||||||
|
@JsonProperty("citations")
|
||||||
public List<Citation> getCitations() {
|
public List<Citation> getCitations() {
|
||||||
return citations;
|
return citations;
|
||||||
}
|
}
|
||||||
@ -81,6 +84,7 @@ public class Definition {
|
|||||||
/**
|
/**
|
||||||
**/
|
**/
|
||||||
@ApiModelProperty(required = false, value = "")
|
@ApiModelProperty(required = false, value = "")
|
||||||
|
@JsonProperty("labels")
|
||||||
public List<Label> getLabels() {
|
public List<Label> getLabels() {
|
||||||
return labels;
|
return labels;
|
||||||
}
|
}
|
||||||
@ -92,6 +96,7 @@ public class Definition {
|
|||||||
/**
|
/**
|
||||||
**/
|
**/
|
||||||
@ApiModelProperty(required = false, value = "")
|
@ApiModelProperty(required = false, value = "")
|
||||||
|
@JsonProperty("score")
|
||||||
public Float getScore() {
|
public Float getScore() {
|
||||||
return score;
|
return score;
|
||||||
}
|
}
|
||||||
@ -103,6 +108,7 @@ public class Definition {
|
|||||||
/**
|
/**
|
||||||
**/
|
**/
|
||||||
@ApiModelProperty(required = false, value = "")
|
@ApiModelProperty(required = false, value = "")
|
||||||
|
@JsonProperty("exampleUses")
|
||||||
public List<ExampleUsage> getExampleUses() {
|
public List<ExampleUsage> getExampleUses() {
|
||||||
return exampleUses;
|
return exampleUses;
|
||||||
}
|
}
|
||||||
@ -114,6 +120,7 @@ public class Definition {
|
|||||||
/**
|
/**
|
||||||
**/
|
**/
|
||||||
@ApiModelProperty(required = false, value = "")
|
@ApiModelProperty(required = false, value = "")
|
||||||
|
@JsonProperty("attributionUrl")
|
||||||
public String getAttributionUrl() {
|
public String getAttributionUrl() {
|
||||||
return attributionUrl;
|
return attributionUrl;
|
||||||
}
|
}
|
||||||
@ -125,6 +132,7 @@ public class Definition {
|
|||||||
/**
|
/**
|
||||||
**/
|
**/
|
||||||
@ApiModelProperty(required = false, value = "")
|
@ApiModelProperty(required = false, value = "")
|
||||||
|
@JsonProperty("seqString")
|
||||||
public String getSeqString() {
|
public String getSeqString() {
|
||||||
return seqString;
|
return seqString;
|
||||||
}
|
}
|
||||||
@ -136,6 +144,7 @@ public class Definition {
|
|||||||
/**
|
/**
|
||||||
**/
|
**/
|
||||||
@ApiModelProperty(required = false, value = "")
|
@ApiModelProperty(required = false, value = "")
|
||||||
|
@JsonProperty("attributionText")
|
||||||
public String getAttributionText() {
|
public String getAttributionText() {
|
||||||
return attributionText;
|
return attributionText;
|
||||||
}
|
}
|
||||||
@ -147,6 +156,7 @@ public class Definition {
|
|||||||
/**
|
/**
|
||||||
**/
|
**/
|
||||||
@ApiModelProperty(required = false, value = "")
|
@ApiModelProperty(required = false, value = "")
|
||||||
|
@JsonProperty("relatedWords")
|
||||||
public List<Related> getRelatedWords() {
|
public List<Related> getRelatedWords() {
|
||||||
return relatedWords;
|
return relatedWords;
|
||||||
}
|
}
|
||||||
@ -158,6 +168,7 @@ public class Definition {
|
|||||||
/**
|
/**
|
||||||
**/
|
**/
|
||||||
@ApiModelProperty(required = false, value = "")
|
@ApiModelProperty(required = false, value = "")
|
||||||
|
@JsonProperty("sequence")
|
||||||
public String getSequence() {
|
public String getSequence() {
|
||||||
return sequence;
|
return sequence;
|
||||||
}
|
}
|
||||||
@ -169,6 +180,7 @@ public class Definition {
|
|||||||
/**
|
/**
|
||||||
**/
|
**/
|
||||||
@ApiModelProperty(required = false, value = "")
|
@ApiModelProperty(required = false, value = "")
|
||||||
|
@JsonProperty("word")
|
||||||
public String getWord() {
|
public String getWord() {
|
||||||
return word;
|
return word;
|
||||||
}
|
}
|
||||||
@ -180,6 +192,7 @@ public class Definition {
|
|||||||
/**
|
/**
|
||||||
**/
|
**/
|
||||||
@ApiModelProperty(required = false, value = "")
|
@ApiModelProperty(required = false, value = "")
|
||||||
|
@JsonProperty("notes")
|
||||||
public List<Note> getNotes() {
|
public List<Note> getNotes() {
|
||||||
return notes;
|
return notes;
|
||||||
}
|
}
|
||||||
@ -191,6 +204,7 @@ public class Definition {
|
|||||||
/**
|
/**
|
||||||
**/
|
**/
|
||||||
@ApiModelProperty(required = false, value = "")
|
@ApiModelProperty(required = false, value = "")
|
||||||
|
@JsonProperty("textProns")
|
||||||
public List<TextPron> getTextProns() {
|
public List<TextPron> getTextProns() {
|
||||||
return textProns;
|
return textProns;
|
||||||
}
|
}
|
||||||
@ -202,6 +216,7 @@ public class Definition {
|
|||||||
/**
|
/**
|
||||||
**/
|
**/
|
||||||
@ApiModelProperty(required = false, value = "")
|
@ApiModelProperty(required = false, value = "")
|
||||||
|
@JsonProperty("partOfSpeech")
|
||||||
public String getPartOfSpeech() {
|
public String getPartOfSpeech() {
|
||||||
return partOfSpeech;
|
return partOfSpeech;
|
||||||
}
|
}
|
||||||
|
@ -1,23 +1,23 @@
|
|||||||
package io.swagger.client.model;
|
package io.swagger.client.model;
|
||||||
|
|
||||||
import java.util.*;
|
|
||||||
import io.swagger.client.model.Definition;
|
import io.swagger.client.model.Definition;
|
||||||
|
import java.util.*;
|
||||||
|
|
||||||
import com.wordnik.swagger.annotations.*;
|
import com.wordnik.swagger.annotations.*;
|
||||||
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||||
|
|
||||||
|
|
||||||
@ApiModel(description = "")
|
@ApiModel(description = "")
|
||||||
public class DefinitionSearchResults {
|
public class DefinitionSearchResults {
|
||||||
|
|
||||||
private List<Definition> results = new ArrayList<Definition>() ;
|
private List<Definition> results = new ArrayList<Definition>() ;
|
||||||
private Integer totalResults = null;
|
private Integer totalResults = null;
|
||||||
|
|
||||||
//public enum totalResultsEnum { };
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
**/
|
**/
|
||||||
@ApiModelProperty(required = false, value = "")
|
@ApiModelProperty(required = false, value = "")
|
||||||
|
@JsonProperty("results")
|
||||||
public List<Definition> getResults() {
|
public List<Definition> getResults() {
|
||||||
return results;
|
return results;
|
||||||
}
|
}
|
||||||
@ -29,6 +29,7 @@ public class DefinitionSearchResults {
|
|||||||
/**
|
/**
|
||||||
**/
|
**/
|
||||||
@ApiModelProperty(required = false, value = "")
|
@ApiModelProperty(required = false, value = "")
|
||||||
|
@JsonProperty("totalResults")
|
||||||
public Integer getTotalResults() {
|
public Integer getTotalResults() {
|
||||||
return totalResults;
|
return totalResults;
|
||||||
}
|
}
|
||||||
|
@ -1,22 +1,18 @@
|
|||||||
package io.swagger.client.model;
|
package io.swagger.client.model;
|
||||||
|
|
||||||
import io.swagger.client.model.Sentence;
|
|
||||||
import io.swagger.client.model.ContentProvider;
|
import io.swagger.client.model.ContentProvider;
|
||||||
|
import io.swagger.client.model.Sentence;
|
||||||
import io.swagger.client.model.ScoredWord;
|
import io.swagger.client.model.ScoredWord;
|
||||||
|
|
||||||
import com.wordnik.swagger.annotations.*;
|
import com.wordnik.swagger.annotations.*;
|
||||||
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||||
|
|
||||||
|
|
||||||
@ApiModel(description = "")
|
@ApiModel(description = "")
|
||||||
public class Example {
|
public class Example {
|
||||||
|
|
||||||
private Long id = null;
|
private Long id = null;
|
||||||
|
|
||||||
//public enum idEnum { };
|
|
||||||
|
|
||||||
private Long exampleId = null;
|
private Long exampleId = null;
|
||||||
|
|
||||||
//public enum exampleIdEnum { };
|
|
||||||
|
|
||||||
private String title = null;
|
private String title = null;
|
||||||
private String text = null;
|
private String text = null;
|
||||||
private ScoredWord score = null;
|
private ScoredWord score = null;
|
||||||
@ -24,23 +20,15 @@ public class Example {
|
|||||||
private String word = null;
|
private String word = null;
|
||||||
private ContentProvider provider = null;
|
private ContentProvider provider = null;
|
||||||
private Integer year = null;
|
private Integer year = null;
|
||||||
|
|
||||||
//public enum yearEnum { };
|
|
||||||
|
|
||||||
private Float rating = null;
|
private Float rating = null;
|
||||||
|
|
||||||
//public enum ratingEnum { };
|
|
||||||
|
|
||||||
private Long documentId = null;
|
private Long documentId = null;
|
||||||
|
|
||||||
//public enum documentIdEnum { };
|
|
||||||
|
|
||||||
private String url = null;
|
private String url = null;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
**/
|
**/
|
||||||
@ApiModelProperty(required = false, value = "")
|
@ApiModelProperty(required = false, value = "")
|
||||||
|
@JsonProperty("id")
|
||||||
public Long getId() {
|
public Long getId() {
|
||||||
return id;
|
return id;
|
||||||
}
|
}
|
||||||
@ -52,6 +40,7 @@ public class Example {
|
|||||||
/**
|
/**
|
||||||
**/
|
**/
|
||||||
@ApiModelProperty(required = false, value = "")
|
@ApiModelProperty(required = false, value = "")
|
||||||
|
@JsonProperty("exampleId")
|
||||||
public Long getExampleId() {
|
public Long getExampleId() {
|
||||||
return exampleId;
|
return exampleId;
|
||||||
}
|
}
|
||||||
@ -63,6 +52,7 @@ public class Example {
|
|||||||
/**
|
/**
|
||||||
**/
|
**/
|
||||||
@ApiModelProperty(required = false, value = "")
|
@ApiModelProperty(required = false, value = "")
|
||||||
|
@JsonProperty("title")
|
||||||
public String getTitle() {
|
public String getTitle() {
|
||||||
return title;
|
return title;
|
||||||
}
|
}
|
||||||
@ -74,6 +64,7 @@ public class Example {
|
|||||||
/**
|
/**
|
||||||
**/
|
**/
|
||||||
@ApiModelProperty(required = false, value = "")
|
@ApiModelProperty(required = false, value = "")
|
||||||
|
@JsonProperty("text")
|
||||||
public String getText() {
|
public String getText() {
|
||||||
return text;
|
return text;
|
||||||
}
|
}
|
||||||
@ -85,6 +76,7 @@ public class Example {
|
|||||||
/**
|
/**
|
||||||
**/
|
**/
|
||||||
@ApiModelProperty(required = false, value = "")
|
@ApiModelProperty(required = false, value = "")
|
||||||
|
@JsonProperty("score")
|
||||||
public ScoredWord getScore() {
|
public ScoredWord getScore() {
|
||||||
return score;
|
return score;
|
||||||
}
|
}
|
||||||
@ -96,6 +88,7 @@ public class Example {
|
|||||||
/**
|
/**
|
||||||
**/
|
**/
|
||||||
@ApiModelProperty(required = false, value = "")
|
@ApiModelProperty(required = false, value = "")
|
||||||
|
@JsonProperty("sentence")
|
||||||
public Sentence getSentence() {
|
public Sentence getSentence() {
|
||||||
return sentence;
|
return sentence;
|
||||||
}
|
}
|
||||||
@ -107,6 +100,7 @@ public class Example {
|
|||||||
/**
|
/**
|
||||||
**/
|
**/
|
||||||
@ApiModelProperty(required = false, value = "")
|
@ApiModelProperty(required = false, value = "")
|
||||||
|
@JsonProperty("word")
|
||||||
public String getWord() {
|
public String getWord() {
|
||||||
return word;
|
return word;
|
||||||
}
|
}
|
||||||
@ -118,6 +112,7 @@ public class Example {
|
|||||||
/**
|
/**
|
||||||
**/
|
**/
|
||||||
@ApiModelProperty(required = false, value = "")
|
@ApiModelProperty(required = false, value = "")
|
||||||
|
@JsonProperty("provider")
|
||||||
public ContentProvider getProvider() {
|
public ContentProvider getProvider() {
|
||||||
return provider;
|
return provider;
|
||||||
}
|
}
|
||||||
@ -129,6 +124,7 @@ public class Example {
|
|||||||
/**
|
/**
|
||||||
**/
|
**/
|
||||||
@ApiModelProperty(required = false, value = "")
|
@ApiModelProperty(required = false, value = "")
|
||||||
|
@JsonProperty("year")
|
||||||
public Integer getYear() {
|
public Integer getYear() {
|
||||||
return year;
|
return year;
|
||||||
}
|
}
|
||||||
@ -140,6 +136,7 @@ public class Example {
|
|||||||
/**
|
/**
|
||||||
**/
|
**/
|
||||||
@ApiModelProperty(required = false, value = "")
|
@ApiModelProperty(required = false, value = "")
|
||||||
|
@JsonProperty("rating")
|
||||||
public Float getRating() {
|
public Float getRating() {
|
||||||
return rating;
|
return rating;
|
||||||
}
|
}
|
||||||
@ -151,6 +148,7 @@ public class Example {
|
|||||||
/**
|
/**
|
||||||
**/
|
**/
|
||||||
@ApiModelProperty(required = false, value = "")
|
@ApiModelProperty(required = false, value = "")
|
||||||
|
@JsonProperty("documentId")
|
||||||
public Long getDocumentId() {
|
public Long getDocumentId() {
|
||||||
return documentId;
|
return documentId;
|
||||||
}
|
}
|
||||||
@ -162,6 +160,7 @@ public class Example {
|
|||||||
/**
|
/**
|
||||||
**/
|
**/
|
||||||
@ApiModelProperty(required = false, value = "")
|
@ApiModelProperty(required = false, value = "")
|
||||||
|
@JsonProperty("url")
|
||||||
public String getUrl() {
|
public String getUrl() {
|
||||||
return url;
|
return url;
|
||||||
}
|
}
|
||||||
|
@ -1,21 +1,24 @@
|
|||||||
package io.swagger.client.model;
|
package io.swagger.client.model;
|
||||||
|
|
||||||
import io.swagger.client.model.Example;
|
import io.swagger.client.model.Example;
|
||||||
import io.swagger.client.model.Facet;
|
|
||||||
import java.util.*;
|
import java.util.*;
|
||||||
|
import io.swagger.client.model.Facet;
|
||||||
|
|
||||||
import com.wordnik.swagger.annotations.*;
|
import com.wordnik.swagger.annotations.*;
|
||||||
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||||
|
|
||||||
|
|
||||||
@ApiModel(description = "")
|
@ApiModel(description = "")
|
||||||
public class ExampleSearchResults {
|
public class ExampleSearchResults {
|
||||||
|
|
||||||
private List<Facet> facets = new ArrayList<Facet>() ;
|
private List<Facet> facets = new ArrayList<Facet>() ;
|
||||||
private List<Example> examples = new ArrayList<Example>() ;
|
private List<Example> examples = new ArrayList<Example>() ;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
**/
|
**/
|
||||||
@ApiModelProperty(required = false, value = "")
|
@ApiModelProperty(required = false, value = "")
|
||||||
|
@JsonProperty("facets")
|
||||||
public List<Facet> getFacets() {
|
public List<Facet> getFacets() {
|
||||||
return facets;
|
return facets;
|
||||||
}
|
}
|
||||||
@ -27,6 +30,7 @@ public class ExampleSearchResults {
|
|||||||
/**
|
/**
|
||||||
**/
|
**/
|
||||||
@ApiModelProperty(required = false, value = "")
|
@ApiModelProperty(required = false, value = "")
|
||||||
|
@JsonProperty("examples")
|
||||||
public List<Example> getExamples() {
|
public List<Example> getExamples() {
|
||||||
return examples;
|
return examples;
|
||||||
}
|
}
|
||||||
|
@ -2,16 +2,19 @@ package io.swagger.client.model;
|
|||||||
|
|
||||||
|
|
||||||
import com.wordnik.swagger.annotations.*;
|
import com.wordnik.swagger.annotations.*;
|
||||||
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||||
|
|
||||||
|
|
||||||
@ApiModel(description = "")
|
@ApiModel(description = "")
|
||||||
public class ExampleUsage {
|
public class ExampleUsage {
|
||||||
private String text = null;
|
|
||||||
|
|
||||||
|
private String text = null;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
**/
|
**/
|
||||||
@ApiModelProperty(required = false, value = "")
|
@ApiModelProperty(required = false, value = "")
|
||||||
|
@JsonProperty("text")
|
||||||
public String getText() {
|
public String getText() {
|
||||||
return text;
|
return text;
|
||||||
}
|
}
|
||||||
|
@ -4,17 +4,20 @@ import io.swagger.client.model.FacetValue;
|
|||||||
import java.util.*;
|
import java.util.*;
|
||||||
|
|
||||||
import com.wordnik.swagger.annotations.*;
|
import com.wordnik.swagger.annotations.*;
|
||||||
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||||
|
|
||||||
|
|
||||||
@ApiModel(description = "")
|
@ApiModel(description = "")
|
||||||
public class Facet {
|
public class Facet {
|
||||||
|
|
||||||
private List<FacetValue> facetValues = new ArrayList<FacetValue>() ;
|
private List<FacetValue> facetValues = new ArrayList<FacetValue>() ;
|
||||||
private String name = null;
|
private String name = null;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
**/
|
**/
|
||||||
@ApiModelProperty(required = false, value = "")
|
@ApiModelProperty(required = false, value = "")
|
||||||
|
@JsonProperty("facetValues")
|
||||||
public List<FacetValue> getFacetValues() {
|
public List<FacetValue> getFacetValues() {
|
||||||
return facetValues;
|
return facetValues;
|
||||||
}
|
}
|
||||||
@ -26,6 +29,7 @@ public class Facet {
|
|||||||
/**
|
/**
|
||||||
**/
|
**/
|
||||||
@ApiModelProperty(required = false, value = "")
|
@ApiModelProperty(required = false, value = "")
|
||||||
|
@JsonProperty("name")
|
||||||
public String getName() {
|
public String getName() {
|
||||||
return name;
|
return name;
|
||||||
}
|
}
|
||||||
|
@ -2,20 +2,20 @@ package io.swagger.client.model;
|
|||||||
|
|
||||||
|
|
||||||
import com.wordnik.swagger.annotations.*;
|
import com.wordnik.swagger.annotations.*;
|
||||||
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||||
|
|
||||||
|
|
||||||
@ApiModel(description = "")
|
@ApiModel(description = "")
|
||||||
public class FacetValue {
|
public class FacetValue {
|
||||||
|
|
||||||
private Long count = null;
|
private Long count = null;
|
||||||
|
|
||||||
//public enum countEnum { };
|
|
||||||
|
|
||||||
private String value = null;
|
private String value = null;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
**/
|
**/
|
||||||
@ApiModelProperty(required = false, value = "")
|
@ApiModelProperty(required = false, value = "")
|
||||||
|
@JsonProperty("count")
|
||||||
public Long getCount() {
|
public Long getCount() {
|
||||||
return count;
|
return count;
|
||||||
}
|
}
|
||||||
@ -27,6 +27,7 @@ public class FacetValue {
|
|||||||
/**
|
/**
|
||||||
**/
|
**/
|
||||||
@ApiModelProperty(required = false, value = "")
|
@ApiModelProperty(required = false, value = "")
|
||||||
|
@JsonProperty("value")
|
||||||
public String getValue() {
|
public String getValue() {
|
||||||
return value;
|
return value;
|
||||||
}
|
}
|
||||||
|
@ -2,23 +2,20 @@ package io.swagger.client.model;
|
|||||||
|
|
||||||
|
|
||||||
import com.wordnik.swagger.annotations.*;
|
import com.wordnik.swagger.annotations.*;
|
||||||
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||||
|
|
||||||
|
|
||||||
@ApiModel(description = "")
|
@ApiModel(description = "")
|
||||||
public class Frequency {
|
public class Frequency {
|
||||||
|
|
||||||
private Long count = null;
|
private Long count = null;
|
||||||
|
|
||||||
//public enum countEnum { };
|
|
||||||
|
|
||||||
private Integer year = null;
|
private Integer year = null;
|
||||||
|
|
||||||
//public enum yearEnum { };
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
**/
|
**/
|
||||||
@ApiModelProperty(required = false, value = "")
|
@ApiModelProperty(required = false, value = "")
|
||||||
|
@JsonProperty("count")
|
||||||
public Long getCount() {
|
public Long getCount() {
|
||||||
return count;
|
return count;
|
||||||
}
|
}
|
||||||
@ -30,6 +27,7 @@ public class Frequency {
|
|||||||
/**
|
/**
|
||||||
**/
|
**/
|
||||||
@ApiModelProperty(required = false, value = "")
|
@ApiModelProperty(required = false, value = "")
|
||||||
|
@JsonProperty("year")
|
||||||
public Integer getYear() {
|
public Integer getYear() {
|
||||||
return year;
|
return year;
|
||||||
}
|
}
|
||||||
|
@ -4,26 +4,23 @@ import io.swagger.client.model.Frequency;
|
|||||||
import java.util.*;
|
import java.util.*;
|
||||||
|
|
||||||
import com.wordnik.swagger.annotations.*;
|
import com.wordnik.swagger.annotations.*;
|
||||||
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||||
|
|
||||||
|
|
||||||
@ApiModel(description = "")
|
@ApiModel(description = "")
|
||||||
public class FrequencySummary {
|
public class FrequencySummary {
|
||||||
|
|
||||||
private Integer unknownYearCount = null;
|
private Integer unknownYearCount = null;
|
||||||
|
|
||||||
//public enum unknownYearCountEnum { };
|
|
||||||
|
|
||||||
private Long totalCount = null;
|
private Long totalCount = null;
|
||||||
|
|
||||||
//public enum totalCountEnum { };
|
|
||||||
|
|
||||||
private String frequencyString = null;
|
private String frequencyString = null;
|
||||||
private String word = null;
|
private String word = null;
|
||||||
private List<Frequency> frequency = new ArrayList<Frequency>() ;
|
private List<Frequency> frequency = new ArrayList<Frequency>() ;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
**/
|
**/
|
||||||
@ApiModelProperty(required = false, value = "")
|
@ApiModelProperty(required = false, value = "")
|
||||||
|
@JsonProperty("unknownYearCount")
|
||||||
public Integer getUnknownYearCount() {
|
public Integer getUnknownYearCount() {
|
||||||
return unknownYearCount;
|
return unknownYearCount;
|
||||||
}
|
}
|
||||||
@ -35,6 +32,7 @@ public class FrequencySummary {
|
|||||||
/**
|
/**
|
||||||
**/
|
**/
|
||||||
@ApiModelProperty(required = false, value = "")
|
@ApiModelProperty(required = false, value = "")
|
||||||
|
@JsonProperty("totalCount")
|
||||||
public Long getTotalCount() {
|
public Long getTotalCount() {
|
||||||
return totalCount;
|
return totalCount;
|
||||||
}
|
}
|
||||||
@ -46,6 +44,7 @@ public class FrequencySummary {
|
|||||||
/**
|
/**
|
||||||
**/
|
**/
|
||||||
@ApiModelProperty(required = false, value = "")
|
@ApiModelProperty(required = false, value = "")
|
||||||
|
@JsonProperty("frequencyString")
|
||||||
public String getFrequencyString() {
|
public String getFrequencyString() {
|
||||||
return frequencyString;
|
return frequencyString;
|
||||||
}
|
}
|
||||||
@ -57,6 +56,7 @@ public class FrequencySummary {
|
|||||||
/**
|
/**
|
||||||
**/
|
**/
|
||||||
@ApiModelProperty(required = false, value = "")
|
@ApiModelProperty(required = false, value = "")
|
||||||
|
@JsonProperty("word")
|
||||||
public String getWord() {
|
public String getWord() {
|
||||||
return word;
|
return word;
|
||||||
}
|
}
|
||||||
@ -68,6 +68,7 @@ public class FrequencySummary {
|
|||||||
/**
|
/**
|
||||||
**/
|
**/
|
||||||
@ApiModelProperty(required = false, value = "")
|
@ApiModelProperty(required = false, value = "")
|
||||||
|
@JsonProperty("frequency")
|
||||||
public List<Frequency> getFrequency() {
|
public List<Frequency> getFrequency() {
|
||||||
return frequency;
|
return frequency;
|
||||||
}
|
}
|
||||||
|
@ -2,17 +2,20 @@ package io.swagger.client.model;
|
|||||||
|
|
||||||
|
|
||||||
import com.wordnik.swagger.annotations.*;
|
import com.wordnik.swagger.annotations.*;
|
||||||
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||||
|
|
||||||
|
|
||||||
@ApiModel(description = "")
|
@ApiModel(description = "")
|
||||||
public class Label {
|
public class Label {
|
||||||
|
|
||||||
private String text = null;
|
private String text = null;
|
||||||
private String type = null;
|
private String type = null;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
**/
|
**/
|
||||||
@ApiModelProperty(required = false, value = "")
|
@ApiModelProperty(required = false, value = "")
|
||||||
|
@JsonProperty("text")
|
||||||
public String getText() {
|
public String getText() {
|
||||||
return text;
|
return text;
|
||||||
}
|
}
|
||||||
@ -24,6 +27,7 @@ public class Label {
|
|||||||
/**
|
/**
|
||||||
**/
|
**/
|
||||||
@ApiModelProperty(required = false, value = "")
|
@ApiModelProperty(required = false, value = "")
|
||||||
|
@JsonProperty("type")
|
||||||
public String getType() {
|
public String getType() {
|
||||||
return type;
|
return type;
|
||||||
}
|
}
|
||||||
|
@ -3,22 +3,22 @@ package io.swagger.client.model;
|
|||||||
import java.util.*;
|
import java.util.*;
|
||||||
|
|
||||||
import com.wordnik.swagger.annotations.*;
|
import com.wordnik.swagger.annotations.*;
|
||||||
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||||
|
|
||||||
|
|
||||||
@ApiModel(description = "")
|
@ApiModel(description = "")
|
||||||
public class Note {
|
public class Note {
|
||||||
|
|
||||||
private String noteType = null;
|
private String noteType = null;
|
||||||
private List<String> appliesTo = new ArrayList<String>() ;
|
private List<String> appliesTo = new ArrayList<String>() ;
|
||||||
private String value = null;
|
private String value = null;
|
||||||
private Integer pos = null;
|
private Integer pos = null;
|
||||||
|
|
||||||
//public enum posEnum { };
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
**/
|
**/
|
||||||
@ApiModelProperty(required = false, value = "")
|
@ApiModelProperty(required = false, value = "")
|
||||||
|
@JsonProperty("noteType")
|
||||||
public String getNoteType() {
|
public String getNoteType() {
|
||||||
return noteType;
|
return noteType;
|
||||||
}
|
}
|
||||||
@ -30,6 +30,7 @@ public class Note {
|
|||||||
/**
|
/**
|
||||||
**/
|
**/
|
||||||
@ApiModelProperty(required = false, value = "")
|
@ApiModelProperty(required = false, value = "")
|
||||||
|
@JsonProperty("appliesTo")
|
||||||
public List<String> getAppliesTo() {
|
public List<String> getAppliesTo() {
|
||||||
return appliesTo;
|
return appliesTo;
|
||||||
}
|
}
|
||||||
@ -41,6 +42,7 @@ public class Note {
|
|||||||
/**
|
/**
|
||||||
**/
|
**/
|
||||||
@ApiModelProperty(required = false, value = "")
|
@ApiModelProperty(required = false, value = "")
|
||||||
|
@JsonProperty("value")
|
||||||
public String getValue() {
|
public String getValue() {
|
||||||
return value;
|
return value;
|
||||||
}
|
}
|
||||||
@ -52,6 +54,7 @@ public class Note {
|
|||||||
/**
|
/**
|
||||||
**/
|
**/
|
||||||
@ApiModelProperty(required = false, value = "")
|
@ApiModelProperty(required = false, value = "")
|
||||||
|
@JsonProperty("pos")
|
||||||
public Integer getPos() {
|
public Integer getPos() {
|
||||||
return pos;
|
return pos;
|
||||||
}
|
}
|
||||||
|
@ -5,18 +5,21 @@ import io.swagger.client.model.Root;
|
|||||||
import java.util.*;
|
import java.util.*;
|
||||||
|
|
||||||
import com.wordnik.swagger.annotations.*;
|
import com.wordnik.swagger.annotations.*;
|
||||||
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||||
|
|
||||||
|
|
||||||
@ApiModel(description = "")
|
@ApiModel(description = "")
|
||||||
public class PartOfSpeech {
|
public class PartOfSpeech {
|
||||||
|
|
||||||
private List<Root> roots = new ArrayList<Root>() ;
|
private List<Root> roots = new ArrayList<Root>() ;
|
||||||
private List<String> storageAbbr = new ArrayList<String>() ;
|
private List<String> storageAbbr = new ArrayList<String>() ;
|
||||||
private List<Category> allCategories = new ArrayList<Category>() ;
|
private List<Category> allCategories = new ArrayList<Category>() ;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
**/
|
**/
|
||||||
@ApiModelProperty(required = false, value = "")
|
@ApiModelProperty(required = false, value = "")
|
||||||
|
@JsonProperty("roots")
|
||||||
public List<Root> getRoots() {
|
public List<Root> getRoots() {
|
||||||
return roots;
|
return roots;
|
||||||
}
|
}
|
||||||
@ -28,6 +31,7 @@ public class PartOfSpeech {
|
|||||||
/**
|
/**
|
||||||
**/
|
**/
|
||||||
@ApiModelProperty(required = false, value = "")
|
@ApiModelProperty(required = false, value = "")
|
||||||
|
@JsonProperty("storageAbbr")
|
||||||
public List<String> getStorageAbbr() {
|
public List<String> getStorageAbbr() {
|
||||||
return storageAbbr;
|
return storageAbbr;
|
||||||
}
|
}
|
||||||
@ -39,6 +43,7 @@ public class PartOfSpeech {
|
|||||||
/**
|
/**
|
||||||
**/
|
**/
|
||||||
@ApiModelProperty(required = false, value = "")
|
@ApiModelProperty(required = false, value = "")
|
||||||
|
@JsonProperty("allCategories")
|
||||||
public List<Category> getAllCategories() {
|
public List<Category> getAllCategories() {
|
||||||
return allCategories;
|
return allCategories;
|
||||||
}
|
}
|
||||||
|
@ -3,10 +3,12 @@ package io.swagger.client.model;
|
|||||||
import java.util.*;
|
import java.util.*;
|
||||||
|
|
||||||
import com.wordnik.swagger.annotations.*;
|
import com.wordnik.swagger.annotations.*;
|
||||||
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||||
|
|
||||||
|
|
||||||
@ApiModel(description = "")
|
@ApiModel(description = "")
|
||||||
public class Related {
|
public class Related {
|
||||||
|
|
||||||
private String label1 = null;
|
private String label1 = null;
|
||||||
private String relationshipType = null;
|
private String relationshipType = null;
|
||||||
private String label2 = null;
|
private String label2 = null;
|
||||||
@ -14,11 +16,12 @@ public class Related {
|
|||||||
private List<String> words = new ArrayList<String>() ;
|
private List<String> words = new ArrayList<String>() ;
|
||||||
private String gram = null;
|
private String gram = null;
|
||||||
private String label4 = null;
|
private String label4 = null;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
**/
|
**/
|
||||||
@ApiModelProperty(required = false, value = "")
|
@ApiModelProperty(required = false, value = "")
|
||||||
|
@JsonProperty("label1")
|
||||||
public String getLabel1() {
|
public String getLabel1() {
|
||||||
return label1;
|
return label1;
|
||||||
}
|
}
|
||||||
@ -30,6 +33,7 @@ public class Related {
|
|||||||
/**
|
/**
|
||||||
**/
|
**/
|
||||||
@ApiModelProperty(required = false, value = "")
|
@ApiModelProperty(required = false, value = "")
|
||||||
|
@JsonProperty("relationshipType")
|
||||||
public String getRelationshipType() {
|
public String getRelationshipType() {
|
||||||
return relationshipType;
|
return relationshipType;
|
||||||
}
|
}
|
||||||
@ -41,6 +45,7 @@ public class Related {
|
|||||||
/**
|
/**
|
||||||
**/
|
**/
|
||||||
@ApiModelProperty(required = false, value = "")
|
@ApiModelProperty(required = false, value = "")
|
||||||
|
@JsonProperty("label2")
|
||||||
public String getLabel2() {
|
public String getLabel2() {
|
||||||
return label2;
|
return label2;
|
||||||
}
|
}
|
||||||
@ -52,6 +57,7 @@ public class Related {
|
|||||||
/**
|
/**
|
||||||
**/
|
**/
|
||||||
@ApiModelProperty(required = false, value = "")
|
@ApiModelProperty(required = false, value = "")
|
||||||
|
@JsonProperty("label3")
|
||||||
public String getLabel3() {
|
public String getLabel3() {
|
||||||
return label3;
|
return label3;
|
||||||
}
|
}
|
||||||
@ -63,6 +69,7 @@ public class Related {
|
|||||||
/**
|
/**
|
||||||
**/
|
**/
|
||||||
@ApiModelProperty(required = false, value = "")
|
@ApiModelProperty(required = false, value = "")
|
||||||
|
@JsonProperty("words")
|
||||||
public List<String> getWords() {
|
public List<String> getWords() {
|
||||||
return words;
|
return words;
|
||||||
}
|
}
|
||||||
@ -74,6 +81,7 @@ public class Related {
|
|||||||
/**
|
/**
|
||||||
**/
|
**/
|
||||||
@ApiModelProperty(required = false, value = "")
|
@ApiModelProperty(required = false, value = "")
|
||||||
|
@JsonProperty("gram")
|
||||||
public String getGram() {
|
public String getGram() {
|
||||||
return gram;
|
return gram;
|
||||||
}
|
}
|
||||||
@ -85,6 +93,7 @@ public class Related {
|
|||||||
/**
|
/**
|
||||||
**/
|
**/
|
||||||
@ApiModelProperty(required = false, value = "")
|
@ApiModelProperty(required = false, value = "")
|
||||||
|
@JsonProperty("label4")
|
||||||
public String getLabel4() {
|
public String getLabel4() {
|
||||||
return label4;
|
return label4;
|
||||||
}
|
}
|
||||||
|
@ -4,21 +4,21 @@ import io.swagger.client.model.Category;
|
|||||||
import java.util.*;
|
import java.util.*;
|
||||||
|
|
||||||
import com.wordnik.swagger.annotations.*;
|
import com.wordnik.swagger.annotations.*;
|
||||||
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||||
|
|
||||||
|
|
||||||
@ApiModel(description = "")
|
@ApiModel(description = "")
|
||||||
public class Root {
|
public class Root {
|
||||||
|
|
||||||
private Long id = null;
|
private Long id = null;
|
||||||
|
|
||||||
//public enum idEnum { };
|
|
||||||
|
|
||||||
private String name = null;
|
private String name = null;
|
||||||
private List<Category> categories = new ArrayList<Category>() ;
|
private List<Category> categories = new ArrayList<Category>() ;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
**/
|
**/
|
||||||
@ApiModelProperty(required = false, value = "")
|
@ApiModelProperty(required = false, value = "")
|
||||||
|
@JsonProperty("id")
|
||||||
public Long getId() {
|
public Long getId() {
|
||||||
return id;
|
return id;
|
||||||
}
|
}
|
||||||
@ -30,6 +30,7 @@ public class Root {
|
|||||||
/**
|
/**
|
||||||
**/
|
**/
|
||||||
@ApiModelProperty(required = false, value = "")
|
@ApiModelProperty(required = false, value = "")
|
||||||
|
@JsonProperty("name")
|
||||||
public String getName() {
|
public String getName() {
|
||||||
return name;
|
return name;
|
||||||
}
|
}
|
||||||
@ -41,6 +42,7 @@ public class Root {
|
|||||||
/**
|
/**
|
||||||
**/
|
**/
|
||||||
@ApiModelProperty(required = false, value = "")
|
@ApiModelProperty(required = false, value = "")
|
||||||
|
@JsonProperty("categories")
|
||||||
public List<Category> getCategories() {
|
public List<Category> getCategories() {
|
||||||
return categories;
|
return categories;
|
||||||
}
|
}
|
||||||
|
@ -2,44 +2,29 @@ package io.swagger.client.model;
|
|||||||
|
|
||||||
|
|
||||||
import com.wordnik.swagger.annotations.*;
|
import com.wordnik.swagger.annotations.*;
|
||||||
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||||
|
|
||||||
|
|
||||||
@ApiModel(description = "")
|
@ApiModel(description = "")
|
||||||
public class ScoredWord {
|
public class ScoredWord {
|
||||||
|
|
||||||
private Integer position = null;
|
private Integer position = null;
|
||||||
|
|
||||||
//public enum positionEnum { };
|
|
||||||
|
|
||||||
private Long id = null;
|
private Long id = null;
|
||||||
|
|
||||||
//public enum idEnum { };
|
|
||||||
|
|
||||||
private Integer docTermCount = null;
|
private Integer docTermCount = null;
|
||||||
|
|
||||||
//public enum docTermCountEnum { };
|
|
||||||
|
|
||||||
private String lemma = null;
|
private String lemma = null;
|
||||||
private String wordType = null;
|
private String wordType = null;
|
||||||
private Float score = null;
|
private Float score = null;
|
||||||
|
|
||||||
//public enum scoreEnum { };
|
|
||||||
|
|
||||||
private Long sentenceId = null;
|
private Long sentenceId = null;
|
||||||
|
|
||||||
//public enum sentenceIdEnum { };
|
|
||||||
|
|
||||||
private String word = null;
|
private String word = null;
|
||||||
private Boolean stopword = null;
|
private Boolean stopword = null;
|
||||||
private Double baseWordScore = null;
|
private Double baseWordScore = null;
|
||||||
|
|
||||||
//public enum baseWordScoreEnum { };
|
|
||||||
|
|
||||||
private String partOfSpeech = null;
|
private String partOfSpeech = null;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
**/
|
**/
|
||||||
@ApiModelProperty(required = false, value = "")
|
@ApiModelProperty(required = false, value = "")
|
||||||
|
@JsonProperty("position")
|
||||||
public Integer getPosition() {
|
public Integer getPosition() {
|
||||||
return position;
|
return position;
|
||||||
}
|
}
|
||||||
@ -51,6 +36,7 @@ public class ScoredWord {
|
|||||||
/**
|
/**
|
||||||
**/
|
**/
|
||||||
@ApiModelProperty(required = false, value = "")
|
@ApiModelProperty(required = false, value = "")
|
||||||
|
@JsonProperty("id")
|
||||||
public Long getId() {
|
public Long getId() {
|
||||||
return id;
|
return id;
|
||||||
}
|
}
|
||||||
@ -62,6 +48,7 @@ public class ScoredWord {
|
|||||||
/**
|
/**
|
||||||
**/
|
**/
|
||||||
@ApiModelProperty(required = false, value = "")
|
@ApiModelProperty(required = false, value = "")
|
||||||
|
@JsonProperty("docTermCount")
|
||||||
public Integer getDocTermCount() {
|
public Integer getDocTermCount() {
|
||||||
return docTermCount;
|
return docTermCount;
|
||||||
}
|
}
|
||||||
@ -73,6 +60,7 @@ public class ScoredWord {
|
|||||||
/**
|
/**
|
||||||
**/
|
**/
|
||||||
@ApiModelProperty(required = false, value = "")
|
@ApiModelProperty(required = false, value = "")
|
||||||
|
@JsonProperty("lemma")
|
||||||
public String getLemma() {
|
public String getLemma() {
|
||||||
return lemma;
|
return lemma;
|
||||||
}
|
}
|
||||||
@ -84,6 +72,7 @@ public class ScoredWord {
|
|||||||
/**
|
/**
|
||||||
**/
|
**/
|
||||||
@ApiModelProperty(required = false, value = "")
|
@ApiModelProperty(required = false, value = "")
|
||||||
|
@JsonProperty("wordType")
|
||||||
public String getWordType() {
|
public String getWordType() {
|
||||||
return wordType;
|
return wordType;
|
||||||
}
|
}
|
||||||
@ -95,6 +84,7 @@ public class ScoredWord {
|
|||||||
/**
|
/**
|
||||||
**/
|
**/
|
||||||
@ApiModelProperty(required = false, value = "")
|
@ApiModelProperty(required = false, value = "")
|
||||||
|
@JsonProperty("score")
|
||||||
public Float getScore() {
|
public Float getScore() {
|
||||||
return score;
|
return score;
|
||||||
}
|
}
|
||||||
@ -106,6 +96,7 @@ public class ScoredWord {
|
|||||||
/**
|
/**
|
||||||
**/
|
**/
|
||||||
@ApiModelProperty(required = false, value = "")
|
@ApiModelProperty(required = false, value = "")
|
||||||
|
@JsonProperty("sentenceId")
|
||||||
public Long getSentenceId() {
|
public Long getSentenceId() {
|
||||||
return sentenceId;
|
return sentenceId;
|
||||||
}
|
}
|
||||||
@ -117,6 +108,7 @@ public class ScoredWord {
|
|||||||
/**
|
/**
|
||||||
**/
|
**/
|
||||||
@ApiModelProperty(required = false, value = "")
|
@ApiModelProperty(required = false, value = "")
|
||||||
|
@JsonProperty("word")
|
||||||
public String getWord() {
|
public String getWord() {
|
||||||
return word;
|
return word;
|
||||||
}
|
}
|
||||||
@ -128,6 +120,7 @@ public class ScoredWord {
|
|||||||
/**
|
/**
|
||||||
**/
|
**/
|
||||||
@ApiModelProperty(required = false, value = "")
|
@ApiModelProperty(required = false, value = "")
|
||||||
|
@JsonProperty("stopword")
|
||||||
public Boolean getStopword() {
|
public Boolean getStopword() {
|
||||||
return stopword;
|
return stopword;
|
||||||
}
|
}
|
||||||
@ -139,6 +132,7 @@ public class ScoredWord {
|
|||||||
/**
|
/**
|
||||||
**/
|
**/
|
||||||
@ApiModelProperty(required = false, value = "")
|
@ApiModelProperty(required = false, value = "")
|
||||||
|
@JsonProperty("baseWordScore")
|
||||||
public Double getBaseWordScore() {
|
public Double getBaseWordScore() {
|
||||||
return baseWordScore;
|
return baseWordScore;
|
||||||
}
|
}
|
||||||
@ -150,6 +144,7 @@ public class ScoredWord {
|
|||||||
/**
|
/**
|
||||||
**/
|
**/
|
||||||
@ApiModelProperty(required = false, value = "")
|
@ApiModelProperty(required = false, value = "")
|
||||||
|
@JsonProperty("partOfSpeech")
|
||||||
public String getPartOfSpeech() {
|
public String getPartOfSpeech() {
|
||||||
return partOfSpeech;
|
return partOfSpeech;
|
||||||
}
|
}
|
||||||
|
@ -4,30 +4,24 @@ import java.util.*;
|
|||||||
import io.swagger.client.model.ScoredWord;
|
import io.swagger.client.model.ScoredWord;
|
||||||
|
|
||||||
import com.wordnik.swagger.annotations.*;
|
import com.wordnik.swagger.annotations.*;
|
||||||
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||||
|
|
||||||
|
|
||||||
@ApiModel(description = "")
|
@ApiModel(description = "")
|
||||||
public class Sentence {
|
public class Sentence {
|
||||||
|
|
||||||
private Boolean hasScoredWords = null;
|
private Boolean hasScoredWords = null;
|
||||||
private Long id = null;
|
private Long id = null;
|
||||||
|
|
||||||
//public enum idEnum { };
|
|
||||||
|
|
||||||
private List<ScoredWord> scoredWords = new ArrayList<ScoredWord>() ;
|
private List<ScoredWord> scoredWords = new ArrayList<ScoredWord>() ;
|
||||||
private String display = null;
|
private String display = null;
|
||||||
private Integer rating = null;
|
private Integer rating = null;
|
||||||
|
|
||||||
//public enum ratingEnum { };
|
|
||||||
|
|
||||||
private Long documentMetadataId = null;
|
private Long documentMetadataId = null;
|
||||||
|
|
||||||
//public enum documentMetadataIdEnum { };
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
**/
|
**/
|
||||||
@ApiModelProperty(required = false, value = "")
|
@ApiModelProperty(required = false, value = "")
|
||||||
|
@JsonProperty("hasScoredWords")
|
||||||
public Boolean getHasScoredWords() {
|
public Boolean getHasScoredWords() {
|
||||||
return hasScoredWords;
|
return hasScoredWords;
|
||||||
}
|
}
|
||||||
@ -39,6 +33,7 @@ public class Sentence {
|
|||||||
/**
|
/**
|
||||||
**/
|
**/
|
||||||
@ApiModelProperty(required = false, value = "")
|
@ApiModelProperty(required = false, value = "")
|
||||||
|
@JsonProperty("id")
|
||||||
public Long getId() {
|
public Long getId() {
|
||||||
return id;
|
return id;
|
||||||
}
|
}
|
||||||
@ -50,6 +45,7 @@ public class Sentence {
|
|||||||
/**
|
/**
|
||||||
**/
|
**/
|
||||||
@ApiModelProperty(required = false, value = "")
|
@ApiModelProperty(required = false, value = "")
|
||||||
|
@JsonProperty("scoredWords")
|
||||||
public List<ScoredWord> getScoredWords() {
|
public List<ScoredWord> getScoredWords() {
|
||||||
return scoredWords;
|
return scoredWords;
|
||||||
}
|
}
|
||||||
@ -61,6 +57,7 @@ public class Sentence {
|
|||||||
/**
|
/**
|
||||||
**/
|
**/
|
||||||
@ApiModelProperty(required = false, value = "")
|
@ApiModelProperty(required = false, value = "")
|
||||||
|
@JsonProperty("display")
|
||||||
public String getDisplay() {
|
public String getDisplay() {
|
||||||
return display;
|
return display;
|
||||||
}
|
}
|
||||||
@ -72,6 +69,7 @@ public class Sentence {
|
|||||||
/**
|
/**
|
||||||
**/
|
**/
|
||||||
@ApiModelProperty(required = false, value = "")
|
@ApiModelProperty(required = false, value = "")
|
||||||
|
@JsonProperty("rating")
|
||||||
public Integer getRating() {
|
public Integer getRating() {
|
||||||
return rating;
|
return rating;
|
||||||
}
|
}
|
||||||
@ -83,6 +81,7 @@ public class Sentence {
|
|||||||
/**
|
/**
|
||||||
**/
|
**/
|
||||||
@ApiModelProperty(required = false, value = "")
|
@ApiModelProperty(required = false, value = "")
|
||||||
|
@JsonProperty("documentMetadataId")
|
||||||
public Long getDocumentMetadataId() {
|
public Long getDocumentMetadataId() {
|
||||||
return documentMetadataId;
|
return documentMetadataId;
|
||||||
}
|
}
|
||||||
|
@ -2,19 +2,22 @@ package io.swagger.client.model;
|
|||||||
|
|
||||||
|
|
||||||
import com.wordnik.swagger.annotations.*;
|
import com.wordnik.swagger.annotations.*;
|
||||||
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||||
|
|
||||||
|
|
||||||
@ApiModel(description = "")
|
@ApiModel(description = "")
|
||||||
public class SimpleDefinition {
|
public class SimpleDefinition {
|
||||||
|
|
||||||
private String text = null;
|
private String text = null;
|
||||||
private String source = null;
|
private String source = null;
|
||||||
private String note = null;
|
private String note = null;
|
||||||
private String partOfSpeech = null;
|
private String partOfSpeech = null;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
**/
|
**/
|
||||||
@ApiModelProperty(required = false, value = "")
|
@ApiModelProperty(required = false, value = "")
|
||||||
|
@JsonProperty("text")
|
||||||
public String getText() {
|
public String getText() {
|
||||||
return text;
|
return text;
|
||||||
}
|
}
|
||||||
@ -26,6 +29,7 @@ public class SimpleDefinition {
|
|||||||
/**
|
/**
|
||||||
**/
|
**/
|
||||||
@ApiModelProperty(required = false, value = "")
|
@ApiModelProperty(required = false, value = "")
|
||||||
|
@JsonProperty("source")
|
||||||
public String getSource() {
|
public String getSource() {
|
||||||
return source;
|
return source;
|
||||||
}
|
}
|
||||||
@ -37,6 +41,7 @@ public class SimpleDefinition {
|
|||||||
/**
|
/**
|
||||||
**/
|
**/
|
||||||
@ApiModelProperty(required = false, value = "")
|
@ApiModelProperty(required = false, value = "")
|
||||||
|
@JsonProperty("note")
|
||||||
public String getNote() {
|
public String getNote() {
|
||||||
return note;
|
return note;
|
||||||
}
|
}
|
||||||
@ -48,6 +53,7 @@ public class SimpleDefinition {
|
|||||||
/**
|
/**
|
||||||
**/
|
**/
|
||||||
@ApiModelProperty(required = false, value = "")
|
@ApiModelProperty(required = false, value = "")
|
||||||
|
@JsonProperty("partOfSpeech")
|
||||||
public String getPartOfSpeech() {
|
public String getPartOfSpeech() {
|
||||||
return partOfSpeech;
|
return partOfSpeech;
|
||||||
}
|
}
|
||||||
|
@ -2,22 +2,22 @@ package io.swagger.client.model;
|
|||||||
|
|
||||||
|
|
||||||
import com.wordnik.swagger.annotations.*;
|
import com.wordnik.swagger.annotations.*;
|
||||||
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||||
|
|
||||||
|
|
||||||
@ApiModel(description = "")
|
@ApiModel(description = "")
|
||||||
public class SimpleExample {
|
public class SimpleExample {
|
||||||
|
|
||||||
private Long id = null;
|
private Long id = null;
|
||||||
|
|
||||||
//public enum idEnum { };
|
|
||||||
|
|
||||||
private String title = null;
|
private String title = null;
|
||||||
private String text = null;
|
private String text = null;
|
||||||
private String url = null;
|
private String url = null;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
**/
|
**/
|
||||||
@ApiModelProperty(required = false, value = "")
|
@ApiModelProperty(required = false, value = "")
|
||||||
|
@JsonProperty("id")
|
||||||
public Long getId() {
|
public Long getId() {
|
||||||
return id;
|
return id;
|
||||||
}
|
}
|
||||||
@ -29,6 +29,7 @@ public class SimpleExample {
|
|||||||
/**
|
/**
|
||||||
**/
|
**/
|
||||||
@ApiModelProperty(required = false, value = "")
|
@ApiModelProperty(required = false, value = "")
|
||||||
|
@JsonProperty("title")
|
||||||
public String getTitle() {
|
public String getTitle() {
|
||||||
return title;
|
return title;
|
||||||
}
|
}
|
||||||
@ -40,6 +41,7 @@ public class SimpleExample {
|
|||||||
/**
|
/**
|
||||||
**/
|
**/
|
||||||
@ApiModelProperty(required = false, value = "")
|
@ApiModelProperty(required = false, value = "")
|
||||||
|
@JsonProperty("text")
|
||||||
public String getText() {
|
public String getText() {
|
||||||
return text;
|
return text;
|
||||||
}
|
}
|
||||||
@ -51,6 +53,7 @@ public class SimpleExample {
|
|||||||
/**
|
/**
|
||||||
**/
|
**/
|
||||||
@ApiModelProperty(required = false, value = "")
|
@ApiModelProperty(required = false, value = "")
|
||||||
|
@JsonProperty("url")
|
||||||
public String getUrl() {
|
public String getUrl() {
|
||||||
return url;
|
return url;
|
||||||
}
|
}
|
||||||
|
@ -2,16 +2,19 @@ package io.swagger.client.model;
|
|||||||
|
|
||||||
|
|
||||||
import com.wordnik.swagger.annotations.*;
|
import com.wordnik.swagger.annotations.*;
|
||||||
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||||
|
|
||||||
|
|
||||||
@ApiModel(description = "")
|
@ApiModel(description = "")
|
||||||
public class StringValue {
|
public class StringValue {
|
||||||
private String word = null;
|
|
||||||
|
|
||||||
|
private String word = null;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
**/
|
**/
|
||||||
@ApiModelProperty(required = false, value = "")
|
@ApiModelProperty(required = false, value = "")
|
||||||
|
@JsonProperty("word")
|
||||||
public String getWord() {
|
public String getWord() {
|
||||||
return word;
|
return word;
|
||||||
}
|
}
|
||||||
|
@ -2,21 +2,21 @@ package io.swagger.client.model;
|
|||||||
|
|
||||||
|
|
||||||
import com.wordnik.swagger.annotations.*;
|
import com.wordnik.swagger.annotations.*;
|
||||||
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||||
|
|
||||||
|
|
||||||
@ApiModel(description = "")
|
@ApiModel(description = "")
|
||||||
public class Syllable {
|
public class Syllable {
|
||||||
|
|
||||||
private String text = null;
|
private String text = null;
|
||||||
private Integer seq = null;
|
private Integer seq = null;
|
||||||
|
|
||||||
//public enum seqEnum { };
|
|
||||||
|
|
||||||
private String type = null;
|
private String type = null;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
**/
|
**/
|
||||||
@ApiModelProperty(required = false, value = "")
|
@ApiModelProperty(required = false, value = "")
|
||||||
|
@JsonProperty("text")
|
||||||
public String getText() {
|
public String getText() {
|
||||||
return text;
|
return text;
|
||||||
}
|
}
|
||||||
@ -28,6 +28,7 @@ public class Syllable {
|
|||||||
/**
|
/**
|
||||||
**/
|
**/
|
||||||
@ApiModelProperty(required = false, value = "")
|
@ApiModelProperty(required = false, value = "")
|
||||||
|
@JsonProperty("seq")
|
||||||
public Integer getSeq() {
|
public Integer getSeq() {
|
||||||
return seq;
|
return seq;
|
||||||
}
|
}
|
||||||
@ -39,6 +40,7 @@ public class Syllable {
|
|||||||
/**
|
/**
|
||||||
**/
|
**/
|
||||||
@ApiModelProperty(required = false, value = "")
|
@ApiModelProperty(required = false, value = "")
|
||||||
|
@JsonProperty("type")
|
||||||
public String getType() {
|
public String getType() {
|
||||||
return type;
|
return type;
|
||||||
}
|
}
|
||||||
|
@ -2,21 +2,21 @@ package io.swagger.client.model;
|
|||||||
|
|
||||||
|
|
||||||
import com.wordnik.swagger.annotations.*;
|
import com.wordnik.swagger.annotations.*;
|
||||||
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||||
|
|
||||||
|
|
||||||
@ApiModel(description = "")
|
@ApiModel(description = "")
|
||||||
public class TextPron {
|
public class TextPron {
|
||||||
|
|
||||||
private String raw = null;
|
private String raw = null;
|
||||||
private Integer seq = null;
|
private Integer seq = null;
|
||||||
|
|
||||||
//public enum seqEnum { };
|
|
||||||
|
|
||||||
private String rawType = null;
|
private String rawType = null;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
**/
|
**/
|
||||||
@ApiModelProperty(required = false, value = "")
|
@ApiModelProperty(required = false, value = "")
|
||||||
|
@JsonProperty("raw")
|
||||||
public String getRaw() {
|
public String getRaw() {
|
||||||
return raw;
|
return raw;
|
||||||
}
|
}
|
||||||
@ -28,6 +28,7 @@ public class TextPron {
|
|||||||
/**
|
/**
|
||||||
**/
|
**/
|
||||||
@ApiModelProperty(required = false, value = "")
|
@ApiModelProperty(required = false, value = "")
|
||||||
|
@JsonProperty("seq")
|
||||||
public Integer getSeq() {
|
public Integer getSeq() {
|
||||||
return seq;
|
return seq;
|
||||||
}
|
}
|
||||||
@ -39,6 +40,7 @@ public class TextPron {
|
|||||||
/**
|
/**
|
||||||
**/
|
**/
|
||||||
@ApiModelProperty(required = false, value = "")
|
@ApiModelProperty(required = false, value = "")
|
||||||
|
@JsonProperty("rawType")
|
||||||
public String getRawType() {
|
public String getRawType() {
|
||||||
return rawType;
|
return rawType;
|
||||||
}
|
}
|
||||||
|
@ -2,29 +2,26 @@ package io.swagger.client.model;
|
|||||||
|
|
||||||
|
|
||||||
import com.wordnik.swagger.annotations.*;
|
import com.wordnik.swagger.annotations.*;
|
||||||
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||||
|
|
||||||
|
|
||||||
@ApiModel(description = "")
|
@ApiModel(description = "")
|
||||||
public class User {
|
public class User {
|
||||||
|
|
||||||
private Long id = null;
|
private Long id = null;
|
||||||
|
|
||||||
//public enum idEnum { };
|
|
||||||
|
|
||||||
private String username = null;
|
private String username = null;
|
||||||
private String email = null;
|
private String email = null;
|
||||||
private Integer status = null;
|
private Integer status = null;
|
||||||
|
|
||||||
//public enum statusEnum { };
|
|
||||||
|
|
||||||
private String faceBookId = null;
|
private String faceBookId = null;
|
||||||
private String userName = null;
|
private String userName = null;
|
||||||
private String displayName = null;
|
private String displayName = null;
|
||||||
private String password = null;
|
private String password = null;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
**/
|
**/
|
||||||
@ApiModelProperty(required = false, value = "")
|
@ApiModelProperty(required = false, value = "")
|
||||||
|
@JsonProperty("id")
|
||||||
public Long getId() {
|
public Long getId() {
|
||||||
return id;
|
return id;
|
||||||
}
|
}
|
||||||
@ -36,6 +33,7 @@ public class User {
|
|||||||
/**
|
/**
|
||||||
**/
|
**/
|
||||||
@ApiModelProperty(required = false, value = "")
|
@ApiModelProperty(required = false, value = "")
|
||||||
|
@JsonProperty("username")
|
||||||
public String getUsername() {
|
public String getUsername() {
|
||||||
return username;
|
return username;
|
||||||
}
|
}
|
||||||
@ -47,6 +45,7 @@ public class User {
|
|||||||
/**
|
/**
|
||||||
**/
|
**/
|
||||||
@ApiModelProperty(required = false, value = "")
|
@ApiModelProperty(required = false, value = "")
|
||||||
|
@JsonProperty("email")
|
||||||
public String getEmail() {
|
public String getEmail() {
|
||||||
return email;
|
return email;
|
||||||
}
|
}
|
||||||
@ -58,6 +57,7 @@ public class User {
|
|||||||
/**
|
/**
|
||||||
**/
|
**/
|
||||||
@ApiModelProperty(required = false, value = "")
|
@ApiModelProperty(required = false, value = "")
|
||||||
|
@JsonProperty("status")
|
||||||
public Integer getStatus() {
|
public Integer getStatus() {
|
||||||
return status;
|
return status;
|
||||||
}
|
}
|
||||||
@ -69,6 +69,7 @@ public class User {
|
|||||||
/**
|
/**
|
||||||
**/
|
**/
|
||||||
@ApiModelProperty(required = false, value = "")
|
@ApiModelProperty(required = false, value = "")
|
||||||
|
@JsonProperty("faceBookId")
|
||||||
public String getFaceBookId() {
|
public String getFaceBookId() {
|
||||||
return faceBookId;
|
return faceBookId;
|
||||||
}
|
}
|
||||||
@ -80,6 +81,7 @@ public class User {
|
|||||||
/**
|
/**
|
||||||
**/
|
**/
|
||||||
@ApiModelProperty(required = false, value = "")
|
@ApiModelProperty(required = false, value = "")
|
||||||
|
@JsonProperty("userName")
|
||||||
public String getUserName() {
|
public String getUserName() {
|
||||||
return userName;
|
return userName;
|
||||||
}
|
}
|
||||||
@ -91,6 +93,7 @@ public class User {
|
|||||||
/**
|
/**
|
||||||
**/
|
**/
|
||||||
@ApiModelProperty(required = false, value = "")
|
@ApiModelProperty(required = false, value = "")
|
||||||
|
@JsonProperty("displayName")
|
||||||
public String getDisplayName() {
|
public String getDisplayName() {
|
||||||
return displayName;
|
return displayName;
|
||||||
}
|
}
|
||||||
@ -102,6 +105,7 @@ public class User {
|
|||||||
/**
|
/**
|
||||||
**/
|
**/
|
||||||
@ApiModelProperty(required = false, value = "")
|
@ApiModelProperty(required = false, value = "")
|
||||||
|
@JsonProperty("password")
|
||||||
public String getPassword() {
|
public String getPassword() {
|
||||||
return password;
|
return password;
|
||||||
}
|
}
|
||||||
|
@ -3,14 +3,13 @@ package io.swagger.client.model;
|
|||||||
import java.util.Date;
|
import java.util.Date;
|
||||||
|
|
||||||
import com.wordnik.swagger.annotations.*;
|
import com.wordnik.swagger.annotations.*;
|
||||||
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||||
|
|
||||||
|
|
||||||
@ApiModel(description = "")
|
@ApiModel(description = "")
|
||||||
public class WordList {
|
public class WordList {
|
||||||
|
|
||||||
private Long id = null;
|
private Long id = null;
|
||||||
|
|
||||||
//public enum idEnum { };
|
|
||||||
|
|
||||||
private String permalink = null;
|
private String permalink = null;
|
||||||
private String name = null;
|
private String name = null;
|
||||||
private Date createdAt = null;
|
private Date createdAt = null;
|
||||||
@ -18,20 +17,15 @@ public class WordList {
|
|||||||
private Date lastActivityAt = null;
|
private Date lastActivityAt = null;
|
||||||
private String username = null;
|
private String username = null;
|
||||||
private Long userId = null;
|
private Long userId = null;
|
||||||
|
|
||||||
//public enum userIdEnum { };
|
|
||||||
|
|
||||||
private String description = null;
|
private String description = null;
|
||||||
private Long numberWordsInList = null;
|
private Long numberWordsInList = null;
|
||||||
|
|
||||||
//public enum numberWordsInListEnum { };
|
|
||||||
|
|
||||||
private String type = null;
|
private String type = null;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
**/
|
**/
|
||||||
@ApiModelProperty(required = false, value = "")
|
@ApiModelProperty(required = false, value = "")
|
||||||
|
@JsonProperty("id")
|
||||||
public Long getId() {
|
public Long getId() {
|
||||||
return id;
|
return id;
|
||||||
}
|
}
|
||||||
@ -43,6 +37,7 @@ public class WordList {
|
|||||||
/**
|
/**
|
||||||
**/
|
**/
|
||||||
@ApiModelProperty(required = false, value = "")
|
@ApiModelProperty(required = false, value = "")
|
||||||
|
@JsonProperty("permalink")
|
||||||
public String getPermalink() {
|
public String getPermalink() {
|
||||||
return permalink;
|
return permalink;
|
||||||
}
|
}
|
||||||
@ -54,6 +49,7 @@ public class WordList {
|
|||||||
/**
|
/**
|
||||||
**/
|
**/
|
||||||
@ApiModelProperty(required = false, value = "")
|
@ApiModelProperty(required = false, value = "")
|
||||||
|
@JsonProperty("name")
|
||||||
public String getName() {
|
public String getName() {
|
||||||
return name;
|
return name;
|
||||||
}
|
}
|
||||||
@ -65,6 +61,7 @@ public class WordList {
|
|||||||
/**
|
/**
|
||||||
**/
|
**/
|
||||||
@ApiModelProperty(required = false, value = "")
|
@ApiModelProperty(required = false, value = "")
|
||||||
|
@JsonProperty("createdAt")
|
||||||
public Date getCreatedAt() {
|
public Date getCreatedAt() {
|
||||||
return createdAt;
|
return createdAt;
|
||||||
}
|
}
|
||||||
@ -76,6 +73,7 @@ public class WordList {
|
|||||||
/**
|
/**
|
||||||
**/
|
**/
|
||||||
@ApiModelProperty(required = false, value = "")
|
@ApiModelProperty(required = false, value = "")
|
||||||
|
@JsonProperty("updatedAt")
|
||||||
public Date getUpdatedAt() {
|
public Date getUpdatedAt() {
|
||||||
return updatedAt;
|
return updatedAt;
|
||||||
}
|
}
|
||||||
@ -87,6 +85,7 @@ public class WordList {
|
|||||||
/**
|
/**
|
||||||
**/
|
**/
|
||||||
@ApiModelProperty(required = false, value = "")
|
@ApiModelProperty(required = false, value = "")
|
||||||
|
@JsonProperty("lastActivityAt")
|
||||||
public Date getLastActivityAt() {
|
public Date getLastActivityAt() {
|
||||||
return lastActivityAt;
|
return lastActivityAt;
|
||||||
}
|
}
|
||||||
@ -98,6 +97,7 @@ public class WordList {
|
|||||||
/**
|
/**
|
||||||
**/
|
**/
|
||||||
@ApiModelProperty(required = false, value = "")
|
@ApiModelProperty(required = false, value = "")
|
||||||
|
@JsonProperty("username")
|
||||||
public String getUsername() {
|
public String getUsername() {
|
||||||
return username;
|
return username;
|
||||||
}
|
}
|
||||||
@ -109,6 +109,7 @@ public class WordList {
|
|||||||
/**
|
/**
|
||||||
**/
|
**/
|
||||||
@ApiModelProperty(required = false, value = "")
|
@ApiModelProperty(required = false, value = "")
|
||||||
|
@JsonProperty("userId")
|
||||||
public Long getUserId() {
|
public Long getUserId() {
|
||||||
return userId;
|
return userId;
|
||||||
}
|
}
|
||||||
@ -120,6 +121,7 @@ public class WordList {
|
|||||||
/**
|
/**
|
||||||
**/
|
**/
|
||||||
@ApiModelProperty(required = false, value = "")
|
@ApiModelProperty(required = false, value = "")
|
||||||
|
@JsonProperty("description")
|
||||||
public String getDescription() {
|
public String getDescription() {
|
||||||
return description;
|
return description;
|
||||||
}
|
}
|
||||||
@ -131,6 +133,7 @@ public class WordList {
|
|||||||
/**
|
/**
|
||||||
**/
|
**/
|
||||||
@ApiModelProperty(required = false, value = "")
|
@ApiModelProperty(required = false, value = "")
|
||||||
|
@JsonProperty("numberWordsInList")
|
||||||
public Long getNumberWordsInList() {
|
public Long getNumberWordsInList() {
|
||||||
return numberWordsInList;
|
return numberWordsInList;
|
||||||
}
|
}
|
||||||
@ -142,6 +145,7 @@ public class WordList {
|
|||||||
/**
|
/**
|
||||||
**/
|
**/
|
||||||
@ApiModelProperty(required = false, value = "")
|
@ApiModelProperty(required = false, value = "")
|
||||||
|
@JsonProperty("type")
|
||||||
public String getType() {
|
public String getType() {
|
||||||
return type;
|
return type;
|
||||||
}
|
}
|
||||||
|
@ -3,34 +3,25 @@ package io.swagger.client.model;
|
|||||||
import java.util.Date;
|
import java.util.Date;
|
||||||
|
|
||||||
import com.wordnik.swagger.annotations.*;
|
import com.wordnik.swagger.annotations.*;
|
||||||
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||||
|
|
||||||
|
|
||||||
@ApiModel(description = "")
|
@ApiModel(description = "")
|
||||||
public class WordListWord {
|
public class WordListWord {
|
||||||
|
|
||||||
private Long id = null;
|
private Long id = null;
|
||||||
|
|
||||||
//public enum idEnum { };
|
|
||||||
|
|
||||||
private String word = null;
|
private String word = null;
|
||||||
private String username = null;
|
private String username = null;
|
||||||
private Long userId = null;
|
private Long userId = null;
|
||||||
|
|
||||||
//public enum userIdEnum { };
|
|
||||||
|
|
||||||
private Date createdAt = null;
|
private Date createdAt = null;
|
||||||
private Long numberCommentsOnWord = null;
|
private Long numberCommentsOnWord = null;
|
||||||
|
|
||||||
//public enum numberCommentsOnWordEnum { };
|
|
||||||
|
|
||||||
private Long numberLists = null;
|
private Long numberLists = null;
|
||||||
|
|
||||||
//public enum numberListsEnum { };
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
**/
|
**/
|
||||||
@ApiModelProperty(required = false, value = "")
|
@ApiModelProperty(required = false, value = "")
|
||||||
|
@JsonProperty("id")
|
||||||
public Long getId() {
|
public Long getId() {
|
||||||
return id;
|
return id;
|
||||||
}
|
}
|
||||||
@ -42,6 +33,7 @@ public class WordListWord {
|
|||||||
/**
|
/**
|
||||||
**/
|
**/
|
||||||
@ApiModelProperty(required = false, value = "")
|
@ApiModelProperty(required = false, value = "")
|
||||||
|
@JsonProperty("word")
|
||||||
public String getWord() {
|
public String getWord() {
|
||||||
return word;
|
return word;
|
||||||
}
|
}
|
||||||
@ -53,6 +45,7 @@ public class WordListWord {
|
|||||||
/**
|
/**
|
||||||
**/
|
**/
|
||||||
@ApiModelProperty(required = false, value = "")
|
@ApiModelProperty(required = false, value = "")
|
||||||
|
@JsonProperty("username")
|
||||||
public String getUsername() {
|
public String getUsername() {
|
||||||
return username;
|
return username;
|
||||||
}
|
}
|
||||||
@ -64,6 +57,7 @@ public class WordListWord {
|
|||||||
/**
|
/**
|
||||||
**/
|
**/
|
||||||
@ApiModelProperty(required = false, value = "")
|
@ApiModelProperty(required = false, value = "")
|
||||||
|
@JsonProperty("userId")
|
||||||
public Long getUserId() {
|
public Long getUserId() {
|
||||||
return userId;
|
return userId;
|
||||||
}
|
}
|
||||||
@ -75,6 +69,7 @@ public class WordListWord {
|
|||||||
/**
|
/**
|
||||||
**/
|
**/
|
||||||
@ApiModelProperty(required = false, value = "")
|
@ApiModelProperty(required = false, value = "")
|
||||||
|
@JsonProperty("createdAt")
|
||||||
public Date getCreatedAt() {
|
public Date getCreatedAt() {
|
||||||
return createdAt;
|
return createdAt;
|
||||||
}
|
}
|
||||||
@ -86,6 +81,7 @@ public class WordListWord {
|
|||||||
/**
|
/**
|
||||||
**/
|
**/
|
||||||
@ApiModelProperty(required = false, value = "")
|
@ApiModelProperty(required = false, value = "")
|
||||||
|
@JsonProperty("numberCommentsOnWord")
|
||||||
public Long getNumberCommentsOnWord() {
|
public Long getNumberCommentsOnWord() {
|
||||||
return numberCommentsOnWord;
|
return numberCommentsOnWord;
|
||||||
}
|
}
|
||||||
@ -97,6 +93,7 @@ public class WordListWord {
|
|||||||
/**
|
/**
|
||||||
**/
|
**/
|
||||||
@ApiModelProperty(required = false, value = "")
|
@ApiModelProperty(required = false, value = "")
|
||||||
|
@JsonProperty("numberLists")
|
||||||
public Long getNumberLists() {
|
public Long getNumberLists() {
|
||||||
return numberLists;
|
return numberLists;
|
||||||
}
|
}
|
||||||
|
@ -3,24 +3,24 @@ package io.swagger.client.model;
|
|||||||
import java.util.*;
|
import java.util.*;
|
||||||
|
|
||||||
import com.wordnik.swagger.annotations.*;
|
import com.wordnik.swagger.annotations.*;
|
||||||
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||||
|
|
||||||
|
|
||||||
@ApiModel(description = "")
|
@ApiModel(description = "")
|
||||||
public class WordObject {
|
public class WordObject {
|
||||||
|
|
||||||
private Long id = null;
|
private Long id = null;
|
||||||
|
|
||||||
//public enum idEnum { };
|
|
||||||
|
|
||||||
private String word = null;
|
private String word = null;
|
||||||
private String originalWord = null;
|
private String originalWord = null;
|
||||||
private List<String> suggestions = new ArrayList<String>() ;
|
private List<String> suggestions = new ArrayList<String>() ;
|
||||||
private String canonicalForm = null;
|
private String canonicalForm = null;
|
||||||
private String vulgar = null;
|
private String vulgar = null;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
**/
|
**/
|
||||||
@ApiModelProperty(required = false, value = "")
|
@ApiModelProperty(required = false, value = "")
|
||||||
|
@JsonProperty("id")
|
||||||
public Long getId() {
|
public Long getId() {
|
||||||
return id;
|
return id;
|
||||||
}
|
}
|
||||||
@ -32,6 +32,7 @@ public class WordObject {
|
|||||||
/**
|
/**
|
||||||
**/
|
**/
|
||||||
@ApiModelProperty(required = false, value = "")
|
@ApiModelProperty(required = false, value = "")
|
||||||
|
@JsonProperty("word")
|
||||||
public String getWord() {
|
public String getWord() {
|
||||||
return word;
|
return word;
|
||||||
}
|
}
|
||||||
@ -43,6 +44,7 @@ public class WordObject {
|
|||||||
/**
|
/**
|
||||||
**/
|
**/
|
||||||
@ApiModelProperty(required = false, value = "")
|
@ApiModelProperty(required = false, value = "")
|
||||||
|
@JsonProperty("originalWord")
|
||||||
public String getOriginalWord() {
|
public String getOriginalWord() {
|
||||||
return originalWord;
|
return originalWord;
|
||||||
}
|
}
|
||||||
@ -54,6 +56,7 @@ public class WordObject {
|
|||||||
/**
|
/**
|
||||||
**/
|
**/
|
||||||
@ApiModelProperty(required = false, value = "")
|
@ApiModelProperty(required = false, value = "")
|
||||||
|
@JsonProperty("suggestions")
|
||||||
public List<String> getSuggestions() {
|
public List<String> getSuggestions() {
|
||||||
return suggestions;
|
return suggestions;
|
||||||
}
|
}
|
||||||
@ -65,6 +68,7 @@ public class WordObject {
|
|||||||
/**
|
/**
|
||||||
**/
|
**/
|
||||||
@ApiModelProperty(required = false, value = "")
|
@ApiModelProperty(required = false, value = "")
|
||||||
|
@JsonProperty("canonicalForm")
|
||||||
public String getCanonicalForm() {
|
public String getCanonicalForm() {
|
||||||
return canonicalForm;
|
return canonicalForm;
|
||||||
}
|
}
|
||||||
@ -76,6 +80,7 @@ public class WordObject {
|
|||||||
/**
|
/**
|
||||||
**/
|
**/
|
||||||
@ApiModelProperty(required = false, value = "")
|
@ApiModelProperty(required = false, value = "")
|
||||||
|
@JsonProperty("vulgar")
|
||||||
public String getVulgar() {
|
public String getVulgar() {
|
||||||
return vulgar;
|
return vulgar;
|
||||||
}
|
}
|
||||||
|
@ -1,20 +1,19 @@
|
|||||||
package io.swagger.client.model;
|
package io.swagger.client.model;
|
||||||
|
|
||||||
import java.util.Date;
|
|
||||||
import io.swagger.client.model.SimpleDefinition;
|
|
||||||
import io.swagger.client.model.ContentProvider;
|
|
||||||
import java.util.*;
|
|
||||||
import io.swagger.client.model.SimpleExample;
|
import io.swagger.client.model.SimpleExample;
|
||||||
|
import io.swagger.client.model.ContentProvider;
|
||||||
|
import io.swagger.client.model.SimpleDefinition;
|
||||||
|
import java.util.*;
|
||||||
|
import java.util.Date;
|
||||||
|
|
||||||
import com.wordnik.swagger.annotations.*;
|
import com.wordnik.swagger.annotations.*;
|
||||||
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||||
|
|
||||||
|
|
||||||
@ApiModel(description = "")
|
@ApiModel(description = "")
|
||||||
public class WordOfTheDay {
|
public class WordOfTheDay {
|
||||||
|
|
||||||
private Long id = null;
|
private Long id = null;
|
||||||
|
|
||||||
//public enum idEnum { };
|
|
||||||
|
|
||||||
private String parentId = null;
|
private String parentId = null;
|
||||||
private String category = null;
|
private String category = null;
|
||||||
private String createdBy = null;
|
private String createdBy = null;
|
||||||
@ -26,11 +25,12 @@ public class WordOfTheDay {
|
|||||||
private List<SimpleExample> examples = new ArrayList<SimpleExample>() ;
|
private List<SimpleExample> examples = new ArrayList<SimpleExample>() ;
|
||||||
private String note = null;
|
private String note = null;
|
||||||
private Date publishDate = null;
|
private Date publishDate = null;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
**/
|
**/
|
||||||
@ApiModelProperty(required = false, value = "")
|
@ApiModelProperty(required = false, value = "")
|
||||||
|
@JsonProperty("id")
|
||||||
public Long getId() {
|
public Long getId() {
|
||||||
return id;
|
return id;
|
||||||
}
|
}
|
||||||
@ -42,6 +42,7 @@ public class WordOfTheDay {
|
|||||||
/**
|
/**
|
||||||
**/
|
**/
|
||||||
@ApiModelProperty(required = false, value = "")
|
@ApiModelProperty(required = false, value = "")
|
||||||
|
@JsonProperty("parentId")
|
||||||
public String getParentId() {
|
public String getParentId() {
|
||||||
return parentId;
|
return parentId;
|
||||||
}
|
}
|
||||||
@ -53,6 +54,7 @@ public class WordOfTheDay {
|
|||||||
/**
|
/**
|
||||||
**/
|
**/
|
||||||
@ApiModelProperty(required = false, value = "")
|
@ApiModelProperty(required = false, value = "")
|
||||||
|
@JsonProperty("category")
|
||||||
public String getCategory() {
|
public String getCategory() {
|
||||||
return category;
|
return category;
|
||||||
}
|
}
|
||||||
@ -64,6 +66,7 @@ public class WordOfTheDay {
|
|||||||
/**
|
/**
|
||||||
**/
|
**/
|
||||||
@ApiModelProperty(required = false, value = "")
|
@ApiModelProperty(required = false, value = "")
|
||||||
|
@JsonProperty("createdBy")
|
||||||
public String getCreatedBy() {
|
public String getCreatedBy() {
|
||||||
return createdBy;
|
return createdBy;
|
||||||
}
|
}
|
||||||
@ -75,6 +78,7 @@ public class WordOfTheDay {
|
|||||||
/**
|
/**
|
||||||
**/
|
**/
|
||||||
@ApiModelProperty(required = false, value = "")
|
@ApiModelProperty(required = false, value = "")
|
||||||
|
@JsonProperty("createdAt")
|
||||||
public Date getCreatedAt() {
|
public Date getCreatedAt() {
|
||||||
return createdAt;
|
return createdAt;
|
||||||
}
|
}
|
||||||
@ -86,6 +90,7 @@ public class WordOfTheDay {
|
|||||||
/**
|
/**
|
||||||
**/
|
**/
|
||||||
@ApiModelProperty(required = false, value = "")
|
@ApiModelProperty(required = false, value = "")
|
||||||
|
@JsonProperty("contentProvider")
|
||||||
public ContentProvider getContentProvider() {
|
public ContentProvider getContentProvider() {
|
||||||
return contentProvider;
|
return contentProvider;
|
||||||
}
|
}
|
||||||
@ -97,6 +102,7 @@ public class WordOfTheDay {
|
|||||||
/**
|
/**
|
||||||
**/
|
**/
|
||||||
@ApiModelProperty(required = false, value = "")
|
@ApiModelProperty(required = false, value = "")
|
||||||
|
@JsonProperty("htmlExtra")
|
||||||
public String getHtmlExtra() {
|
public String getHtmlExtra() {
|
||||||
return htmlExtra;
|
return htmlExtra;
|
||||||
}
|
}
|
||||||
@ -108,6 +114,7 @@ public class WordOfTheDay {
|
|||||||
/**
|
/**
|
||||||
**/
|
**/
|
||||||
@ApiModelProperty(required = false, value = "")
|
@ApiModelProperty(required = false, value = "")
|
||||||
|
@JsonProperty("word")
|
||||||
public String getWord() {
|
public String getWord() {
|
||||||
return word;
|
return word;
|
||||||
}
|
}
|
||||||
@ -119,6 +126,7 @@ public class WordOfTheDay {
|
|||||||
/**
|
/**
|
||||||
**/
|
**/
|
||||||
@ApiModelProperty(required = false, value = "")
|
@ApiModelProperty(required = false, value = "")
|
||||||
|
@JsonProperty("definitions")
|
||||||
public List<SimpleDefinition> getDefinitions() {
|
public List<SimpleDefinition> getDefinitions() {
|
||||||
return definitions;
|
return definitions;
|
||||||
}
|
}
|
||||||
@ -130,6 +138,7 @@ public class WordOfTheDay {
|
|||||||
/**
|
/**
|
||||||
**/
|
**/
|
||||||
@ApiModelProperty(required = false, value = "")
|
@ApiModelProperty(required = false, value = "")
|
||||||
|
@JsonProperty("examples")
|
||||||
public List<SimpleExample> getExamples() {
|
public List<SimpleExample> getExamples() {
|
||||||
return examples;
|
return examples;
|
||||||
}
|
}
|
||||||
@ -141,6 +150,7 @@ public class WordOfTheDay {
|
|||||||
/**
|
/**
|
||||||
**/
|
**/
|
||||||
@ApiModelProperty(required = false, value = "")
|
@ApiModelProperty(required = false, value = "")
|
||||||
|
@JsonProperty("note")
|
||||||
public String getNote() {
|
public String getNote() {
|
||||||
return note;
|
return note;
|
||||||
}
|
}
|
||||||
@ -152,6 +162,7 @@ public class WordOfTheDay {
|
|||||||
/**
|
/**
|
||||||
**/
|
**/
|
||||||
@ApiModelProperty(required = false, value = "")
|
@ApiModelProperty(required = false, value = "")
|
||||||
|
@JsonProperty("publishDate")
|
||||||
public Date getPublishDate() {
|
public Date getPublishDate() {
|
||||||
return publishDate;
|
return publishDate;
|
||||||
}
|
}
|
||||||
|
@ -2,24 +2,21 @@ package io.swagger.client.model;
|
|||||||
|
|
||||||
|
|
||||||
import com.wordnik.swagger.annotations.*;
|
import com.wordnik.swagger.annotations.*;
|
||||||
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||||
|
|
||||||
|
|
||||||
@ApiModel(description = "")
|
@ApiModel(description = "")
|
||||||
public class WordSearchResult {
|
public class WordSearchResult {
|
||||||
|
|
||||||
private Long count = null;
|
private Long count = null;
|
||||||
|
|
||||||
//public enum countEnum { };
|
|
||||||
|
|
||||||
private Double lexicality = null;
|
private Double lexicality = null;
|
||||||
|
|
||||||
//public enum lexicalityEnum { };
|
|
||||||
|
|
||||||
private String word = null;
|
private String word = null;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
**/
|
**/
|
||||||
@ApiModelProperty(required = false, value = "")
|
@ApiModelProperty(required = false, value = "")
|
||||||
|
@JsonProperty("count")
|
||||||
public Long getCount() {
|
public Long getCount() {
|
||||||
return count;
|
return count;
|
||||||
}
|
}
|
||||||
@ -31,6 +28,7 @@ public class WordSearchResult {
|
|||||||
/**
|
/**
|
||||||
**/
|
**/
|
||||||
@ApiModelProperty(required = false, value = "")
|
@ApiModelProperty(required = false, value = "")
|
||||||
|
@JsonProperty("lexicality")
|
||||||
public Double getLexicality() {
|
public Double getLexicality() {
|
||||||
return lexicality;
|
return lexicality;
|
||||||
}
|
}
|
||||||
@ -42,6 +40,7 @@ public class WordSearchResult {
|
|||||||
/**
|
/**
|
||||||
**/
|
**/
|
||||||
@ApiModelProperty(required = false, value = "")
|
@ApiModelProperty(required = false, value = "")
|
||||||
|
@JsonProperty("word")
|
||||||
public String getWord() {
|
public String getWord() {
|
||||||
return word;
|
return word;
|
||||||
}
|
}
|
||||||
|
@ -4,20 +4,20 @@ import io.swagger.client.model.WordSearchResult;
|
|||||||
import java.util.*;
|
import java.util.*;
|
||||||
|
|
||||||
import com.wordnik.swagger.annotations.*;
|
import com.wordnik.swagger.annotations.*;
|
||||||
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||||
|
|
||||||
|
|
||||||
@ApiModel(description = "")
|
@ApiModel(description = "")
|
||||||
public class WordSearchResults {
|
public class WordSearchResults {
|
||||||
|
|
||||||
private List<WordSearchResult> searchResults = new ArrayList<WordSearchResult>() ;
|
private List<WordSearchResult> searchResults = new ArrayList<WordSearchResult>() ;
|
||||||
private Integer totalResults = null;
|
private Integer totalResults = null;
|
||||||
|
|
||||||
//public enum totalResultsEnum { };
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
**/
|
**/
|
||||||
@ApiModelProperty(required = false, value = "")
|
@ApiModelProperty(required = false, value = "")
|
||||||
|
@JsonProperty("searchResults")
|
||||||
public List<WordSearchResult> getSearchResults() {
|
public List<WordSearchResult> getSearchResults() {
|
||||||
return searchResults;
|
return searchResults;
|
||||||
}
|
}
|
||||||
@ -29,6 +29,7 @@ public class WordSearchResults {
|
|||||||
/**
|
/**
|
||||||
**/
|
**/
|
||||||
@ApiModelProperty(required = false, value = "")
|
@ApiModelProperty(required = false, value = "")
|
||||||
|
@JsonProperty("totalResults")
|
||||||
public Integer getTotalResults() {
|
public Integer getTotalResults() {
|
||||||
return totalResults;
|
return totalResults;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user