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

com.tinypass.client.anon.model.Term Maven / Gradle / Ivy

There is a newer version: 16.366.0
Show newest version
package com.tinypass.client.anon.model;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonValue;
import com.tinypass.client.anon.model.Resource;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.Date;

public class Term {

  /* The term ID */
  private String termId = null;
  

  /* The application ID */
  private String aid = null;
  

  /* The resource */
  private Resource resource = null;
  

  /* The term type */
  private String type = null;
    //public enum typeEnum {  payment,  adview,  registration,  newsletter,  external,  custom,  grant_access,  gift,  specific_email_addresses_contract,  email_domain_contract,  ip_range_contract,  dynamic,  linked,  };


  /* The term name */
  private String name = null;
  

  /* The description of the term */
  private String description = null;
  

  /* The creation date */
  private Integer createDate = null;
  


  public String getTermId() {
    return termId;
  }
  public void setTermId(String termId) {
    this.termId = termId;
  }


  public String getAid() {
    return aid;
  }
  public void setAid(String aid) {
    this.aid = aid;
  }


  public Resource getResource() {
    return resource;
  }
  public void setResource(Resource resource) {
    this.resource = resource;
  }


  public String getType() {
    return type;
  }
  public void setType(String type) {
    this.type = type;
  }


  public String getName() {
    return name;
  }
  public void setName(String name) {
    this.name = name;
  }


  public String getDescription() {
    return description;
  }
  public void setDescription(String description) {
    this.description = description;
  }


  public Integer getCreateDate() {
    return createDate;
  }
  public void setCreateDate(Integer createDate) {
    this.createDate = createDate;
  }


  @Override
  public String toString()  {
    StringBuilder sb = new StringBuilder();
    sb.append("class Term {\n");
    sb.append("  termId: ").append(termId).append("\n");
    sb.append("  aid: ").append(aid).append("\n");
    sb.append("  resource: ").append(resource).append("\n");
    sb.append("  type: ").append(type).append("\n");
    sb.append("  name: ").append(name).append("\n");
    sb.append("  description: ").append(description).append("\n");
    sb.append("  createDate: ").append(createDate).append("\n");
    sb.append("}\n");
    return sb.toString();
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy