+ * + * + */ +@JsonInclude(JsonInclude.Include.NON_NULL) +@Generated("org.jsonschema2pojo") +@JsonPropertyOrder({ + "id", + "categoryName", + "categoryDistance", + "subCategories" +}) +public class Category { + + /** + * Id of the category + *
+ * + * + */ + @JsonProperty("id") + @Pattern(regexp = "^([A-Za-z0-9]{1,64})$") + private String id; + /** + * Name of the Survey - Optional + *
+ * + * + */ + @JsonProperty("categoryName") + @Pattern(regexp = "^([A-Za-z0-9]{1,64})$") + private String categoryName; + /** + * Distance calculated in the Category + *
+ *
+ *
+ */
+ @JsonProperty("categoryDistance")
+ private Integer categoryDistance;
+ @JsonProperty("subCategories")
+ @Valid
+ private List
+ *
+ *
+ * @return
+ * The id
+ */
+ @JsonProperty("id")
+ public String getId() {
+ return id;
+ }
+
+ /**
+ * Id of the category
+ *
+ *
+ *
+ * @param id
+ * The id
+ */
+ @JsonProperty("id")
+ public void setId(String id) {
+ this.id = id;
+ }
+
+ /**
+ * Name of the Survey - Optional
+ *
+ *
+ *
+ * @return
+ * The categoryName
+ */
+ @JsonProperty("categoryName")
+ public String getCategoryName() {
+ return categoryName;
+ }
+
+ /**
+ * Name of the Survey - Optional
+ *
+ *
+ *
+ * @param categoryName
+ * The categoryName
+ */
+ @JsonProperty("categoryName")
+ public void setCategoryName(String categoryName) {
+ this.categoryName = categoryName;
+ }
+
+ /**
+ * Distance calculated in the Category
+ *
+ *
+ *
+ * @return
+ * The categoryDistance
+ */
+ @JsonProperty("categoryDistance")
+ public Integer getCategoryDistance() {
+ return categoryDistance;
+ }
+
+ /**
+ * Distance calculated in the Category
+ *
+ *
+ *
+ * @param categoryDistance
+ * The categoryDistance
+ */
+ @JsonProperty("categoryDistance")
+ public void setCategoryDistance(Integer categoryDistance) {
+ this.categoryDistance = categoryDistance;
+ }
+
+ /**
+ *
+ * @return
+ * The subCategories
+ */
+ @JsonProperty("subCategories")
+ public List
+ *
+ *
+ */
+@JsonInclude(JsonInclude.Include.NON_NULL)
+@Generated("org.jsonschema2pojo")
+@JsonPropertyOrder({
+ "id",
+ "subCategoryName",
+ "subCategoryDistance",
+ "comments",
+ "latLong",
+ "image"
+})
+public class SubCategory {
+
+ /**
+ * Id of the Sub category
+ *
+ *
+ *
+ */
+ @JsonProperty("id")
+ @Pattern(regexp = "^([A-Za-z0-9]{1,64})$")
+ private String id;
+ /**
+ * Sub Category Name
+ *
+ *
+ *
+ */
+ @JsonProperty("subCategoryName")
+ @Pattern(regexp = "^([A-Za-z0-9]{1,128})$")
+ private String subCategoryName;
+ /**
+ * Distance Calculated for SubCategory
+ *
+ *
+ *
+ */
+ @JsonProperty("subCategoryDistance")
+ @Pattern(regexp = "^([A-Za-z0-9]{1,64})$")
+ private String subCategoryDistance;
+ /**
+ * Comments for each subcategory
+ *
+ *
+ *
+ */
+ @JsonProperty("comments")
+ @Pattern(regexp = "^([A-Za-z0-9]{1,64})$")
+ private String comments;
+ /**
+ * Lat Long for each subcategory
+ *
+ *
+ *
+ */
+ @JsonProperty("latLong")
+ @Pattern(regexp = "^([A-Za-z0-9]{1,64})$")
+ private String latLong;
+ /**
+ * Image for each subcategory
+ *
+ *
+ *
+ */
+ @JsonProperty("image")
+ @Pattern(regexp = "^([A-Za-z0-9]{1,64})$")
+ private String image;
+ @JsonIgnore
+ private Map
+ *
+ *
+ * @return
+ * The id
+ */
+ @JsonProperty("id")
+ public String getId() {
+ return id;
+ }
+
+ /**
+ * Id of the Sub category
+ *
+ *
+ *
+ * @param id
+ * The id
+ */
+ @JsonProperty("id")
+ public void setId(String id) {
+ this.id = id;
+ }
+
+ /**
+ * Sub Category Name
+ *
+ *
+ *
+ * @return
+ * The subCategoryName
+ */
+ @JsonProperty("subCategoryName")
+ public String getSubCategoryName() {
+ return subCategoryName;
+ }
+
+ /**
+ * Sub Category Name
+ *
+ *
+ *
+ * @param subCategoryName
+ * The subCategoryName
+ */
+ @JsonProperty("subCategoryName")
+ public void setSubCategoryName(String subCategoryName) {
+ this.subCategoryName = subCategoryName;
+ }
+
+ /**
+ * Distance Calculated for SubCategory
+ *
+ *
+ *
+ * @return
+ * The subCategoryDistance
+ */
+ @JsonProperty("subCategoryDistance")
+ public String getSubCategoryDistance() {
+ return subCategoryDistance;
+ }
+
+ /**
+ * Distance Calculated for SubCategory
+ *
+ *
+ *
+ * @param subCategoryDistance
+ * The subCategoryDistance
+ */
+ @JsonProperty("subCategoryDistance")
+ public void setSubCategoryDistance(String subCategoryDistance) {
+ this.subCategoryDistance = subCategoryDistance;
+ }
+
+ /**
+ * Comments for each subcategory
+ *
+ *
+ *
+ * @return
+ * The comments
+ */
+ @JsonProperty("comments")
+ public String getComments() {
+ return comments;
+ }
+
+ /**
+ * Comments for each subcategory
+ *
+ *
+ *
+ * @param comments
+ * The comments
+ */
+ @JsonProperty("comments")
+ public void setComments(String comments) {
+ this.comments = comments;
+ }
+
+ /**
+ * Lat Long for each subcategory
+ *
+ *
+ *
+ * @return
+ * The latLong
+ */
+ @JsonProperty("latLong")
+ public String getLatLong() {
+ return latLong;
+ }
+
+ /**
+ * Lat Long for each subcategory
+ *
+ *
+ *
+ * @param latLong
+ * The latLong
+ */
+ @JsonProperty("latLong")
+ public void setLatLong(String latLong) {
+ this.latLong = latLong;
+ }
+
+ /**
+ * Image for each subcategory
+ *
+ *
+ *
+ * @return
+ * The image
+ */
+ @JsonProperty("image")
+ public String getImage() {
+ return image;
+ }
+
+ /**
+ * Image for each subcategory
+ *
+ *
+ *
+ * @param image
+ * The image
+ */
+ @JsonProperty("image")
+ public void setImage(String image) {
+ this.image = image;
+ }
+
+ @Override
+ public String toString() {
+ return ToStringBuilder.reflectionToString(this);
+ }
+
+ @JsonAnyGetter
+ public Map
+ *
+ *
+ */
+@JsonInclude(JsonInclude.Include.NON_NULL)
+@Generated("org.jsonschema2pojo")
+@JsonPropertyOrder({
+ "id",
+ "surveyName",
+ "category"
+})
+public class Survey {
+
+ /**
+ * Id of the survey
+ *
+ *
+ *
+ */
+ @JsonProperty("id")
+ @Pattern(regexp = "^([A-Za-z0-9]{1,64})$")
+ private String id;
+ /**
+ * Name of the Survey - Optional
+ *
+ *
+ *
+ */
+ @JsonProperty("surveyName")
+ @Pattern(regexp = "^([A-Za-z0-9]{1,64})$")
+ private String surveyName;
+ /**
+ * Category
+ *
+ *
+ *
+ */
+ @JsonProperty("category")
+ @Valid
+ private Category category;
+ @JsonIgnore
+ private Map
+ *
+ *
+ * @return
+ * The id
+ */
+ @JsonProperty("id")
+ public String getId() {
+ return id;
+ }
+
+ /**
+ * Id of the survey
+ *
+ *
+ *
+ * @param id
+ * The id
+ */
+ @JsonProperty("id")
+ public void setId(String id) {
+ this.id = id;
+ }
+
+ /**
+ * Name of the Survey - Optional
+ *
+ *
+ *
+ * @return
+ * The surveyName
+ */
+ @JsonProperty("surveyName")
+ public String getSurveyName() {
+ return surveyName;
+ }
+
+ /**
+ * Name of the Survey - Optional
+ *
+ *
+ *
+ * @param surveyName
+ * The surveyName
+ */
+ @JsonProperty("surveyName")
+ public void setSurveyName(String surveyName) {
+ this.surveyName = surveyName;
+ }
+
+ /**
+ * Category
+ *
+ *
+ *
+ * @return
+ * The category
+ */
+ @JsonProperty("category")
+ public Category getCategory() {
+ return category;
+ }
+
+ /**
+ * Category
+ *
+ *
+ *
+ * @param category
+ * The category
+ */
+ @JsonProperty("category")
+ public void setCategory(Category category) {
+ this.category = category;
+ }
+
+ @Override
+ public String toString() {
+ return ToStringBuilder.reflectionToString(this);
+ }
+
+ @JsonAnyGetter
+ public Map