// Path: core/src/main/java/io/keen/client/java/http/HttpMethods.java
// public final class HttpMethods {
//     private HttpMethods() {}
// 
//     public final static String GET = "GET";
//     public final static String POST = "POST";
//     public final static String PUT = "PUT";
//     public final static String DELETE = "DELETE";
// }


import java.util.HashMap;
import java.util.Locale;
import java.util.Map;
import io.keen.client.java.http.HttpMethods;
package io.keen.client.java;



/**
 * Represents PUT requests performed against the Saved/Cached Queries API.
 *
 * @author masojus
 */
class SavedQueryPut extends SavedQueryRequest {
    private final KeenQueryRequest query;
    private final int refreshRate;

    private final Map<String, Object> miscProperties;


    SavedQueryPut(String queryName,
                  String displayName,
                  KeenQueryRequest query,
                  int refreshRate,
                  Map<String, ?> miscProperties) {
// Path: core/src/main/java/io/keen/client/java/http/HttpMethods.java
// public final class HttpMethods {
//     private HttpMethods() {}
// 
//     public final static String GET = "GET";
//     public final static String POST = "POST";
//     public final static String PUT = "PUT";
//     public final static String DELETE = "DELETE";
// }


// Path: query/src/main/java/io/keen/client/java/SavedQueryPut.java
import java.util.HashMap;
import java.util.Locale;
import java.util.Map;
import io.keen.client.java.http.HttpMethods;

package io.keen.client.java;



/**
 * Represents PUT requests performed against the Saved/Cached Queries API.
 *
 * @author masojus
 */
class SavedQueryPut extends SavedQueryRequest {
    private final KeenQueryRequest query;
    private final int refreshRate;

    private final Map<String, Object> miscProperties;


    SavedQueryPut(String queryName,
                  String displayName,
                  KeenQueryRequest query,
                  int refreshRate,
                  Map<String, ?> miscProperties) {
        super(HttpMethods.PUT, true /* needsMasterKey */, queryName, displayName);