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

com.tencent.ads.ApiContextConfig Maven / Gradle / Ivy

package com.tencent.ads;

public class ApiContextConfig {

  private String accessToken;
  private boolean isDebug;

  public ApiContextConfig() {}

  public ApiContextConfig(String accessToken) {
    this.accessToken = accessToken;
  }

  public ApiContextConfig(String accessToken, boolean isDebug) {
    this.accessToken = accessToken;
    this.isDebug = isDebug;
  }

  public ApiContextConfig accessToken(String accessToken) {
    this.accessToken = accessToken;
    return this;
  }

  public ApiContextConfig isDebug(boolean isDebug) {
    this.isDebug = isDebug;
    return this;
  }

  public String getAccessToken() {
    return accessToken;
  }

  public void setAccessToken(String accessToken) {
    this.accessToken = accessToken;
  }

  public boolean isDebug() {
    return isDebug;
  }

  public void setDebug(boolean debug) {
    isDebug = debug;
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy