// Path: src/main/java/io/evanwong/oss/hipchat/v2/commons/ExpandableRequestBuilder.java
// public abstract class ExpandableRequestBuilder<T, E> extends RequestBuilder<E> {
// 
//     protected final List<String> expansions;
// 
//     public ExpandableRequestBuilder(String accessToken, String baseUrl, HttpClient httpClient, ExecutorService executorService) {
//         super(accessToken, baseUrl, httpClient, executorService);
//         expansions = new ArrayList<>();
//     }
// 
//     public T addExpansion(String title) {
//         expansions.add(title);
//         return (T)this;
//     }
// }


import io.evanwong.oss.hipchat.v2.commons.ExpandableRequestBuilder;
import org.apache.http.client.HttpClient;
import java.util.concurrent.ExecutorService;
package io.evanwong.oss.hipchat.v2.rooms;



public class GetAllRoomsRequestBuilder extends ExpandableRequestBuilder<GetAllRoomsRequestBuilder, GetAllRoomsRequest> {

    private Integer startIndex;
    private Integer maxResults;
    private Boolean includeArchived;

    public GetAllRoomsRequestBuilder(String accessToken, String baseUrl, HttpClient httpClient, ExecutorService executorService) {
        super(accessToken, baseUrl, httpClient, executorService);
    }

    public GetAllRoomsRequestBuilder setStartIndex(Integer startIndex) {
        this.startIndex = startIndex;
        return this;
    }

    public GetAllRoomsRequestBuilder setMaxResults(Integer maxResults) {
        this.maxResults = maxResults;
// Path: src/main/java/io/evanwong/oss/hipchat/v2/commons/ExpandableRequestBuilder.java
// public abstract class ExpandableRequestBuilder<T, E> extends RequestBuilder<E> {
// 
//     protected final List<String> expansions;
// 
//     public ExpandableRequestBuilder(String accessToken, String baseUrl, HttpClient httpClient, ExecutorService executorService) {
//         super(accessToken, baseUrl, httpClient, executorService);
//         expansions = new ArrayList<>();
//     }
// 
//     public T addExpansion(String title) {
//         expansions.add(title);
//         return (T)this;
//     }
// }


// Path: src/main/java/io/evanwong/oss/hipchat/v2/rooms/GetAllRoomsRequestBuilder.java
import io.evanwong.oss.hipchat.v2.commons.ExpandableRequestBuilder;
import org.apache.http.client.HttpClient;
import java.util.concurrent.ExecutorService;

package io.evanwong.oss.hipchat.v2.rooms;



public class GetAllRoomsRequestBuilder extends ExpandableRequestBuilder<GetAllRoomsRequestBuilder, GetAllRoomsRequest> {

    private Integer startIndex;
    private Integer maxResults;
    private Boolean includeArchived;

    public GetAllRoomsRequestBuilder(String accessToken, String baseUrl, HttpClient httpClient, ExecutorService executorService) {
        super(accessToken, baseUrl, httpClient, executorService);
    }

    public GetAllRoomsRequestBuilder setStartIndex(Integer startIndex) {
        this.startIndex = startIndex;
        return this;
    }

    public GetAllRoomsRequestBuilder setMaxResults(Integer maxResults) {
        this.maxResults = maxResults;
        return this;