Advertisement
Guest User

Untitled

a guest
Sep 16th, 2015
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 2.73 KB | None | 0 0
  1. package com.app.roomi.pojo;
  2.  
  3. import java.util.ArrayList;
  4. import java.util.HashMap;
  5. import java.util.List;
  6. import java.util.Map;
  7. import javax.annotation.Generated;
  8.  
  9.  
  10.  
  11. @Generated("org.jsonschema2pojo")
  12.  class Or {
  13.  
  14.     private String duration;
  15.     private Map<String, Object> additionalProperties = new HashMap<String, Object>();
  16.  
  17.     /**
  18.      *
  19.      * @return
  20.      * The duration
  21.      */
  22.     public String getDuration() {
  23.         return duration;
  24.     }
  25.  
  26.     /**
  27.      *
  28.      * @param duration
  29.      * The duration
  30.      */
  31.     public void setDuration(String duration) {
  32.         this.duration = duration;
  33.     }
  34.  
  35.     public Map<String, Object> getAdditionalProperties() {
  36.         return this.additionalProperties;
  37.     }
  38.  
  39.     public void setAdditionalProperty(String name, Object value) {
  40.         this.additionalProperties.put(name, value);
  41.     }
  42.  
  43. }
  44.  
  45.  
  46. @Generated("org.jsonschema2pojo")
  47.  class Q {
  48.  
  49.     private String region;
  50.     private List<Or> or = new ArrayList<>();
  51.     private Map<String, Object> additionalProperties = new HashMap<String, Object>();
  52.  
  53.     /**
  54.      *
  55.      * @return
  56.      * The region
  57.      */
  58.     public String getRegion() {
  59.         return region;
  60.     }
  61.  
  62.     /**
  63.      *
  64.      * @param region
  65.      * The region
  66.      */
  67.     public void setRegion(String region) {
  68.         this.region = region;
  69.     }
  70.  
  71.     /**
  72.      *
  73.      * @return
  74.      * The or
  75.      */
  76.     public List<Or> getOr() {
  77.         return or;
  78.     }
  79.  
  80.     /**
  81.      *
  82.      * @param or
  83.      * The or
  84.      */
  85.     public void setOr(List<Or> or) {
  86.         this.or = or;
  87.     }
  88.  
  89.     public Map<String, Object> getAdditionalProperties() {
  90.         return this.additionalProperties;
  91.     }
  92.  
  93.     public void setAdditionalProperty(String name, Object value) {
  94.         this.additionalProperties.put(name, value);
  95.     }
  96.  
  97. }
  98.  
  99. @Generated("org.jsonschema2pojo")
  100. public class RoomListing {
  101.  
  102.     private Q q;
  103.     private String sort;
  104.     private Map<String, Object> additionalProperties = new HashMap<String, Object>();
  105.  
  106.     /**
  107.      *
  108.      * @return
  109.      * The q
  110.      */
  111.     public Q getQ() {
  112.         return q;
  113.     }
  114.  
  115.     /**
  116.      *
  117.      * @param q
  118.      * The q
  119.      */
  120.     public void setQ(Q q) {
  121.         this.q = q;
  122.     }
  123.  
  124.     /**
  125.      *
  126.      * @return
  127.      * The sort
  128.      */
  129.     public String getSort() {
  130.         return sort;
  131.     }
  132.  
  133.     /**
  134.      *
  135.      * @param sort
  136.      * The sort
  137.      */
  138.     public void setSort(String sort) {
  139.         this.sort = sort;
  140.     }
  141.  
  142.     public Map<String, Object> getAdditionalProperties() {
  143.         return this.additionalProperties;
  144.     }
  145.  
  146.     public void setAdditionalProperty(String name, Object value) {
  147.         this.additionalProperties.put(name, value);
  148.     }
  149.  
  150. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement