com.tinypass.client.publisher.model.App 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;
public class App {
/* The application ID */
private String aid = null;
/* The default language */
private String defaultLang = null;
/* The email language */
private String emailLang = null;
/* The application details */
private String details = null;
/* Email address associated with this app */
private String email = null;
/* The application name */
private String name = null;
/* The user token provider */
private String userProvider = null;
//public enum userProviderEnum { tinypass_go, tinypass_accounts, publisher_user_ref, janrain, conde, gigya, piano_id, piano_id_lite, };
/* The application website */
private String url = null;
/* Primary image displayed within the dashboard */
private String logo1 = null;
/* Secondary image dispalyed within the ticket */
private String logo2 = null;
/* Current state of the app */
private String state = null;
//public enum stateEnum { active, inactive, suspended, declined, new, };
/* The app's private key (empty for security reasons) */
private String privateKey = null;
/* API token (empty for security reasons) */
private String apiToken = null;
public String getAid() {
return aid;
}
public void setAid(String aid) {
this.aid = aid;
}
public String getDefaultLang() {
return defaultLang;
}
public void setDefaultLang(String defaultLang) {
this.defaultLang = defaultLang;
}
public String getEmailLang() {
return emailLang;
}
public void setEmailLang(String emailLang) {
this.emailLang = emailLang;
}
public String getDetails() {
return details;
}
public void setDetails(String details) {
this.details = details;
}
public String getEmail() {
return email;
}
public void setEmail(String email) {
this.email = email;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public String getUserProvider() {
return userProvider;
}
public void setUserProvider(String userProvider) {
this.userProvider = userProvider;
}
public String getUrl() {
return url;
}
public void setUrl(String url) {
this.url = url;
}
public String getLogo1() {
return logo1;
}
public void setLogo1(String logo1) {
this.logo1 = logo1;
}
public String getLogo2() {
return logo2;
}
public void setLogo2(String logo2) {
this.logo2 = logo2;
}
public String getState() {
return state;
}
public void setState(String state) {
this.state = state;
}
public String getPrivateKey() {
return privateKey;
}
public void setPrivateKey(String privateKey) {
this.privateKey = privateKey;
}
public String getApiToken() {
return apiToken;
}
public void setApiToken(String apiToken) {
this.apiToken = apiToken;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class App {\n");
sb.append(" aid: ").append(aid).append("\n");
sb.append(" defaultLang: ").append(defaultLang).append("\n");
sb.append(" emailLang: ").append(emailLang).append("\n");
sb.append(" details: ").append(details).append("\n");
sb.append(" email: ").append(email).append("\n");
sb.append(" name: ").append(name).append("\n");
sb.append(" userProvider: ").append(userProvider).append("\n");
sb.append(" url: ").append(url).append("\n");
sb.append(" logo1: ").append(logo1).append("\n");
sb.append(" logo2: ").append(logo2).append("\n");
sb.append(" state: ").append(state).append("\n");
sb.append(" privateKey: ").append(privateKey).append("\n");
sb.append(" apiToken: ").append(apiToken).append("\n");
sb.append("}\n");
return sb.toString();
}
}