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;

public class AdditionalOptions {
  private String userAgent;
  private Boolean includeExplanation;
  private String apiKey;

  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 Boolean hasValues() {
    return (this.includeExplanation != null && this.includeExplanation) || this.userAgent != null;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy