View Javadoc
1   /*
2    * Copyright 2010 James Pether Sörling
3    *
4    * Licensed under the Apache License, Version 2.0 (the "License");
5    * you may not use this file except in compliance with the License.
6    * You may obtain a copy of the License at
7    *
8    *   http://www.apache.org/licenses/LICENSE-2.0
9    *
10   * Unless required by applicable law or agreed to in writing, software
11   * distributed under the License is distributed on an "AS IS" BASIS,
12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13   * See the License for the specific language governing permissions and
14   * limitations under the License.
15   *
16   *	$Id$
17   *  $HeadURL$
18  */
19  package com.hack23.cia.service.api.action.application;
20  
21  import com.hack23.cia.service.api.action.common.AbstractRequest;
22  
23  
24  /**
25   * The Class LoginRequest.
26   */
27  public final class LoginRequest extends AbstractRequest {
28  
29  	/** The Constant serialVersionUID. */
30  	private static final long serialVersionUID = 1L;
31  
32      /** The session id. */
33      private String sessionId;
34  
35      /** The email. */
36      private String email;
37  
38      /** The userpassword. */
39      private String userpassword;
40  
41      /** The otp code. */
42      private String otpCode;
43  
44  	/**
45  	 * Instantiates a new login request.
46  	 */
47  	public LoginRequest() {
48  		super();
49  	}
50  
51  	/**
52  	 * Gets the email.
53  	 *
54  	 * @return the email
55  	 */
56  	public String getEmail() {
57  		return email;
58  	}
59  
60  	/**
61  	 * Sets the email.
62  	 *
63  	 * @param email
64  	 *            the new email
65  	 */
66  	public void setEmail(final String email) {
67  		this.email = email;
68  	}
69  
70  	/**
71  	 * Gets the userpassword.
72  	 *
73  	 * @return the userpassword
74  	 */
75  	public String getUserpassword() {
76  		return userpassword;
77  	}
78  
79  	/**
80  	 * Sets the userpassword.
81  	 *
82  	 * @param userpassword
83  	 *            the new userpassword
84  	 */
85  	public void setUserpassword(final String userpassword) {
86  		this.userpassword = userpassword;
87  	}
88  
89  	/**
90  	 * Gets the session id.
91  	 *
92  	 * @return the session id
93  	 */
94  	public String getSessionId() {
95  		return sessionId;
96  	}
97  
98  	/**
99  	 * Sets the session id.
100 	 *
101 	 * @param sessionId
102 	 *            the new session id
103 	 */
104 	public void setSessionId(final String sessionId) {
105 		this.sessionId = sessionId;
106 	}
107 
108 	/**
109 	 * Gets the otp code.
110 	 *
111 	 * @return the otp code
112 	 */
113 	public String getOtpCode() {
114 		return otpCode;
115 	}
116 
117 	/**
118 	 * Sets the otp code.
119 	 *
120 	 * @param otpCode
121 	 *            the new otp code
122 	 */
123 	public void setOtpCode(String otpCode) {
124 		this.otpCode = otpCode;
125 	}
126 
127 }