com.tinypass.client.publisher.model.UserSubscriptionAccount 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.Date;
public class UserSubscriptionAccount {
/* The ID of the shared subscription account */
private String accountId = null;
/* The shared subscription user's ID */
private String userId = null;
/* The shared subscription user's email */
private String email = null;
/* The shared subscription user's first name */
private String firstName = null;
/* The shared subscription user's last name */
private String lastName = null;
/* The shared subscription user's personal name */
private String personalName = null;
/* The redeem date of the shared subscription */
private Integer redeemed = null;
/* Shared account active */
private Boolean active = null;
public String getAccountId() {
return accountId;
}
public void setAccountId(String accountId) {
this.accountId = accountId;
}
public String getUserId() {
return userId;
}
public void setUserId(String userId) {
this.userId = userId;
}
public String getEmail() {
return email;
}
public void setEmail(String email) {
this.email = email;
}
public String getFirstName() {
return firstName;
}
public void setFirstName(String firstName) {
this.firstName = firstName;
}
public String getLastName() {
return lastName;
}
public void setLastName(String lastName) {
this.lastName = lastName;
}
public String getPersonalName() {
return personalName;
}
public void setPersonalName(String personalName) {
this.personalName = personalName;
}
public Integer getRedeemed() {
return redeemed;
}
public void setRedeemed(Integer redeemed) {
this.redeemed = redeemed;
}
public Boolean getActive() {
return active;
}
public void setActive(Boolean active) {
this.active = active;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class UserSubscriptionAccount {\n");
sb.append(" accountId: ").append(accountId).append("\n");
sb.append(" userId: ").append(userId).append("\n");
sb.append(" email: ").append(email).append("\n");
sb.append(" firstName: ").append(firstName).append("\n");
sb.append(" lastName: ").append(lastName).append("\n");
sb.append(" personalName: ").append(personalName).append("\n");
sb.append(" redeemed: ").append(redeemed).append("\n");
sb.append(" active: ").append(active).append("\n");
sb.append("}\n");
return sb.toString();
}
}