// Path: src/main/java/org/springframework/social/salesforce/api/QueryResult.java
// public class QueryResult {
// 
//     private int totalSize;
// 
//     private boolean done;
// 
//     private String nextRecordsUrl;
// 
//     private List<ResultItem> records;
// 
// 
//     public QueryResult(int totalSize, boolean done) {
//         this.totalSize = totalSize;
//         this.done = done;
//     }
// 
// 
//     public int getTotalSize() {
//         return totalSize;
//     }
// 
//     public boolean isDone() {
//         return done;
//     }
// 
//     public List<ResultItem> getRecords() {
//         return records;
//     }
// 
//     public void setRecords(List<ResultItem> records) {
//         this.records = records;
//     }
// 
//     public String getNextRecordsUrl() {
//         return nextRecordsUrl;
//     }
// 
//     public void setNextRecordsUrl(String nextRecordsUrl) {
//         this.nextRecordsUrl = nextRecordsUrl;
//     }
// 
//     public String getNextRecordsToken() {
//         if (this.nextRecordsUrl != null) {
//             return this.nextRecordsUrl.substring(this.nextRecordsUrl.lastIndexOf('/') + 1, this.nextRecordsUrl.length());
//         }
//         return null;
//     }
// 
// }
// 
// Path: src/main/java/org/springframework/social/salesforce/api/ResultItem.java
// public class ResultItem implements Serializable {
// 
//     private String type;
// 
//     private String url;
// 
//     private Map attributes;
// 
// 
//     public ResultItem(String type, String url) {
//         this.type = type;
//         this.url = url;
//         this.attributes = new HashMap();
//     }
// 
// 
//     public String getType() {
//         return this.type;
//     }
// 
//     public void setType(String type) {
//         this.type = type;
//     }
// 
//     public String getUrl() {
//         return this.url;
//     }
// 
//     public void setUrl(String url) {
//         this.url = url;
//     }
// 
//     public Map getAttributes() {
//         return attributes;
//     }
// 
//     public void setAttributes(Map attributes) {
//         this.attributes = attributes;
//     }
// 
// }


import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
import org.springframework.social.salesforce.api.QueryResult;
import org.springframework.social.salesforce.api.ResultItem;
import java.util.List;
/**
 * Copyright (C) 2017 https://github.com/jottley/spring-social-salesforce
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *         http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package org.springframework.social.salesforce.api.impl.json;




/**
 * {@link QueryResult}
 *
 * @author Umut Utkan
 */
@JsonIgnoreProperties(ignoreUnknown = true)
public class QueryResultMixin {

    @JsonCreator
    QueryResultMixin(
            @JsonProperty("totalSize") int totalSize,
            @JsonProperty("done") boolean done) {
    }

    @JsonProperty("nextRecordsUrl")
    String nextRecordsUrl;

    @JsonProperty("records")
// Path: src/main/java/org/springframework/social/salesforce/api/QueryResult.java
// public class QueryResult {
// 
//     private int totalSize;
// 
//     private boolean done;
// 
//     private String nextRecordsUrl;
// 
//     private List<ResultItem> records;
// 
// 
//     public QueryResult(int totalSize, boolean done) {
//         this.totalSize = totalSize;
//         this.done = done;
//     }
// 
// 
//     public int getTotalSize() {
//         return totalSize;
//     }
// 
//     public boolean isDone() {
//         return done;
//     }
// 
//     public List<ResultItem> getRecords() {
//         return records;
//     }
// 
//     public void setRecords(List<ResultItem> records) {
//         this.records = records;
//     }
// 
//     public String getNextRecordsUrl() {
//         return nextRecordsUrl;
//     }
// 
//     public void setNextRecordsUrl(String nextRecordsUrl) {
//         this.nextRecordsUrl = nextRecordsUrl;
//     }
// 
//     public String getNextRecordsToken() {
//         if (this.nextRecordsUrl != null) {
//             return this.nextRecordsUrl.substring(this.nextRecordsUrl.lastIndexOf('/') + 1, this.nextRecordsUrl.length());
//         }
//         return null;
//     }
// 
// }
// 
// Path: src/main/java/org/springframework/social/salesforce/api/ResultItem.java
// public class ResultItem implements Serializable {
// 
//     private String type;
// 
//     private String url;
// 
//     private Map attributes;
// 
// 
//     public ResultItem(String type, String url) {
//         this.type = type;
//         this.url = url;
//         this.attributes = new HashMap();
//     }
// 
// 
//     public String getType() {
//         return this.type;
//     }
// 
//     public void setType(String type) {
//         this.type = type;
//     }
// 
//     public String getUrl() {
//         return this.url;
//     }
// 
//     public void setUrl(String url) {
//         this.url = url;
//     }
// 
//     public Map getAttributes() {
//         return attributes;
//     }
// 
//     public void setAttributes(Map attributes) {
//         this.attributes = attributes;
//     }
// 
// }


// Path: src/main/java/org/springframework/social/salesforce/api/impl/json/QueryResultMixin.java
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
import org.springframework.social.salesforce.api.QueryResult;
import org.springframework.social.salesforce.api.ResultItem;
import java.util.List;

/**
 * Copyright (C) 2017 https://github.com/jottley/spring-social-salesforce
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *         http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package org.springframework.social.salesforce.api.impl.json;




/**
 * {@link QueryResult}
 *
 * @author Umut Utkan
 */
@JsonIgnoreProperties(ignoreUnknown = true)
public class QueryResultMixin {

    @JsonCreator
    QueryResultMixin(
            @JsonProperty("totalSize") int totalSize,
            @JsonProperty("done") boolean done) {
    }

    @JsonProperty("nextRecordsUrl")
    String nextRecordsUrl;

    @JsonProperty("records")
    List<ResultItem> records;