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

io.swagger.client.model.UtmTracking Maven / Gradle / Ivy

The newest version!
/*
 * elasticemail_Restful_api
 * Send your emails with ElasticEmail API
 *
 * OpenAPI spec version: 3.0.1
 * Contact: [email protected]
 *
 * 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 io.swagger.client.model;

import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;

/**
 * UtmTracking
 */
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2019-03-29T15:32:30.861Z")
public class UtmTracking {
  @SerializedName("UtmSource")
  private String utmSource = null;

  @SerializedName("UtmMedium")
  private String utmMedium = null;

  @SerializedName("UtmCampaign")
  private String utmCampaign = null;

  @SerializedName("UtmContent")
  private String utmContent = null;

  public UtmTracking utmSource(String utmSource) {
    this.utmSource = utmSource;
    return this;
  }

   /**
   * The utm_source marketing parameter appended to each link in the campaign.
   * @return utmSource
  **/
  @ApiModelProperty(example = "source1", required = true, value = "The utm_source marketing parameter appended to each link in the campaign.")
  public String getUtmSource() {
    return utmSource;
  }

  public void setUtmSource(String utmSource) {
    this.utmSource = utmSource;
  }

  public UtmTracking utmMedium(String utmMedium) {
    this.utmMedium = utmMedium;
    return this;
  }

   /**
   * The utm_medium marketing parameter appended to each link in the campaign.
   * @return utmMedium
  **/
  @ApiModelProperty(example = "medium1", required = true, value = "The utm_medium marketing parameter appended to each link in the campaign.")
  public String getUtmMedium() {
    return utmMedium;
  }

  public void setUtmMedium(String utmMedium) {
    this.utmMedium = utmMedium;
  }

  public UtmTracking utmCampaign(String utmCampaign) {
    this.utmCampaign = utmCampaign;
    return this;
  }

   /**
   * The utm_campaign marketing parameter appended to each link in the campaign.
   * @return utmCampaign
  **/
  @ApiModelProperty(example = "campaign1", required = true, value = "The utm_campaign marketing parameter appended to each link in the campaign.")
  public String getUtmCampaign() {
    return utmCampaign;
  }

  public void setUtmCampaign(String utmCampaign) {
    this.utmCampaign = utmCampaign;
  }

  public UtmTracking utmContent(String utmContent) {
    this.utmContent = utmContent;
    return this;
  }

   /**
   * The utm_content marketing parameter appended to each link in the campaign.
   * @return utmContent
  **/
  @ApiModelProperty(example = "content1", required = true, value = "The utm_content marketing parameter appended to each link in the campaign.")
  public String getUtmContent() {
    return utmContent;
  }

  public void setUtmContent(String utmContent) {
    this.utmContent = utmContent;
  }


  @Override
  public boolean equals(java.lang.Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    UtmTracking utmTracking = (UtmTracking) o;
    return Objects.equals(this.utmSource, utmTracking.utmSource) &&
        Objects.equals(this.utmMedium, utmTracking.utmMedium) &&
        Objects.equals(this.utmCampaign, utmTracking.utmCampaign) &&
        Objects.equals(this.utmContent, utmTracking.utmContent);
  }

  @Override
  public int hashCode() {
    return Objects.hash(utmSource, utmMedium, utmCampaign, utmContent);
  }


  @Override
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("class UtmTracking {\n");
    
    sb.append("    utmSource: ").append(toIndentedString(utmSource)).append("\n");
    sb.append("    utmMedium: ").append(toIndentedString(utmMedium)).append("\n");
    sb.append("    utmCampaign: ").append(toIndentedString(utmCampaign)).append("\n");
    sb.append("    utmContent: ").append(toIndentedString(utmContent)).append("\n");
    sb.append("}");
    return sb.toString();
  }

  /**
   * 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