com.tinypass.client.publisher.model.PermissionDTO Maven / Gradle / Ivy
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.ArrayList;
import java.util.List;
public class PermissionDTO {
/* Permission title */
private String title = null;
/* Permission description */
private String descr = null;
/* Permission mnemonic */
private String mnemonic = null;
private List defaults = new ArrayList();
public String getTitle() {
return title;
}
public void setTitle(String title) {
this.title = title;
}
public String getDescr() {
return descr;
}
public void setDescr(String descr) {
this.descr = descr;
}
public String getMnemonic() {
return mnemonic;
}
public void setMnemonic(String mnemonic) {
this.mnemonic = mnemonic;
}
public List getDefaults() {
return defaults;
}
public void setDefaults(List defaults) {
this.defaults = defaults;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class PermissionDTO {\n");
sb.append(" title: ").append(title).append("\n");
sb.append(" descr: ").append(descr).append("\n");
sb.append(" mnemonic: ").append(mnemonic).append("\n");
sb.append(" defaults: ").append(defaults).append("\n");
sb.append("}\n");
return sb.toString();
}
}