Exemplo n.º 1
0
 @JsonCreator
 PointsRequest(@JsonProperty("from") @Nullable Long from, @JsonProperty("to") @Nullable Long to)
     throws JsonMappingException {
   checkRequiredProperty(from, "from");
   checkRequiredProperty(to, "to");
   this.from = from;
   this.to = to;
 }
Exemplo n.º 2
0
 @JsonCreator
 GroupingsRequest(
     @JsonProperty("from") @Nullable Long from,
     @JsonProperty("to") @Nullable Long to,
     @JsonProperty("limit") @Nullable Integer limit)
     throws JsonMappingException {
   checkRequiredProperty(from, "from");
   checkRequiredProperty(to, "to");
   checkRequiredProperty(limit, "limit");
   this.from = from;
   this.to = to;
   this.limit = limit;
 }