import java.math.*;
import java.util.*;
import net.servicestack.client.*;
public class dtos
{
@DataContract
public static class CustomUserSession extends AuthUserSession
{
@DataMember
public String IDUsuario = null;
@DataMember
public BigDecimal IDSistema = null;
@DataMember
public String IDEmpresaProd = null;
@DataMember
public BigDecimal IDEmpresa = null;
@DataMember
public String IDModulo = null;
@DataMember
public MotorBD MotorProd = null;
@DataMember
public MotorBD MotorAppAdm = null;
@DataMember
public String ProdConnectionString = null;
@DataMember
public String AppAdmConnectionString = null;
@DataMember
public String CacheKeyAdm = null;
@DataMember
public String Password = null;
@DataMember
public Boolean SessionDB = null;
@DataMember
public String MensajeError = null;
@DataMember
public String DocumentoUsuario = null;
@DataMember
public String app_adm = null;
@DataMember
public String imei = null;
@DataMember
public String BaseURL = null;
@DataMember
public String UsaServAux = null;
@DataMember
public String TipoValidaAuth = null;
@DataMember
public String TokenExt = null;
@DataMember
public String Subsistema = null;
@DataMember
public String TwoFactor = null;
@DataMember(Order=1)
public String ReferrerUrl = null;
@DataMember(Order=2)
public String Id = null;
@DataMember(Order=3)
public String UserAuthId = null;
@DataMember(Order=4)
public String UserAuthName = null;
@DataMember(Order=5)
public String UserName = null;
@DataMember(Order=6)
public String TwitterUserId = null;
@DataMember(Order=7)
public String TwitterScreenName = null;
@DataMember(Order=8)
public String FacebookUserId = null;
@DataMember(Order=9)
public String FacebookUserName = null;
@DataMember(Order=10)
public String FirstName = null;
@DataMember(Order=11)
public String LastName = null;
@DataMember(Order=12)
public String DisplayName = null;
@DataMember(Order=13)
public String Company = null;
@DataMember(Order=14)
public String Email = null;
@DataMember(Order=15)
public String PrimaryEmail = null;
@DataMember(Order=16)
public String PhoneNumber = null;
@DataMember(Order=17)
public Date BirthDate = null;
@DataMember(Order=18)
public String BirthDateRaw = null;
@DataMember(Order=19)
public String Address = null;
@DataMember(Order=20)
public String Address2 = null;
@DataMember(Order=21)
public String City = null;
@DataMember(Order=22)
public String State = null;
@DataMember(Order=23)
public String Country = null;
@DataMember(Order=24)
public String Culture = null;
@DataMember(Order=25)
public String FullName = null;
@DataMember(Order=26)
public String Gender = null;
@DataMember(Order=27)
public String Language = null;
@DataMember(Order=28)
public String MailAddress = null;
@DataMember(Order=29)
public String Nickname = null;
@DataMember(Order=30)
public String PostalCode = null;
@DataMember(Order=31)
public String TimeZone = null;
@DataMember(Order=32)
public String RequestTokenSecret = null;
@DataMember(Order=33)
public Date CreatedAt = null;
@DataMember(Order=34)
public Date LastModified = null;
@DataMember(Order=35)
public ArrayList<String> Roles = null;
@DataMember(Order=36)
public ArrayList<String> Permissions = null;
@DataMember(Order=37)
public Boolean IsAuthenticated = null;
@DataMember(Order=38)
public Boolean FromToken = null;
@DataMember(Order=39)
public String ProfileUrl = null;
@DataMember(Order=40)
public String Sequence = null;
@DataMember(Order=41)
public Long Tag = null;
@DataMember(Order=42)
public String AuthProvider = null;
@DataMember(Order=43)
public ArrayList<IAuthTokens> ProviderOAuthAccess = null;
@DataMember(Order=44)
public HashMap<String,String> Meta = null;
@DataMember(Order=45)
public ArrayList<String> Audiences = null;
@DataMember(Order=46)
public ArrayList<String> Scopes = null;
@DataMember(Order=47)
public String Dns = null;
@DataMember(Order=48)
public String Rsa = null;
@DataMember(Order=49)
public String Sid = null;
@DataMember(Order=50)
public String Hash = null;
@DataMember(Order=51)
public String HomePhone = null;
@DataMember(Order=52)
public String MobilePhone = null;
@DataMember(Order=53)
public String Webpage = null;
@DataMember(Order=54)
public Boolean EmailConfirmed = null;
@DataMember(Order=55)
public Boolean PhoneNumberConfirmed = null;
@DataMember(Order=56)
public Boolean TwoFactorEnabled = null;
@DataMember(Order=57)
public String SecurityStamp = null;
@DataMember(Order=58)
public String Type = null;
@DataMember(Order=59)
public String RecoveryToken = null;
@DataMember(Order=60)
public Integer RefId = null;
@DataMember(Order=61)
public String RefIdStr = null;
public String getIdUsuario() { return IDUsuario; }
public CustomUserSession setIdUsuario(String value) { this.IDUsuario = value; return this; }
public BigDecimal getIdSistema() { return IDSistema; }
public CustomUserSession setIdSistema(BigDecimal value) { this.IDSistema = value; return this; }
public String getIdEmpresaProd() { return IDEmpresaProd; }
public CustomUserSession setIdEmpresaProd(String value) { this.IDEmpresaProd = value; return this; }
public BigDecimal getIdEmpresa() { return IDEmpresa; }
public CustomUserSession setIdEmpresa(BigDecimal value) { this.IDEmpresa = value; return this; }
public String getIdModulo() { return IDModulo; }
public CustomUserSession setIdModulo(String value) { this.IDModulo = value; return this; }
public MotorBD getMotorProd() { return MotorProd; }
public CustomUserSession setMotorProd(MotorBD value) { this.MotorProd = value; return this; }
public MotorBD getMotorAppAdm() { return MotorAppAdm; }
public CustomUserSession setMotorAppAdm(MotorBD value) { this.MotorAppAdm = value; return this; }
public String getProdConnectionString() { return ProdConnectionString; }
public CustomUserSession setProdConnectionString(String value) { this.ProdConnectionString = value; return this; }
public String getAppAdmConnectionString() { return AppAdmConnectionString; }
public CustomUserSession setAppAdmConnectionString(String value) { this.AppAdmConnectionString = value; return this; }
public String getCacheKeyAdm() { return CacheKeyAdm; }
public CustomUserSession setCacheKeyAdm(String value) { this.CacheKeyAdm = value; return this; }
public String getPassword() { return Password; }
public CustomUserSession setPassword(String value) { this.Password = value; return this; }
public Boolean isSessionDB() { return SessionDB; }
public CustomUserSession setSessionDB(Boolean value) { this.SessionDB = value; return this; }
public String getMensajeError() { return MensajeError; }
public CustomUserSession setMensajeError(String value) { this.MensajeError = value; return this; }
public String getDocumentoUsuario() { return DocumentoUsuario; }
public CustomUserSession setDocumentoUsuario(String value) { this.DocumentoUsuario = value; return this; }
public String getAppAdm() { return app_adm; }
public CustomUserSession setAppAdm(String value) { this.app_adm = value; return this; }
public String getImei() { return imei; }
public CustomUserSession setImei(String value) { this.imei = value; return this; }
public String getBaseURL() { return BaseURL; }
public CustomUserSession setBaseURL(String value) { this.BaseURL = value; return this; }
public String getUsaServAux() { return UsaServAux; }
public CustomUserSession setUsaServAux(String value) { this.UsaServAux = value; return this; }
public String getTipoValidaAuth() { return TipoValidaAuth; }
public CustomUserSession setTipoValidaAuth(String value) { this.TipoValidaAuth = value; return this; }
public String getTokenExt() { return TokenExt; }
public CustomUserSession setTokenExt(String value) { this.TokenExt = value; return this; }
public String getSubsistema() { return Subsistema; }
public CustomUserSession setSubsistema(String value) { this.Subsistema = value; return this; }
public String getTwoFactor() { return TwoFactor; }
public CustomUserSession setTwoFactor(String value) { this.TwoFactor = value; return this; }
public String getReferrerUrl() { return ReferrerUrl; }
public CustomUserSession setReferrerUrl(String value) { this.ReferrerUrl = value; return this; }
public String getId() { return Id; }
public CustomUserSession setId(String value) { this.Id = value; return this; }
public String getUserAuthId() { return UserAuthId; }
public CustomUserSession setUserAuthId(String value) { this.UserAuthId = value; return this; }
public String getUserAuthName() { return UserAuthName; }
public CustomUserSession setUserAuthName(String value) { this.UserAuthName = value; return this; }
public String getUserName() { return UserName; }
public CustomUserSession setUserName(String value) { this.UserName = value; return this; }
public String getTwitterUserId() { return TwitterUserId; }
public CustomUserSession setTwitterUserId(String value) { this.TwitterUserId = value; return this; }
public String getTwitterScreenName() { return TwitterScreenName; }
public CustomUserSession setTwitterScreenName(String value) { this.TwitterScreenName = value; return this; }
public String getFacebookUserId() { return FacebookUserId; }
public CustomUserSession setFacebookUserId(String value) { this.FacebookUserId = value; return this; }
public String getFacebookUserName() { return FacebookUserName; }
public CustomUserSession setFacebookUserName(String value) { this.FacebookUserName = value; return this; }
public String getFirstName() { return FirstName; }
public CustomUserSession setFirstName(String value) { this.FirstName = value; return this; }
public String getLastName() { return LastName; }
public CustomUserSession setLastName(String value) { this.LastName = value; return this; }
public String getDisplayName() { return DisplayName; }
public CustomUserSession setDisplayName(String value) { this.DisplayName = value; return this; }
public String getCompany() { return Company; }
public CustomUserSession setCompany(String value) { this.Company = value; return this; }
public String getEmail() { return Email; }
public CustomUserSession setEmail(String value) { this.Email = value; return this; }
public String getPrimaryEmail() { return PrimaryEmail; }
public CustomUserSession setPrimaryEmail(String value) { this.PrimaryEmail = value; return this; }
public String getPhoneNumber() { return PhoneNumber; }
public CustomUserSession setPhoneNumber(String value) { this.PhoneNumber = value; return this; }
public Date getBirthDate() { return BirthDate; }
public CustomUserSession setBirthDate(Date value) { this.BirthDate = value; return this; }
public String getBirthDateRaw() { return BirthDateRaw; }
public CustomUserSession setBirthDateRaw(String value) { this.BirthDateRaw = value; return this; }
public String getAddress() { return Address; }
public CustomUserSession setAddress(String value) { this.Address = value; return this; }
public String getAddress2() { return Address2; }
public CustomUserSession setAddress2(String value) { this.Address2 = value; return this; }
public String getCity() { return City; }
public CustomUserSession setCity(String value) { this.City = value; return this; }
public String getState() { return State; }
public CustomUserSession setState(String value) { this.State = value; return this; }
public String getCountry() { return Country; }
public CustomUserSession setCountry(String value) { this.Country = value; return this; }
public String getCulture() { return Culture; }
public CustomUserSession setCulture(String value) { this.Culture = value; return this; }
public String getFullName() { return FullName; }
public CustomUserSession setFullName(String value) { this.FullName = value; return this; }
public String getGender() { return Gender; }
public CustomUserSession setGender(String value) { this.Gender = value; return this; }
public String getLanguage() { return Language; }
public CustomUserSession setLanguage(String value) { this.Language = value; return this; }
public String getMailAddress() { return MailAddress; }
public CustomUserSession setMailAddress(String value) { this.MailAddress = value; return this; }
public String getNickname() { return Nickname; }
public CustomUserSession setNickname(String value) { this.Nickname = value; return this; }
public String getPostalCode() { return PostalCode; }
public CustomUserSession setPostalCode(String value) { this.PostalCode = value; return this; }
public String getTimeZone() { return TimeZone; }
public CustomUserSession setTimeZone(String value) { this.TimeZone = value; return this; }
public String getRequestTokenSecret() { return RequestTokenSecret; }
public CustomUserSession setRequestTokenSecret(String value) { this.RequestTokenSecret = value; return this; }
public Date getCreatedAt() { return CreatedAt; }
public CustomUserSession setCreatedAt(Date value) { this.CreatedAt = value; return this; }
public Date getLastModified() { return LastModified; }
public CustomUserSession setLastModified(Date value) { this.LastModified = value; return this; }
public ArrayList<String> getRoles() { return Roles; }
public CustomUserSession setRoles(ArrayList<String> value) { this.Roles = value; return this; }
public ArrayList<String> getPermissions() { return Permissions; }
public CustomUserSession setPermissions(ArrayList<String> value) { this.Permissions = value; return this; }
public Boolean getIsAuthenticated() { return IsAuthenticated; }
public CustomUserSession setIsAuthenticated(Boolean value) { this.IsAuthenticated = value; return this; }
public Boolean isFromToken() { return FromToken; }
public CustomUserSession setFromToken(Boolean value) { this.FromToken = value; return this; }
public String getProfileUrl() { return ProfileUrl; }
public CustomUserSession setProfileUrl(String value) { this.ProfileUrl = value; return this; }
public String getSequence() { return Sequence; }
public CustomUserSession setSequence(String value) { this.Sequence = value; return this; }
public Long getTag() { return Tag; }
public CustomUserSession setTag(Long value) { this.Tag = value; return this; }
public String getAuthProvider() { return AuthProvider; }
public CustomUserSession setAuthProvider(String value) { this.AuthProvider = value; return this; }
public ArrayList<IAuthTokens> getProviderOAuthAccess() { return ProviderOAuthAccess; }
public CustomUserSession setProviderOAuthAccess(ArrayList<IAuthTokens> value) { this.ProviderOAuthAccess = value; return this; }
public HashMap<String,String> getMeta() { return Meta; }
public CustomUserSession setMeta(HashMap<String,String> value) { this.Meta = value; return this; }
public ArrayList<String> getAudiences() { return Audiences; }
public CustomUserSession setAudiences(ArrayList<String> value) { this.Audiences = value; return this; }
public ArrayList<String> getScopes() { return Scopes; }
public CustomUserSession setScopes(ArrayList<String> value) { this.Scopes = value; return this; }
public String getDns() { return Dns; }
public CustomUserSession setDns(String value) { this.Dns = value; return this; }
public String getRsa() { return Rsa; }
public CustomUserSession setRsa(String value) { this.Rsa = value; return this; }
public String getSid() { return Sid; }
public CustomUserSession setSid(String value) { this.Sid = value; return this; }
public String getHash() { return Hash; }
public CustomUserSession setHash(String value) { this.Hash = value; return this; }
public String getHomePhone() { return HomePhone; }
public CustomUserSession setHomePhone(String value) { this.HomePhone = value; return this; }
public String getMobilePhone() { return MobilePhone; }
public CustomUserSession setMobilePhone(String value) { this.MobilePhone = value; return this; }
public String getWebpage() { return Webpage; }
public CustomUserSession setWebpage(String value) { this.Webpage = value; return this; }
public Boolean isEmailConfirmed() { return EmailConfirmed; }
public CustomUserSession setEmailConfirmed(Boolean value) { this.EmailConfirmed = value; return this; }
public Boolean isPhoneNumberConfirmed() { return PhoneNumberConfirmed; }
public CustomUserSession setPhoneNumberConfirmed(Boolean value) { this.PhoneNumberConfirmed = value; return this; }
public Boolean isTwoFactorEnabled() { return TwoFactorEnabled; }
public CustomUserSession setTwoFactorEnabled(Boolean value) { this.TwoFactorEnabled = value; return this; }
public String getSecurityStamp() { return SecurityStamp; }
public CustomUserSession setSecurityStamp(String value) { this.SecurityStamp = value; return this; }
public String getType() { return Type; }
public CustomUserSession setType(String value) { this.Type = value; return this; }
public String getRecoveryToken() { return RecoveryToken; }
public CustomUserSession setRecoveryToken(String value) { this.RecoveryToken = value; return this; }
public Integer getRefId() { return RefId; }
public CustomUserSession setRefId(Integer value) { this.RefId = value; return this; }
public String getRefIdStr() { return RefIdStr; }
public CustomUserSession setRefIdStr(String value) { this.RefIdStr = value; return this; }
}
@DataContract
public static class AuthUserSession implements IMeta
{
@DataMember(Order=1)
public String ReferrerUrl = null;
@DataMember(Order=2)
public String Id = null;
@DataMember(Order=3)
public String UserAuthId = null;
@DataMember(Order=4)
public String UserAuthName = null;
@DataMember(Order=5)
public String UserName = null;
@DataMember(Order=6)
public String TwitterUserId = null;
@DataMember(Order=7)
public String TwitterScreenName = null;
@DataMember(Order=8)
public String FacebookUserId = null;
@DataMember(Order=9)
public String FacebookUserName = null;
@DataMember(Order=10)
public String FirstName = null;
@DataMember(Order=11)
public String LastName = null;
@DataMember(Order=12)
public String DisplayName = null;
@DataMember(Order=13)
public String Company = null;
@DataMember(Order=14)
public String Email = null;
@DataMember(Order=15)
public String PrimaryEmail = null;
@DataMember(Order=16)
public String PhoneNumber = null;
@DataMember(Order=17)
public Date BirthDate = null;
@DataMember(Order=18)
public String BirthDateRaw = null;
@DataMember(Order=19)
public String Address = null;
@DataMember(Order=20)
public String Address2 = null;
@DataMember(Order=21)
public String City = null;
@DataMember(Order=22)
public String State = null;
@DataMember(Order=23)
public String Country = null;
@DataMember(Order=24)
public String Culture = null;
@DataMember(Order=25)
public String FullName = null;
@DataMember(Order=26)
public String Gender = null;
@DataMember(Order=27)
public String Language = null;
@DataMember(Order=28)
public String MailAddress = null;
@DataMember(Order=29)
public String Nickname = null;
@DataMember(Order=30)
public String PostalCode = null;
@DataMember(Order=31)
public String TimeZone = null;
@DataMember(Order=32)
public String RequestTokenSecret = null;
@DataMember(Order=33)
public Date CreatedAt = null;
@DataMember(Order=34)
public Date LastModified = null;
@DataMember(Order=35)
public ArrayList<String> Roles = null;
@DataMember(Order=36)
public ArrayList<String> Permissions = null;
@DataMember(Order=37)
public Boolean IsAuthenticated = null;
@DataMember(Order=38)
public Boolean FromToken = null;
@DataMember(Order=39)
public String ProfileUrl = null;
@DataMember(Order=40)
public String Sequence = null;
@DataMember(Order=41)
public Long Tag = null;
@DataMember(Order=42)
public String AuthProvider = null;
@DataMember(Order=43)
public ArrayList<IAuthTokens> ProviderOAuthAccess = null;
@DataMember(Order=44)
public HashMap<String,String> Meta = null;
@DataMember(Order=45)
public ArrayList<String> Audiences = null;
@DataMember(Order=46)
public ArrayList<String> Scopes = null;
@DataMember(Order=47)
public String Dns = null;
@DataMember(Order=48)
public String Rsa = null;
@DataMember(Order=49)
public String Sid = null;
@DataMember(Order=50)
public String Hash = null;
@DataMember(Order=51)
public String HomePhone = null;
@DataMember(Order=52)
public String MobilePhone = null;
@DataMember(Order=53)
public String Webpage = null;
@DataMember(Order=54)
public Boolean EmailConfirmed = null;
@DataMember(Order=55)
public Boolean PhoneNumberConfirmed = null;
@DataMember(Order=56)
public Boolean TwoFactorEnabled = null;
@DataMember(Order=57)
public String SecurityStamp = null;
@DataMember(Order=58)
public String Type = null;
@DataMember(Order=59)
public String RecoveryToken = null;
@DataMember(Order=60)
public Integer RefId = null;
@DataMember(Order=61)
public String RefIdStr = null;
public String getReferrerUrl() { return ReferrerUrl; }
public AuthUserSession setReferrerUrl(String value) { this.ReferrerUrl = value; return this; }
public String getId() { return Id; }
public AuthUserSession setId(String value) { this.Id = value; return this; }
public String getUserAuthId() { return UserAuthId; }
public AuthUserSession setUserAuthId(String value) { this.UserAuthId = value; return this; }
public String getUserAuthName() { return UserAuthName; }
public AuthUserSession setUserAuthName(String value) { this.UserAuthName = value; return this; }
public String getUserName() { return UserName; }
public AuthUserSession setUserName(String value) { this.UserName = value; return this; }
public String getTwitterUserId() { return TwitterUserId; }
public AuthUserSession setTwitterUserId(String value) { this.TwitterUserId = value; return this; }
public String getTwitterScreenName() { return TwitterScreenName; }
public AuthUserSession setTwitterScreenName(String value) { this.TwitterScreenName = value; return this; }
public String getFacebookUserId() { return FacebookUserId; }
public AuthUserSession setFacebookUserId(String value) { this.FacebookUserId = value; return this; }
public String getFacebookUserName() { return FacebookUserName; }
public AuthUserSession setFacebookUserName(String value) { this.FacebookUserName = value; return this; }
public String getFirstName() { return FirstName; }
public AuthUserSession setFirstName(String value) { this.FirstName = value; return this; }
public String getLastName() { return LastName; }
public AuthUserSession setLastName(String value) { this.LastName = value; return this; }
public String getDisplayName() { return DisplayName; }
public AuthUserSession setDisplayName(String value) { this.DisplayName = value; return this; }
public String getCompany() { return Company; }
public AuthUserSession setCompany(String value) { this.Company = value; return this; }
public String getEmail() { return Email; }
public AuthUserSession setEmail(String value) { this.Email = value; return this; }
public String getPrimaryEmail() { return PrimaryEmail; }
public AuthUserSession setPrimaryEmail(String value) { this.PrimaryEmail = value; return this; }
public String getPhoneNumber() { return PhoneNumber; }
public AuthUserSession setPhoneNumber(String value) { this.PhoneNumber = value; return this; }
public Date getBirthDate() { return BirthDate; }
public AuthUserSession setBirthDate(Date value) { this.BirthDate = value; return this; }
public String getBirthDateRaw() { return BirthDateRaw; }
public AuthUserSession setBirthDateRaw(String value) { this.BirthDateRaw = value; return this; }
public String getAddress() { return Address; }
public AuthUserSession setAddress(String value) { this.Address = value; return this; }
public String getAddress2() { return Address2; }
public AuthUserSession setAddress2(String value) { this.Address2 = value; return this; }
public String getCity() { return City; }
public AuthUserSession setCity(String value) { this.City = value; return this; }
public String getState() { return State; }
public AuthUserSession setState(String value) { this.State = value; return this; }
public String getCountry() { return Country; }
public AuthUserSession setCountry(String value) { this.Country = value; return this; }
public String getCulture() { return Culture; }
public AuthUserSession setCulture(String value) { this.Culture = value; return this; }
public String getFullName() { return FullName; }
public AuthUserSession setFullName(String value) { this.FullName = value; return this; }
public String getGender() { return Gender; }
public AuthUserSession setGender(String value) { this.Gender = value; return this; }
public String getLanguage() { return Language; }
public AuthUserSession setLanguage(String value) { this.Language = value; return this; }
public String getMailAddress() { return MailAddress; }
public AuthUserSession setMailAddress(String value) { this.MailAddress = value; return this; }
public String getNickname() { return Nickname; }
public AuthUserSession setNickname(String value) { this.Nickname = value; return this; }
public String getPostalCode() { return PostalCode; }
public AuthUserSession setPostalCode(String value) { this.PostalCode = value; return this; }
public String getTimeZone() { return TimeZone; }
public AuthUserSession setTimeZone(String value) { this.TimeZone = value; return this; }
public String getRequestTokenSecret() { return RequestTokenSecret; }
public AuthUserSession setRequestTokenSecret(String value) { this.RequestTokenSecret = value; return this; }
public Date getCreatedAt() { return CreatedAt; }
public AuthUserSession setCreatedAt(Date value) { this.CreatedAt = value; return this; }
public Date getLastModified() { return LastModified; }
public AuthUserSession setLastModified(Date value) { this.LastModified = value; return this; }
public ArrayList<String> getRoles() { return Roles; }
public AuthUserSession setRoles(ArrayList<String> value) { this.Roles = value; return this; }
public ArrayList<String> getPermissions() { return Permissions; }
public AuthUserSession setPermissions(ArrayList<String> value) { this.Permissions = value; return this; }
public Boolean getIsAuthenticated() { return IsAuthenticated; }
public AuthUserSession setIsAuthenticated(Boolean value) { this.IsAuthenticated = value; return this; }
public Boolean isFromToken() { return FromToken; }
public AuthUserSession setFromToken(Boolean value) { this.FromToken = value; return this; }
public String getProfileUrl() { return ProfileUrl; }
public AuthUserSession setProfileUrl(String value) { this.ProfileUrl = value; return this; }
public String getSequence() { return Sequence; }
public AuthUserSession setSequence(String value) { this.Sequence = value; return this; }
public Long getTag() { return Tag; }
public AuthUserSession setTag(Long value) { this.Tag = value; return this; }
public String getAuthProvider() { return AuthProvider; }
public AuthUserSession setAuthProvider(String value) { this.AuthProvider = value; return this; }
public ArrayList<IAuthTokens> getProviderOAuthAccess() { return ProviderOAuthAccess; }
public AuthUserSession setProviderOAuthAccess(ArrayList<IAuthTokens> value) { this.ProviderOAuthAccess = value; return this; }
public HashMap<String,String> getMeta() { return Meta; }
public AuthUserSession setMeta(HashMap<String,String> value) { this.Meta = value; return this; }
public ArrayList<String> getAudiences() { return Audiences; }
public AuthUserSession setAudiences(ArrayList<String> value) { this.Audiences = value; return this; }
public ArrayList<String> getScopes() { return Scopes; }
public AuthUserSession setScopes(ArrayList<String> value) { this.Scopes = value; return this; }
public String getDns() { return Dns; }
public AuthUserSession setDns(String value) { this.Dns = value; return this; }
public String getRsa() { return Rsa; }
public AuthUserSession setRsa(String value) { this.Rsa = value; return this; }
public String getSid() { return Sid; }
public AuthUserSession setSid(String value) { this.Sid = value; return this; }
public String getHash() { return Hash; }
public AuthUserSession setHash(String value) { this.Hash = value; return this; }
public String getHomePhone() { return HomePhone; }
public AuthUserSession setHomePhone(String value) { this.HomePhone = value; return this; }
public String getMobilePhone() { return MobilePhone; }
public AuthUserSession setMobilePhone(String value) { this.MobilePhone = value; return this; }
public String getWebpage() { return Webpage; }
public AuthUserSession setWebpage(String value) { this.Webpage = value; return this; }
public Boolean isEmailConfirmed() { return EmailConfirmed; }
public AuthUserSession setEmailConfirmed(Boolean value) { this.EmailConfirmed = value; return this; }
public Boolean isPhoneNumberConfirmed() { return PhoneNumberConfirmed; }
public AuthUserSession setPhoneNumberConfirmed(Boolean value) { this.PhoneNumberConfirmed = value; return this; }
public Boolean isTwoFactorEnabled() { return TwoFactorEnabled; }
public AuthUserSession setTwoFactorEnabled(Boolean value) { this.TwoFactorEnabled = value; return this; }
public String getSecurityStamp() { return SecurityStamp; }
public AuthUserSession setSecurityStamp(String value) { this.SecurityStamp = value; return this; }
public String getType() { return Type; }
public AuthUserSession setType(String value) { this.Type = value; return this; }
public String getRecoveryToken() { return RecoveryToken; }
public AuthUserSession setRecoveryToken(String value) { this.RecoveryToken = value; return this; }
public Integer getRefId() { return RefId; }
public AuthUserSession setRefId(Integer value) { this.RefId = value; return this; }
public String getRefIdStr() { return RefIdStr; }
public AuthUserSession setRefIdStr(String value) { this.RefIdStr = value; return this; }
}
public static interface IAuthTokens
{
public String Provider = null;
public String UserId = null;
public String AccessToken = null;
public String AccessTokenSecret = null;
public String RefreshToken = null;
public Date RefreshTokenExpiry = null;
public String RequestToken = null;
public String RequestTokenSecret = null;
public HashMap<String,String> Items = null;
}
public static enum MotorBD
{
Postgresql,
Oracle,
Sqlserver;
}
}
To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /xml/reply/CustomUserSession HTTP/1.1
Host: soluser-recaudo.sgsas.co
Accept: application/xml
Content-Type: application/xml
Content-Length: length
<CustomUserSession xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Administrador.ServiceLogs.Auth">
<ReferrerUrl xmlns="http://schemas.servicestack.net/types">String</ReferrerUrl>
<Id xmlns="http://schemas.servicestack.net/types">String</Id>
<UserAuthId xmlns="http://schemas.servicestack.net/types">String</UserAuthId>
<UserAuthName xmlns="http://schemas.servicestack.net/types">String</UserAuthName>
<UserName xmlns="http://schemas.servicestack.net/types">String</UserName>
<TwitterUserId xmlns="http://schemas.servicestack.net/types">String</TwitterUserId>
<TwitterScreenName xmlns="http://schemas.servicestack.net/types">String</TwitterScreenName>
<FacebookUserId xmlns="http://schemas.servicestack.net/types">String</FacebookUserId>
<FacebookUserName xmlns="http://schemas.servicestack.net/types">String</FacebookUserName>
<FirstName xmlns="http://schemas.servicestack.net/types">String</FirstName>
<LastName xmlns="http://schemas.servicestack.net/types">String</LastName>
<DisplayName xmlns="http://schemas.servicestack.net/types">String</DisplayName>
<Company xmlns="http://schemas.servicestack.net/types">String</Company>
<Email xmlns="http://schemas.servicestack.net/types">String</Email>
<PrimaryEmail xmlns="http://schemas.servicestack.net/types">String</PrimaryEmail>
<PhoneNumber xmlns="http://schemas.servicestack.net/types">String</PhoneNumber>
<BirthDate xmlns="http://schemas.servicestack.net/types">0001-01-01T00:00:00</BirthDate>
<BirthDateRaw xmlns="http://schemas.servicestack.net/types">String</BirthDateRaw>
<Address xmlns="http://schemas.servicestack.net/types">String</Address>
<Address2 xmlns="http://schemas.servicestack.net/types">String</Address2>
<City xmlns="http://schemas.servicestack.net/types">String</City>
<State xmlns="http://schemas.servicestack.net/types">String</State>
<Country xmlns="http://schemas.servicestack.net/types">String</Country>
<Culture xmlns="http://schemas.servicestack.net/types">String</Culture>
<FullName xmlns="http://schemas.servicestack.net/types">String</FullName>
<Gender xmlns="http://schemas.servicestack.net/types">String</Gender>
<Language xmlns="http://schemas.servicestack.net/types">String</Language>
<MailAddress xmlns="http://schemas.servicestack.net/types">String</MailAddress>
<Nickname xmlns="http://schemas.servicestack.net/types">String</Nickname>
<PostalCode xmlns="http://schemas.servicestack.net/types">String</PostalCode>
<TimeZone xmlns="http://schemas.servicestack.net/types">String</TimeZone>
<RequestTokenSecret xmlns="http://schemas.servicestack.net/types">String</RequestTokenSecret>
<CreatedAt xmlns="http://schemas.servicestack.net/types">0001-01-01T00:00:00</CreatedAt>
<LastModified xmlns="http://schemas.servicestack.net/types">0001-01-01T00:00:00</LastModified>
<Roles xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.servicestack.net/types">
<d2p1:string>String</d2p1:string>
</Roles>
<Permissions xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.servicestack.net/types">
<d2p1:string>String</d2p1:string>
</Permissions>
<IsAuthenticated xmlns="http://schemas.servicestack.net/types">false</IsAuthenticated>
<FromToken xmlns="http://schemas.servicestack.net/types">false</FromToken>
<ProfileUrl xmlns="http://schemas.servicestack.net/types">String</ProfileUrl>
<Sequence xmlns="http://schemas.servicestack.net/types">String</Sequence>
<Tag xmlns="http://schemas.servicestack.net/types">0</Tag>
<AuthProvider xmlns="http://schemas.servicestack.net/types">String</AuthProvider>
<ProviderOAuthAccess xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.servicestack.net/types">
<d2p1:anyType i:nil="true" />
</ProviderOAuthAccess>
<Meta xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.servicestack.net/types">
<d2p1:KeyValueOfstringstring>
<d2p1:Key>String</d2p1:Key>
<d2p1:Value>String</d2p1:Value>
</d2p1:KeyValueOfstringstring>
</Meta>
<Audiences xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.servicestack.net/types">
<d2p1:string>String</d2p1:string>
</Audiences>
<Scopes xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.servicestack.net/types">
<d2p1:string>String</d2p1:string>
</Scopes>
<Dns xmlns="http://schemas.servicestack.net/types">String</Dns>
<Rsa xmlns="http://schemas.servicestack.net/types">String</Rsa>
<Sid xmlns="http://schemas.servicestack.net/types">String</Sid>
<Hash xmlns="http://schemas.servicestack.net/types">String</Hash>
<HomePhone xmlns="http://schemas.servicestack.net/types">String</HomePhone>
<MobilePhone xmlns="http://schemas.servicestack.net/types">String</MobilePhone>
<Webpage xmlns="http://schemas.servicestack.net/types">String</Webpage>
<EmailConfirmed xmlns="http://schemas.servicestack.net/types">false</EmailConfirmed>
<PhoneNumberConfirmed xmlns="http://schemas.servicestack.net/types">false</PhoneNumberConfirmed>
<TwoFactorEnabled xmlns="http://schemas.servicestack.net/types">false</TwoFactorEnabled>
<SecurityStamp xmlns="http://schemas.servicestack.net/types">String</SecurityStamp>
<Type xmlns="http://schemas.servicestack.net/types">String</Type>
<RecoveryToken xmlns="http://schemas.servicestack.net/types">String</RecoveryToken>
<RefId xmlns="http://schemas.servicestack.net/types">0</RefId>
<RefIdStr xmlns="http://schemas.servicestack.net/types">String</RefIdStr>
<AppAdmConnectionString>String</AppAdmConnectionString>
<BaseURL>String</BaseURL>
<CacheKeyAdm>String</CacheKeyAdm>
<DocumentoUsuario>String</DocumentoUsuario>
<IDEmpresa>0</IDEmpresa>
<IDEmpresaProd>String</IDEmpresaProd>
<IDModulo>String</IDModulo>
<IDSistema>0</IDSistema>
<IDUsuario>String</IDUsuario>
<MensajeError>String</MensajeError>
<MotorAppAdm>POSTGRESQL</MotorAppAdm>
<MotorProd>POSTGRESQL</MotorProd>
<Password>String</Password>
<ProdConnectionString>String</ProdConnectionString>
<SessionDB>false</SessionDB>
<Subsistema>String</Subsistema>
<TipoValidaAuth>String</TipoValidaAuth>
<TokenExt>String</TokenExt>
<TwoFactor>String</TwoFactor>
<UsaServAux>String</UsaServAux>
<app_adm>String</app_adm>
<imei>String</imei>
</CustomUserSession>
HTTP/1.1 200 OK Content-Type: application/xml Content-Length: length <CustomUserSession xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Administrador.ServiceLogs.Auth"> <ReferrerUrl xmlns="http://schemas.servicestack.net/types">String</ReferrerUrl> <Id xmlns="http://schemas.servicestack.net/types">String</Id> <UserAuthId xmlns="http://schemas.servicestack.net/types">String</UserAuthId> <UserAuthName xmlns="http://schemas.servicestack.net/types">String</UserAuthName> <UserName xmlns="http://schemas.servicestack.net/types">String</UserName> <TwitterUserId xmlns="http://schemas.servicestack.net/types">String</TwitterUserId> <TwitterScreenName xmlns="http://schemas.servicestack.net/types">String</TwitterScreenName> <FacebookUserId xmlns="http://schemas.servicestack.net/types">String</FacebookUserId> <FacebookUserName xmlns="http://schemas.servicestack.net/types">String</FacebookUserName> <FirstName xmlns="http://schemas.servicestack.net/types">String</FirstName> <LastName xmlns="http://schemas.servicestack.net/types">String</LastName> <DisplayName xmlns="http://schemas.servicestack.net/types">String</DisplayName> <Company xmlns="http://schemas.servicestack.net/types">String</Company> <Email xmlns="http://schemas.servicestack.net/types">String</Email> <PrimaryEmail xmlns="http://schemas.servicestack.net/types">String</PrimaryEmail> <PhoneNumber xmlns="http://schemas.servicestack.net/types">String</PhoneNumber> <BirthDate xmlns="http://schemas.servicestack.net/types">0001-01-01T00:00:00</BirthDate> <BirthDateRaw xmlns="http://schemas.servicestack.net/types">String</BirthDateRaw> <Address xmlns="http://schemas.servicestack.net/types">String</Address> <Address2 xmlns="http://schemas.servicestack.net/types">String</Address2> <City xmlns="http://schemas.servicestack.net/types">String</City> <State xmlns="http://schemas.servicestack.net/types">String</State> <Country xmlns="http://schemas.servicestack.net/types">String</Country> <Culture xmlns="http://schemas.servicestack.net/types">String</Culture> <FullName xmlns="http://schemas.servicestack.net/types">String</FullName> <Gender xmlns="http://schemas.servicestack.net/types">String</Gender> <Language xmlns="http://schemas.servicestack.net/types">String</Language> <MailAddress xmlns="http://schemas.servicestack.net/types">String</MailAddress> <Nickname xmlns="http://schemas.servicestack.net/types">String</Nickname> <PostalCode xmlns="http://schemas.servicestack.net/types">String</PostalCode> <TimeZone xmlns="http://schemas.servicestack.net/types">String</TimeZone> <RequestTokenSecret xmlns="http://schemas.servicestack.net/types">String</RequestTokenSecret> <CreatedAt xmlns="http://schemas.servicestack.net/types">0001-01-01T00:00:00</CreatedAt> <LastModified xmlns="http://schemas.servicestack.net/types">0001-01-01T00:00:00</LastModified> <Roles xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.servicestack.net/types"> <d2p1:string>String</d2p1:string> </Roles> <Permissions xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.servicestack.net/types"> <d2p1:string>String</d2p1:string> </Permissions> <IsAuthenticated xmlns="http://schemas.servicestack.net/types">false</IsAuthenticated> <FromToken xmlns="http://schemas.servicestack.net/types">false</FromToken> <ProfileUrl xmlns="http://schemas.servicestack.net/types">String</ProfileUrl> <Sequence xmlns="http://schemas.servicestack.net/types">String</Sequence> <Tag xmlns="http://schemas.servicestack.net/types">0</Tag> <AuthProvider xmlns="http://schemas.servicestack.net/types">String</AuthProvider> <ProviderOAuthAccess xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.servicestack.net/types"> <d2p1:anyType i:nil="true" /> </ProviderOAuthAccess> <Meta xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.servicestack.net/types"> <d2p1:KeyValueOfstringstring> <d2p1:Key>String</d2p1:Key> <d2p1:Value>String</d2p1:Value> </d2p1:KeyValueOfstringstring> </Meta> <Audiences xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.servicestack.net/types"> <d2p1:string>String</d2p1:string> </Audiences> <Scopes xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.servicestack.net/types"> <d2p1:string>String</d2p1:string> </Scopes> <Dns xmlns="http://schemas.servicestack.net/types">String</Dns> <Rsa xmlns="http://schemas.servicestack.net/types">String</Rsa> <Sid xmlns="http://schemas.servicestack.net/types">String</Sid> <Hash xmlns="http://schemas.servicestack.net/types">String</Hash> <HomePhone xmlns="http://schemas.servicestack.net/types">String</HomePhone> <MobilePhone xmlns="http://schemas.servicestack.net/types">String</MobilePhone> <Webpage xmlns="http://schemas.servicestack.net/types">String</Webpage> <EmailConfirmed xmlns="http://schemas.servicestack.net/types">false</EmailConfirmed> <PhoneNumberConfirmed xmlns="http://schemas.servicestack.net/types">false</PhoneNumberConfirmed> <TwoFactorEnabled xmlns="http://schemas.servicestack.net/types">false</TwoFactorEnabled> <SecurityStamp xmlns="http://schemas.servicestack.net/types">String</SecurityStamp> <Type xmlns="http://schemas.servicestack.net/types">String</Type> <RecoveryToken xmlns="http://schemas.servicestack.net/types">String</RecoveryToken> <RefId xmlns="http://schemas.servicestack.net/types">0</RefId> <RefIdStr xmlns="http://schemas.servicestack.net/types">String</RefIdStr> <AppAdmConnectionString>String</AppAdmConnectionString> <BaseURL>String</BaseURL> <CacheKeyAdm>String</CacheKeyAdm> <DocumentoUsuario>String</DocumentoUsuario> <IDEmpresa>0</IDEmpresa> <IDEmpresaProd>String</IDEmpresaProd> <IDModulo>String</IDModulo> <IDSistema>0</IDSistema> <IDUsuario>String</IDUsuario> <MensajeError>String</MensajeError> <MotorAppAdm>POSTGRESQL</MotorAppAdm> <MotorProd>POSTGRESQL</MotorProd> <Password>String</Password> <ProdConnectionString>String</ProdConnectionString> <SessionDB>false</SessionDB> <Subsistema>String</Subsistema> <TipoValidaAuth>String</TipoValidaAuth> <TokenExt>String</TokenExt> <TwoFactor>String</TwoFactor> <UsaServAux>String</UsaServAux> <app_adm>String</app_adm> <imei>String</imei> </CustomUserSession>