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

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

There is a newer version: 16.331.0
Show newest version
package com.tinypass.client.publisher.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;
  

  /* Whether the object is deleted */
  private Boolean deleted = null;
  

  /* Whether the object is disabled */
  private Boolean disabled = null;
  

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

  /* The update date */
  private Integer updateDate = 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 type of the resource (0: Standard, 4: Bundle) */
  private String type = null;
    //public enum typeEnum {  standard,  bundle,  };


  /* The resource type label (\"Standard\" or \"Bundle\") */
  private String typeLabel = null;
    //public enum typeLabelEnum {  Standard,  Bundle,  };


  /* The resource bundle type */
  private String bundleType = null;
    //public enum bundleTypeEnum {  undefined,  fixed,  tagged,  };


  /* The bundle type label */
  private String bundleTypeLabel = null;
    //public enum bundleTypeLabelEnum {  Undefined,  Fixed,  Tagged,  };


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

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

  /* The external ID; defined by the client */
  private String externalId = null;
  

  /* Enable the resource for Facebook Subscriptions in Instant Articles */
  private Boolean isFbiaResource = 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 Boolean getDeleted() {
    return deleted;
  }
  public void setDeleted(Boolean deleted) {
    this.deleted = deleted;
  }


  public Boolean getDisabled() {
    return disabled;
  }
  public void setDisabled(Boolean disabled) {
    this.disabled = disabled;
  }


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


  public Integer getUpdateDate() {
    return updateDate;
  }
  public void setUpdateDate(Integer updateDate) {
    this.updateDate = updateDate;
  }


  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 getType() {
    return type;
  }
  public void setType(String type) {
    this.type = type;
  }


  public String getTypeLabel() {
    return typeLabel;
  }
  public void setTypeLabel(String typeLabel) {
    this.typeLabel = typeLabel;
  }


  public String getBundleType() {
    return bundleType;
  }
  public void setBundleType(String bundleType) {
    this.bundleType = bundleType;
  }


  public String getBundleTypeLabel() {
    return bundleTypeLabel;
  }
  public void setBundleTypeLabel(String bundleTypeLabel) {
    this.bundleTypeLabel = bundleTypeLabel;
  }


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


  public String getResourceUrl() {
    return resourceUrl;
  }
  public void setResourceUrl(String resourceUrl) {
    this.resourceUrl = resourceUrl;
  }


  public String getExternalId() {
    return externalId;
  }
  public void setExternalId(String externalId) {
    this.externalId = externalId;
  }


  public Boolean getIsFbiaResource() {
    return isFbiaResource;
  }
  public void setIsFbiaResource(Boolean isFbiaResource) {
    this.isFbiaResource = isFbiaResource;
  }


  @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("  deleted: ").append(deleted).append("\n");
    sb.append("  disabled: ").append(disabled).append("\n");
    sb.append("  createDate: ").append(createDate).append("\n");
    sb.append("  updateDate: ").append(updateDate).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("  type: ").append(type).append("\n");
    sb.append("  typeLabel: ").append(typeLabel).append("\n");
    sb.append("  bundleType: ").append(bundleType).append("\n");
    sb.append("  bundleTypeLabel: ").append(bundleTypeLabel).append("\n");
    sb.append("  purchaseUrl: ").append(purchaseUrl).append("\n");
    sb.append("  resourceUrl: ").append(resourceUrl).append("\n");
    sb.append("  externalId: ").append(externalId).append("\n");
    sb.append("  isFbiaResource: ").append(isFbiaResource).append("\n");
    sb.append("}\n");
    return sb.toString();
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy