All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.adzerk.sdk.AdditionalOptions Maven / Gradle / Ivy

package com.adzerk.sdk;

import java.util.List;
import java.util.Map;

public class AdditionalOptions {
  private String userAgent;
  private Boolean includeExplanation;
  private String apiKey;
  private List desiredAds;
  private Map> desiredAdMap; 

  public String getUserAgent() {
    return this.userAgent;
  }

  public void setUserAgent(String userAgent) {
    this.userAgent = userAgent;
  }

  public AdditionalOptions userAgent(String userAgent) {
    this.userAgent = userAgent;
    return this;
  }

  public Boolean getIncludeExplanation() {
    return this.includeExplanation;
  }

  public void setIncludeExplanation(Boolean includeExplanation) {
    this.includeExplanation = includeExplanation;
  }

  public AdditionalOptions includeExplanation(Boolean includeExplanation) {
    this.includeExplanation = includeExplanation;
    return this;
  }

  public String getApiKey() {
    return this.apiKey;
  }

  public void setApiKey(String apiKey) {
    this.apiKey = apiKey;
  }

  public AdditionalOptions apiKey(String apiKey) {
    this.apiKey = apiKey;
    return this;
  }

  public AdditionalOptions desiredAds(List desiredAds) {
    this.desiredAds = desiredAds;
    return this;
  }

  public List getDesiredAds() {
    return desiredAds;
  }

  public void setDesiredAds(List desiredAds) {
    this.desiredAds = desiredAds;
  }

  public AdditionalOptions desiredAdMap(Map> desiredAdMap) {
    this.desiredAdMap = desiredAdMap;
    return this;
  }

  public Map> getDesiredAdMap() {
    return desiredAdMap;
  }

  public void setDesiredAdMap(Map> desiredAdMap) {
    this.desiredAdMap = desiredAdMap;
  }

  public Boolean hasValues() {
    return (this.includeExplanation != null && this.includeExplanation) || this.userAgent != null;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy