001package com.gigya.android.sdk.account.models; 002 003import android.support.annotation.Nullable; 004 005import com.gigya.android.sdk.network.GigyaResponseModel; 006import com.gigya.android.sdk.session.SessionInfo; 007 008/** 009 * Gigya main account model. 010 * Model is an inline representation of the base scheme available in the client site. 011 */ 012public class GigyaAccount extends GigyaResponseModel { 013 014 @Nullable 015 private String UID; 016 @Nullable 017 private String UIDSignature; 018 @Nullable 019 private Integer apiVersion; 020 @Nullable 021 private String created; 022 @Nullable 023 private Long createdTimestamp; 024 @Nullable 025 private Emails emails; 026 private boolean isActive; 027 private boolean isRegistered; 028 private boolean isVerified; 029 @Nullable 030 private String lastLogin; 031 @Nullable 032 private Long lastLoginTimestamp; 033 @Nullable 034 private String lastUpdated; 035 @Nullable 036 private Long lastUpdatedTimestamp; 037 @Nullable 038 private String loginProvider; 039 @Nullable 040 private String oldestDataUpdated; 041 @Nullable 042 private Long oldestDataUpdatedTimestamp; 043 @Nullable 044 private Profile profile; 045 @Nullable 046 private String registered; 047 @Nullable 048 private Long registeredTimestamp; 049 @Nullable 050 private SessionInfo sessionInfo; 051 @Nullable 052 private Long signatureTimestamp; 053 @Nullable 054 private String socialProviders; 055 @Nullable 056 private String verified; 057 @Nullable 058 private Long verifiedTimestamp; 059 060 @Nullable 061 public String getUID() { 062 return UID; 063 } 064 065 public void setUID(@Nullable String UID) { 066 this.UID = UID; 067 } 068 069 @Nullable 070 public String getUIDSignature() { 071 return UIDSignature; 072 } 073 074 public void setUIDSignature(@Nullable String UIDSignature) { 075 this.UIDSignature = UIDSignature; 076 } 077 078 @Nullable 079 public Integer getApiVersion() { 080 return apiVersion; 081 } 082 083 public void setApiVersion(@Nullable Integer apiVersion) { 084 this.apiVersion = apiVersion; 085 } 086 087 @Nullable 088 public String getCreated() { 089 return created; 090 } 091 092 public void setCreated(@Nullable String created) { 093 this.created = created; 094 } 095 096 @Nullable 097 public Long getCreatedTimestamp() { 098 return createdTimestamp; 099 } 100 101 public void setCreatedTimestamp(@Nullable Long createdTimestamp) { 102 this.createdTimestamp = createdTimestamp; 103 } 104 105 @Nullable 106 public Emails getEmails() { 107 return emails; 108 } 109 110 public void setEmails(@Nullable Emails emails) { 111 this.emails = emails; 112 } 113 114 public boolean isActive() { 115 return isActive; 116 } 117 118 public void setActive(boolean active) { 119 isActive = active; 120 } 121 122 public boolean isRegistered() { 123 return isRegistered; 124 } 125 126 public void setRegistered(boolean registered) { 127 isRegistered = registered; 128 } 129 130 public boolean isVerified() { 131 return isVerified; 132 } 133 134 public void setVerified(boolean verified) { 135 isVerified = verified; 136 } 137 138 @Nullable 139 public String getLastLogin() { 140 return lastLogin; 141 } 142 143 public void setLastLogin(@Nullable String lastLogin) { 144 this.lastLogin = lastLogin; 145 } 146 147 @Nullable 148 public Long getLastLoginTimestamp() { 149 return lastLoginTimestamp; 150 } 151 152 public void setLastLoginTimestamp(@Nullable Long lastLoginTimestamp) { 153 this.lastLoginTimestamp = lastLoginTimestamp; 154 } 155 156 @Nullable 157 public String getLastUpdated() { 158 return lastUpdated; 159 } 160 161 public void setLastUpdated(@Nullable String lastUpdated) { 162 this.lastUpdated = lastUpdated; 163 } 164 165 @Nullable 166 public Long getLastUpdatedTimestamp() { 167 return lastUpdatedTimestamp; 168 } 169 170 public void setLastUpdatedTimestamp(@Nullable Long lastUpdatedTimestamp) { 171 this.lastUpdatedTimestamp = lastUpdatedTimestamp; 172 } 173 174 @Nullable 175 public String getLoginProvider() { 176 return loginProvider; 177 } 178 179 public void setLoginProvider(@Nullable String loginProvider) { 180 this.loginProvider = loginProvider; 181 } 182 183 @Nullable 184 public String getOldestDataUpdated() { 185 return oldestDataUpdated; 186 } 187 188 public void setOldestDataUpdated(@Nullable String oldestDataUpdated) { 189 this.oldestDataUpdated = oldestDataUpdated; 190 } 191 192 @Nullable 193 public Long getOldestDataUpdatedTimestamp() { 194 return oldestDataUpdatedTimestamp; 195 } 196 197 public void setOldestDataUpdatedTimestamp(@Nullable Long oldestDataUpdatedTimestamp) { 198 this.oldestDataUpdatedTimestamp = oldestDataUpdatedTimestamp; 199 } 200 201 @Nullable 202 public Profile getProfile() { 203 return profile; 204 } 205 206 public void setProfile(@Nullable Profile profile) { 207 this.profile = profile; 208 } 209 210 @Nullable 211 public String getRegistered() { 212 return registered; 213 } 214 215 public void setRegistered(@Nullable String registered) { 216 this.registered = registered; 217 } 218 219 @Nullable 220 public Long getRegisteredTimestamp() { 221 return registeredTimestamp; 222 } 223 224 public void setRegisteredTimestamp(@Nullable Long registeredTimestamp) { 225 this.registeredTimestamp = registeredTimestamp; 226 } 227 228 @Nullable 229 public SessionInfo getSessionInfo() { 230 return sessionInfo; 231 } 232 233 public void setSessionInfo(@Nullable SessionInfo sessionInfo) { 234 this.sessionInfo = sessionInfo; 235 } 236 237 @Nullable 238 public Long getSignatureTimestamp() { 239 return signatureTimestamp; 240 } 241 242 public void setSignatureTimestamp(@Nullable Long signatureTimestamp) { 243 this.signatureTimestamp = signatureTimestamp; 244 } 245 246 @Nullable 247 public String getSocialProviders() { 248 return socialProviders; 249 } 250 251 public void setSocialProviders(@Nullable String socialProviders) { 252 this.socialProviders = socialProviders; 253 } 254 255 @Nullable 256 public String getVerified() { 257 return verified; 258 } 259 260 public void setVerified(@Nullable String verified) { 261 this.verified = verified; 262 } 263 264 @Nullable 265 public Long getVerifiedTimestamp() { 266 return verifiedTimestamp; 267 } 268 269 public void setVerifiedTimestamp(@Nullable Long verifiedTimestamp) { 270 this.verifiedTimestamp = verifiedTimestamp; 271 } 272}