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

com.tencent.ads.model.UnionChannelPackageData Maven / Gradle / Ivy

/*
 * Marketing API
 * Marketing API
 *
 * OpenAPI spec version: 1.3
 *
 *
 * NOTE: This class is auto generated by the swagger code generator program.
 * https://github.com/swagger-api/swagger-codegen.git
 * Do not edit the class manually.
 */

package com.tencent.ads.model;

import com.google.gson.Gson;
import com.google.gson.annotations.SerializedName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.Objects;

/** 渠道包信息 */
@ApiModel(description = "渠道包信息")
public class UnionChannelPackageData {
  @SerializedName("android_union_app_id")
  private Long androidUnionAppId = null;

  @SerializedName("package_name")
  private String packageName = null;

  @SerializedName("channel_package_id")
  private Long channelPackageId = null;

  @SerializedName("version_code")
  private Long versionCode = null;

  @SerializedName("version_name")
  private String versionName = null;

  @SerializedName("created_time")
  private Long createdTime = null;

  @SerializedName("last_modified_time")
  private Long lastModifiedTime = null;

  @SerializedName("system_status")
  private UnionPackageSysStatus systemStatus = null;

  @SerializedName("system_message")
  private String systemMessage = null;

  @SerializedName("customized_channel_id")
  private String customizedChannelId = null;

  public UnionChannelPackageData androidUnionAppId(Long androidUnionAppId) {
    this.androidUnionAppId = androidUnionAppId;
    return this;
  }

  /**
   * Get androidUnionAppId
   *
   * @return androidUnionAppId
   */
  @ApiModelProperty(value = "")
  public Long getAndroidUnionAppId() {
    return androidUnionAppId;
  }

  public void setAndroidUnionAppId(Long androidUnionAppId) {
    this.androidUnionAppId = androidUnionAppId;
  }

  public UnionChannelPackageData packageName(String packageName) {
    this.packageName = packageName;
    return this;
  }

  /**
   * Get packageName
   *
   * @return packageName
   */
  @ApiModelProperty(value = "")
  public String getPackageName() {
    return packageName;
  }

  public void setPackageName(String packageName) {
    this.packageName = packageName;
  }

  public UnionChannelPackageData channelPackageId(Long channelPackageId) {
    this.channelPackageId = channelPackageId;
    return this;
  }

  /**
   * Get channelPackageId
   *
   * @return channelPackageId
   */
  @ApiModelProperty(value = "")
  public Long getChannelPackageId() {
    return channelPackageId;
  }

  public void setChannelPackageId(Long channelPackageId) {
    this.channelPackageId = channelPackageId;
  }

  public UnionChannelPackageData versionCode(Long versionCode) {
    this.versionCode = versionCode;
    return this;
  }

  /**
   * Get versionCode
   *
   * @return versionCode
   */
  @ApiModelProperty(value = "")
  public Long getVersionCode() {
    return versionCode;
  }

  public void setVersionCode(Long versionCode) {
    this.versionCode = versionCode;
  }

  public UnionChannelPackageData versionName(String versionName) {
    this.versionName = versionName;
    return this;
  }

  /**
   * Get versionName
   *
   * @return versionName
   */
  @ApiModelProperty(value = "")
  public String getVersionName() {
    return versionName;
  }

  public void setVersionName(String versionName) {
    this.versionName = versionName;
  }

  public UnionChannelPackageData createdTime(Long createdTime) {
    this.createdTime = createdTime;
    return this;
  }

  /**
   * Get createdTime
   *
   * @return createdTime
   */
  @ApiModelProperty(value = "")
  public Long getCreatedTime() {
    return createdTime;
  }

  public void setCreatedTime(Long createdTime) {
    this.createdTime = createdTime;
  }

  public UnionChannelPackageData lastModifiedTime(Long lastModifiedTime) {
    this.lastModifiedTime = lastModifiedTime;
    return this;
  }

  /**
   * Get lastModifiedTime
   *
   * @return lastModifiedTime
   */
  @ApiModelProperty(value = "")
  public Long getLastModifiedTime() {
    return lastModifiedTime;
  }

  public void setLastModifiedTime(Long lastModifiedTime) {
    this.lastModifiedTime = lastModifiedTime;
  }

  public UnionChannelPackageData systemStatus(UnionPackageSysStatus systemStatus) {
    this.systemStatus = systemStatus;
    return this;
  }

  /**
   * Get systemStatus
   *
   * @return systemStatus
   */
  @ApiModelProperty(value = "")
  public UnionPackageSysStatus getSystemStatus() {
    return systemStatus;
  }

  public void setSystemStatus(UnionPackageSysStatus systemStatus) {
    this.systemStatus = systemStatus;
  }

  public UnionChannelPackageData systemMessage(String systemMessage) {
    this.systemMessage = systemMessage;
    return this;
  }

  /**
   * Get systemMessage
   *
   * @return systemMessage
   */
  @ApiModelProperty(value = "")
  public String getSystemMessage() {
    return systemMessage;
  }

  public void setSystemMessage(String systemMessage) {
    this.systemMessage = systemMessage;
  }

  public UnionChannelPackageData customizedChannelId(String customizedChannelId) {
    this.customizedChannelId = customizedChannelId;
    return this;
  }

  /**
   * Get customizedChannelId
   *
   * @return customizedChannelId
   */
  @ApiModelProperty(value = "")
  public String getCustomizedChannelId() {
    return customizedChannelId;
  }

  public void setCustomizedChannelId(String customizedChannelId) {
    this.customizedChannelId = customizedChannelId;
  }

  @Override
  public boolean equals(java.lang.Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    UnionChannelPackageData unionChannelPackageData = (UnionChannelPackageData) o;
    return Objects.equals(this.androidUnionAppId, unionChannelPackageData.androidUnionAppId)
        && Objects.equals(this.packageName, unionChannelPackageData.packageName)
        && Objects.equals(this.channelPackageId, unionChannelPackageData.channelPackageId)
        && Objects.equals(this.versionCode, unionChannelPackageData.versionCode)
        && Objects.equals(this.versionName, unionChannelPackageData.versionName)
        && Objects.equals(this.createdTime, unionChannelPackageData.createdTime)
        && Objects.equals(this.lastModifiedTime, unionChannelPackageData.lastModifiedTime)
        && Objects.equals(this.systemStatus, unionChannelPackageData.systemStatus)
        && Objects.equals(this.systemMessage, unionChannelPackageData.systemMessage)
        && Objects.equals(this.customizedChannelId, unionChannelPackageData.customizedChannelId);
  }

  @Override
  public int hashCode() {
    return Objects.hash(
        androidUnionAppId,
        packageName,
        channelPackageId,
        versionCode,
        versionName,
        createdTime,
        lastModifiedTime,
        systemStatus,
        systemMessage,
        customizedChannelId);
  }

  @Override
  public String toString() {
    Gson gson = new Gson();
    return gson.toJson(this);
  }

  /**
   * Convert the given object to string with each line indented by 4 spaces (except the first line).
   */
  private String toIndentedString(java.lang.Object o) {
    if (o == null) {
      return "null";
    }
    return o.toString().replace("\n", "\n    ");
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy