/** * For possible values see AlgorithmOptions.* */ public GHRequest setAlgorithm(String algo) { if (algo != null) this.algo = Helper.camelCaseToUnderScore(algo); return this; }
public PMap remove(String key) { // query accepts camelCase and under_score map.remove(Helper.camelCaseToUnderScore(key)); return this; }
public boolean has(String key) { // query accepts camelCase and under_score return map.containsKey(Helper.camelCaseToUnderScore(key)); }
public PMap put(String key, Object str) { if (str == null) throw new NullPointerException("Value cannot be null. Use remove instead."); // store in under_score map.put(Helper.camelCaseToUnderScore(key), str.toString()); return this; }
String get(String key) { if (Helper.isEmpty(key)) return ""; // query accepts camelCase and under_score String val = map.get(Helper.camelCaseToUnderScore(key)); if (val == null) return ""; return val; }
/** * For possible values see AlgorithmOptions.* */ public GHRequest setAlgorithm( String algo ) { if (algo != null) this.algo = Helper.camelCaseToUnderScore(algo); return this; }
/** * For possible values see AlgorithmOptions.* */ public GHRequest setAlgorithm(String algo) { if (algo != null) this.algo = Helper.camelCaseToUnderScore(algo); return this; }
/** * For possible values see AlgorithmOptions.* */ public GHRequest setAlgorithm(String algo) { if (algo != null) this.algo = Helper.camelCaseToUnderScore(algo); return this; }
public boolean has(String key) { // query accepts camelCase and under_score return map.containsKey(Helper.camelCaseToUnderScore(key)); }
public PMap remove(String key) { // query accepts camelCase and under_score map.remove(Helper.camelCaseToUnderScore(key)); return this; }
public PMap remove(String key) { // query accepts camelCase and under_score map.remove(Helper.camelCaseToUnderScore(key)); return this; }
public PMap remove( String key ) { // query accepts camelCase and under_score map.remove(Helper.camelCaseToUnderScore(key)); return this; }
public boolean has( String key ) { // query accepts camelCase and under_score return map.containsKey(Helper.camelCaseToUnderScore(key)); }
public boolean has(String key) { // query accepts camelCase and under_score return map.containsKey(Helper.camelCaseToUnderScore(key)); }
public PMap put(String key, Object str) { if (str == null) throw new NullPointerException("Value cannot be null. Use remove instead."); // store in under_score map.put(Helper.camelCaseToUnderScore(key), str.toString()); return this; }
public PMap put( String key, Object str ) { if (str == null) throw new NullPointerException("Value cannot be null. Use remove instead."); // store in under_score map.put(Helper.camelCaseToUnderScore(key), str.toString()); return this; }
public PMap put(String key, Object str) { if (str == null) throw new NullPointerException("Value cannot be null. Use remove instead."); // store in under_score map.put(Helper.camelCaseToUnderScore(key), str.toString()); return this; }
String get( String key ) { if (Helper.isEmpty(key)) return ""; // query accepts camelCase and under_score String val = map.get(Helper.camelCaseToUnderScore(key)); if (val == null) return ""; return val; }
String get(String key) { if (Helper.isEmpty(key)) return ""; // query accepts camelCase and under_score String val = map.get(Helper.camelCaseToUnderScore(key)); if (val == null) return ""; return val; }
String get(String key) { if (Helper.isEmpty(key)) return ""; // query accepts camelCase and under_score String val = map.get(Helper.camelCaseToUnderScore(key)); if (val == null) return ""; return val; }