Subversion Repositories SmartDukaan

Rev

Rev 23707 | Rev 34664 | Go to most recent revision | View as "text/plain" | Blame | Compare with Previous | Last modification | View Log | RSS feed

package com.spice.profitmandi.common.model;

public class GoogleLoginRequest {
        private String token;
        private String socialTypeString;
        private String type;
        
        public String getType() {
                return type;
        }
        public void setType(String type) {
                this.type = type;
        }
        public String getToken() {
                return token;
        }
        public void setToken(String token) {
                this.token = token;
        }
        
        public String getSocialTypeString() {
                return socialTypeString;
        }
        public void setSocialTypeString(String socialTypeString) {
                this.socialTypeString = socialTypeString;
        }
        @Override
        public int hashCode() {
                final int prime = 31;
                int result = 1;
                result = prime * result + ((socialTypeString == null) ? 0 : socialTypeString.hashCode());
                result = prime * result + ((token == null) ? 0 : token.hashCode());
                return result;
        }
        @Override
        public boolean equals(Object obj) {
                if (this == obj)
                        return true;
                if (obj == null)
                        return false;
                if (getClass() != obj.getClass())
                        return false;
                GoogleLoginRequest other = (GoogleLoginRequest) obj;
                if (socialTypeString == null) {
                        if (other.socialTypeString != null)
                                return false;
                } else if (!socialTypeString.equals(other.socialTypeString))
                        return false;
                if (token == null) {
                        if (other.token != null)
                                return false;
                } else if (!token.equals(other.token))
                        return false;
                return true;
        }
        @Override
        public String toString() {
                return "GoogleLoginRequest [token=" + token + ", socialTypeString=" + socialTypeString + ", type=" + type + "]";
        }
        
}