Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package com.app.roomi.pojo;
- import java.util.ArrayList;
- import java.util.HashMap;
- import java.util.List;
- import java.util.Map;
- import javax.annotation.Generated;
- @Generated("org.jsonschema2pojo")
- class Or {
- private String duration;
- private Map<String, Object> additionalProperties = new HashMap<String, Object>();
- /**
- *
- * @return
- * The duration
- */
- public String getDuration() {
- return duration;
- }
- /**
- *
- * @param duration
- * The duration
- */
- public void setDuration(String duration) {
- this.duration = duration;
- }
- public Map<String, Object> getAdditionalProperties() {
- return this.additionalProperties;
- }
- public void setAdditionalProperty(String name, Object value) {
- this.additionalProperties.put(name, value);
- }
- }
- @Generated("org.jsonschema2pojo")
- class Q {
- private String region;
- private List<Or> or = new ArrayList<>();
- private Map<String, Object> additionalProperties = new HashMap<String, Object>();
- /**
- *
- * @return
- * The region
- */
- public String getRegion() {
- return region;
- }
- /**
- *
- * @param region
- * The region
- */
- public void setRegion(String region) {
- this.region = region;
- }
- /**
- *
- * @return
- * The or
- */
- public List<Or> getOr() {
- return or;
- }
- /**
- *
- * @param or
- * The or
- */
- public void setOr(List<Or> or) {
- this.or = or;
- }
- public Map<String, Object> getAdditionalProperties() {
- return this.additionalProperties;
- }
- public void setAdditionalProperty(String name, Object value) {
- this.additionalProperties.put(name, value);
- }
- }
- @Generated("org.jsonschema2pojo")
- public class RoomListing {
- private Q q;
- private String sort;
- private Map<String, Object> additionalProperties = new HashMap<String, Object>();
- /**
- *
- * @return
- * The q
- */
- public Q getQ() {
- return q;
- }
- /**
- *
- * @param q
- * The q
- */
- public void setQ(Q q) {
- this.q = q;
- }
- /**
- *
- * @return
- * The sort
- */
- public String getSort() {
- return sort;
- }
- /**
- *
- * @param sort
- * The sort
- */
- public void setSort(String sort) {
- this.sort = sort;
- }
- public Map<String, Object> getAdditionalProperties() {
- return this.additionalProperties;
- }
- public void setAdditionalProperty(String name, Object value) {
- this.additionalProperties.put(name, value);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement