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

com.tinypass.client.user.model.Resource Maven / Gradle / Ivy

There is a newer version: 16.331.0
Show newest version
package com.tinypass.client.user.model;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonValue;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.Date;

public class Resource {

  /* The resource ID */
  private String rid = null;
  

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

  /* The publish date */
  private Integer publishDate = null;
  

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

  /* The resource description */
  private String description = null;
  

  /* The URL of the resource image */
  private String imageUrl = null;
  

  /* The URL of the purchase page */
  private String purchaseUrl = null;
  


  public String getRid() {
    return rid;
  }
  public void setRid(String rid) {
    this.rid = rid;
  }


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


  public Integer getPublishDate() {
    return publishDate;
  }
  public void setPublishDate(Integer publishDate) {
    this.publishDate = publishDate;
  }


  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 String getImageUrl() {
    return imageUrl;
  }
  public void setImageUrl(String imageUrl) {
    this.imageUrl = imageUrl;
  }


  public String getPurchaseUrl() {
    return purchaseUrl;
  }
  public void setPurchaseUrl(String purchaseUrl) {
    this.purchaseUrl = purchaseUrl;
  }


  @Override
  public String toString()  {
    StringBuilder sb = new StringBuilder();
    sb.append("class Resource {\n");
    sb.append("  rid: ").append(rid).append("\n");
    sb.append("  aid: ").append(aid).append("\n");
    sb.append("  publishDate: ").append(publishDate).append("\n");
    sb.append("  name: ").append(name).append("\n");
    sb.append("  description: ").append(description).append("\n");
    sb.append("  imageUrl: ").append(imageUrl).append("\n");
    sb.append("  purchaseUrl: ").append(purchaseUrl).append("\n");
    sb.append("}\n");
    return sb.toString();
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy