com.tinypass.client.anon.model.Resource Maven / Gradle / Ivy
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 io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
public class Resource {
/* The resource ID */
private String rid = null;
/* The application ID */
private String aid = null;
/* The name */
private String name = null;
/* The resource description */
private String description = null;
/* The URL of the resource image */
private String imageUrl = 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 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;
}
@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(" name: ").append(name).append("\n");
sb.append(" description: ").append(description).append("\n");
sb.append(" imageUrl: ").append(imageUrl).append("\n");
sb.append("}\n");
return sb.toString();
}
}